:root { --ink:#0b1018; --paper:#f3efe7; --gold:#dcae54; --rust:#9d4538; --muted:#626875; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
.sr-only { clip:rect(0,0,0,0); clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; white-space:nowrap; width:1px; }

.site-header { align-items:center; background:rgba(8,12,18,.9); border-bottom:1px solid rgba(255,255,255,.12); color:white; display:grid; grid-template-columns:1fr auto 1fr; height:76px; padding:0 clamp(22px,5vw,76px); position:absolute; top:0; width:100%; z-index:5; }
.brand { align-items:center; display:flex; font-size:13px; font-weight:850; gap:12px; letter-spacing:.12em; }
.brand-mark { align-items:center; background:var(--gold); border-radius:8px; color:#17130d; display:flex; font-size:12px; height:34px; justify-content:center; letter-spacing:-.02em; width:34px; }
nav { display:flex; gap:34px; }
nav a { color:#dce0e6; font-size:14px; font-weight:650; }
.header-cta { border:1px solid rgba(255,255,255,.45); border-radius:999px; font-size:13px; font-weight:750; justify-self:end; padding:11px 20px; }

.hero { background:#0a0f17; color:white; min-height:min(720px,88vh); overflow:hidden; position:relative; }
.hero-backdrop { height:100%; inset:0; object-fit:cover; object-position:center; position:absolute; width:100%; }
.hero-character { bottom:-22%; filter:drop-shadow(0 34px 34px rgba(0,0,0,.58)); height:108%; object-fit:contain; object-position:bottom right; position:absolute; right:2%; width:55%; z-index:1; }
.hero-shade { background:linear-gradient(90deg,rgba(5,9,15,.98) 0%,rgba(5,9,15,.87) 43%,rgba(5,9,15,.2) 72%,rgba(5,9,15,.45) 100%),linear-gradient(0deg,rgba(4,7,12,.72),transparent 55%); inset:0; position:absolute; }
.hero-content { margin-left:clamp(22px,7vw,110px); max-width:640px; padding:clamp(118px,16vh,155px) 0 58px; position:relative; z-index:2; }
.hero-logo-art { filter:drop-shadow(0 12px 18px rgba(0,0,0,.4)); margin:-6px 0 8px; mix-blend-mode:screen; width:min(500px,92%); }
.eyebrow { color:#f0c269; font-size:12px; font-weight:850; letter-spacing:.18em; margin:0 0 20px; }
.eyebrow.dark { color:var(--rust); }
.hero h1 { font-size:clamp(66px,8.8vw,132px); font-weight:900; letter-spacing:-.075em; line-height:.82; margin:0; max-width:700px; text-transform:uppercase; }
.hero-copy { color:#dce2ea; font-size:clamp(17px,1.6vw,21px); line-height:1.55; margin:32px 0; max-width:610px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.primary-button,.secondary-button { border-radius:999px; font-size:14px; font-weight:800; padding:15px 24px; }
.primary-button { background:var(--gold); color:#17130d; }
.secondary-button { border:1px solid rgba(255,255,255,.36); color:white; }
.hero-meta { color:#bfc5ce; display:flex; flex-wrap:wrap; font-size:11px; font-weight:800; gap:28px; letter-spacing:.14em; margin-top:52px; }

.art-spray { filter:saturate(1.1) contrast(1.05); max-width:none; opacity:.18; pointer-events:none; position:absolute; z-index:0; }
.character-strip,.play-section,.controls-section,.story-section,.victory-section,.editions-section { isolation:isolate; overflow:hidden; position:relative; }
.character-strip-copy,.walk-art,.section-heading,.arcade-cabinet,.controls-section>div,.control-grid,.story-art,.story-copy,.victory-section>img,.victory-copy,.editions-heading,.edition-grid { position:relative; z-index:1; }
.spray-faces { mask-image:linear-gradient(90deg,transparent 0,#000 30%,#000 72%,transparent 100%); mix-blend-mode:multiply; right:-5%; top:-18%; transform:rotate(3deg); width:36%; }
.spray-props { bottom:-10%; left:-5%; mask-image:radial-gradient(ellipse,#000 28%,transparent 72%); mix-blend-mode:multiply; transform:rotate(-7deg); width:25%; }
.spray-attacks { mask-image:linear-gradient(90deg,transparent,#000 35%,#000 70%,transparent); mix-blend-mode:multiply; right:-6%; top:0; transform:rotate(-5deg); width:38%; }
.spray-items { bottom:2%; left:-6%; mask-image:radial-gradient(ellipse,#000 30%,transparent 72%); mix-blend-mode:multiply; transform:rotate(7deg); width:23%; }
.spray-sprites { bottom:-12%; mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent); mix-blend-mode:multiply; opacity:.12; right:-4%; transform:rotate(-4deg); width:43%; }
.spray-boss-fx { filter:saturate(1.35) contrast(1.1); mask-image:radial-gradient(ellipse,#000 20%,transparent 72%); mix-blend-mode:screen; opacity:.34; right:-8%; top:2%; transform:rotate(-8deg); width:48%; }
.spray-decals { bottom:-14%; mask-image:radial-gradient(ellipse,#000 26%,transparent 74%); mix-blend-mode:screen; opacity:.28; right:-4%; transform:rotate(6deg); width:27%; z-index:1; }
.spray-cabinet { mask-image:linear-gradient(90deg,transparent,#000 28%,#000 75%,transparent); mix-blend-mode:multiply; opacity:.16; right:-2%; top:2%; transform:rotate(3deg); width:31%; }
.spray-locations { bottom:-9%; left:-8%; mask-image:radial-gradient(ellipse,#000 26%,transparent 76%); mix-blend-mode:multiply; opacity:.13; transform:rotate(-4deg); width:37%; }

.character-strip { background:#e7dfd2; overflow:hidden; padding:32px clamp(22px,7vw,110px) 0; }
.character-strip-copy { align-items:end; display:flex; justify-content:space-between; margin:0 auto 40px; max-width:1320px; }
.character-strip-copy { margin-bottom:12px; }
.character-strip-copy h2 { font-size:clamp(32px,4vw,56px); max-width:780px; }
.walk-art { margin:0 auto; max-width:1450px; overflow:hidden; }
.walk-art img { height:auto; transform:translateY(8%); width:100%; }

.play-section,.controls-section,.editions-section { padding:56px clamp(22px,7vw,110px); }
.section-heading { align-items:end; display:grid; gap:40px; grid-template-columns:1fr minmax(280px,540px); margin:0 auto 48px; max-width:1320px; }
h2 { font-size:clamp(42px,5.5vw,78px); letter-spacing:-.055em; line-height:.96; margin:0; }
.section-heading>p { color:var(--muted); font-size:18px; line-height:1.6; margin:0 0 6px; }
.arcade-cabinet { background:linear-gradient(90deg,#171b24,#303641 7%,#11151d 16%,#11151d 84%,#303641 93%,#171b24); border:5px solid #11151b; border-radius:30px 30px 18px 18px; box-shadow:0 34px 90px rgba(16,20,28,.3),inset 0 0 0 2px #4b535f; margin:0 auto; max-width:1360px; overflow:hidden; padding:0 18px 22px; }
.arcade-marquee { align-items:center; background:linear-gradient(#b14f3f,#742b29); border-bottom:5px solid #d8a94e; color:#fff1ce; display:grid; grid-template-columns:1fr auto 1fr; margin:0 -18px 18px; min-height:92px; padding:14px 34px; text-align:center; text-shadow:0 3px #20100e; }
.arcade-marquee strong { font-size:clamp(28px,4.5vw,58px); font-weight:950; letter-spacing:.06em; }
.arcade-marquee span { font-size:10px; font-weight:850; letter-spacing:.14em; }
.arcade-marquee span:last-child { text-align:right; }
.arcade-marquee span:first-child { text-align:left; }
.game-shell { background:#0a0e15; border:2px solid #555e6a; border-radius:16px; box-shadow:inset 0 0 0 7px #080b10,0 18px 50px rgba(0,0,0,.36); margin:0 auto; overflow:hidden; padding:12px; }
.game-toolbar { align-items:center; color:#929aa7; display:flex; font-size:10px; font-weight:800; justify-content:space-between; letter-spacing:.14em; padding:6px 8px 16px; }
.game-toolbar i { background:#57c487; border-radius:50%; display:inline-block; height:7px; margin-right:8px; width:7px; }
.fullscreen-tools { align-items:center; display:flex; gap:14px; }
.fullscreen-tools strong { color:#f4e5bd; font-size:10px; }
.fullscreen-button { background:#d8a94e; border:0; border-radius:999px; color:#17130d; cursor:pointer; font:850 11px/1 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:.08em; padding:12px 17px; }
.fullscreen-button:hover { background:#f0c66d; transform:translateY(-1px); }
.game-frame-wrap { aspect-ratio:16/9; background:black; border-radius:14px; overflow:hidden; position:relative; }
.fullscreen-fab { align-items:center; box-shadow:0 5px 22px rgba(0,0,0,.48); display:flex; gap:7px; position:absolute; right:13px; top:13px; z-index:4; }
.fullscreen-fab:focus-visible { outline:3px solid white; outline-offset:3px; }
.game-frame { border:0; height:100%; width:100%; }
body.game-fullscreen-open { overflow:hidden; overscroll-behavior:none; }
.install-note { background:#11111c; border-top:1px solid rgba(255,255,255,.12); color:#d8d8e2; font-size:11px; letter-spacing:.04em; margin:0; padding:8px 12px; text-align:center; }
.install-note strong { color:#ffd323; }
.game-shell.mobile-fullscreen { border:0; border-radius:0; display:flex; flex-direction:column; height:100dvh; inset:0; margin:0; padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); position:fixed; width:100vw; z-index:9999; }
.game-shell.mobile-fullscreen .game-toolbar { flex:0 0 auto; padding:4px 6px 10px; }
.game-shell.mobile-fullscreen .install-note { flex:0 0 auto; }
.game-shell.mobile-fullscreen .game-frame-wrap { aspect-ratio:auto; border-radius:8px; flex:1 1 auto; min-height:0; }
.game-shell.mobile-fullscreen .game-frame { display:block; }
.game-shell.mobile-fullscreen .fullscreen-fab { position:absolute; }
.game-shell:fullscreen { border-radius:0; display:flex; flex-direction:column; height:100%; padding:12px; }
.game-shell:fullscreen .game-frame-wrap { aspect-ratio:auto; flex:1 1 auto; min-height:0; }

.controls-section { background:white; display:grid; gap:70px; grid-template-columns:minmax(280px,.85fr) 1.15fr; }
.control-grid { display:grid; gap:12px; grid-template-columns:repeat(2,1fr); }
.control-card { align-items:center; background:#f3f1ec; border:1px solid #e4e0d8; border-radius:16px; display:flex; justify-content:space-between; min-height:76px; padding:18px 20px; }
.control-card span { color:#777d86; font-size:10px; font-weight:850; letter-spacing:.12em; }
.control-card strong { font-size:14px; }

.story-section { background:var(--ink); color:white; display:grid; grid-template-columns:1fr 1fr; min-height:560px; }
.story-art { align-items:end; background:radial-gradient(circle at 50% 42%,#324052 0,#171e29 42%,#080c12 78%); display:flex; justify-content:center; overflow:hidden; padding:60px 60px 0; }
.story-art img { filter:drop-shadow(0 24px 34px rgba(0,0,0,.38)); max-height:640px; object-fit:contain; }
.story-copy { align-self:center; max-width:660px; padding:80px clamp(28px,7vw,110px); }
.story-copy p:not(.eyebrow) { color:#c2c8d1; font-size:18px; line-height:1.7; margin:30px 0; }
.boss-tags { display:flex; flex-wrap:wrap; gap:9px; }
.boss-tags span { border:1px solid #374250; border-radius:999px; color:#dce1e8; font-size:10px; font-weight:800; letter-spacing:.1em; padding:10px 13px; }

.victory-section { background:#080d15; color:white; display:grid; grid-template-columns:1.25fr .75fr; min-height:520px; position:relative; }
.victory-section>img { height:100%; inset:0 auto 0 0; object-fit:cover; position:absolute; width:66%; }
.victory-section::after { background:linear-gradient(90deg,transparent 38%,#080d15 66%); content:""; inset:0; position:absolute; }
.victory-copy { align-self:center; grid-column:2; padding:80px clamp(28px,7vw,110px) 80px 20px; position:relative; z-index:1; }
.victory-copy p:not(.eyebrow) { color:#c2c8d1; font-size:18px; line-height:1.65; }

.editions-section { margin:auto; max-width:1500px; }
.editions-heading { margin-bottom:46px; max-width:760px; }
.editions-heading h2 { font-size:clamp(42px,5vw,68px); }
.edition-grid { display:grid; gap:18px; grid-template-columns:repeat(2,1fr); }
.edition-card { border-radius:24px; display:grid; grid-template-rows:auto 1fr auto; min-height:390px; overflow:hidden; padding:30px; position:relative; }
.edition-card::after { border-radius:50%; content:""; filter:blur(2px); height:240px; opacity:.34; position:absolute; right:-80px; top:-70px; width:240px; }
.trimui-card { background:#111722; color:white; }
.trimui-card::after { background:#4d8ac2; }
.cabinet-card { background:#d9ac55; color:#16120c; }
.cabinet-card::after { background:#f7dc9a; }
.edition-number { font-size:12px; font-weight:850; letter-spacing:.14em; position:relative; z-index:1; }
.edition-card>div { align-self:end; position:relative; z-index:1; }
.edition-label { font-size:10px!important; font-weight:850; letter-spacing:.16em; margin:0 0 12px; opacity:.7; }
.edition-card h3 { font-size:clamp(30px,3.4vw,50px); letter-spacing:-.05em; line-height:.96; margin:0 0 18px; }
.edition-card p { font-size:16px; line-height:1.55; margin:0; max-width:540px; opacity:.78; }
.coming-soon { border:1px solid #c7c1b6; border-radius:999px; color:#676157; font-size:11px; font-weight:850; letter-spacing:.14em; padding:14px 20px; }
.edition-card .coming-soon { align-self:end; color:inherit; justify-self:start; margin-top:28px; position:relative; z-index:1; }
.trimui-card .coming-soon { border-color:#485466; }
.cabinet-card .coming-soon { border-color:rgba(22,18,12,.28); }
footer { border-top:1px solid #d8d2c8; color:#747068; display:flex; font-size:11px; font-weight:750; justify-content:space-between; letter-spacing:.08em; padding:30px clamp(22px,7vw,110px); }

@media (max-width:820px) {
  .site-header { grid-template-columns:1fr auto; }
  nav { display:none; }
  .hero { min-height:680px; }
  .hero-backdrop { object-position:62% center; }
  .hero-character { bottom:-8%; height:72%; opacity:.72; right:-11%; width:86%; }
  .hero-shade { background:linear-gradient(0deg,rgba(5,9,15,.98) 0%,rgba(5,9,15,.66) 68%,rgba(5,9,15,.32) 100%); }
  .hero-content { margin:0; padding:118px 22px 46px; }
  .hero-logo-art { width:min(390px,90%); }
  .hero h1 { font-size:clamp(58px,20vw,86px); }
  .section-heading,.controls-section,.story-section,.victory-section { grid-template-columns:1fr; }
  .play-section,.controls-section,.editions-section { padding:58px 20px; }
  .spray-faces { opacity:.11; right:-24%; width:75%; }
  .spray-props { opacity:.13; width:48%; }
  .spray-attacks { opacity:.12; right:-22%; width:72%; }
  .spray-items { opacity:.12; width:42%; }
  .spray-sprites { opacity:.09; width:70%; }
  .spray-boss-fx { opacity:.2; width:82%; }
  .spray-decals { opacity:.18; width:52%; }
  .spray-cabinet { opacity:.1; width:58%; }
  .spray-locations { opacity:.09; width:70%; }
  .game-shell { border-radius:16px; padding:7px; }
  .arcade-cabinet { border-radius:20px 20px 12px 12px; padding:0 7px 10px; }
  .arcade-marquee { grid-template-columns:1fr; margin:0 -7px 10px; min-height:72px; padding:10px; }
  .arcade-marquee span { display:none; }
  .game-frame-wrap { aspect-ratio:16/10; }
  .story-art { min-height:560px; padding:42px 30px 0; }
  .story-copy { padding:74px 24px; }
  .character-strip-copy { align-items:flex-start; flex-direction:column; }
  .walk-art { overflow:visible; width:210%; }
  .victory-section { min-height:760px; }
  .victory-section>img { height:62%; position:absolute; width:100%; }
  .victory-section::after { background:linear-gradient(0deg,#080d15 34%,transparent 72%); }
  .victory-copy { align-self:end; grid-column:1; padding:480px 24px 72px; }
  .edition-grid { grid-template-columns:1fr; }
}

@media (max-width:520px) {
  .brand>span:last-child { display:none; }
  .header-cta { padding:10px 15px; }
  .control-grid { grid-template-columns:1fr; }
  .game-toolbar span:last-child { display:none; }
  .fullscreen-tools strong { display:none; }
  .fullscreen-button { padding:10px 13px; }
  .fullscreen-fab { border-radius:50%; height:44px; justify-content:center; padding:0; right:9px; top:9px; width:44px; }
  .fullscreen-fab span:last-child { display:none; }
  footer { flex-direction:column; gap:10px; }
}
