:root {
  --bg: #000000;
  --panel: #0a0605;
  --line: #2a1410;
  --line-strong: #4a120c;
  --input-line: #3a1c16;
  --red: #e3241a;
  --red-button: #d81e15;
  --red-text: #f0352a;
  --ember: #5a1a12;
  --gold: #f2b233;
  --amber: #ffc46b;
  --text: #ffffff;
  --text-soft: #e6dcd6;
  --text-dim: #d2c6bf;
  --muted: #b5a9a2;
  --placeholder: #8f837d;
  --error: #ff8a80;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--text); }
a:hover { color: var(--amber); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-nav {
  max-width: 1280px; margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap;
}
.site-nav__home { display: flex; align-items: center; min-height: 44px; }
.site-nav__home img { height: 36px; width: auto; display: block; }
.site-nav__links { display: flex; align-items: center; gap: 8px clamp(16px, 2.6vw, 36px); flex-wrap: wrap; }
.site-nav__link {
  padding: 12px 0; text-decoration: none;
  font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
}
.site-nav__link[aria-current='page'] { padding-bottom: 10px; border-bottom: 2px solid var(--red); color: var(--amber); }
.btn-ticket {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 4px;
  background: var(--red-button); color: var(--text); font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 0 20px rgba(227, 36, 26, 0.45);
}
.btn-ticket:hover { color: var(--text); background: var(--red); }

/* Compact header on phones, as in the mobile design. */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .site-nav { display: none; }
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px;
  }
  .mobile-bar__back {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 4px; border: 1px solid var(--input-line);
  }
  .mobile-bar__title { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; }
  .mobile-bar__spacer { width: 44px; }
  .mobile-bar--menu { padding: 8px 12px 8px 8px; }
  .mobile-bar__logo { display: flex; align-items: center; min-height: 44px; }
  .mobile-bar__logo img { height: 28px; width: auto; display: block; }
  .mobile-bar__toggle {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 4px; border: 1px solid var(--input-line); background: transparent; color: var(--text); cursor: pointer;
  }
  .mobile-menu { display: flex; flex-direction: column; padding: 4px 16px 16px; border-top: 1px solid var(--line); }
  .mobile-menu a {
    display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none;
    font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.12em;
  }
  .mobile-menu a[aria-current='page'] { color: var(--amber); }
  .mobile-menu .btn-ticket { justify-content: center; margin-top: 14px; border-bottom: 0; font-family: var(--body); letter-spacing: 0; }
}

/* ---------- Shared bits ---------- */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--red-text); }
.panel { border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.panel--glow {
  border-color: var(--red);
  box-shadow: 0 0 36px rgba(227, 36, 26, 0.22), inset 0 0 24px rgba(227, 36, 26, 0.1);
}
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; }

.timeline { margin: 0 0 0 4px; padding: 0; list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px;
  background: var(--ember); transform: rotate(45deg);
}
.timeline li.is-active::before { background: var(--red); }
.timeline li.is-done::before { left: -6px; top: 5px; width: 11px; height: 11px; background: var(--gold); }
.timeline__title { display: block; font-weight: 700; font-size: 16px; }
.timeline li.is-done .timeline__title { color: var(--gold); }
.timeline__text { display: block; font-size: 14px; color: var(--muted); }

/* ---------- Costume page ---------- */
.costume {
  max-width: 1280px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 96px;
  display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start;
}
.costume__intro { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.costume__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.08; overflow-wrap: anywhere; }
.costume__lead { margin: 0; max-width: 520px; font-size: 17px; color: var(--text-dim); }
.prize {
  display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 6px;
  border: 1px solid var(--red); background: var(--panel);
  box-shadow: 0 0 40px rgba(227, 36, 26, 0.28), inset 0 0 28px rgba(227, 36, 26, 0.12);
}
.prize__label { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--gold); }
.prize__name { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; }
.prize__detail { font-size: 16px; font-weight: 600; color: var(--amber); }

