@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #100e19;
  --bg-2: #15111f;
  --panel: #1b1626;
  --text: #f7f3eb;
  --muted: #b4b0c2;
  --dim: #8d869c;
  --yellow: #ffcf63;
  --pink: #ef749d;
  --lilac: #c4a6f6;
  --mint: #a8dfbd;
  --teal: #63d2c8;
  --line: #ffffff19;
  --display: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  --body: 'DM Sans', 'Segoe UI', Arial, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
.wrap { width: min(1160px, 88%); margin: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }

/* ---------- Header ---------- */
.header {
  position: fixed; z-index: 20; top: 22px; left: 50%; translate: -50% 0;
  width: min(1200px, 92%); height: 76px; padding: 10px 14px 10px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid #ffffff24; border-radius: 48px;
  background: #171320c4; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 40px #0004;
  transition: top .3s, height .3s, background .3s;
}
.header.scrolled { top: 12px; height: 66px; background: #151120ec; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 28px/1 var(--display); letter-spacing: -1px; }
.brand-icon { color: var(--yellow); font-size: 42px; transition: rotate .6s; }
.brand:hover .brand-icon { rotate: 180deg; }
.brand-small { display: block; font: 700 9px/1 var(--body); letter-spacing: 5px; margin: 6px 0 0 3px; }
.header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; color: #d4cfdf; }
.header nav a { white-space: nowrap; transition: color .2s; }
.header nav a:hover { color: var(--yellow); }
.nav-discord { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #ffffff10; border: 1px solid #ffffff1f; }
.nav-discord:hover { background: #5865f2; color: #fff !important; border-color: #5865f2; }
.discord-icon { width: 22px; height: 22px; flex: none; }
.nav-discord .discord-icon { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 26px;
  min-height: 56px; padding: 14px 26px; border-radius: 99px;
  color: #211727; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 0 #0005; transition: transform .2s, filter .2s, background .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-3px); filter: brightness(1.08); }
.button > span { font-size: 21px; line-height: 1; }
.button.small { min-height: 46px; padding: 10px 20px; gap: 18px; font-size: 14px; }
.yellow { background: var(--yellow); }
.pink { background: var(--pink); }
.lilac { background: var(--lilac); }
.orange { background: #ff9d5c; }
.button.ghost { gap: 12px; color: var(--text); background: #ffffff0d; border: 1px solid #ffffff2e; box-shadow: none; }
.button.ghost:hover { background: #5865f2; border-color: #5865f2; filter: none; }
.button.discord { gap: 12px; color: #fff; background: #5865f2; box-shadow: 0 4px 0 #2b2f7a, 0 18px 40px #5865f244; }
.button.discord > span { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 860px;
  padding: 200px max(6%, calc((100vw - 1160px) / 2)) 125px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 35px; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.03' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.glow-pink { width: 560px; height: 560px; right: 2%; top: 8%; background: #ef749d38; }
.glow-teal { width: 480px; height: 480px; left: -8%; bottom: -12%; background: #63d2c826; animation-delay: -9s; }
.hero-content, .hero-games { position: relative; z-index: 1; }
.news-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 5px 14px 5px 5px;
  border: 1px solid #ffcf6355; border-radius: 99px; background: #ffcf6312;
  font-size: 13px; font-weight: 700; line-height: 1.4; transition: background .2s, border-color .2s;
}
.news-pill b { padding: 2px 10px; border-radius: 99px; background: var(--yellow); color: #211727; font: 700 10px/1.7 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; }
.news-pill > span { color: var(--yellow); transition: translate .2s; }
.news-pill:hover { background: #ffcf6324; border-color: var(--yellow); }
.news-pill:hover > span { translate: 3px 0; }
.eyebrow {
  font: 700 10px/1.8 var(--mono); letter-spacing: 2px; text-transform: uppercase;
  color: var(--yellow); margin: 0 0 22px;
}
.live-dot {
  display: inline-block; width: 6px; height: 6px; vertical-align: middle; border-radius: 50%;
  background: var(--mint); margin-right: 7px; box-shadow: 0 0 0 0 #a8dfbd88; animation: pulse 2.4s infinite;
}
h1 { font-size: clamp(56px, 6.2vw, 92px); line-height: .98; letter-spacing: -0.04em; margin: 0 0 26px; }
.shine {
  background: linear-gradient(100deg, var(--yellow) 10%, #ffb37a 45%, var(--pink) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { font-size: 18px; color: var(--muted); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-games { height: 480px; }
.art-card {
  position: absolute; width: 90%; padding: 11px;
  border: 1px solid #ffffff32; border-radius: 20px; background: #211c2c;
  box-shadow: 0 25px 70px #0009; transition: rotate .4s, scale .4s;
  animation: float 7s ease-in-out infinite;
}
.art-card img { aspect-ratio: 1.98; object-fit: cover; border-radius: 9px; }
.spin-card { top: 0; left: 0; rotate: -7deg; }
.cast-card { top: 215px; right: -10px; rotate: 6deg; animation-delay: -3.5s; }
.art-card:hover { rotate: 0deg; scale: 1.03; z-index: 2; }
.card-label { display: block; padding: 2px 7px 10px; font: 9px/1.6 var(--mono); letter-spacing: 1.7px; color: #d6cde5; }
.art-caption { display: flex; justify-content: space-between; padding: 12px 6px 1px; font: 700 16px var(--display); }
.art-caption > span { color: var(--yellow); }
.orbit-star {
  position: absolute; right: -20px; top: 155px; z-index: 3; pointer-events: none;
  font-size: 70px; color: var(--yellow); text-shadow: 0 0 35px #ffcf6366;
  animation: twinkle 5s ease-in-out infinite;
}
.hero-bottom {
  position: absolute; bottom: 32px; left: 6%; right: 6%; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  font: 9px var(--mono); letter-spacing: 2px; color: var(--dim);
}
.hero-bottom > a {
  width: 42px; height: 42px; display: grid; place-items: center;
  font-size: 20px; color: var(--yellow); border: 1px solid #ffffff30; border-radius: 50%;
  animation: nudge 2.2s ease-in-out infinite;
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; background: #ffcf6377; box-shadow: 0 0 15px #ffd366; animation: glimmer 4s infinite alternate; }
.stars i:nth-child(1) { left: 8%; top: 22%; }
.stars i:nth-child(2) { left: 45%; top: 28%; animation-delay: 1s; }
.stars i:nth-child(3) { left: 49%; top: 74%; }
.stars i:nth-child(4) { left: 20%; top: 86%; animation-delay: 2s; }
.stars i:nth-child(5) { left: 92%; top: 19%; }
.stars i:nth-child(6) { left: 80%; top: 83%; }
.stars i:nth-child(7) { left: 4%; top: 52%; }
.stars i:nth-child(8) { left: 60%; top: 16%; }

/* ---------- Ticker ---------- */
.ticker-wrap { overflow: hidden; padding: 16px 0; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; rotate: -1.2deg; margin: 0 -3%; }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font: 800 clamp(30px, 4vw, 52px)/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.ticker .outline { color: transparent; -webkit-text-stroke: 1.5px #f7f3eb88; }
.ticker b { color: var(--pink); font-size: 26px; }
.ticker b:nth-of-type(3n) { color: var(--yellow); }
.ticker b:nth-of-type(3n+1) { color: var(--lilac); }

/* ---------- Games ---------- */
.games { padding: 110px 0 60px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
.accent { color: var(--pink); }
.section-heading > p { color: var(--muted); font-size: 15px; margin: 0; text-align: right; }

.game-panel {
  position: relative; margin-bottom: 40px; padding: 56px;
  border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
}
.game-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.spin-panel::before { background: radial-gradient(ellipse at 15% 0%, #63d2c81f, transparent 55%), radial-gradient(ellipse at 100% 100%, #ff8a6b17, transparent 50%), var(--panel); }
.cast-panel::before { background: radial-gradient(ellipse at 90% 0%, #c4a6f624, transparent 55%), radial-gradient(ellipse at 0% 100%, #ef749d14, transparent 50%), var(--panel); }
.noodle-panel::before { background: radial-gradient(ellipse at 88% 0%, #ff8a6b24, transparent 55%), radial-gradient(ellipse at 0% 100%, #ffcf6314, transparent 50%), var(--panel); }
.reboot-panel::before { background: radial-gradient(ellipse at 12% 0%, #ff9d5c24, transparent 55%), radial-gradient(ellipse at 100% 100%, #63d2c814, transparent 50%), var(--panel); }
.storm-panel::before { background: radial-gradient(ellipse at 12% 0%, #8b5cf62e, transparent 55%), radial-gradient(ellipse at 100% 100%, #ffcf6317, transparent 50%), var(--panel); }
.game { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.game-art {
  position: relative; padding: 18px 18px 40px; border-radius: 22px;
  background: radial-gradient(ellipse at top, #3c354e, #211c2b); border: 1px solid var(--line);
  rotate: -2deg; transition: rotate .4s;
  box-shadow: 0 30px 60px #0006;
}
.game-art:hover { rotate: 0deg; }
.game-art img { border-radius: 10px; width: 100%; aspect-ratio: 1.78; object-fit: cover; }
.image-note { position: absolute; bottom: 12px; left: 20px; font: 9px var(--mono); letter-spacing: 2px; color: #a69bb7; }
.game-copy .eyebrow { margin-bottom: 14px; }
.mint { color: var(--mint); }
.lavender { color: var(--lilac); }
h3 { font-size: clamp(36px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; }
.game-copy > p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.game-copy > .game-title { color: var(--text); font: 800 19px var(--display); margin: 0 0 6px; }
.tags { list-style: none; padding: 0; display: flex; gap: 7px; flex-wrap: wrap; margin: 22px 0 26px; }
.tags li { border: 1px solid #ffffff24; border-radius: 99px; padding: 4px 12px; font-size: 11px; color: #c5bed1; background: #ffffff06; }
.game-copy .fine { font-size: 11px; margin: 14px 0 0; color: #9790a6; }
.reverse .game-art { grid-column: 2; grid-row: 1; rotate: 2deg; }
.reverse .game-art:hover { rotate: 0deg; }
.reverse .game-copy { grid-column: 1; grid-row: 1; }
.cast-art { background: radial-gradient(ellipse at top, #48344b, #241d2e); }
.noodle-art { background: radial-gradient(ellipse at top, #5a2f4f, #211c2b); }
.reboot-art { background: radial-gradient(ellipse at top, #5c3d2e, #211c2b); }
.storm-art { background: radial-gradient(ellipse at top, #46337a, #211c2b); }
.game-copy .button.discord { box-shadow: 0 4px 0 #2b2f7a; }

.facts { list-style: none; padding: 0; margin: 52px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts li { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff06; }
.facts b { display: block; font: 800 44px/1 var(--display); letter-spacing: -0.03em; color: var(--teal); margin-bottom: 8px; }
.facts li:nth-child(2) b { color: #ff8a6b; }
.facts li:nth-child(3) b { color: var(--yellow); }
.facts li:nth-child(4) b { color: var(--pink); }
.facts span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }

.gallery-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin: 44px 0 16px; }
.gallery-heading .eyebrow { margin: 0; color: #c6bad7; }
.gallery-heading > span { font-size: 12px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery > a { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #1b1724; transition: transform .25s, border-color .25s; }
.gallery > a:hover { transform: translateY(-5px); border-color: #ffffff40; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .5s; }
.gallery > a:hover img { scale: 1.04; }
.gallery span { display: flex; justify-content: space-between; font-size: 12px; padding: 12px 15px; color: #ccc2db; }
.bento { grid-template-columns: 2fr 1fr 1fr; }
.bento > a:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.bento > a:first-child img { flex: 1; aspect-ratio: auto; height: 100%; min-height: 0; }

/* ---------- Community ---------- */
.community { padding: 60px 0 100px; }
.community-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
  padding: 60px; border-radius: 32px; border: 1px solid #8c93ff40;
  background: radial-gradient(ellipse at 0% 0%, #5865f244, transparent 60%), radial-gradient(ellipse at 100% 100%, #ef749d26, transparent 55%), #17142a;
}
.community-card::after {
  content: "✦"; position: absolute; right: -30px; top: -70px; font-size: 280px; line-height: 1;
  color: #ffffff08; pointer-events: none;
}
.community-copy .eyebrow { color: #aab0ff; }
.community-copy > p:not(.eyebrow, .fine) { color: var(--muted); font-size: 16px; margin: 20px 0 30px; max-width: 440px; }
.community-copy > .fine { font-size: 11px; color: var(--dim); margin: 14px 0 0; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.perks li { padding: 20px; border-radius: 18px; background: #ffffff09; border: 1px solid #ffffff17; transition: transform .25s, background .25s; }
.perks li:hover { transform: translateY(-4px); background: #ffffff10; }
.perk-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #ffffff0f; font-size: 18px; margin-bottom: 14px; }
.perks strong { display: block; font: 800 17px/1.2 var(--display); margin-bottom: 6px; }
.perks span { font-size: 13px; color: var(--muted); line-height: 1.5; display: block; }
.yellow-text { color: var(--yellow); }
.pink-text { color: var(--pink); }
.mint-text { color: var(--mint); }
.lilac-text { color: var(--lilac); }

/* ---------- Studio ---------- */
.studio { border-top: 1px solid var(--line); text-align: center; padding: 80px 0 90px; background: radial-gradient(ellipse at bottom, #33203966, transparent 70%); }
.studio-mark { font-size: 55px; color: var(--pink); line-height: 1.4; animation: twinkle 6s ease-in-out infinite; }
.studio .eyebrow { margin: 15px 0 24px; }
.studio-inner > p:not(.eyebrow) { max-width: 540px; color: var(--muted); font-size: 16px; margin: 25px auto 34px; }
.text-link { font-size: 15px; font-weight: 700; border-bottom: 1px solid #ffcf6355; padding-bottom: 7px; color: var(--yellow); transition: border-color .2s; }
.text-link:hover { border-color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #0c0a13; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 54px 0 36px; }
.footer-brand p { color: var(--dim); font-size: 14px; margin: 16px 0 0; }
.footer .brand { font-size: 24px; }
.footer .brand-icon { font-size: 34px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .eyebrow { margin: 0 0 4px; color: var(--dim); }
.footer-col a { color: #d4cfdf; width: fit-content; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 30px; border-top: 1px solid var(--line); font-size: 12px; color: #a59bb6; }
.footer-bottom p { margin: 0; }

/* ---------- Legal pages (stormrift/privacy.html) ---------- */
.legal { padding: 170px 0 90px; background: radial-gradient(ellipse at 50% 0%, #8b5cf61f, transparent 60%); }
.legal-inner { width: min(760px, 88%); margin: auto; }
.legal .eyebrow { margin-bottom: 14px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 14px; }
.legal .updated { color: var(--dim); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: clamp(26px, 3vw, 32px); margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p { margin: 0 0 16px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 10px; }
.legal li::marker { color: var(--yellow); }
.legal strong { color: var(--text); }
.legal a:not(.button) { color: var(--yellow); border-bottom: 1px solid #ffcf6355; transition: border-color .2s; }
.legal a:not(.button):hover { border-color: var(--yellow); }
.legal .summary { padding: 24px 28px; margin: 0 0 12px; border: 1px solid #ffcf6340; border-radius: 20px; background: #ffcf630a; }
.legal .summary h2 { margin: 0 0 12px; font-size: 22px; }
.legal .summary ul { margin: 0; }
.legal .summary li:last-child { margin-bottom: 0; }

/* ---------- Lightbox & misc ---------- */
.skip { position: fixed; top: -70px; left: 20px; z-index: 30; background: var(--yellow); color: #111; padding: 12px; }
.skip:focus { top: 10px; }
dialog { border: 1px solid #ffffff40; border-radius: 16px; background: #191421; padding: 40px 15px 10px; max-width: 1100px; width: 92%; color: var(--text); }
dialog::backdrop { background: #08060eeb; backdrop-filter: blur(6px); }
dialog img { max-height: 75vh; width: 100%; object-fit: contain; border-radius: 8px; }
dialog p { text-align: center; font-size: 13px; color: var(--muted); }
.close { position: absolute; top: 2px; right: 7px; background: none; border: 0; color: white; font-size: 23px; cursor: pointer; padding: 0 9px; }
body.modal-open { overflow: hidden; }

/* Scroll reveal: only hidden when JS is running, so the page never ends up blank. */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

.live-dot.soon { background: var(--yellow); animation: none; box-shadow: 0 0 10px #ffcf6388; }

@keyframes glimmer { to { opacity: .2; transform: translateY(-9px); } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes twinkle { 50% { scale: .85; opacity: .75; rotate: 20deg; } }
@keyframes drift { to { translate: -60px 40px; scale: 1.15; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px #a8dfbd00; } 100% { box-shadow: 0 0 0 0 #a8dfbd00; } }
@keyframes nudge { 50% { translate: 0 5px; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (min-width: 1450px) { .hero { min-height: 920px; } }
@media (max-width: 1000px) {
  .game-panel { padding: 40px; }
  .game { gap: 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .community-card { grid-template-columns: 1fr; gap: 36px; padding: 48px; }
}
@media (max-width: 900px) {
  .hero { gap: 22px; padding-top: 185px; min-height: 780px; }
  .hero-games { height: 380px; }
  .cast-card { top: 180px; }
  h1 { font-size: 62px; }
  .hero-copy { font-size: 16px; }
  .header nav { gap: 20px; }
  .orbit-star { right: -10px; top: 140px; font-size: 50px; }
}
@media (max-width: 760px) {
  .header > .button { display: none; }
  .game, .game.reverse { display: flex; flex-direction: column; gap: 32px; }
  .game-art { width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > a:first-child { grid-column: span 2; grid-row: auto; }
  .bento > a:first-child img { aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 90px; }
  .header { top: 14px; height: 64px; padding: 8px 10px 8px 18px; gap: 12px; }
  .header.scrolled { top: 8px; height: 58px; }
  .brand { font-size: 24px; }
  .brand-icon { font-size: 34px; }
  .brand-small { font-size: 8px; }
  .header nav { gap: 13px; font-size: 12px; }
  .header nav a[href$="#studio"] { display: none; }
  .nav-discord { width: 34px; height: 34px; }
  .hero { display: block; padding: 135px 7% 100px; text-align: center; min-height: 0; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  h1 { font-size: clamp(46px, 12.5vw, 72px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { justify-content: center; }
  .hero-actions .button { width: 100%; max-width: 330px; }
  .hero-games { width: min(410px, 96%); height: 400px; margin: 56px auto 0; text-align: left; }
  .art-card { width: 89%; }
  .cast-card { top: 185px; right: -5px; }
  .glow-pink { width: 360px; height: 360px; right: -30%; top: 30%; }
  .hero-bottom { bottom: 24px; }
  .hero-bottom > span { font-size: 7px; letter-spacing: 1px; max-width: 110px; }
  .hero-bottom > span:first-child { text-align: left; }
  .hero-bottom > span:last-child { text-align: right; }
  .ticker { padding: 13px 0; }
  .games { padding: 80px 0 30px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading > p { display: none; }
  .game-panel { padding: 22px 18px 26px; border-radius: 24px; margin-bottom: 26px; }
  .game-art { padding: 12px 12px 34px; }
  h3 { font-size: 38px; }
  .game-copy .button { width: 100%; }
  .facts { gap: 10px; margin-top: 34px; }
  .facts li { padding: 16px; }
  .facts b { font-size: 34px; }
  .facts span { font-size: 12px; }
  /* Phones: screenshots become a swipeable row instead of a long stack. */
  .gallery, .bento {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -18px; padding: 0 18px 6px; scroll-padding: 0 18px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery > a { flex: 0 0 84%; scroll-snap-align: start; }
  .gallery > a:hover { transform: none; }
  .gallery-heading { display: block; margin-top: 32px; }
  .gallery-heading > span { display: block; margin-top: 6px; }
  .community { padding: 40px 0 70px; }
  .community-card { padding: 30px 22px; border-radius: 24px; }
  .community-copy .button { width: 100%; }
  .perks { grid-template-columns: 1fr; gap: 10px; }
  .perks li { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; padding: 16px; }
  .perk-icon { grid-row: span 2; margin: 0; }
  .studio { padding: 60px 0 70px; }
  .studio h2 { font-size: 36px; }
  .studio-inner > p:not(.eyebrow) { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .news-pill { font-size: 12px; margin-bottom: 20px; }
  .legal { padding: 120px 0 60px; }
  .legal .summary { padding: 20px; }
  .legal p, .legal li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
