:root {
  color-scheme: light dark;
  --bg: #fbfaff;
  --panel: #fff;
  --soft: #f3efff;
  --text: #211a38;
  --muted: #56506b;
  --line: #ddd7eb;
  --accent: #5637b2;
  --button: #4930a0;
  --button-text: #fff;
  --hero-glow: #eee5ff;
  --shade: #24194319;
  font: 100%/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111223;
    --panel: #1c1d33;
    --soft: #25213d;
    --text: #fbf7ff;
    --muted: #c6bfd9;
    --line: #3b3855;
    --accent: #cdbaff;
    --button: #ddcbff;
    --button-text: #251944;
    --hero-glow: #28203e;
    --shade: #05040e66;
  }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.05em; }
h1 { font-size: clamp(2.65rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
p { color: var(--muted); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 2; transform: translateY(-160%); padding: .55rem .85rem; background: var(--panel); border-radius: .4rem; }
.skip:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); background: var(--panel); }
.masthead-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; }
.masthead-inner { min-height: 70px; padding-block: .45rem; }
.masthead nav, .footer nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.55rem, 3vw, 1.5rem); }
.masthead nav a, .footer nav a { color: var(--muted); text-decoration: none; padding: .55rem .06rem; }
.masthead nav a:hover, .footer nav a:hover { color: var(--accent); text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.3rem; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.brand-symbol { width: 30px; height: 30px; flex: none; border-radius: 10px; background: radial-gradient(circle at 58% 43%, #fff0b3 0 21%, transparent 23%), linear-gradient(145deg,#9d65ed 0%,#e58fc5 48%,#ffbc8d 66%,#517b70 68%); }
.hero { display: grid; align-items: center; gap: 2rem; padding-block: clamp(2.9rem, 7vw, 6.1rem); }
.eyebrow { display: flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.dot { width: .48rem; height: .48rem; background: currentColor; border-radius: 50%; flex: none; }
.hero h1 { font-size: clamp(2.65rem, 6.2vw, 4.55rem); margin-block: .6rem .9rem; }
.hero h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 35rem; font-size: clamp(1.04rem, 2vw, 1.2rem); }
.intro strong { color: var(--text); }
.play-button { width: fit-content; display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.35rem; padding: .85rem 1.12rem; border-radius: .8rem; background: var(--button); color: var(--button-text); font-weight: 750; text-decoration: none; box-shadow: 0 .25rem 1rem var(--shade); transition: transform .18s ease, box-shadow .18s ease; }
.play-button:hover { transform: translateY(-2px); box-shadow: 0 .45rem 1.25rem var(--shade); }
.play-icon { width: .95rem; height: 1.05rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hero-media { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--hero-glow); box-shadow: 0 1rem 2.6rem var(--shade); }
.hero-media img { width: 100%; aspect-ratio: 1.58; object-fit: cover; }
.hero-media figcaption { position: absolute; bottom: .75rem; left: .75rem; display: flex; align-items: center; gap: .45rem; padding: .24rem .65rem; border-radius: .4rem; background: #172522; color: #fff3dc; font-size: .76rem; font-weight: 650; }
.section { padding-block: 1.9rem 2.6rem; border-top: 1px solid var(--line); }
.section > h2 { margin-bottom: 1.05rem; }
.games { display: grid; gap: 1rem; }
.game-card { display: grid; gap: 1.4rem; align-items: center; padding: clamp(1rem, 3.5vw, 2.2rem); border-radius: 1.2rem; border: 1px solid var(--line); background: linear-gradient(125deg, var(--panel), var(--soft)); }
.game-icon { width: 4.1rem; border-radius: .95rem; margin-bottom: .85rem; }
.game-details h3 { margin-block: .28rem .55rem; }
.game-details p:not(.eyebrow) { max-width: 29rem; margin-bottom: .65rem; }
.text-link { color: var(--accent); font-weight: 750; overflow-wrap: anywhere; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.35rem, 1.5vw, .7rem); }
.screens img { width: 100%; border-radius: .55rem; border: 1px solid #8782a2; background: #202548; }
.gallery figcaption { color: var(--muted); font-size: .79rem; margin-top: .4rem; }
.studio-grid { display: grid; gap: 1rem; padding-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.info { padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
.info h2 { font-size: 1.7rem; margin-bottom: .45rem; }
.info p + a { display: inline-block; margin-top: .45rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { padding-block: .8rem; font-size: .88rem; overflow-wrap: anywhere; }
.reading { width: min(780px, calc(100% - 2rem)); padding-block: clamp(2rem, 7vw, 4.8rem); }
.reading h1 { margin-block: .6rem .65rem; font-size: clamp(2.4rem, 6.3vw, 4.4rem); }
.updated { font-size: .9rem; }
.lead { margin-top: .8rem; }
.policy-nav { display: flex; gap: .35rem .85rem; flex-wrap: wrap; margin-block: 1.15rem; color: var(--accent); font-size: .9rem; font-weight: 650; }
.policy { padding: clamp(1rem, 4vw, 2rem); background: var(--panel); border: 1px solid var(--line); border-radius: 1.1rem; }
.policy section + section { margin-top: 1.55rem; }
.policy h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); }
.policy p { margin-top: .5rem; overflow-wrap: anywhere; }
.policy a { color: var(--accent); }
.policy-list { padding: 0; list-style: none; }
.policy-list a { display: grid; background: var(--panel); border: 1px solid var(--line); border-radius: .8rem; padding: .85rem 1rem; color: var(--accent); }
.policy-list span { color: var(--muted); font-size: .9rem; }
.error { padding-block: 5rem; }
:target { scroll-margin-top: 1.5rem; }
@media (min-width: 740px) {
  .wrap { width: min(1120px, calc(100% - 4rem)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 5vw, 4rem); }
  .game-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .play-button { transition: none; }
  .play-button:hover { transform: none; }
}