.costume__card { flex: 1 1 440px; min-width: 0; padding: clamp(20px, 3vw, 36px); }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__title { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: 24px; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.form__row .field { flex: 1 1 200px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__hint { font-size: 12px; color: var(--muted); }
.field__error { font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.input {
  min-height: 48px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--input-line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px; width: 100%;
}
textarea.input { padding: 12px 14px; resize: vertical; min-height: 96px; }
.input::placeholder { color: var(--placeholder); }
.input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.input[aria-invalid='true'] { border-color: var(--error); }

.dropzone { position: relative; display: block; cursor: pointer; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone__box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 140px; padding: 18px; border-radius: 6px; border: 1.5px dashed var(--ember);
  background: var(--bg); text-align: center;
}
.dropzone:hover .dropzone__box { border-color: var(--red); }
.dropzone input:focus-visible + .dropzone__box { outline: 2px solid var(--red); outline-offset: 2px; }
.dropzone[aria-invalid='true'] .dropzone__box { border-color: var(--error); }
.dropzone__name { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.dropzone__hint { font-size: 12px; color: var(--muted); }
.dropzone__preview { max-height: 180px; max-width: 100%; border-radius: 4px; object-fit: contain; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-dim); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--red); }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px;
  border: 0; border-radius: 4px; background: var(--red-button); color: var(--text);
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 24px rgba(227, 36, 26, 0.45);
}
.btn-primary:hover { background: var(--red); color: var(--text); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__footnote { font-size: 13px; color: var(--muted); text-align: center; }
.alert {
  padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line-strong);
  background: #140806; font-size: 14px; color: var(--text-soft);
}
.alert--error { border-color: var(--error); color: var(--error); }
.alert a { color: var(--amber); }
.notice { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; padding: 24px 8px; }
.notice p { margin: 0; color: var(--text-dim); }

/* ---------- Thanks page ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; left: 50%; top: -60px; width: 760px; max-width: 130%; height: auto;
  transform: translateX(-50%); opacity: 0.3; pointer-events: none;
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 55%, #000 92%);
}
.hero__inner {
  position: relative; max-width: 780px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) 56px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.hero__check {
  width: 96px; height: 96px; border-radius: 999px; border: 2px solid var(--red); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 48px rgba(227, 36, 26, 0.55), inset 0 0 22px rgba(227, 36, 26, 0.25);
}
.hero__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(27px, 4.4vw, 60px); line-height: 1.06; }
.hero__text { margin: 0; max-width: 560px; font-size: 18px; color: var(--text-soft); }
.regno {
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; padding: 14px 28px;
  border-radius: 6px; border: 1px solid var(--line-strong); background: var(--panel);
}
.regno__label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted); }
.regno__value { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.06em; color: var(--amber); }

.thanks {
  max-width: 1100px; margin: 0 auto; padding: 8px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch;
}
.thanks__col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 22px; padding: 28px; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge {
  padding: 3px 10px; border-radius: 3px; border: 1px solid var(--gold); color: var(--gold);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap;
}
.entry { display: flex; flex-wrap: wrap; gap: 22px; }
.entry__photo {
  width: 144px; flex-shrink: 0; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden;
  border: 1.5px dashed var(--ember); background: var(--bg);
}
.entry__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry__photo.has-photo { border-style: solid; border-color: var(--line-strong); }
.entry__details { flex: 1 1 200px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.entry__details div { display: flex; flex-direction: column; gap: 2px; }
.entry__details dt { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--red-text); }
.entry__details dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.entry__details dd.is-strong { font-weight: 700; font-size: 17px; }
.card__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.card__foot span { font-size: 14px; color: var(--muted); }
.link-amber { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--amber); }
.follow p { margin: 0; font-size: 15px; color: var(--text-dim); }
.follow__links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-outline {
  flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--amber);
  color: var(--amber); font-weight: 700; font-size: 15px; text-decoration: none;
}
.btn-outline:hover { background: rgba(255, 196, 107, 0.08); }

.skeleton { background: linear-gradient(90deg, #120a08 0%, #1d0f0b 50%, #120a08 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 4px; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 640px) {
  .hero__check { width: 76px; height: 76px; }
  .hero__check svg { width: 34px; height: 34px; }
  .hero__text { font-size: 15px; }
  .regno__value { font-size: 22px; }
  .card { padding: 18px; gap: 16px; }
  .entry { flex-wrap: nowrap; gap: 14px; }
  .entry__photo { width: 92px; }
  .entry__details { gap: 10px; }
  .entry__details dd { font-size: 14px; }
  .entry__details dd.is-strong { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .spinner, .skeleton { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter) 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
}
.site-footer__brand { display: flex; align-items: center; gap: 22px; }
.site-footer__brand img { height: 96px; width: auto; display: block; }
.site-footer__meta { display: flex; flex-direction: column; gap: 12px; }
.site-footer__presented { font-family: var(--display); font-size: 12px; letter-spacing: 0.3em; color: #f4ede6; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; font-size: 14px; }
.site-footer__social a { text-decoration: none; }
.site-footer__copy { font-size: 13px; color: var(--muted); }
.site-footer__sponsor { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.site-footer__sponsor span { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; color: var(--gold); }
.site-footer__sponsor img { height: 72px; width: auto; display: block; }

@media (min-width: 641px) { .mobile-menu { display: none !important; } }

/* ---------- Home ---------- */
.home-hero { position: relative; overflow: hidden; }
.home-hero__rail { position: absolute; top: 0; bottom: 0; width: 1px; background: #3a0e09; }
.home-hero__rail--l { left: 4%; }
.home-hero__rail--r { right: 4%; }
.home-hero__rail::after {
  content: ''; position: absolute; left: -3px; top: 46%; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg);
}
.home-hero__inner {
  max-width: 1280px; margin: 0 auto; padding: clamp(32px, 4vw, 64px) clamp(28px, 6vw, 72px) clamp(48px, 5vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px;
}
.home-hero__art { flex: 1 1 420px; min-width: 0; position: relative; display: flex; justify-content: center; }
.home-hero__badge { position: absolute; left: 0; top: 0; width: clamp(40px, 4.2vw, 60px); height: auto; z-index: 1; }
.home-hero__gate { width: 100%; max-width: 540px; height: auto; display: block; }
.home-hero__sponsor { display: none; }
.home-hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.presented { font-family: var(--display); font-weight: 400; font-size: clamp(11px, 1.25vw, 18px); letter-spacing: 0.34em; color: #f4ede6; }
.home-hero__title { margin: 0 0 0 -3%; }
.home-hero__title img { width: 106%; max-width: 720px; height: auto; display: block; }
.home-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 36px; }
.home-facts__label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--red-text); }
.home-facts__tickets { display: flex; flex-direction: column; gap: 4px; }
.home-facts__tickets img { height: 36px; width: auto; display: block; }
.home-facts__list { display: flex; flex-direction: column; gap: 12px; padding-left: 32px; border-left: 1px solid var(--line-strong); }
.home-facts__item { display: flex; flex-direction: column; gap: 2px; }
.home-facts__item + .home-facts__item { padding-top: 12px; border-top: 1px solid var(--line-strong); }
.home-facts__value { font-size: 18px; font-weight: 500; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 4px;
  background: var(--red-button); color: var(--text); font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: 0 0 28px rgba(227, 36, 26, 0.5);
}
.btn-hero:hover { background: var(--red); color: var(--text); }
.btn-hero__price { font-weight: 500; opacity: 0.85; }
.btn-hero--outline { background: transparent; border: 1px solid var(--amber); color: var(--amber); box-shadow: none; padding: 0 24px; }
.btn-hero--outline:hover { background: rgba(255, 196, 107, 0.08); color: var(--amber); }
.countdown { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.countdown__label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--muted); }
.countdown__value { font-family: var(--display); font-weight: 600; font-size: 20px; }
.countdown__unit { font-size: 14px; color: var(--muted); font-family: var(--body); font-weight: 400; }

