/* Critical CSS: first-viewport only (reset, header, hero/page-hero, primary
   buttons). This is a curated subset of assets/css/main.css, which stays
   complete and loads non-blocking. Kept in sync by hand when the header,
   hero or button components change. */

:root {
  --ink-950: #080b17;
  --ink-900: #101629;
  --ink-850: #141c33;
  --ink-800: #19233e;
  --ink-700: #263557;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-blue: #eaf7ff;
  --text: #ffffff;
  --text-dark: #172037;
  --text-soft: #cad5ef;
  --text-muted-dark: #69738d;
  --gold: #ffc43d;
  --gold-dark: #d98a00;
  --electric: #4ed9ff;
  --electric-dark: #187fc8;
  --fire: #ff6238;
  --fire-dark: #b9222f;
  --poison: #8bd438;
  --poison-dark: #367d2f;
  --ice: #70cfff;
  --ice-dark: #315fce;
  --legend: #ff9d2d;
  --rare: #39c6f4;
  --epic: #ad55ed;
  --success: #45ba68;
  --warning: #f6a729;
  --danger: #e84f5f;
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 76rem;
  --container-wide: 94rem;
  --radius-sm: 0.8rem;
  --radius-md: 1.35rem;
  --radius-lg: 2.2rem;
  --shadow-card: 0 1.2rem 3.5rem rgb(4 9 25 / 22%);
  --shadow-deep: 0 2rem 6rem rgb(0 0 0 / 38%);
  --header-height: 5.4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.has-menu-open, body.has-dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.7rem, 8vw, 5.6rem); }
p { color: var(--text-soft); }

:focus-visible { outline: 0.22rem solid var(--electric); outline-offset: 0.25rem; }
::selection { background: var(--gold); color: var(--ink-950); }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.9rem 1.1rem;
  transform: translateY(-180%);
  background: var(--gold);
  color: var(--ink-950);
  border-radius: 0.7rem;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before, .section-kicker::before {
  content: "";
  width: 1.65rem;
  height: 0.2rem;
  background: currentColor;
  border-radius: 999px;
}
.eyebrow--gold, .section-kicker--gold { color: var(--gold); }

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.35rem;
  border: 0.12rem solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-0.12rem); }
