/* ===== Tokens ===== */
:root {
  --bg: #0a0a0c;
  --surface: #141418;
  --surface-2: #1c1c22;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e11d48;
  --red-soft: rgba(225, 29, 72, 0.14);
  --gold: #e8b84b;
  --radius: 18px;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Unbounded", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { color: var(--text); font-weight: 700; }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 200; transition: width 0.1s linear;
}

/* ===== Ambient bg ===== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
}
.glow--red { width: 520px; height: 520px; background: var(--red); top: -120px; right: -80px; }
.glow--gold { width: 420px; height: 420px; background: var(--gold); bottom: -140px; left: -100px; opacity: 0.18; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
  opacity: 0.5;
}

/* ===== Layout ===== */
.section {
  max-width: 1200px; margin: 0 auto; padding: 100px 24px;
}
.section__head { max-width: 640px; margin-bottom: 48px; }
.eyebrow {
  font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.02em;
}
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 30px -8px var(--red); }
.btn--primary:hover { background: #f43f5e; box-shadow: 0 12px 40px -8px var(--red); transform: translateY(-2px); }
.btn--primary:disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--text); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(10,10,12,0.72); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); border-radius: 0 0 20px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--red); color: #fff; font-size: 0.9rem; letter-spacing: -0.03em;
}
.brand__text { font-size: 1rem; letter-spacing: 0.02em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; position: relative; }
.nav a:hover { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }
.nav__cta { }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 64px 0 auto 0; z-index: 90;
  background: rgba(10,10,12,0.96); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%); transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 12px 0; color: var(--muted); font-weight: 500; font-size: 1.1rem; }
.mobile-menu .btn { margin-top: 8px; }

/* ===== Hero ===== */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--red-soft); color: #fb7185; border: 1px solid rgba(225,29,72,0.3);
  padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225,29,72,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(225,29,72,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 0.92; letter-spacing: -0.03em;
  display: flex; flex-direction: column;
}
.hero__title .stroke {
  color: transparent; -webkit-text-stroke: 2px var(--gold);
}
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 460px; margin: 26px 0 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; }
.hero__stats dt { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; }
.hero__stats dd { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

.hero__visual { position: relative; }
.poster {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8);
  transform: rotate(1.5deg); transition: transform 0.4s ease;
  aspect-ratio: 4 / 5;
}
.poster:hover { transform: rotate(0) scale(1.01); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster__tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,12,0.65); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
}
.poster__date { font-family: var(--font-display); font-weight: 700; color: var(--gold); }
.poster__place { color: var(--muted); font-size: 0.85rem; }

/* ===== Marquee ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 20px 0; margin-top: 20px; }
.marquee__track {
  display: flex; gap: 32px; white-space: nowrap; width: max-content;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  animation: scroll 24s linear infinite;
}
.marquee__track span { color: var(--muted); }
.marquee__track span:nth-child(4n+1) { color: var(--text); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Tour list ===== */
.tour-list { display: flex; flex-direction: column; gap: 12px; }
.tour-card {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; cursor: pointer; transition: all 0.2s ease;
}
.tour-card:hover { border-color: var(--border-strong); transform: translateX(4px); background: var(--surface-2); }
.tour-card.active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 20px 40px -24px var(--red); }
.tour-card__date { text-align: center; }
.tour-card__day { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.tour-card__month { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.tour-card__city { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.tour-card__venue { color: var(--muted); font-size: 0.9rem; }
.tour-card__status {
  font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.status--available { background: rgba(34,197,94,0.14); color: #4ade80; }
.status--few { background: rgba(232,184,75,0.16); color: var(--gold); }
.status--soldout { background: rgba(255,255,255,0.08); color: var(--muted); }
.tour-card__pick { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.tour-card.active .tour-card__pick { color: var(--red); }
.tour-card.soldout { opacity: 0.5; cursor: not-allowed; }

/* ===== Tickets ===== */
.tickets-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.ticket-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ticket-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; transition: all 0.2s ease;
}
.ticket-card:hover { border-color: var(--border-strong); }
.ticket-card.featured { border-color: rgba(232,184,75,0.4); background: linear-gradient(180deg, rgba(232,184,75,0.06), var(--surface)); }
.ticket-card__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.ticket-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.ticket-card__tag { font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #1a1a1a; letter-spacing: 0.05em; text-transform: uppercase; }
.ticket-card__desc { color: var(--muted); font-size: 0.9rem; margin: 8px 0 16px; }
.ticket-card__perks { list-style: none; margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.ticket-card__perks li { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.ticket-card__perks li::before { content: "✓"; color: var(--red); font-weight: 700; }
.ticket-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.ticket-card__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center; transition: all 0.15s ease;
}
.stepper button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper span { min-width: 20px; text-align: center; font-weight: 700; font-family: var(--font-display); }

/* ===== Cart ===== */
.cart {
  position: sticky; top: 90px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px;
}
.cart__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.cart__items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.cart__empty { color: var(--muted); font-size: 0.9rem; }
.cart__item { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.cart__item-name { color: var(--muted); }
.cart__item-name b { color: var(--text); font-weight: 600; }
.cart__item-price { font-weight: 600; white-space: nowrap; }
.cart__summary { border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.cart__row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); }
.cart__row--total { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.cart__note { color: var(--muted); font-size: 0.78rem; text-align: center; margin-top: 12px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text); cursor: pointer;
  padding: 22px 24px; font-size: 1.05rem; font-weight: 600; font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q span:last-child { font-size: 1.5rem; color: var(--red); transition: transform 0.3s ease; flex-shrink: 0; }
.faq__item.open .faq__q span:last-child { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--muted); }

/* ===== Footer ===== */
.footer { max-width: 1200px; margin: 0 auto; padding: 60px 24px 40px; border-top: 1px solid var(--border); }
.footer__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.footer__top p { color: var(--muted); max-width: 420px; }
.footer__copy { color: var(--muted); font-size: 0.82rem; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 22px; padding: 32px; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
  animation: pop 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 18px; right: 18px; background: var(--surface-2); border: none; color: var(--text); width: 34px; height: 34px; border-radius: 10px; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.modal__close:hover { background: var(--red); }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.modal__sub { color: var(--muted); margin: 6px 0 24px; }

/* ===== Form ===== */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.form input {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 0.95rem; transition: border 0.2s;
}
.form input:focus { outline: none; border-color: var(--red); }
.form input::placeholder { color: #52525b; }
.modal__total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 4px; }
.modal__total span { color: var(--muted); }
.modal__total strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }

/* ===== Success ===== */
.success { text-align: center; padding: 20px 0; }
.success__icon {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(34,197,94,0.15); color: #4ade80;
  display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px; animation: pop 0.4s;
}
.success .btn { margin-top: 24px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero__visual { order: -1; max-width: 380px; }
  .tickets-layout { grid-template-columns: 1fr; }
  .cart { position: static; }
  .nav, .nav__cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 70px 20px; }
  .ticket-grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .tour-card { grid-template-columns: auto 1fr; gap: 16px; }
  .tour-card__status, .tour-card__pick { grid-column: 2; justify-self: start; }
  .hero__stats { gap: 24px; }
  .brand__text { display: none; }
}