.home-menu { max-width: 1280px; margin: 0 auto; padding: 8px var(--gutter) 96px; display: flex; flex-wrap: wrap; gap: 16px; }
.menu-card {
  flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; min-height: 290px; padding: 32px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--text); text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.menu-card:hover { color: var(--text); border-color: var(--red); box-shadow: 0 0 32px rgba(227, 36, 26, 0.25); }
.menu-card__top { display: flex; justify-content: space-between; align-items: center; }
.menu-card__num { font-family: var(--display); font-size: 13px; letter-spacing: 0.2em; color: var(--red-text); }
.menu-card__dot { width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.menu-card__new { padding: 3px 10px; border-radius: 3px; background: var(--red-button); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.menu-card__body { display: contents; }
.menu-card__title { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.12; }
.menu-card__text { font-size: 16px; color: var(--text-dim); flex-grow: 1; }
.menu-card__cta { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--amber); }

.ticket-bar { display: none; }

@media (max-width: 640px) {
  .home-hero__rail { display: none; }
  .home-hero__inner { padding: 12px 0 0; gap: 0; }
  .home-hero__art { flex-basis: 100%; }
  .home-hero__badge { left: 14px; top: 6px; width: 34px; }
  .home-hero__gate { max-width: none; }
  .home-hero__sponsor {
    display: flex; position: absolute; right: 12px; top: 6px; z-index: 1; flex-direction: column; align-items: center; gap: 4px;
  }
  .home-hero__sponsor span { font-size: 8px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); }
  .home-hero__sponsor img { width: 72px; height: auto; display: block; }
  .home-hero__copy { padding: 4px 16px 32px; gap: 16px; align-items: center; text-align: center; }
  .home-hero__title { margin: 0 -10px; width: calc(100% + 20px); }
  .home-hero__title img { width: 100%; }
  .home-facts { width: 100%; }
  .home-facts__tickets { display: none; }
  .home-facts__list {
    width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0; text-align: left;
    border-left: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  }
  .home-facts__item { padding: 12px 12px 12px 0; }
  .home-facts__item + .home-facts__item { padding: 12px 0 12px 14px; border-top: 0; border-left: 1px solid var(--line-strong); }
  .home-facts__label { font-size: 11px; }
  .home-facts__value { font-size: 14px; font-weight: 600; }
  .home-actions { display: none; }
  .countdown { justify-content: center; }
  .countdown__label { font-size: 11px; }
  .countdown__value { font-size: 17px; }
  .countdown__unit { font-size: 12px; }

  .home-menu { flex-direction: column; flex-wrap: nowrap; gap: 10px; padding: 0 16px 40px; }
  .menu-card { flex: none; flex-direction: row; align-items: center; gap: 14px; min-height: 84px; padding: 16px; }
  .menu-card__dot, .menu-card__new { display: none; }
  .menu-card__num { font-size: 12px; letter-spacing: 0.16em; }
  .menu-card__body { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
  .menu-card__title { font-size: 17px; }
  .menu-card__title br { display: none; }
  .menu-card__text { font-size: 13px; color: var(--muted); flex-grow: 0; }
  .menu-card__cta-label { display: none; }
  .menu-card--featured { border-color: var(--red); box-shadow: 0 0 24px rgba(227, 36, 26, 0.25); }

  .has-ticket-bar { padding-bottom: 88px; }
  .ticket-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line-strong);
  }
  .ticket-bar__info { display: flex; flex-direction: column; line-height: 1.3; }
  .ticket-bar__label { font-size: 12px; color: var(--muted); }
  .ticket-bar__price { font-family: var(--display); font-weight: 800; font-size: 17px; }
  .ticket-bar .btn-ticket { min-height: 48px; padding: 0 22px; font-size: 15px; }
}

