/* ==========================================================================
   Pongzera Landing — styles
   Palette mirrors the game's neon stadium identity (see README "Visual Direction")
   plus the Yupi Studios lime accent for studio branding.
   ========================================================================== */

@font-face {
  font-family: "Racers Delight";
  src: url("../fonts/RacersDelight.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #080c1e;
  --bg-2: #0c1330;
  --surface: #111a3d;
  --surface-2: #16244f;
  --line: rgba(140, 170, 255, 0.14);
  --text: #eef3ff;
  --muted: #a5b1d6;
  --dim: #7380a8;

  --cyan: #00e5ff;
  --gold: #ffd600;
  --coral: #ff3355;
  --purple: #a855f7;
  --green: #22d36b;
  --lime: #bef264; /* Yupi Studios accent */
  --yupi-bg: #08090c;

  --rainbow: linear-gradient(90deg, var(--cyan), #7cf0a0 30%, var(--gold) 55%, #ff8a3d 75%, var(--coral));
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --nav-h: 68px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);
  --font-display: "Racers Delight", "Plus Jakarta Sans", Impact, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.container--narrow { max-width: 960px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cyan); color: #001018; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 14px; height: 14px; }

.show-sm { display: none; }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}

/* ---------------------------------------------------------------- Studio bar */
.studio-bar {
  background: var(--yupi-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  position: relative;
  z-index: 60;
}
.studio-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px;
  padding-top: max(4px, env(safe-area-inset-top));
  padding-bottom: 4px;
}
.studio-bar__brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #cbd5e1;
  min-width: 0;
}
.studio-bar__by { color: #94a3b8; letter-spacing: .02em; white-space: nowrap; }
.studio-bar__logo { height: 28px; width: auto; flex: none; transition: transform .2s; }
.studio-bar__brand:hover .studio-bar__logo { transform: scale(1.05); }
@media (max-width: 440px) {
  .studio-bar__by { display: none; }
  .studio-bar__logo { height: 24px; }
}
.studio-bar__back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0; font-weight: 600; white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.studio-bar__back .icon { width: 14px; height: 14px; }
.studio-bar__back:hover { color: var(--lime); border-color: rgba(190, 242, 100, .45); background: rgba(190, 242, 100, .08); }

@media (max-width: 380px) {
  .studio-bar__by { display: none; }
}

/* ---------------------------------------------------------------- Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 12, 30, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(8, 12, 30, 0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.nav__logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 18px rgba(0, 229, 255, .25); }
.nav__wordmark {
  font-family: var(--font-display); font-size: 24px; letter-spacing: .04em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 10%, #a8f4ff 60%, #39dcff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, .45));
}
.nav__links { display: none; align-items: center; gap: 2px; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__burger { display: none !important; }
}
@media (max-width: 480px) {
  .nav__play { display: none; }
  .nav__wordmark { font-size: 21px; }
}

/* Language dropdown */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--text);
  transition: border-color .2s, background .2s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: rgba(0, 229, 255, .5); background: rgba(0, 229, 255, .08); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px;
  background: #0f1736; border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.no-js .lang:focus-within .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 14px; color: var(--muted);
}
.lang__list a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lang__list a[aria-current="true"] { color: var(--cyan); background: rgba(0, 229, 255, .08); font-weight: 700; }
.lang__flag { font-size: 16px; line-height: 1; }

@media (max-width: 400px) { .nav .lang { display: none; } }

/* Burger */
.nav__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 11px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 30, .97);
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.mobile-menu__inner > a:not(.btn) {
  padding: 13px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mobile-menu__langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }
.mobile-menu .btn--block { margin-top: 4px; }
.mobile-menu__yupi {
  display: inline-flex !important; align-items: center; gap: 8px; justify-content: center;
  margin-top: 10px; color: var(--lime) !important; font-size: 14px !important; border: 0 !important;
}

