:root {
  --bg: #0a0d1c;
  --bg-2: #0f1328;
  --surface: #151a35;
  --surface-2: #1c2244;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f5fc;
  --muted: #a3abc7;
  --dim: #6f7799;
  --accent: #ffc83d;
  --accent-2: #ff9a3d;
  --blue: #5b8cff;
  --violet: #9b6bff;
  --ink: #1a1200;
  --radius: 24px;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ambient background */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 560px at 85% -8%, rgba(91, 140, 255, 0.22), transparent 62%),
    radial-gradient(760px 520px at -6% 12%, rgba(155, 107, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(255, 200, 61, 0.07), transparent 60%),
    var(--bg);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* nav */
.nav { position: sticky; top: 0; z-index: 40; transition: background 0.25s, border-color 0.25s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(10, 13, 28, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.04em;
  color: var(--ink); background: linear-gradient(135deg, #ffd95e, var(--accent-2));
  padding: 9px 10px; border-radius: 12px; line-height: 1;
  box-shadow: 0 6px 20px -6px rgba(255, 170, 60, 0.7);
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text small { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #ffd95e, var(--accent-2)); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(255, 170, 60, 0.8); }
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(255, 170, 60, 0.95); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px; min-height: min(760px, calc(100vh - 72px)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.18); }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), #ff8a5c 60%, #ff5d9e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-icons a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); transition: transform 0.2s, border-color 0.2s; }
.hero-icons a:hover { transform: translateY(-4px) scale(1.04); border-color: var(--accent); }
.hero-icons img { width: 52px; height: 52px; object-fit: cover; }

.hero-art { position: relative; height: 560px; }
.hero-art::before { content: ""; position: absolute; inset: 12% 8%; background: radial-gradient(closest-side, rgba(91, 140, 255, 0.35), transparent); filter: blur(30px); }
.phone { position: absolute; width: 232px; aspect-ratio: 9 / 18.4; border-radius: 34px; padding: 7px; background: linear-gradient(160deg, #2c3358, #10142a); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.p1 { left: 2%; top: 13%; transform: rotate(-9deg); animation: float 7s ease-in-out infinite; }
.p2 { left: 50%; top: 2%; margin-left: -124px; width: 248px; z-index: 2; animation: float 8s ease-in-out -2s infinite; }
.p3 { right: 2%; top: 15%; transform: rotate(9deg); animation: float 7.5s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* sections */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--muted); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filters button span { font-size: 12px; color: var(--dim); font-weight: 500; }
.filters button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.filters button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters button[aria-selected="true"] span { color: #4d5577; }

/* game cards */
.game-list { display: grid; gap: 24px; }
.game {
  --g: var(--accent);
  position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 8px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.game::before { content: ""; position: absolute; left: -120px; top: -140px; width: 420px; height: 420px; background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 26%, transparent), transparent); pointer-events: none; }
.game-info { position: relative; padding: 36px 20px 36px 36px; display: flex; flex-direction: column; }
.game-top { display: flex; gap: 18px; align-items: center; }
.game-icon { width: 88px; height: 88px; border-radius: 22px; flex: none; box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.game h3 { font-size: 28px; font-weight: 700; margin-top: 8px; }
.genre { color: var(--muted); font-size: 14px; margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: #5fe3a1; border-color: rgba(95, 227, 161, 0.35); background: rgba(95, 227, 161, 0.08); }
.status-soon { color: var(--accent); border-color: rgba(255, 200, 61, 0.35); background: rgba(255, 200, 61, 0.08); }
.tagline { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; margin-top: 26px; color: var(--g); }
.desc { color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #d5daee; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: var(--text); color: #0b0e1c; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.15; transition: transform 0.18s, box-shadow 0.18s; }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; }
.store small { font-family: var(--font-body); font-weight: 500; font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.7; }
a.store:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--g) 80%, transparent), 0 0 0 2px var(--g); }
.store.is-off { background: transparent; color: var(--dim); border: 1px dashed var(--line-2); cursor: default; }

.game-media { position: relative; min-width: 0; display: flex; align-items: center; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 36px 36px 36px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 40px), transparent); }
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 3px; }
.shot { flex: none; padding: 5px; border: 0; border-radius: 26px; background: linear-gradient(160deg, #2c3358, #10142a); scroll-snap-align: start; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; transition: transform 0.22s; cursor: zoom-in; }
.shot:hover { transform: translateY(-6px); }
.shot img { height: 400px; width: auto; border-radius: 21px; }
.shots-empty { width: 100%; min-height: 260px; margin: 36px 36px 36px 16px; display: grid; place-content: center; justify-items: center; gap: 16px; border: 1px dashed var(--line-2); border-radius: 20px; color: var(--dim); font-size: 14px; }
.shots-empty img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--g) 70%, transparent); }

/* studio values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.value-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 200, 61, 0.1); color: var(--accent); margin-bottom: 20px; }
.value:nth-child(2) .value-ico { background: rgba(91, 140, 255, 0.12); color: #8fb0ff; }
.value:nth-child(3) .value-ico { background: rgba(155, 107, 255, 0.14); color: #bda0ff; }
.value-ico svg { width: 24px; height: 24px; }
.value h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15.5px; }


/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 40px; }
.footer-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.copy { font-size: 14px; color: var(--dim); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; justify-items: center; background: rgba(5, 7, 16, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 24px 8px; }
.lightbox[hidden] { display: none; }
.lightbox img { grid-column: 2; max-height: calc(100vh - 48px); max-width: 100%; width: auto; border-radius: 24px; box-shadow: 0 40px 100px -20px #000; }
.lb-nav, .lb-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--text); transition: background 0.2s; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.16); }
.lb-nav svg, .lb-close svg { width: 22px; height: 22px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 20px; right: 20px; z-index: 2; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; min-height: 0; }
  .hero-art { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 180px; border-radius: 28px; padding: 6px; }
  .phone img { border-radius: 22px; }
  .p2 { width: 196px; margin-left: -98px; }
  .game { grid-template-columns: 1fr; gap: 0; }
  .game-info { padding: 28px 24px 8px; }
  .stores { margin-top: 0; }
  .shots { padding: 24px; -webkit-mask-image: none; mask-image: none; }
  .shot img { height: 340px; }
  .shots-empty { margin: 24px; min-height: 200px; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav-in { gap: 12px; height: 64px; }
  .nav-links { display: none; }
    .section { padding-top: 52px; padding-bottom: 52px; }
  .hero-art { height: 360px; }
  .phone { width: 148px; border-radius: 24px; padding: 5px; }
  .phone img { border-radius: 19px; }
  .p2 { width: 162px; margin-left: -81px; }
  .p1 { left: -2%; } .p3 { right: -2%; }
  .game-icon { width: 72px; height: 72px; border-radius: 18px; }
  .game h3 { font-size: 24px; }
  .shots { padding: 20px 18px 24px; gap: 12px; }
  .shot img { height: 300px; }
  .footer-links { margin-left: 0; }
  .lightbox { grid-template-columns: 1fr; padding: 16px; }
  .lightbox img { grid-column: 1; max-height: calc(100vh - 120px); }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { left: calc(50% + 12px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .shot, .store, .hero-icons a { transition: none; }
}