/* ---------- Halloween info ---------- */
.event-hero { background: linear-gradient(180deg, #c24e22 0%, #9e2e14 42%, #3a0a04 76%, #000 100%); }
.event-hero__inner {
  max-width: 1100px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(48px, 6vw, 80px);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.event-hero .presented { color: #fff; }
.event-hero__title { margin: 0; width: 100%; display: flex; justify-content: center; }
.event-hero__title img { width: 104%; max-width: 940px; height: auto; display: block; }
.event-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; }
.event-hero__sep { color: var(--red); }

.lineup {
  max-width: 1100px; margin: 0 auto; padding: 72px var(--gutter) 64px;
  display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center;
}
.section-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.lineup .section-title { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: 0.06em; }
.lineup__headliner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lineup__headliner-name { font-family: 'Pirata One', serif; font-size: clamp(64px, 9vw, 128px); line-height: 1; }
.lineup__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 72px; }
.artist { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.artist__name { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; }
.artist__name small { font-size: 0.5em; vertical-align: super; }
.artist__country { font-size: 13px; font-weight: 600; letter-spacing: 0.32em; color: var(--red-text); }

.info-section { max-width: 1280px; margin: 0 auto; padding: 72px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px; }
.info-section__head { display: flex; flex-direction: column; gap: 12px; }
.tickets-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tickets-head__only { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-dim); }
.tickets-head__only img { height: 28px; width: auto; display: block; }
.tickets { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.ticket {
  flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px;
  border-radius: 6px; background: var(--panel); border: 1px solid var(--line);
}
.ticket--closed { background: #070403; border-color: #1e0e0b; }
.ticket--featured { border-top: 3px solid var(--red); }
.ticket--vip { border-color: var(--gold); }
.ticket__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ticket__name { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; }
.ticket--closed .ticket__name { color: var(--muted); }
.ticket--vip .ticket__name { color: var(--gold); }
.ticket__tag {
  padding: 3px 9px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  border: 1px solid #3a2420; color: var(--muted); white-space: nowrap;
}
.ticket__tag--live { background: var(--red-button); border-color: var(--red-button); color: var(--text); font-weight: 800; }
.ticket__tag--amber { border-color: var(--amber); color: var(--amber); }
.ticket__tag--gold { border-color: var(--gold); color: var(--gold); }
.ticket__price { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.ticket--closed .ticket__price { color: #7f7470; text-decoration: line-through; }
.ticket__text { margin: 0; font-size: 15px; color: var(--text-dim); flex-grow: 1; }
.ticket--closed .ticket__text { color: var(--muted); }
.ticket__buy {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 4px;
  background: var(--red-button); color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none;
}
.ticket__buy:hover { background: var(--red); color: var(--text); }
.ticket__buy--outline { background: transparent; border: 1px solid var(--text); }
.ticket__buy--outline:hover { background: rgba(255, 255, 255, 0.06); }
.ticket__buy--gold { background: var(--gold); color: #000; }
.ticket__buy--gold:hover { background: var(--amber); color: #000; }

.facts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.fact { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--bg); }
.fact__label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--red-text); }
.fact__value { font-weight: 700; font-size: 18px; }

.faq { max-width: 1280px; margin: 0 auto; padding: 72px var(--gutter) 96px; display: flex; flex-wrap: wrap; gap: 32px 56px; }
.faq__head { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq__list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0;
  font-weight: 700; font-size: 17px; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 640px; color: var(--text-dim); }

/* ---------- AI Video ---------- */
.ai-intro { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 22px; }
.ai-intro__title { margin: 0; max-width: 820px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.08; }
.ai-intro__lead { margin: 0; max-width: 620px; font-size: 17px; color: var(--text-dim); }
.ai-steps { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; }
.ai-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; border: 1px solid var(--line); }
.ai-steps b { font-family: var(--display); font-weight: 400; color: var(--red-text); }

.ai-main { max-width: 1280px; margin: 0 auto; padding: 24px var(--gutter) 96px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.ai-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.ai-fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.ai-fieldset--stack { display: flex; flex-direction: column; gap: 18px; }
.ai-legend { padding: 0; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.ai-legend__num {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px;
  background: var(--red-button); font-family: var(--display); font-weight: 800; font-size: 14px;
}
.ai-legend__text { font-family: var(--display); font-weight: 800; font-size: 20px; }

.ai-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ai-template {
  display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; border-radius: 8px; background: var(--panel);
  border: 1px solid var(--line); color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.ai-template[aria-pressed='true'] { border: 2px solid var(--red); padding: 7px 7px 11px; box-shadow: 0 0 24px rgba(227, 36, 26, 0.45); }
.ai-template:disabled { cursor: not-allowed; opacity: 0.6; }
.ai-template__frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 5px; overflow: hidden; background: #000; }
.ai-template__frame img { width: 100%; height: 100%; display: block; }
.ai-template__play {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.5); display: flex; align-items: center; justify-content: center;
}
.ai-template__len { position: absolute; right: 6px; bottom: 6px; padding: 2px 7px; border-radius: 3px; background: rgba(0, 0, 0, 0.75); font-size: 11px; font-weight: 700; }
.ai-template__name { font-weight: 700; font-size: 14px; padding: 0 4px; }

/* Template looks: crops of the key art, as in the design. */
.crop { object-fit: cover; object-position: 50% 50%; transform-origin: 50% 50%; }
.crop--gong { transform: scale(1.9); transform-origin: 50% 62%; }
.crop--eclipse { transform: scale(1.35); transform-origin: 50% 12%; }
.crop--neon { object-position: 18% 50%; }

.dropzone__box--tall { min-height: 160px; background: var(--panel); border-radius: 8px; }
.ai-tips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-dim); }
.ai-tips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line); }
.ai-phone { max-width: 360px; }
.ai-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ai-submit .btn-hero { border: 0; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; padding: 0 32px; }
.ai-submit .btn-hero:disabled { opacity: 0.6; cursor: progress; }
.ai-submit__sel { font-size: 13px; color: var(--muted); }
.ai-submit__sel b { color: var(--text); }

.ai-result { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ai-screen {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.ai-screen > img, .ai-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai-screen__idle {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
  padding: 24px; background: rgba(0, 0, 0, 0.35); text-align: center;
}
.ai-screen__tag { padding: 4px 10px; border-radius: 3px; background: rgba(0, 0, 0, 0.75); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.ai-screen__name { font-family: var(--display); font-weight: 800; font-size: 20px; }
.ai-screen__loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 28px; background: rgba(0, 0, 0, 0.78); text-align: center;
}
.ai-screen__loading-title { font-family: var(--display); font-weight: 800; font-size: 18px; }
.ai-progress { width: 100%; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ai-progress__bar { height: 100%; width: 0; background: var(--red); box-shadow: 0 0 12px rgba(227, 36, 26, 0.8); transition: width 0.6s ease; }
.ai-progress__pct { font-family: var(--display); font-size: 14px; color: var(--amber); }
.ai-screen__note { font-size: 13px; color: var(--muted); }
.ai-screen__done { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.ai-screen__top { padding: 14px; }
.ai-screen__badge { display: inline-block; padding: 4px 10px; border-radius: 3px; background: var(--red-button); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }
.ai-screen__brand {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px 18px; text-align: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 55%, rgba(0, 0, 0, 0) 100%); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
}
.ai-screen__brand img { width: 86%; height: auto; display: block; }
.ai-screen__brand-tickets { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--red-text); }

.ai-actions { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.ai-actions .btn-primary { min-height: 52px; }
.btn-amber {
  min-height: 52px; border-radius: 4px; border: 1px solid var(--amber); background: transparent; color: var(--amber);
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.btn-amber:hover { background: rgba(255, 196, 107, 0.08); }
.btn-link { min-height: 44px; border: none; background: transparent; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.ai-promo {
  display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding: 20px; border-radius: 6px;
  border: 1px solid var(--red); background: var(--panel); box-shadow: 0 0 28px rgba(227, 36, 26, 0.25);
}
.ai-promo__title { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.25; }
.ai-promo__text { font-size: 14px; color: var(--text-dim); }
.ai-promo .btn-primary { min-height: 48px; }

@media (max-width: 640px) {
  .ai-intro { padding-top: 28px; gap: 14px; }
  .ai-intro__lead { font-size: 15px; }
  .ai-steps { display: none; }
  .ai-main { padding-top: 8px; }
  .ai-templates { grid-template-columns: repeat(4, 140px); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .ai-template { scroll-snap-align: start; }
  .ai-submit .btn-hero { width: 100%; justify-content: center; }
  .ai-screen, .ai-actions { max-width: none; }
}
