:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --bg: #090b12;
  --surface: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .1);
  --ink: #f4f5fb;
  --muted: #c0c5d4;
  --a1: #8b5cf6;
  --a2: #3b82f6;
  --a3: #22d3ee;
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { position: relative; isolation: isolate; max-width: 1056px; min-height: 100vh; margin: 0 auto; padding: 0 24px; line-height: 1.7; overflow-wrap: anywhere; }
body::before, body::after { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -120px; left: calc(50% - 50vw); width: 100vw; height: 900px; }
body::before { background: radial-gradient(ellipse 48% 42% at 16% 6%, color-mix(in srgb, var(--a1) 34%, transparent), transparent 70%), radial-gradient(ellipse 44% 40% at 82% 4%, color-mix(in srgb, var(--a2) 30%, transparent), transparent 70%), radial-gradient(ellipse 40% 34% at 55% 30%, color-mix(in srgb, var(--a3) 16%, transparent), transparent 70%); filter: blur(10px); animation: aurora 48s ease-in-out infinite alternate; }
body::after { height: 1px; top: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--a1) 70%, transparent), color-mix(in srgb, var(--a2) 70%, transparent), color-mix(in srgb, var(--a3) 70%, transparent), transparent); opacity: .7; }
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(2%, 1.5%, 0) scale(1.04); } 100% { transform: translate3d(-2%, .5%, 0) scale(1.02); } }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #c4d4ff; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.3rem); font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 650; }
h3 { font-size: 1.65rem; }
p, .features { color: var(--muted); }
.wordmark { display: inline-block; font-size: 1.35rem; font-weight: 850; letter-spacing: .18em; text-decoration: none; color: #e4d8ff; background: linear-gradient(100deg, #c4a6ff, #7fb2ff 35%, #67e8f9 62%, #f9a8d4 88%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 14px #8b5cf666); }
.studio-intro { padding: 64px 0 80px; }
.studio-intro h1 { max-width: 750px; margin-top: 54px; background: linear-gradient(180deg, #ffffff 30%, #c9cde0); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.count, .eyebrow { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 28px; min-width: 0; min-height: 310px; padding: 30px; overflow: hidden; border: 1px solid transparent; border-radius: 22px; background: linear-gradient(145deg, #171a27, #10121c) padding-box, linear-gradient(125deg, var(--a1), var(--a2), var(--a3)) border-box; box-shadow: 0 20px 48px #0005; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.game-card::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--a1) 22%, transparent), transparent 55%), radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--a3) 14%, transparent), transparent 52%), linear-gradient(90deg, transparent 8%, color-mix(in srgb, var(--a2) 55%, transparent) 50%, transparent 92%) top / 100% 1px no-repeat; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px #0008, 0 0 34px color-mix(in srgb, var(--a1) 26%, transparent), 0 0 70px color-mix(in srgb, var(--a2) 12%, transparent); }
.game-card p { max-width: 36ch; margin-top: 12px; }
.card-icon, .game-icon { border-radius: 23%; box-shadow: 0 0 38px color-mix(in srgb, var(--a1) 28%, transparent), 0 12px 30px #0008; }
.card-arrow { position: absolute; right: 28px; top: 24px; font-size: 1.7rem; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 72px; padding: 26px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.language { font-size: .85rem; font-weight: 600; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.game-intro { position: relative; display: flex; align-items: center; gap: 36px; padding: 70px 0; }
.game-icon { width: 144px; flex-shrink: 0; }
.game-intro-copy { min-width: 0; }
.eyebrow { margin-bottom: 14px; }
.game-intro h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.tagline { margin-top: 16px; font-size: 1.1rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 48px; padding: 10px 18px; border: 1px solid #fff; border-radius: 12px; background: #fff; color: #111; text-decoration: none; transition: box-shadow .25s ease; }
.store-button--secondary { background: #171a27; color: #fff; border-color: #fff; }
.store-button:hover { box-shadow: 0 0 22px color-mix(in srgb, var(--a1) 28%, transparent); }
.store-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 6px #111; }
.store-button svg { flex-shrink: 0; }
.store-button__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store-button__label { font-size: 11px; }
.store-button__name { font-size: 17px; font-weight: 700; }
@media (max-width: 400px) { .stores { flex-direction: column; align-items: stretch; } .stores .store-button { width: 100%; } }
.hero { width: 100%; max-height: 440px; object-fit: cover; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 55px #0008, 0 0 45px color-mix(in srgb, var(--a2) 14%, transparent); }
.screenshots-section, .details { margin-top: 56px; }
.screenshots { display: flex; align-items: center; gap: 16px; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 3px 20px; scrollbar-color: #8990a3 var(--bg); }
.screenshots img { flex: 0 0 auto; width: auto; height: auto; max-height: 380px; max-width: 86vw; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 28px #0008; scroll-snap-align: start; }
.details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
.details h2::before, .screenshots-section h2::before, .support h2::before, .privacy-page h1::after { content: ""; display: block; width: 52px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); }
.details p { margin-top: 20px; }
.features { padding-left: 20px; margin: 20px 0 0; }
.features li { padding-left: 4px; margin-bottom: 12px; }
.support { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 56px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 24px; }
.support p { margin-top: 10px; }
.not-found { padding: 120px 0; }
.not-found .store-button { margin-top: 32px; }
.privacy-page { max-width: 72ch; padding-top: 56px; padding-bottom: 80px; line-height: 1.8; color: var(--muted); }

.privacy-page h1, .privacy-page h2, .privacy-page h3 { margin: 1.5em 0 .65em; line-height: 1.25; }
.privacy-page h1:first-child { margin-top: 0; }
.privacy-page h1::after { margin: 20px 0 0; }
.privacy-page p, .privacy-page ul, .privacy-page ol { margin: 1em 0; }
.privacy-page a { color: #c3d5ff; }
@media (max-width: 600px) {
  body { padding: 0 20px; }
  .studio-intro { padding: 40px 0 52px; }
  .studio-intro h1 { margin-top: 38px; }
  .game-grid, .details { grid-template-columns: minmax(0, 1fr); }
  .game-card { min-height: 270px; padding: 24px; }
  .game-intro { align-items: flex-start; flex-direction: column; padding: 40px 0; gap: 24px; }
  .game-icon { width: 112px; }
  .screenshots img { max-height: 340px; }
  .details { gap: 36px; }
  .support { padding: 22px; }
  footer { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation: none !important; } }
