/* =========================================================
   PS5 Launcher for PC — main stylesheet
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/exo-2-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/exo-2-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/exo-2-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/exo-2-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/exo-2-latin-800-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/exo-2-latin-ext-800-italic.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --bg: #020611;
  --bg-2: #061124;
  --blue: #007bff;
  --neon: #00c8ff;
  --text: #ffffff;
  --muted: #b8cbe3;
  --border: #164a80;

  --grad-blue: linear-gradient(135deg, #00c8ff 0%, #007bff 55%, #0052d4 100%);
  --glow-sm: 0 0 12px rgba(0, 200, 255, 0.35);
  --glow-md: 0 0 24px rgba(0, 140, 255, 0.45), 0 0 60px rgba(0, 123, 255, 0.25);

  --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1250px;
  --container-wide: 1340px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 58px;
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: Consolas, "Cascadia Mono", monospace; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn-download {
  --h: 66px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: var(--h);
  padding: 0 26px 0 30px;
  border-radius: 999px;
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(120, 210, 255, 0.55) inset, 0 10px 30px rgba(0, 90, 255, 0.45), 0 0 40px rgba(0, 170, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  isolation: isolate;
  overflow: hidden;
  animation: btn-glow 3.2s ease-in-out infinite;
}
.btn-download::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-download:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(160, 225, 255, 0.8) inset, 0 14px 40px rgba(0, 100, 255, 0.55), 0 0 60px rgba(0, 200, 255, 0.5);
}
.btn-download:hover::before { transform: translateX(120%); }
.btn-download:active { transform: translateY(0); }
.btn-download .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.btn-download__sep { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.45); }
.btn-download .icon--win { width: 24px; height: 24px; }

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(120, 210, 255, 0.55) inset, 0 10px 30px rgba(0, 90, 255, 0.45), 0 0 34px rgba(0, 170, 255, 0.3); }
  50% { box-shadow: 0 0 0 1px rgba(150, 220, 255, 0.75) inset, 0 10px 34px rgba(0, 100, 255, 0.55), 0 0 56px rgba(0, 200, 255, 0.5); }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid rgba(0, 200, 255, 0.55);
  border-radius: 999px;
  background: rgba(4, 18, 40, 0.65);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 150, 255, 0.25), inset 0 0 14px rgba(0, 150, 255, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--neon);
  background: rgba(0, 60, 140, 0.45);
  box-shadow: 0 0 26px rgba(0, 180, 255, 0.45), inset 0 0 18px rgba(0, 150, 255, 0.2);
  transform: translateY(-1px);
}
.btn-outline .icon { width: 18px; height: 18px; transition: transform 0.25s; }
.btn-outline[aria-expanded="true"] .icon { transform: rotate(-90deg); }

.os-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.os-note .icon { width: 16px; height: 16px; color: #d9e6f5; }
.os-note__version { padding-left: 10px; border-left: 1px solid rgba(184, 203, 227, 0.35); }

.platform-note {
  display: none;
  align-items: flex-start;
  gap: 10px;
  max-width: 440px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 12px;
  background: rgba(0, 60, 140, 0.18);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.platform-note .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--neon); }
.is-not-windows .platform-note { display: flex; }
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .platform-note { display: flex; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(2, 6, 17, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(22, 74, 128, 0.6), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.55)); }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 2px;
  color: #dbe7f6;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 18px rgba(0, 150, 255, 0.8);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 60%; }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { width: 100%; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(0, 200, 255, 0.45);
  border-radius: 12px;
  background: rgba(4, 18, 40, 0.6);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 0 16px rgba(0, 140, 255, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.header-cta:hover { border-color: var(--neon); background: rgba(0, 60, 140, 0.4); box-shadow: 0 0 24px rgba(0, 180, 255, 0.45); }
.header-cta .icon { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 200, 255, 0.4);
  border-radius: 12px;
  background: rgba(4, 18, 40, 0.6);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    padding: 8px var(--gutter) 22px;
    background: rgba(2, 6, 17, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
  }
  .menu-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid rgba(22, 74, 128, 0.45); font-size: 1.05rem; }
  .nav__link::after { left: 0; transform: none; bottom: -1px; }
  .nav__link:hover::after { width: 40px; }
  .nav__link.is-active::after { width: 64px; }
}
@media (min-width: 961px) {
  .header-actions { display: contents; }
}
@media (max-width: 480px) {
  .brand { font-size: 1.2rem; gap: 9px; }
  .brand img { width: 30px; height: 30px; }
  .header-cta { padding: 0 12px; height: 40px; }
  .header-cta span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(6px, 0.8vw, 12px)) 0 clamp(4px, 0.6vw, 8px);
}
.hero__bg {
  position: absolute;
  inset: 0 0 -140px;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  background:
    radial-gradient(45% 55% at 70% 38%, rgba(0, 110, 255, 0.55), transparent 70%),
    radial-gradient(30% 40% at 52% 50%, rgba(0, 200, 255, 0.28), transparent 70%),
    radial-gradient(35% 45% at 12% 80%, rgba(0, 120, 255, 0.4), transparent 70%),
    radial-gradient(30% 35% at 95% 30%, rgba(0, 100, 255, 0.35), transparent 70%),
    radial-gradient(60% 40% at 45% 0%, rgba(0, 80, 200, 0.45), transparent 70%),
    linear-gradient(180deg, #041030 0%, #030b22 60%, var(--bg) 100%);
}
.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__lines .line { fill: none; stroke-linecap: round; }
.hero__lines .line--soft { stroke: rgba(0, 160, 255, 0.45); stroke-width: 10; filter: blur(5px); }
.hero__lines .line--core { stroke: rgba(110, 215, 255, 0.95); stroke-width: 2; }
.hero__lines .line--faint { stroke: rgba(0, 150, 255, 0.5); stroke-width: 1.4; }
.hero__lines .pulse {
  fill: none;
  stroke: #9fe8ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 140 2200;
  stroke-dashoffset: 2340;
  filter: drop-shadow(0 0 6px #00c8ff);
  animation: line-pulse 7s linear infinite;
}
.hero__lines .pulse--2 { animation-duration: 9s; animation-delay: -4s; }
.hero__lines .pulse--3 { animation-duration: 11s; animation-delay: -2s; }
@keyframes line-pulse { to { stroke-dashoffset: 0; } }

.hero__shapes { position: absolute; inset: 0; }
.shape {
  position: absolute;
  color: rgba(0, 170, 255, 0.55);
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.8));
  animation: float 9s ease-in-out infinite;
}
.shape svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3.5; }
.shape--tri { top: 21%; right: 0.6%; width: clamp(40px, 4.4vw, 66px); }
.shape--circle { top: 44%; right: 0.8%; width: clamp(38px, 4.2vw, 62px); animation-delay: -3s; }
.shape--cross { top: 67%; right: 1%; width: clamp(34px, 3.8vw, 56px); animation-delay: -6s; }
.shape--tri-left { top: 36%; left: -1.5%; width: clamp(60px, 6vw, 96px); color: rgba(0, 140, 255, 0.4); animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.hero__content { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(0, 200, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 50, 130, 0.25);
  color: #dbe9fb;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 0 16px rgba(0, 140, 255, 0.2), inset 0 0 12px rgba(0, 140, 255, 0.12);
}
.eyebrow .icon { width: 20px; height: 20px; color: var(--neon); }

.hero__title {
  margin-top: 12px;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.7vw, 4.8rem);
  line-height: 0.98;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transform: skewX(-3deg);
  transform-origin: left bottom;
  text-shadow: 0 4px 30px rgba(0, 80, 200, 0.35);
}
.hero__title span { display: block; }
.text-gradient {
  background: linear-gradient(100deg, #39d5ff 0%, #00a8ff 40%, #0a6bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 160, 255, 0.45));
  padding-right: 0.08em;
}

.hero__lead {
  max-width: 30em;
  margin-top: 10px;
  color: #e3edf9;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.4;
}
.hero__lead strong { color: #fff; font-weight: 600; }

.hero__actions { margin-top: 18px; }

/* Hero visual (console + controller + monitor) */
.hero__visual {
  position: relative;
  aspect-ratio: 820 / 390;
  width: 100%;
}
@media (min-width: 1281px) {
  .hero__visual { width: calc(100% + min(70px, (100vw - var(--container)) / 2 - 10px)); }
}
.hero__visual::before {
  content: "";
  position: absolute;
  left: 8%; right: 0; bottom: 2%;
  height: 28%;
  background: radial-gradient(50% 50% at 50% 60%, rgba(0, 140, 255, 0.45), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero__console {
  position: absolute;
  left: -2%;
  bottom: -7%;
  width: auto;
  height: 114%;
  max-width: none;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.monitor {
  position: absolute;
  top: 1%;
  right: 0;
  width: 77%;
  z-index: 2;
}
.monitor__frame {
  position: relative;
  padding: 1.1%;
  border-radius: 14px;
  background: linear-gradient(160deg, #1b2434, #07090f 40%, #0b0f18);
  box-shadow:
    0 0 0 1px rgba(110, 170, 255, 0.25),
    0 0 30px rgba(0, 140, 255, 0.55),
    0 0 90px rgba(0, 110, 255, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.6);
  transform: perspective(1600px) rotateY(-9deg);
  transform-origin: left center;
}
.monitor__screen {
  position: relative;
  aspect-ratio: 1.95 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #050b17;
  container-type: inline-size;
}
.monitor__stand {
  position: relative;
  width: 20%;
  height: clamp(14px, 2.4vw, 40px);
  margin: -2px auto 0;
  background: linear-gradient(90deg, #070a10, #1a2130 50%, #070a10);
  clip-path: polygon(22% 0, 78% 0, 92% 100%, 8% 100%);
}
.monitor__base {
  width: 44%;
  height: clamp(5px, 0.6vw, 9px);
  margin: 0 auto;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #2a3446, #090c13);
  box-shadow: 0 0 22px rgba(0, 150, 255, 0.55), 0 10px 20px rgba(0, 0, 0, 0.6);
}
.concept-tag {
  position: absolute;
  right: 2.2cqi;
  bottom: 2cqi;
  z-index: 5;
  padding: 0.4cqi 1.2cqi;
  border: 1px solid rgba(0, 200, 255, 0.4);
  border-radius: 99px;
  background: rgba(2, 8, 20, 0.75);
  color: #9fdcff;
  font-size: max(9px, 1.35cqi);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Launcher app UI (used in hero + preview) ---------- */
.app {
  display: grid;
  grid-template-columns: 19cqi minmax(0, 1fr);
  grid-template-rows: 5.6cqi minmax(0, 1fr);
  height: 100%;
  background:
    radial-gradient(70% 60% at 70% 0%, rgba(0, 90, 220, 0.22), transparent 70%),
    linear-gradient(180deg, #08142a 0%, #040a16 100%);
  color: #fff;
  font-size: 1.75cqi;
  line-height: 1.3;
  font-family: var(--font-body);
}
.app__bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.4cqi;
  border-bottom: 1px solid rgba(120, 170, 255, 0.12);
  background: rgba(2, 8, 20, 0.6);
}
.app__brand { display: flex; align-items: center; gap: 1.2cqi; font-family: var(--font-display); font-weight: 700; font-size: 2cqi; }
.app__brand img { width: 2.8cqi; height: 2.8cqi; }
.app__bar-right { display: flex; align-items: center; gap: 2.2cqi; color: #9db4d3; }
.app__avatar {
  display: grid;
  place-items: center;
  width: 3.4cqi; height: 3.4cqi;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a5bd6, #00a6ff);
  color: #fff;
}
.app__avatar .icon { width: 2cqi; height: 2cqi; }
.app__win { display: flex; gap: 1.8cqi; }
.app__win .icon { width: 1.6cqi; height: 1.6cqi; }

.app__side {
  display: flex;
  flex-direction: column;
  gap: 0.6cqi;
  padding: 2cqi 1.4cqi;
  border-right: 1px solid rgba(120, 170, 255, 0.1);
  background: rgba(3, 10, 24, 0.55);
}
.app__nav-item {
  display: flex;
  align-items: center;
  gap: 1.2cqi;
  padding: 1.1cqi 1.3cqi;
  border-radius: 1cqi;
  color: #b8cbe3;
  font-size: 1.6cqi;
  white-space: nowrap;
}
.app__nav-item .icon { width: 2.2cqi; height: 2.2cqi; }
.app__nav-item.is-active {
  background: linear-gradient(90deg, #0a6bff, #0a4fd0);
  color: #fff;
  box-shadow: 0 0 2cqi rgba(0, 140, 255, 0.55);
}

.app__main {
  display: flex;
  flex-direction: column;
  gap: 1.5cqi;
  min-height: 0;
  padding: 1.8cqi 2.2cqi;
  overflow: hidden;
}
.app__banner {
  position: relative;
  flex: none;
  aspect-ratio: 3.5 / 1;
  overflow: hidden;
  border-radius: 1.4cqi;
  border: 1px solid rgba(120, 170, 255, 0.18);
}
.app__banner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.app__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 8, 18, 0.88) 0%, rgba(3, 8, 18, 0.4) 45%, transparent 75%);
}
.app__banner-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6cqi;
  height: 100%;
  padding: 0 3cqi;
}
.app__banner-kicker { font-size: 1.7cqi; color: #dbe7f6; font-weight: 600; }
.app__banner-title { font-family: var(--font-display); font-weight: 800; font-size: 3.6cqi; line-height: 1; }
.app__play {
  display: inline-flex;
  align-items: center;
  gap: 0.8cqi;
  margin-top: 1cqi;
  padding: 0.8cqi 2.6cqi;
  border-radius: 0.8cqi;
  background: var(--grad-blue);
  font-size: 1.6cqi;
  font-weight: 600;
  box-shadow: 0 0 1.6cqi rgba(0, 160, 255, 0.6);
}
.app__play .icon { width: 1.6cqi; height: 1.6cqi; }
.app__section-title { font-weight: 700; font-size: 2cqi; }
.app__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6cqi; }
.app__row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.app__tile { display: flex; flex-direction: column; gap: 0.6cqi; min-width: 0; }
.app__tile-art {
  position: relative;
  aspect-ratio: 23 / 20;
  overflow: hidden;
  border-radius: 1cqi;
  border: 1px solid rgba(120, 170, 255, 0.22);
  background: #0b1424;
}
.app__tile-art img { width: 100%; height: 100%; object-fit: cover; }
.app__tile-art b {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3cqi 0.8cqi 0.8cqi;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5cqi;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}
.app__tile-name { overflow: hidden; color: #b8cbe3; font-size: 1.35cqi; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Features bar ---------- */
.features {
  position: relative;
  padding: clamp(12px, 1.2vw, 18px) 0 clamp(16px, 1.6vw, 24px);
}
.features::after {
  content: "";
  position: absolute;
  left: 5%; right: 5%; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.85) 30%, #7fe3ff 50%, rgba(0, 200, 255, 0.85) 70%, transparent);
  box-shadow: 0 0 18px rgba(0, 180, 255, 0.9), 0 0 50px rgba(0, 120, 255, 0.6);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 6px clamp(14px, 2vw, 30px);
}
.feature + .feature { border-left: 1px solid rgba(22, 74, 128, 0.9); }
.feature__icon {
  flex: none;
  width: clamp(38px, 3.4vw, 48px);
  height: clamp(38px, 3.4vw, 48px);
  color: var(--neon);
  filter: drop-shadow(0 0 8px rgba(0, 190, 255, 0.65));
}
.feature__icon .icon { width: 100%; height: 100%; stroke-width: 1.6; }
.feature__title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.feature__text { margin-top: 4px; color: var(--muted); font-size: 0.83rem; line-height: 1.4; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0;
}
.section--alt {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(0, 90, 220, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg) 100%);
}
.section--lazy { content-visibility: auto; contain-intrinsic-size: auto 900px; }

.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  letter-spacing: 0.005em;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 0 1 220px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--neon));
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.9);
}
.section-title::after { background: linear-gradient(90deg, var(--neon), transparent); }
.section-subtitle {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

/* ---------- Games ---------- */
.games { padding-top: clamp(14px, 1.2vw, 20px); }
.games > .container { position: relative; max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.games::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 20%; bottom: 0;
  z-index: -1;
  background:
    radial-gradient(50% 40% at 50% 55%, rgba(0, 110, 255, 0.4), transparent 70%),
    radial-gradient(30% 30% at 5% 70%, rgba(0, 140, 255, 0.3), transparent 70%),
    radial-gradient(30% 30% at 95% 70%, rgba(0, 140, 255, 0.3), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent);
  pointer-events: none;
}
.games { isolation: isolate; }
.games .section-head { margin-bottom: clamp(14px, 1.3vw, 20px); }
.games .section-title { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.games .section-subtitle { margin-top: 8px; font-size: 0.95rem; }
.games__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 14px);
}
.games__grid[hidden] { display: none; }
.games__grid + .games__grid { margin-top: clamp(10px, 1vw, 14px); }
.games__more { display: flex; justify-content: center; margin-top: clamp(20px, 1.8vw, 26px); }
.games__more .btn-outline { min-height: 40px; padding: 0 24px; font-size: 0.92rem; }