.lang-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--muted);
}
.lang-pill:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.lang-pill[aria-current="true"] { background: var(--cyan); border-color: var(--cyan); color: #001520; font-weight: 800; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary {
  color: #04121a;
  background: linear-gradient(180deg, #6ff4ff, var(--cyan) 55%, #00b8e6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 8px 28px rgba(0, 229, 255, .35);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 10px 36px rgba(0, 229, 255, .55); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(255, 214, 0, .08); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--nav-h) - 38px);
  min-height: calc(100svh - var(--nav-h) - 38px);
  display: flex; align-items: center;
  padding: 72px 0 96px;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__bg img { object-fit: cover; object-position: center; animation: heroZoom 24s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(8, 12, 30, .55), rgba(8, 12, 30, .82) 70%),
    linear-gradient(180deg, rgba(8, 12, 30, .2) 0%, rgba(8, 12, 30, 0) 40%, var(--bg) 100%);
}
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title { margin: 14px 0 6px; }
.hero__logo {
  display: inline-block;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 13vw, 168px); line-height: .95; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffffff 0%, #c9f8ff 45%, #3fdcff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(5, 20, 50, .35);
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, .55)) drop-shadow(0 6px 0 rgba(4, 12, 40, .6));
  padding: 0 .06em;
}
.rainbow-line {
  width: min(420px, 60vw); height: 4px; border-radius: 4px; background: var(--rainbow);
  box-shadow: 0 0 16px rgba(255, 214, 0, .45); margin: 6px 0 26px;
}
.hero__subtitle { max-width: 680px; font-size: clamp(16px, 2.1vw, 19px); color: #d4dcf5; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 34px 0 30px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(8, 12, 30, .55); border: 1px solid currentColor;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.chip--cyan { color: var(--cyan); }
.chip--gold { color: var(--gold); }
.chip--green { color: var(--green); }
.chip--coral { color: #ff6b84; }
.chip--purple { color: #c58bff; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .35);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 640px) {
  .hero { padding: 56px 0 84px; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .chip { font-size: 12px; padding: 6px 12px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 40px 0 56px; }
  .hero__scroll { display: none; }
  .hero__logo { font-size: clamp(48px, 10vw, 96px); }
}

/* ---------------------------------------------------------------- Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(0, 229, 255, .07), transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 51, 85, .07), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 6vw, 60px); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px;
}
.eyebrow--gold { color: var(--gold); }
.section__title {
  font-family: var(--font-display); font-weight: 400; letter-spacing: .02em;
  font-size: clamp(34px, 5.5vw, 58px);
  color: #fff; text-shadow: 0 0 24px rgba(0, 229, 255, .3);
}
.section__subtitle { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }

/* Chinese: the display font is Latin-only, use a heavy system CJK font instead */
:lang(zh) .section__title, :lang(zh) .cta__title { font-family: var(--font-head); font-weight: 800; letter-spacing: .04em; }
:lang(zh) .eyebrow { letter-spacing: .12em; }

/* ---------------------------------------------------------------- Modes */
.modes { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
  --accent: var(--cyan);
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.mode:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 18px 50px -12px color-mix(in srgb, var(--accent) 45%, transparent); }
.mode--cyan { --accent: var(--cyan); }
.mode--purple { --accent: var(--purple); }
.mode--green { --accent: var(--green); }
.mode--coral { --accent: var(--coral); }
.mode__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mode__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mode:hover .mode__media img { transform: scale(1.04); }
.mode__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); box-shadow: 0 0 18px var(--accent);
}
.mode__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(8, 12, 30, .8); color: var(--accent); border: 1px solid var(--accent);
}
.mode__body { padding: 22px 24px 26px; }
.mode__body h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.mode__body p { color: var(--muted); }

/* ---------------------------------------------------------------- Features */
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  --accent: var(--cyan);
  padding: 26px; border-radius: var(--radius);
  background: rgba(17, 26, 61, .6); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-3px); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 25%, transparent);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-head); font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- TV & Smartphone Controllers */
