:root {
  --ink: #fbf9ff;
  --muted: #c8c1d5;
  --line: rgba(255,255,255,.13);
  --violet: #b69cff;
  --gold: #ffd65c;
  --accent: var(--gold);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #100d1f; font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1120px,calc(100% - 48px)); margin-inline: auto; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 12px; color: #100d1f; background: var(--gold); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid var(--line); background: rgba(12,9,28,.94); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque",sans-serif; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.brand img { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 12px; }
.header-nav { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 750; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.header-nav a:hover { color: var(--gold); }
.header-support { border: 1px solid var(--line); border-radius: 999px; }
h1,h2,h3 { font-family: "Bricolage Grotesque",Inter,sans-serif; }
h1 { margin: 0; font-size: clamp(2.8rem,5.5vw,4.8rem); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.05; letter-spacing: -.045em; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.game-hero { background: radial-gradient(ellipse at 85% 0%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 65%),#100d1f; }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; gap: clamp(28px,5vw,72px); padding: 100px 0 38px; }
.hero-copy { max-width: 750px; }
.breadcrumb { margin: 0 0 22px; color: var(--muted); font-size: .83rem; }
.breadcrumb a { text-underline-offset: 4px; }
.hero-lead { max-width: 640px; margin: 20px 0 0; color: #e6e0ed; font-size: 1.1rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.button,.store-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 19px; border: 1px solid var(--accent); border-radius: 12px; color: #201729; background: var(--accent); font-size: .93rem; font-weight: 800; line-height: 1.4; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s ease,filter .2s ease; }
.button.secondary { border-color: var(--accent); color: var(--accent); background: rgba(16,13,31,.65); }
.button:hover,.store-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--accent); font-size: .92rem; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery { padding: 30px 0 56px; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.gallery-head p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.6; }
.gallery-head .eyebrow { margin-bottom: 12px; color: var(--accent); }
.gallery-hint { margin: 18px 0; color: var(--muted); font-size: .85rem; }
.screenshots { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; gap: 14px; padding: 5px; }
.screenshot { margin: 0; min-width: 0; }
.screenshot-link { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #090713; }
.screenshot img { width: 100%; height: auto; }
.screenshots.mixed { grid-template-columns: 1fr 1.58fr 1fr; }
.screenshots.mixed .screenshot:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.screenshots.mixed .screenshot:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.screenshots.mixed .screenshot:nth-child(3) { grid-area: 1 / 3 / 3 / 4; }
.screenshots.mixed .screenshot:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
.features { padding: 50px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg,rgba(68,52,111,.2),transparent 180px); }
.section-intro { max-width: 660px; margin: 18px 0 28px; color: var(--muted); line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.035); }
.feature-number { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 18px; border-radius: 10px; color: #21172a; background: var(--accent); font-size: .75rem; font-weight: 900; }
.feature-card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.feature-card p { margin: 11px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.compact-facts { margin-top: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 22px 40px; margin: 0; }
.fact { flex: 1 1 180px; }
.fact dt { margin-bottom: 8px; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.fact dd { margin: 0; color: #eee9f3; font-size: .9rem; line-height: 1.5; }
.final-cta { padding: 55px 0; background: radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 70%),#151023; text-align: center; }
.final-cta p { max-width: 590px; margin: 18px auto 0; color: var(--muted); line-height: 1.6; }
.final-cta .eyebrow { margin: 0 auto 16px; color: var(--accent); }
.final-cta .hero-actions { justify-content: center; }
footer { display: grid; grid-template-columns: minmax(250px,1fr) auto; align-items: center; gap: 32px; padding: 30px 0 42px; color: #b3aabd; font-size: .84rem; }
.footer-copy { display: grid; gap: 7px; }
.footer-statement { color: var(--muted); line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 17px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.trailer { width: 100%; aspect-ratio: 9/16; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #090713; }
.game-hero .trailer { width: min(100%,260px); justify-self: center; border-color: color-mix(in srgb,var(--accent) 35%,transparent); box-shadow: 0 18px 50px #0005; }
.trailer-facade { position: relative; display: block; width: 100%; height: 100%; color: var(--ink); }
.trailer-facade img { width: 100%; height: 100%; object-fit: contain; }
.trailer-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(9,7,19,.35); font-weight: 800; text-shadow: 0 2px 10px #000; }
.trailer-play-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: #21152c; background: var(--gold); font-size: 1.4rem; text-shadow: none; box-shadow: 0 8px 30px #0008; }
.trailer iframe { width: 100%; height: 100%; border: 0; }
.image-viewer { width: min(1100px,calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #100d1f; }
.image-viewer::backdrop { background: rgba(0,0,0,.88); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.viewer-toolbar p { margin: 0; }
.viewer-image { width: 100%; height: min(65dvh,720px); object-fit: contain; }
.viewer-caption { min-height: 1.5em; margin: 14px 0; color: var(--muted); text-align: center; }
.viewer-controls { display: flex; justify-content: center; gap: 16px; }
.image-viewer button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #2c2140; cursor: pointer; }
body.viewer-open { overflow: hidden; }
.download-bar { display: none; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .header-nav { gap: 5px; }
  .header-nav a { padding-inline: 9px; }
  .brand { gap: 8px; font-size: .9rem; }
  .brand img { width: 34px; height: 34px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 94px 0 24px; }
  .game-hero .trailer { width: min(100%,220px); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { flex: 1 1 200px; }
  .gallery { padding: 24px 0 40px; }
  .gallery-head { align-items: start; flex-direction: column; gap: 14px; }
  .screenshots,.screenshots.mixed { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 5px; align-items: center; padding: 5px 5px 18px; }
  .screenshot { flex: 0 0 76%; scroll-snap-align: start; }
  .screenshot:not(.landscape) { max-width: 290px; }
  .screenshot.landscape { flex-basis: 88%; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 36px 0; }
  .feature-card { padding: 20px; }
  .feature-number { float: left; margin: 0 14px 12px 0; }
  .feature-card p { clear: both; }
  footer { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { justify-content: flex-start; }
  .game-page.has-download-bar { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .download-bar { display: flex; position: fixed; z-index: 25; inset: auto 0 0; justify-content: center; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(16,13,31,.97); box-shadow: 0 -8px 30px #0004; }
  .download-bar .button { flex: 1; max-width: 360px; padding-inline: 9px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; scroll-behavior: auto !important; }
}
