:root {
  --bg: #090719;
  --bg-2: #11123a;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-dark: rgba(13, 12, 38, 0.84);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --ink: #17152f;
  --ink-muted: #55516d;
  --accent: #35e9ff;
  --accent-2: #ff62d2;
  --accent-3: #ffe65a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #2a1a69 0, var(--bg) 42%, #03030a 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(9, 7, 25, 0.72), rgba(27, 13, 70, 0.55));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled { background: rgba(7, 6, 22, 0.92); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.header-inner {
  width: min(1280px, calc(100% - 28px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { width: clamp(120px, 14vw, 190px); }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.site-nav a {
  position: relative;
  padding: 10px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: transform 160ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 64px) 0 84px;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(90deg, rgba(9, 7, 25, 0.95), rgba(9, 7, 25, 0.58) 45%, rgba(9, 7, 25, 0.16)), url("assets/hero-bg.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -12vw -16vw -12vw;
  height: 42vw;
  z-index: -2;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  transform: skewY(-5deg);
  opacity: 0.9;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.hero-shapes span {
  position: absolute;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  transform: rotate(16deg);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.2));
}
.hero-shapes span:nth-child(1) { width: 140px; height: 140px; right: 12%; top: 20%; border-color: var(--accent); }
.hero-shapes span:nth-child(2) { width: 76px; height: 76px; right: 32%; bottom: 18%; border-color: var(--accent-2); }
.hero-shapes span:nth-child(3) { width: 110px; height: 110px; left: 5%; bottom: 22%; border-color: var(--accent-3); }
.hero-shapes span:nth-child(4) { width: 58px; height: 58px; left: 34%; top: 18%; border-color: rgba(255,255,255,.5); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: end;
  gap: 40px;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-3);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 950;
}
.hero-logo { width: min(520px, 80vw); margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  max-width: 800px;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}
.hero-text {
  margin-bottom: 26px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
}
.hero-actions, .platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.platform-strip { margin-top: 26px; }
.platform-strip img {
  height: 34px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  background: rgba(255,255,255,.88);
  padding: 7px 12px;
  border-radius: 999px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34); }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #071022; }