.button--gold {
  background: linear-gradient(135deg, #ffe071, var(--gold));
  color: var(--ink-950);
  box-shadow: 0 0.55rem 0 var(--gold-dark), 0 1.2rem 2.8rem rgb(255 157 45 / 25%);
}
.button--gold:hover { box-shadow: 0 0.4rem 0 var(--gold-dark), 0 1.4rem 3rem rgb(255 157 45 / 35%); }
.button--glass {
  border-color: rgb(255 255 255 / 34%);
  background: rgb(8 11 23 / 58%);
  color: #fff;
  backdrop-filter: blur(0.8rem);
}
.button--glass:hover { border-color: var(--electric); background: rgb(16 22 41 / 82%); }
.button--play {
  justify-content: flex-start;
  background: linear-gradient(135deg, #ffe36c, #ffad31);
  color: var(--ink-950);
  box-shadow: 0 0.55rem 0 #ba6700, 0 1.4rem 3rem rgb(255 150 35 / 30%);
}
.button--play small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.button__play-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--ink-950);
  color: var(--gold);
}
.button--play-large { padding: 1.1rem 1.7rem; }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}
.site-header__inner {
  width: min(100% - 1.2rem, var(--container-wide));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 94%);
  color: var(--text-dark);
  box-shadow: 0 0.7rem 2.5rem rgb(3 10 27 / 12%);
  backdrop-filter: blur(1rem);
}
.site-brand { position: relative; z-index: 2; display: block; width: 8.6rem; height: 3.2rem; }
.site-brand__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 180ms ease;
}
.site-brand__logo--dark { opacity: 0; }
.site-header.is-scrolled .site-brand__logo--light { opacity: 0; }
.site-header.is-scrolled .site-brand__logo--dark { opacity: 1; }
.site-nav--desktop, .header-play { display: none; }
.menu-toggle {
  position: relative;
  z-index: 1002;
  width: 3.3rem;
  height: 3.3rem;
  border: 0.12rem solid rgb(255 255 255 / 35%);
  border-radius: 1rem;
  background: rgb(8 11 23 / 48%);
  color: #fff;
  cursor: pointer;
}
.site-header.is-scrolled .menu-toggle {
  border-color: rgb(23 32 55 / 18%);
  background: var(--surface-soft);
  color: var(--text-dark);
}
.menu-toggle__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.3rem;
  transition: opacity 140ms ease, transform 180ms ease;
}
.menu-toggle__icon span { display: block; width: 1.4rem; height: 0.16rem; background: currentColor; border-radius: 999px; }
.menu-toggle__icon--close { opacity: 0; transform: rotate(-30deg); }
.menu-toggle__icon--close span { position: absolute; top: 50%; left: 50%; margin-left: -0.7rem; }
.menu-toggle__icon--close span:first-child { transform: rotate(45deg); }
.menu-toggle__icon--close span:last-child { transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon--open { opacity: 0; transform: rotate(30deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon--close { opacity: 1; transform: rotate(0); }

.mobile-menu {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  align-content: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
  background: radial-gradient(circle at 80% 20%, rgb(78 217 255 / 22%), transparent 28rem), linear-gradient(145deg, var(--ink-800), var(--ink-950));
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: end; }
.hero__media, .page-hero__media, .combo-cinema__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { object-position: 57% center; }
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 11 23 / 15%), rgb(8 11 23 / 93%) 88%), linear-gradient(90deg, rgb(8 11 23 / 86%), transparent 75%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: calc(var(--header-height) + 3rem) 0 6.5rem;
}
.hero h1 { max-width: 14ch; margin-bottom: 1.1rem; text-shadow: 0 0.35rem 1.4rem rgb(0 0 0 / 55%); }
.hero h1 span, .page-hero h1 span { color: var(--gold); }
.hero__lead { max-width: 41rem; font-size: 1.06rem; color: #fff; }
.hero__actions { display: grid; gap: 0.9rem; width: min(100%, 28rem); margin-top: 1.8rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.2rem; margin-top: 2rem; font-size: 0.8rem; color: var(--text-soft); }
.hero__facts span { display: flex; gap: 0.35rem; }
.hero__facts b { color: #fff; }

.page-hero { position: relative; min-height: 38rem; display: grid; align-items: end; overflow: hidden; }
.page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 11 23 / 12%), rgb(8 11 23 / 95%) 92%), linear-gradient(90deg, rgb(8 11 23 / 88%), transparent 78%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: calc(var(--header-height) + 3rem) 0 4.5rem;
}
.page-hero__content h1 { max-width: 13ch; margin-bottom: 1rem; }
.page-hero__content > p { max-width: 40rem; color: #fff; }
.page-hero--support .page-hero__media { object-position: 60% center; }

@media (min-width: 480px) {
  .hero__actions { grid-template-columns: 1.25fr 1fr; width: min(100%, 36rem); }
}

@media (min-width: 700px) {
  .hero__content { width: min(100% - 3rem, var(--container)); padding-bottom: 7rem; }
}

@media (min-width: 960px) {
  :root { --header-height: 6rem; }
  .site-header__inner { width: min(100% - 3rem, var(--container-wide)); }
  .site-brand { width: 10.5rem; height: 3.8rem; }
  .menu-toggle { display: none; }
  .site-nav--desktop { display: flex; align-items: center; gap: 0.25rem; }
  .site-nav__link { position: relative; padding: 0.75rem 0.65rem; font-size: 0.82rem; font-weight: 700; }
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.35rem;
    height: 0.16rem;
    transform: scaleX(0);
    transform-origin: right;
    border-radius: 999px;
    background: var(--gold);
    transition: transform 180ms ease;
  }
  .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .header-play {
    display: grid;
    padding: 0.55rem 0.85rem;
    border-radius: 0.9rem;
    background: var(--gold);
    color: var(--ink-950);
    line-height: 1.05;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 0.3rem 0 var(--gold-dark);
  }
  .header-play__eyebrow { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .mobile-menu { display: none; }
  .hero { align-items: center; }
  .hero__media { object-position: center; }
  .hero__veil {
    background: linear-gradient(90deg, rgb(8 11 23 / 90%), rgb(8 11 23 / 52%) 35%, transparent 70%), linear-gradient(180deg, rgb(8 11 23 / 20%), rgb(8 11 23 / 66%));
  }
  .hero__content { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; }
  .hero__lead { font-size: 1.15rem; }
  .page-hero { min-height: 48rem; align-items: center; }
  .page-hero__content { padding-bottom: 0; }
}

@media (min-width: 1280px) {
  .site-nav--desktop { gap: 0.5rem; }
  .site-nav__link { padding-inline: 0.85rem; }
  .header-play { padding-inline: 1rem; }
}

@media (max-width: 479px) {
  .button { width: 100%; }
  .hero__facts { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