.tv { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .tv { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.tv__title { font-size: clamp(30px, 4.4vw, 48px); text-align: left; }
.tv__subtitle { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.8vw, 17.5px); max-width: 560px; }
.tv__points { margin-top: 26px; display: grid; gap: 14px; }
.tv__points li {
  --accent: var(--cyan);
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(17, 26, 61, .55); border: 1px solid var(--line);
}
.tv__bullet {
  flex: none; min-width: 46px; height: 42px; padding: 0 8px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .03em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
}
.tv__points h3 { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.tv__points p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.tv__stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tv-bezel { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.tv-frame {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 14px 14px 0 0; overflow: hidden;
  background: #050814;
  border: 6px solid #141b33; border-bottom: 0;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .28), 0 28px 65px rgba(0, 0, 0, .6), 0 0 54px rgba(0, 229, 255, .15);
}
.tv-frame__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-chin {
  width: 100%; height: 16px; border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #1b2442, #10162b);
  border: 1px solid rgba(255, 255, 255, .08); border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center;
}
.tv-led {
  width: 18px; height: 3px; border-radius: 999px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.tv-stand {
  width: 130px; height: 14px;
  background: linear-gradient(180deg, #192347, #0c1228);
  clip-path: polygon(16% 0%, 84% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

.tv-phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 560px; }
.phone-mock {
  --accent: var(--cyan);
  margin: 0; padding: 6px 4px 5px; border-radius: 16px; position: relative;
  background: linear-gradient(180deg, #131c3d, #0a1026);
  border: 2px solid color-mix(in srgb, var(--accent) 58%, transparent);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5), 0 0 20px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
.phone-mock:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .6), 0 0 26px color-mix(in srgb, var(--accent) 42%, transparent);
}
.phone-mock__notch {
  display: block; width: 28%; height: 3px; margin: 0 auto 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}
.phone-mock img {
  width: 100%; height: auto; aspect-ratio: 360 / 609; object-fit: cover;
  border-radius: 10px; display: block;
}
@media (max-width: 520px) {
  .tv-phones { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 340px; }
}

/* ---------------------------------------------------------------- Screens (video / game) */
.screen {
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  aspect-ratio: 16 / 9; background: #000;
  border: 1px solid rgba(0, 229, 255, .35);
  box-shadow: 0 0 0 6px rgba(17, 26, 61, .8), 0 0 60px rgba(0, 229, 255, .18), 0 30px 80px rgba(0, 0, 0, .6);
}
.screen__video, .screen iframe, .screen__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.screen__overlay {
  position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(ellipse at center, rgba(8, 12, 30, .35), rgba(8, 12, 30, .8));
  padding: 20px;
}
.screen__hint { text-align: center; color: var(--dim); font-size: 13px; margin-top: 14px; }
.screen.is-playing .screen__overlay, .screen.is-playing .screen__poster { display: none; }
.embed-only { display: none; }
@media (min-width: 900px) and (hover: hover) { .js .embed-only { display: inline-flex; } .js p.embed-only { display: block; } }
@media (max-width: 520px) {
  .screen--game { aspect-ratio: 4 / 3; }
  .screen__overlay .btn { width: 100%; max-width: 300px; }
}

/* ---------------------------------------------------------------- Controls */
.controls { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .controls { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .controls { grid-template-columns: repeat(4, 1fr); } }
.control {
  --accent: var(--cyan);
  padding: 24px; border-radius: var(--radius);
  background: rgba(17, 26, 61, .55); border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}
.control h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; margin-bottom: 14px; color: var(--accent); }
.control p { color: var(--muted); font-size: 14.5px; }
.control dl { margin: 0 0 12px; display: grid; gap: 12px; }
.control dl div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.control dt { display: flex; flex-wrap: wrap; gap: 5px; }
.control dd { margin: 0; color: var(--muted); font-size: 14px; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 8px; font-family: var(--font-head); font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #22305f, #172247);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 3px 0 #0a1029;
}

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm); background: rgba(17, 26, 61, .6); border: 1px solid var(--line);
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(0, 229, 255, .4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; line-height: 1; color: var(--cyan); background: rgba(0, 229, 255, .1); transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
.faq details a { color: var(--cyan); font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------- CTA */
.cta {
  position: relative; overflow: hidden; padding: clamp(80px, 12vw, 130px) 0; text-align: center;
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(255, 214, 0, .14), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(0, 229, 255, .16), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(255, 51, 85, .16), transparent 70%),
    var(--bg);
}
.cta::before, .cta::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 140px; margin-top: -70px; border-radius: 14px;
}
.cta::before { left: max(4vw, 16px); background: linear-gradient(180deg, #6ff4ff, #0a84ff); box-shadow: 0 0 30px rgba(0, 229, 255, .7); }
.cta::after { right: max(4vw, 16px); background: linear-gradient(180deg, #ff6b84, #d81b45); box-shadow: 0 0 30px rgba(255, 51, 85, .7); }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; z-index: 1; }
.cta__icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 0 40px rgba(255, 214, 0, .35); }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 6vw, 64px); color: #fff; text-shadow: 0 0 28px rgba(255, 214, 0, .35); }
.cta__subtitle { color: var(--muted); font-size: 18px; margin-bottom: 10px; }
@media (max-width: 640px) { .cta::before, .cta::after { width: 8px; height: 90px; margin-top: -45px; } }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--yupi-bg); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 56px; font-size: 14px; color: #94a3b8; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand p { margin: 14px 0 18px; max-width: 340px; }
.footer__yupi {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .2s;
}
.footer__yupi:hover { border-color: rgba(190, 242, 100, .45); }
.footer__yupi img { height: 32px; width: auto; }
.footer__studios { font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .28em; color: #fff; }
.footer__col h4 { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px; padding-bottom: calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .06); font-size: 12.5px;
}
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__langs .lang-pill[aria-current="true"] { background: var(--lime); border-color: var(--lime); color: #0b0f05; }
.footer__top:hover { color: #fff; }
@media (max-width: 720px) { .footer__bottom { flex-direction: column; text-align: center; } }

/* ---------------------------------------------------------------- Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
