/* ============================================
   WORLD TOUR 2026 — Section 7
   Marquee text + stage image + CTA
   ============================================ */

.tour {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

/* Background image (Humbe on stage) */
.tour__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tour__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

/* Gradient overlays for dramatic lighting */
.tour__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-black) 0%,
    transparent 30%,
    transparent 70%,
    var(--color-black) 100%
  );
  z-index: 2;
}

.tour__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center 60%,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 3;
}

/* ---- Marquee Container ---- */
.tour__marquee {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  padding: var(--space-4) 0;
}

.tour__marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.tour__marquee-text {
  font-family: var(--font-primary);
  font-size: clamp(4rem, 2rem + 10vw, 12rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  white-space: nowrap;
  padding: 0 var(--space-8);
  line-height: 1;
  -webkit-text-stroke: 2px var(--color-white);
}

/* Alternate: outline-only text */
.tour__marquee-text--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-white);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- Center content (image + CTA) ---- */
.tour__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--section-pad-x);
}

.tour__stage-image {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: var(--space-3);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tour__stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- CTA Button ---- */
.tour__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-10);
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color var(--duration-normal) ease,
              transform var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.tour__cta:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.4);
}

.tour__cta-arrow {
  display: flex;
  align-items: center;
  transition: transform var(--duration-normal) ease;
}

.tour__cta:hover .tour__cta-arrow {
  transform: translateX(4px);
}

/* Bottom marquee (second pass) */
.tour__marquee--bottom {
  margin-top: var(--space-4);
}

.tour__marquee--bottom .tour__marquee-track {
  animation-direction: reverse;
  animation-duration: 25s;
}

/* Reveal animation */
.tour__content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.tour.is-visible .tour__content {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .tour__marquee-text {
    font-size: clamp(3rem, 1.5rem + 8vw, 6rem);
  }

  .tour__content {
    padding: var(--space-6) var(--space-4);
  }

  .tour__cta {
    padding: var(--space-3) var(--space-8);
  }
}

@media (max-width: 480px) {
  .tour__marquee-text {
    font-size: clamp(2rem, 1rem + 6vw, 4rem);
    -webkit-text-stroke: 1px var(--color-white);
  }

  .tour__marquee-text--outline {
    -webkit-text-stroke: 1px var(--color-white);
  }
}