.game-card {
  --accent: 0, 160, 255;
  position: relative;
  aspect-ratio: 1.21 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--accent), 0.55);
  background: #07101f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 18px rgba(var(--accent), 0.28), 0 14px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s, border-color 0.35s;
}
.games__grid--extra .game-card { aspect-ratio: 3 / 4; }
.game-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 17, 0) 40%, rgba(2, 6, 17, 0.55) 70%, rgba(2, 6, 17, 0.92) 100%);
  pointer-events: none;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.035);
  border-color: rgba(var(--accent), 0.95);
  box-shadow: 0 0 0 1px rgba(var(--accent), 0.4), 0 0 32px rgba(var(--accent), 0.55), 0 22px 40px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.game-card:hover img { transform: scale(1.06); }
.game-card__title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 0 10px clamp(12px, 1.4vw, 18px);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.95rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 22px rgba(var(--accent), 0.45);
}
.game-card[data-art-title] .game-card__title,
.app__tile-art[data-art-title] b {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.game-card[data-art-title]::after { background: linear-gradient(180deg, transparent 75%, rgba(2, 6, 17, 0.35)); }
.game-card__title small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.6em;
  font-style: normal;
  letter-spacing: 0.12em;
  color: #e6eefa;
}
.game-card__status {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(2, 8, 20, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #dbe7f6;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
}
.game-card__status::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8aa2c2;
}
.games__grid--main .game-card:not([data-release]) .game-card__status { display: none; }
.games__grid--main .game-card[data-release] .game-card__status {
  top: 12px; left: 12px;
  padding: 4px 12px;
  border: 0;
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 160, 255, 0.6);
}
.games__grid--main .game-card[data-release] .game-card__status::before { display: none; }
.game-card[data-status="supported"] .game-card__status::before { background: #2ee59d; box-shadow: 0 0 8px #2ee59d; }
.game-card[data-status="coming-soon"] .game-card__status::before { background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.game-card[data-status="unreleased"] .game-card__status::before,
.game-card[data-status="tba"][data-release="pending"] .game-card__status::before { background: #ffb547; box-shadow: 0 0 8px #ffb547; }

/* ---------- How it works ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 16%; right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0, 200, 255, 0.7) 0 10px, transparent 10px 20px);
  filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.8));
}
.step {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(22, 74, 128, 0.9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 24, 52, 0.85), rgba(4, 12, 28, 0.85));
  box-shadow: inset 0 1px 0 rgba(120, 190, 255, 0.12), 0 20px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.step:hover { border-color: rgba(0, 200, 255, 0.7); transform: translateY(-4px); box-shadow: 0 0 30px rgba(0, 140, 255, 0.3), 0 20px 40px rgba(0, 0, 0, 0.35); }
.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #0b5fe0, #032a6b);
  border: 1px solid rgba(0, 200, 255, 0.7);
  box-shadow: 0 0 24px rgba(0, 160, 255, 0.6);
  color: #fff;
}
.step__icon .icon { width: 30px; height: 30px; }
.step__num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 200, 255, 0.85);
  text-shadow: 0 0 18px rgba(0, 180, 255, 0.45);
}
.step__title { font-size: 1.3rem; font-weight: 700; }
.step__text { margin-top: 10px; color: var(--muted); }

/* ---------- Launcher preview ---------- */
.preview__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.preview__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(22, 74, 128, 0.95);
  border-radius: 999px;
  background: rgba(4, 16, 36, 0.7);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.preview__tab .icon { width: 17px; height: 17px; }
.preview__tab:hover { color: #fff; border-color: rgba(0, 200, 255, 0.6); }
.preview__tab[aria-selected="true"] {
  color: #fff;
  border-color: var(--neon);
  background: linear-gradient(90deg, rgba(0, 107, 255, 0.55), rgba(0, 80, 210, 0.45));
  box-shadow: 0 0 20px rgba(0, 160, 255, 0.45);
}
.preview__window {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1a2436, #070a12 40%, #0b111c);
  box-shadow: 0 0 0 1px rgba(110, 170, 255, 0.25), 0 0 40px rgba(0, 130, 255, 0.4), 0 40px 80px rgba(0, 0, 0, 0.55);
}
.preview__screen {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border-radius: 14px;
  container-type: inline-size;
}
.preview__panel { height: 100%; }
.preview__panel[hidden] { display: none; }
.preview__note { margin-top: 18px; color: var(--muted); font-size: 0.88rem; text-align: center; }

/* preview screens */
.app--wide { grid-template-columns: 19cqi minmax(0, 1fr); grid-template-rows: 5.4cqi minmax(0, 1fr); font-size: 1.45cqi; }
.app--wide .app__brand { font-size: 1.7cqi; }
.app--wide .app__brand img { width: 2.4cqi; height: 2.4cqi; }
.app--wide .app__avatar { width: 2.8cqi; height: 2.8cqi; }
.app--wide .app__nav-item { font-size: 1.4cqi; padding: 1cqi 1.2cqi; }
.app--wide .app__nav-item .icon { width: 1.9cqi; height: 1.9cqi; }
.app--wide .app__main { gap: 1.8cqi; padding: 2cqi 2.4cqi; }
.app--wide .app__banner { aspect-ratio: 3.6 / 1; }
.app--wide .app__banner-title { font-size: 3cqi; }
.app--wide .app__section-title { font-size: 1.7cqi; }
.app--wide .app__tile-name { font-size: 1.2cqi; }
.app--wide .app__tile-art b { font-size: 1.25cqi; }

.app__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 2cqi; }
.app__search {
  display: flex;
  align-items: center;
  gap: 1cqi;
  flex: 1;
  max-width: 34cqi;
  padding: 0.9cqi 1.4cqi;
  border: 1px solid rgba(120, 170, 255, 0.2);
  border-radius: 0.9cqi;
  background: rgba(255, 255, 255, 0.04);
  color: #7f97b8;
}
.app__search .icon { width: 1.6cqi; height: 1.6cqi; }
.app__chips { display: flex; gap: 0.8cqi; }
.app__chip {
  padding: 0.5cqi 1.3cqi;
  border: 1px solid rgba(120, 170, 255, 0.2);
  border-radius: 99px;
  color: #b8cbe3;
  font-size: 1.2cqi;
  white-space: nowrap;
}
.app__chip.is-active { background: rgba(0, 120, 255, 0.35); border-color: rgba(0, 200, 255, 0.6); color: #fff; }
.app__grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4cqi; }
.app__label { display: inline-block; margin-top: 0.2cqi; color: #7fa1c9; font-size: 1.1cqi; }

.app__list { display: flex; flex-direction: column; gap: 1.2cqi; }
.app__dl {
  display: grid;
  grid-template-columns: 5cqi minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.6cqi;
  padding: 1.2cqi 1.4cqi;
  border: 1px solid rgba(120, 170, 255, 0.14);
  border-radius: 1.1cqi;
  background: rgba(255, 255, 255, 0.03);
}
.app__dl img { width: 5cqi; height: 6cqi; object-fit: cover; border-radius: 0.6cqi; }
.app__dl-name { font-weight: 600; }
.app__progress { height: 0.6cqi; margin-top: 0.8cqi; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.app__progress span { display: block; height: 100%; border-radius: inherit; background: var(--grad-blue); box-shadow: 0 0 1cqi rgba(0, 180, 255, 0.8); }
.app__dl-meta { color: #8aa2c2; font-size: 1.15cqi; text-align: right; }

.app__settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4cqi; }
.app__card {
  padding: 1.6cqi 1.8cqi;
  border: 1px solid rgba(120, 170, 255, 0.14);
  border-radius: 1.1cqi;
  background: rgba(255, 255, 255, 0.03);
}
.app__card h4 { font-family: var(--font-body); font-size: 1.5cqi; margin-bottom: 1cqi; }
.app__setting { display: flex; align-items: center; justify-content: space-between; gap: 1cqi; padding: 0.7cqi 0; color: #b8cbe3; border-top: 1px solid rgba(120, 170, 255, 0.08); }
.app__setting:first-of-type { border-top: 0; }
.app__toggle { position: relative; flex: none; width: 3.6cqi; height: 2cqi; border-radius: 99px; background: rgba(255, 255, 255, 0.15); }
.app__toggle::after { content: ""; position: absolute; top: 0.3cqi; left: 0.3cqi; width: 1.4cqi; height: 1.4cqi; border-radius: 50%; background: #fff; }
.app__toggle.is-on { background: var(--blue); box-shadow: 0 0 1cqi rgba(0, 140, 255, 0.7); }
.app__toggle.is-on::after { left: auto; right: 0.3cqi; }
.app__value { color: #fff; font-weight: 600; }
.app__signin {
  display: inline-flex;
  align-items: center;
  gap: 0.8cqi;
  margin-top: 0.8cqi;
  padding: 0.8cqi 1.6cqi;
  border-radius: 0.8cqi;
  background: var(--grad-blue);
  font-weight: 600;
}
.app__signin .icon { width: 1.5cqi; height: 1.5cqi; }
.app__hint { margin-top: 0.8cqi; color: #7f97b8; font-size: 1.1cqi; }
.app__saves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqi; }
.app__save {
  display: flex;
  gap: 1.2cqi;
  padding: 1.2cqi;
  border: 1px solid rgba(120, 170, 255, 0.14);
  border-radius: 1.1cqi;
  background: rgba(255, 255, 255, 0.03);
}
.app__save img { width: 5.5cqi; height: 7cqi; object-fit: cover; border-radius: 0.6cqi; }
.app__save .ok { display: inline-flex; align-items: center; gap: 0.5cqi; margin-top: 0.6cqi; color: #2ee59d; font-size: 1.1cqi; }
.app__save .ok .icon { width: 1.3cqi; height: 1.3cqi; }

/* ---------- System requirements ---------- */
.reqs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
}
.req-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(22, 74, 128, 0.95);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 24, 52, 0.9), rgba(4, 12, 28, 0.9));
  box-shadow: inset 0 1px 0 rgba(120, 190, 255, 0.12), 0 20px 40px rgba(0, 0, 0, 0.35);
}
.req-card--accent { border-color: rgba(0, 200, 255, 0.6); box-shadow: 0 0 30px rgba(0, 140, 255, 0.25), inset 0 1px 0 rgba(120, 190, 255, 0.15); }
.req-card__title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.req-card__title .icon { width: 24px; height: 24px; color: var(--neon); }
.req-list { margin: 0; }
.req-list div {
  display: grid;
  grid-template-columns: 22px minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(22, 74, 128, 0.6);
}
.req-list div:first-child { border-top: 0; }
.req-list .icon { width: 20px; height: 20px; color: #6fbfff; }
.req-list dt { color: var(--muted); font-size: 0.95rem; }
.req-list dd { margin: 0; font-weight: 600; font-size: 0.95rem; }
.req-list dd.tbc { color: #7f97b8; font-weight: 500; font-style: italic; }
.reqs__note { max-width: 760px; margin: 22px auto 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  border: 1px solid rgba(22, 74, 128, 0.95);
  border-radius: 16px;
  background: rgba(6, 17, 36, 0.8);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item:hover { border-color: rgba(0, 200, 255, 0.5); }
.faq__item.is-open, .faq__item[open] { border-color: rgba(0, 200, 255, 0.7); box-shadow: 0 0 24px rgba(0, 140, 255, 0.22); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 28px; height: 28px;
  border: 1px solid rgba(0, 200, 255, 0.55);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--neon);
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s; }
.faq__item.is-open .faq__icon, .faq__item[open] .faq__icon { background: rgba(0, 120, 255, 0.3); }
.faq__item.is-open .faq__icon::after, .faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { overflow: hidden; }
.faq__answer > div { padding: 0 22px 22px; color: var(--muted); }
.faq__answer p + p { margin-top: 10px; }
.faq__answer a { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(44px, 6vw, 80px) clamp(20px, 4vw, 60px);
  border: 1px solid rgba(0, 200, 255, 0.55);
  border-radius: 28px;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(0, 120, 255, 0.55), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(0, 90, 220, 0.3), transparent 70%),
    linear-gradient(180deg, #061430, #030a1a);
  box-shadow: 0 0 50px rgba(0, 130, 255, 0.35), inset 0 0 40px rgba(0, 120, 255, 0.15);
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/backgrounds/neon-lines.svg") center / cover no-repeat;
  opacity: 0.8;
  pointer-events: none;
}
.cta__title { font-style: italic; font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.08; }
.cta__text { max-width: 560px; margin: 14px auto 0; color: var(--muted); }
.cta .btn-download { margin-top: 30px; }
.cta .os-note, .cta .platform-note { justify-content: center; margin-inline: auto; }
.checksum { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
.checksum code { color: #dbe7f6; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 100px);
  padding: clamp(44px, 6vw, 70px) 0 28px;
  border-top: 1px solid rgba(22, 74, 128, 0.9);
  background: linear-gradient(180deg, #030b1c, #01040b);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: 0 0 14px var(--neon);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.footer__about p { max-width: 360px; margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.footer__heading { margin-bottom: 14px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb3dc; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: #dbe7f6; font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--neon); }
.disclaimer {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 16px 20px;
  border: 1px solid rgba(255, 181, 71, 0.35);
  border-radius: 14px;
  background: rgba(255, 181, 71, 0.06);
  color: #e6d6bd;
  font-size: 0.88rem;
  line-height: 1.55;
}
.disclaimer strong { color: #ffd08a; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 74, 128, 0.6);
  color: #7f97b8;
  font-size: 0.85rem;
}

/* ---------- Download dialog ---------- */
.dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(0, 200, 255, 0.55);
  border-radius: 20px;
  background: linear-gradient(180deg, #08183a, #040b1c);
  color: var(--text);
  box-shadow: 0 0 50px rgba(0, 140, 255, 0.4), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.dialog::backdrop { background: rgba(1, 3, 10, 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__body { padding: 30px 28px 26px; text-align: center; }
.dialog__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.6);
  background: rgba(0, 90, 220, 0.3);
  color: var(--neon);
  box-shadow: 0 0 20px rgba(0, 160, 255, 0.45);
}
.dialog__icon .icon { width: 28px; height: 28px; }
.dialog h2 { font-size: 1.45rem; }
.dialog p { margin-top: 12px; color: var(--muted); }
.dialog .btn-outline { margin-top: 22px; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .game-card[data-reveal].is-visible:hover { transform: translateY(-4px) scale(1.035); }

/* ---------- Subpages ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(0, 100, 255, 0.3), transparent 70%),
    linear-gradient(180deg, #030a1c, var(--bg));
  text-align: center;
}
.page-hero h1 { font-style: italic; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { max-width: 640px; margin: 14px auto 0; color: var(--muted); }
.prose {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(22, 74, 128, 0.9);
  border-radius: var(--radius);
  background: rgba(6, 17, 36, 0.75);
  color: #d4e1f1;
}
.prose h2 { margin: 34px 0 12px; font-size: 1.4rem; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 22px 0 8px; font-size: 1.1rem; color: #fff; font-family: var(--font-body); }
.prose p, .prose ul { margin-top: 10px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { color: #7f97b8; font-size: 0.9rem; }
.fill {
  padding: 1px 6px;
  border: 1px dashed rgba(255, 181, 71, 0.7);
  border-radius: 6px;
  background: rgba(255, 181, 71, 0.1);
  color: #ffd08a;
  white-space: nowrap;
}
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.contact-card {
  padding: 20px;
  border: 1px solid rgba(22, 74, 128, 0.9);
  border-radius: 14px;
  background: rgba(4, 14, 32, 0.8);
}
.contact-card h3 { margin-top: 0; }
.notfound { min-height: 100vh; display: grid; place-items: center; padding: var(--header-h) var(--gutter) 40px; text-align: center; }
.notfound__code {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 12rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--neon);
  text-shadow: 0 0 40px rgba(0, 180, 255, 0.5);
}
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.notfound p { max-width: 460px; margin: 12px auto 28px; color: var(--muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 2560px) {
  :root { --container: 1760px; --header-h: 88px; }
  body { font-size: 18px; }
  .brand { font-size: 1.8rem; }
  .brand img { width: 44px; height: 44px; }
  .nav__link { font-size: 1.15rem; }
  .btn-download { --h: 76px; font-size: 1.5rem; padding: 0 28px 0 32px; }
  .feature__title { font-size: 1.2rem; }
  .feature__text { font-size: 1.02rem; }
}

@media (max-width: 1280px) {
  .feature { gap: 12px; }
}

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__content .eyebrow { margin-inline: auto; }
  .hero__title { transform: skewX(-3deg); transform-origin: center bottom; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { display: flex; flex-direction: column; align-items: center; }
  .os-note { justify-content: center; }
  .hero__visual { max-width: 860px; margin: 8px auto 0; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .feature:nth-child(3) { border-left: 0; }
  .games__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .games__grid--main .game-card:nth-child(n+4) { grid-column: span 1; }
  .games__grid--main { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .games__grid--main .game-card { grid-column: span 2; }
  .games__grid--main .game-card:nth-child(4) { grid-column: 2 / span 2; }
  .games__grid--main .game-card:nth-child(5) { grid-column: 4 / span 2; }
  .shape--tri-left { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 58px; }
  .section-title::before, .section-title::after { flex-basis: 40px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps::before { display: none; }
  .reqs { grid-template-columns: 1fr; }
  .games__grid,
  .games__grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games__grid--main .game-card,
  .games__grid--main .game-card:nth-child(4),
  .games__grid--main .game-card:nth-child(5) { grid-column: auto; }
  .games__grid--main .game-card:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .game-card { aspect-ratio: 4 / 5; }
  .game-card__title { font-size: 1.05rem; }
  .preview__tab span { display: none; }
  .preview__tab { padding: 0 14px; }
  .preview__screen { aspect-ratio: 4 / 3.4; }
  .app--wide { grid-template-columns: 0 minmax(0, 1fr); font-size: 2.2cqi; }
  .app--wide .app__side { display: none; }
  .app--wide .app__main { padding: 2.6cqi; gap: 2.4cqi; }
  .app--wide .app__grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app--wide .app__row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app--wide .app__row--5 .app__tile:nth-child(n+4) { display: none; }
  .app--wide .app__settings, .app--wide .app__saves { grid-template-columns: 1fr; }
  .app--wide .app__saves .app__save:nth-child(n+3) { display: none; }
  .app--wide .app__settings .app__card:nth-child(n+3) { display: none; }
  .app--wide .app__brand { font-size: 2.6cqi; }
  .app--wide .app__brand img { width: 3.4cqi; height: 3.4cqi; }
  .app--wide { grid-template-rows: 8cqi minmax(0, 1fr); }
  .app--wide .app__avatar { width: 4.4cqi; height: 4.4cqi; }
  .app--wide .app__banner-title { font-size: 5cqi; }
  .app--wide .app__banner { aspect-ratio: 2.6 / 1; }
  .app--wide .app__section-title { font-size: 2.8cqi; }
  .app--wide .app__tile-name { font-size: 2.1cqi; }
  .app--wide .app__tile-art b { font-size: 2.2cqi; }
  .app--wide .app__chip { font-size: 2cqi; }
  .app--wide .app__chips .app__chip:nth-child(n+3) { display: none; }
  .app--wide .app__search { max-width: none; }
  .app--wide .app__label, .app--wide .app__dl-meta, .app--wide .app__hint, .app--wide .app__save .ok { font-size: 1.9cqi; }
  .app--wide .app__card h4 { font-size: 2.4cqi; }
  .app--wide .app__dl { grid-template-columns: 7cqi minmax(0, 1fr) auto; }
  .app--wide .app__dl img { width: 7cqi; height: 8.5cqi; }
  .app--wide .app__list .app__dl:nth-child(n+4) { display: none; }
  .app--wide .app__progress { height: 1cqi; }
  .app--wide .app__toggle { width: 5.6cqi; height: 3cqi; }
  .app--wide .app__toggle::after { width: 2.2cqi; height: 2.2cqi; top: 0.4cqi; left: 0.4cqi; }
  .app--wide .app__toggle.is-on::after { left: auto; right: 0.4cqi; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .btn-download { --h: 58px; gap: 14px; padding: 0 18px 0 20px; font-size: 1.1rem; }
  .btn-download .icon { width: 22px; height: 22px; }
  .hero__visual { aspect-ratio: 10 / 7.2; }
  .hero__console { width: 44%; }
  .monitor { width: 70%; top: 4%; }
  .features__grid { column-gap: 0; }
  .feature { flex-direction: column; gap: 10px; padding: 4px 12px; }
  .feature__title { font-size: 0.95rem; }
  .feature__text { font-size: 0.84rem; }
  .section-title::before, .section-title::after { flex-basis: 40px; }
  .faq__item summary { padding: 16px 16px; font-size: 0.98rem; }
  .faq__answer > div { padding: 0 16px 18px; }
  .req-list div { grid-template-columns: 20px minmax(0, 1fr); }
  .req-list dd { grid-column: 2; margin-top: -8px; }
  .shape--circle, .shape--cross { display: none; }
  .shape--tri { top: 9%; opacity: 0.6; }
}

@media (max-width: 430px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .game-card__status { font-size: 0.64rem; padding: 3px 8px; top: 8px; left: 8px; }
  .game-card__title { font-size: 0.92rem; padding-inline: 6px; }
}

@media (max-width: 360px) {
  .btn-download { gap: 10px; padding: 0 14px 0 16px; font-size: 1rem; }
  .btn-download__sep { height: 24px; }
  .eyebrow { font-size: 0.8rem; padding: 6px 12px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid rgba(22, 74, 128, 0.9); padding-top: 16px; }
  .feature { flex-direction: row; }
  .games__grid, .games__grid--main { gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__lines .pulse { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
