:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #101216;
  --surface-2: #15181d;
  --ink: #f4f3ef;
  --muted: #9a9ca2;
  --line: #292c32;
  --line-strong: #3a3d44;
  --red: #ff3b3f;
  --focus: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg); font-family: Inter, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(8, 9, 11, .92); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--ink); text-decoration: none; }
.brand-word { font-size: 1.16rem; font-weight: 900; letter-spacing: .16em; line-height: 1; }
.brand-three { color: var(--red); display: inline-block; transform: skew(-5deg); text-shadow: 0 0 24px rgba(255, 59, 63, .3); }
.brand-label { padding-left: .9rem; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3rem); }
.site-nav a { position: relative; color: #c5c5c7; font-size: .78rem; font-weight: 750; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--red); transition: right .2s ease; }
.site-nav a:hover::after { right: 0; }

.hero { min-height: 670px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(5rem, 11vw, 9rem); }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 1.35rem; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.signal { display: inline-block; width: 22px; height: 1px; margin: 0 .65rem .22rem 0; background: var(--red); }
h1, h2, h3 { margin-top: 0; font-weight: 800; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 9ch; margin-bottom: 1.8rem; font-size: clamp(4rem, 8vw, 7.6rem); }
h1 em { color: var(--red); font-style: normal; }
.lede { max-width: 56ch; margin: 0 0 2rem; color: #b8b9bd; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.text-link { display: inline-flex; align-items: center; gap: .75rem; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--red); font-size: 1.2rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(.2rem, .2rem); }

.hero-panel { position: relative; min-height: 430px; padding: 2rem; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, #17191e, #0c0d10 68%); display: flex; flex-direction: column; justify-content: space-between; }
.hero-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.035) 25%); pointer-events: none; }
.panel-index { position: relative; color: #767980; font: 700 .7rem/1 ui-monospace, monospace; letter-spacing: .16em; }
.panel-monogram { position: absolute; right: -1.4rem; top: 45%; transform: translateY(-50%) skew(-6deg); color: var(--red); font-size: clamp(15rem, 26vw, 24rem); font-weight: 950; line-height: .8; letter-spacing: -.12em; text-shadow: -18px 18px 0 rgba(184,25,34,.18); }
.hero-panel p { position: relative; margin: 0; padding-top: 1.3rem; border-top: 1px solid var(--line-strong); color: #d4d3d0; font-size: .82rem; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #0c0d10; }
.ticker-track { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 4rem); white-space: nowrap; color: #777980; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.ticker-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

.section { padding-block: clamp(5.5rem, 10vw, 9rem); }
.section-heading h2 { margin-bottom: 0; font-size: clamp(3rem, 6vw, 5.8rem); }
.game-feature { margin-top: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); border: 1px solid var(--line); background: var(--surface); }
.game-art { position: relative; min-height: 580px; overflow: hidden; padding: 2rem; border-right: 1px solid var(--line); background: radial-gradient(circle at 78% 25%, rgba(255,59,63,.19), transparent 28%), linear-gradient(135deg, #16191f, #090a0d 72%); }
.game-art::after { content: ""; position: absolute; inset: 0; opacity: .32; background: repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,255,255,.05) 40px), repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,255,255,.05) 40px); }
.game-code { position: relative; z-index: 1; color: #7f8187; font: 700 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.depth-title { position: absolute; z-index: 1; left: clamp(1.5rem, 5vw, 4rem); bottom: clamp(3rem, 7vw, 6rem); display: flex; flex-direction: column; color: #efeee9; font-size: clamp(4rem, 9vw, 8rem); font-weight: 950; letter-spacing: -.08em; line-height: .72; }
.depth-title span:last-child { margin-left: .55em; color: transparent; -webkit-text-stroke: 1px #777a81; }
.depth-line { position: absolute; z-index: 1; left: 0; bottom: 20%; width: 42%; height: 5px; background: var(--red); }
.game-info { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.status-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 3.5rem; color: #777980; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.status { color: #dad9d5; }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(255,59,63,.75); }
.game-info h3 { margin-bottom: 1.35rem; font-size: clamp(2.4rem, 4vw, 4rem); }
.game-info > p { margin: 0; color: #a7a8ad; }
.game-meta { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.game-meta div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.game-meta dt, .game-meta dd { margin: 0; font-size: .76rem; }
.game-meta dt { color: #707278; text-transform: uppercase; letter-spacing: .12em; }
.game-meta dd { color: #d2d1cd; }
.action-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .75rem 1rem; border: 1px solid var(--red); background: var(--red); color: white; font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background .2s, border-color .2s; }
.button:hover { background: #e12831; border-color: #e12831; }
.button-quiet { border-color: var(--line-strong); background: transparent; color: #d7d6d2; }
.button-quiet:hover { border-color: #686b72; background: #1a1d22; }

.studio-section { border-block: 1px solid var(--line); background: var(--surface); }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.studio-copy { max-width: 550px; padding-top: 2.4rem; color: #b2b3b7; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.studio-copy p { margin-top: 0; }
.studio-copy p + p { margin-top: 1.5rem; }

.support-card { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); background: linear-gradient(120deg, #15171c, #0d0e11); }
.support-card h2 { margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 5.6rem); }
.support-card p:not(.eyebrow) { max-width: 52ch; margin: 0; color: #999ba1; }
.support-email { padding-bottom: .4rem; border-bottom: 1px solid var(--red); font-size: .86rem; font-weight: 750; text-decoration: none; }
.support-email span { color: var(--red); }

.site-footer { padding-block: 3.2rem; border-top: 1px solid var(--line); color: #777980; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-brand .brand-word { color: #b7b7b8; font-size: .9rem; }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--ink); }
.copyright { justify-self: end; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }

/* Legal pages */
.policy-shell { width: min(calc(100% - 3rem), 920px); margin-inline: auto; }
.language-links { display: flex; align-items: center; gap: .45rem; }
.language-links a { min-width: 42px; padding: .45rem .65rem; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-decoration: none; }
.language-links a[aria-current="page"] { border-color: var(--red); color: white; }
.policy { padding-block: clamp(4rem, 9vw, 7.5rem); }
.policy h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(3.4rem, 8vw, 6.5rem); }
.policy .lede { max-width: 64ch; }
.meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.7rem; color: #777980; font: 650 .73rem/1.5 ui-monospace, monospace; }
.notice { margin-top: 2.5rem; padding: 1.25rem 1.4rem; border-left: 3px solid var(--red); background: var(--surface); color: #c8c7c4; }
.policy-content { margin-top: 4rem; border-top: 1px solid var(--line); }
.policy-section { display: grid; grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.policy-section h2 { margin: .2rem 0 0; color: #efeee9; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.015em; }
.policy-section h3, .policy-section p, .policy-section ul { grid-column: 2; }
.policy-section h3 { margin: 0 0 .4rem; color: #e6e5e2; font-size: .96rem; line-height: 1.4; letter-spacing: 0; }
.policy-section h3:not(:first-of-type) { margin-top: 1.2rem; }
.policy-section p, .policy-section li { margin-top: 0; color: #aeb0b5; }
.policy-section p + p { margin-top: .8rem; }
.policy-section ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.policy-section li + li { margin-top: .45rem; }
.policy-section strong { color: #d9d8d4; }
.policy-section a { color: #e3e2de; text-decoration-color: var(--red); }
.policy-section a:hover { color: white; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-panel { min-height: 320px; }
  .panel-monogram { font-size: 19rem; }
  .game-feature { grid-template-columns: 1fr; }
  .game-art { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-copy { padding-top: 0; }
  .support-card { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  .shell, .policy-shell { width: min(calc(100% - 2rem), var(--max)); }
  .header-inner { min-height: 76px; }
  .brand-label { display: none; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .66rem; letter-spacing: .08em; }
  .hero { padding-block: 4.5rem; gap: 3.5rem; }
  h1 { font-size: clamp(3.6rem, 18vw, 5rem); }
  .hero-panel { min-height: 280px; }
  .ticker-track { justify-content: flex-start; padding-inline: 1rem; overflow: hidden; }
  .ticker-track span:nth-of-type(n+3), .ticker-track i:nth-of-type(n+3) { display: none; }
  .game-art { min-height: 350px; }
  .depth-title { font-size: clamp(3.6rem, 18vw, 5.8rem); }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .copyright { justify-self: start; }
  .policy-section { grid-template-columns: 1fr; gap: 1rem; }
  .policy-section h3, .policy-section p, .policy-section ul { grid-column: 1; }
}

@media (max-width: 440px) {
  .brand-word { font-size: 1rem; letter-spacing: .11em; }
  .site-nav a:nth-child(2) { display: none; }
  .support-email { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