.btn-secondary { background: rgba(255,255,255,.92); color: var(--ink); }
.hero-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  border: 6px solid rgba(255, 255, 255, 0.38);
}
.hero-card .rating { width: 92px; margin-bottom: 18px; }
.card-label { margin: 0 0 2px; color: var(--ink-muted); font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.card-value { margin: 0 0 14px; font-weight: 950; font-size: 1.2rem; }

.section {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.media-section {
  background: linear-gradient(180deg, #16124a, #0c0926);
}
.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr);
  gap: 22px;
}
.trailer-card, .screenshot-grid button {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.trailer-card img, .screenshot-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.trailer-card { aspect-ratio: 16 / 9; }
.trailer-card:hover img, .screenshot-grid button:hover img { transform: scale(1.04); }
.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: clamp(72px, 10vw, 110px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--accent-2);
  font-size: clamp(1.7rem, 4vw, 3rem);
  box-shadow: 0 15px 42px rgba(0,0,0,.32);
}
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.screenshot-grid button { border-radius: var(--radius-md); aspect-ratio: 16 / 9; }

.feature-story {
  background: linear-gradient(180deg, #0c0926, #090719);
}
.feature-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 24px;
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-lead img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.feature-lead-copy { padding: clamp(28px, 5vw, 58px); align-self: center; }
.feature-lead-copy h3 { font-size: clamp(1.9rem, 4vw, 4rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.feature-lead-copy p:not(.eyebrow) { color: var(--ink-muted); line-height: 1.65; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  background: rgba(255,255,255,.94);
  color: var(--ink);
  padding: 14px 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.feature-card img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 16px; width: 100%; }
.feature-card h3 { margin-bottom: 8px; text-transform: uppercase; letter-spacing: -.02em; }
.feature-card p { margin-bottom: 0; color: var(--ink-muted); line-height: 1.5; }

.characters-section {
  overflow: hidden;
  background: radial-gradient(circle at 76% 20%, rgba(255, 98, 210, 0.28), transparent 32%), linear-gradient(180deg, #090719, #181550);
}
.character-panel {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.82));
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 42px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.character-panel::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: .5;
  filter: blur(20px);
}
.character-stage {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: end center;
  background: radial-gradient(circle, rgba(53,233,255,.32), transparent 60%);
}
.character-stage img {
  width: min(430px, 100%);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(0,0,0,.35));
}
.character-copy { position: relative; z-index: 1; }
.character-copy h3 { font-size: clamp(2.4rem, 6vw, 6rem); line-height: .88; letter-spacing: -.07em; text-transform: uppercase; margin-bottom: 18px; }
.character-copy p:not(.eyebrow) { max-width: 560px; color: var(--ink-muted); font-size: 1.16rem; line-height: 1.65; }
.character-tabs {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.character-tabs button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background 160ms ease, transform 160ms ease;
}
.character-tabs button:hover { transform: translateY(-2px); }
.character-tabs button.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #071022; }

.editions-section { background: linear-gradient(180deg, #181550, #0a0820); }
.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.edition-card {
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.edition-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.edition-body { padding: clamp(22px, 4vw, 38px); }
.edition-body h3 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: .95; text-transform: uppercase; letter-spacing: -.04em; }
.edition-body ul { margin: 0 0 24px; padding: 0; list-style: none; }
.edition-body li {
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  color: var(--ink-muted);
  position: relative;
}
.edition-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 950;
}

.newsletter-section {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071022;
}
.newsletter-section .eyebrow { color: #071022; }
.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,.82);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.newsletter-card h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; letter-spacing: -.06em; margin-bottom: 12px; }
.newsletter-card p:not(.eyebrow) { color: var(--ink-muted); line-height: 1.6; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  min-height: 52px;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.06);
}

.site-footer {
  padding: 38px 0;
  background: #05040f;
  color: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.footer-grid img { width: 160px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.footer-grid p { grid-column: 2; margin: 0; font-size: .86rem; }

.modal, .lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal.open, .lightbox.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
}
.modal-box {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.modal-close, .lightbox-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 44px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #16124a, #05040f);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.video-placeholder p { font-size: clamp(2rem, 5vw, 4rem); text-transform: uppercase; font-weight: 950; margin: 0 0 6px; }
.video-placeholder small { color: var(--muted); }
.lightbox { background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.lightbox img { max-height: 86svh; width: min(1100px, 100%); object-fit: contain; border-radius: var(--radius-md); box-shadow: var(--shadow); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .hero-grid, .media-layout, .feature-lead, .character-panel, .newsletter-card {
    grid-template-columns: 1fr;
  }
  .hero-card { max-width: 420px; transform: rotate(0); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .character-tabs { grid-template-columns: repeat(3, 1fr); }
  .character-stage { min-height: 420px; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .container { width: min(100% - 24px, var(--max)); }
  .brand img { width: 132px; }
  .nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.16);
  }
  .nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 160ms ease, opacity 160ms ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 8px);
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 22px;
    background: rgba(7, 6, 22, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 12px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 46px); }
  .hero-bg { background-position: center top; }
  .hero::before { height: 58vw; }
  .hero-shapes { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-card { max-width: none; }
  .screenshot-grid, .feature-grid, .edition-grid { grid-template-columns: 1fr; }
  .character-tabs { grid-template-columns: repeat(2, 1fr); }
  .character-tabs button { font-size: .74rem; min-height: 48px; }
  .character-stage { min-height: 360px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid p { grid-column: auto; }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(2.4rem, 19vw, 4rem); }
  .section { padding: 58px 0; }
  .section-heading h2 { font-size: 2.35rem; }
  .feature-lead-copy, .edition-body { padding: 22px; }
  .character-panel { padding: 16px; }
  .character-stage { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
