:root {
  --bg: #070B1A;
  --text: #F2F5FC;
  --muted: #A3AEC6;
  --blue: #2E8BFF;
  --blue2: #4DA3FF;
  --red: #FF4757;
  --green: #4CD964;
  --yellow: #FFC94D;
  --violet: #A970FF;
  --pink: #FF4F9A;
  --glass: rgba(18, 26, 52, .62);
  --edge: rgba(120, 170, 255, .18);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative; margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue2); }

/* ---------- neon background: big soft glossy blobs ---------- */
.bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(1100px 700px at 70% 10%, #1A1F5C 0%, transparent 60%),
              radial-gradient(900px 600px at 0% 60%, #2A0F4D 0%, transparent 60%), var(--bg); }
.blob {
  --c: var(--blue);
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  transform: translate(-50%, -50%); border-radius: 50%; opacity: .8; filter: blur(1.5px);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .55) 0 6%, transparent 18%),
    radial-gradient(circle at 40% 36%, color-mix(in srgb, var(--c) 60%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 55%, #000) 80%, transparent 82%);
  box-shadow: 0 0 120px color-mix(in srgb, var(--c) 45%, transparent);
}
.blob.blue { --c: #2E6BFF; } .blob.pink { --c: #FF2E88; } .blob.green { --c: #2BD46A; }
.blob.yellow { --c: #FFB21E; } .blob.violet { --c: #8A3CFF; } .blob.red { --c: #FF3B4E; opacity: .55; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(7, 11, 26, .62); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mark { text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: .3px; color: #fff; }
.mark b, .headline span { color: var(--blue); }
.links { display: flex; gap: 26px; }
.links a { color: #DCE3F2; text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; }
.langs button { background: none; border: 0; color: var(--muted); font: 700 12px/1 inherit; padding: 7px 8px; border-radius: 999px; cursor: pointer; }
.langs button[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.btn {
  background: linear-gradient(180deg, #3B9BFF, #1C6FF0); color: #fff; text-decoration: none; font-weight: 800;
  padding: 11px 20px; border-radius: 999px; box-shadow: 0 6px 24px rgba(46, 139, 255, .45); white-space: nowrap;
}

main { padding: 0 16px; }
section { max-width: 1180px; margin: 0 auto; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 10px; padding: 34px 0 10px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #C9D3EA; }
.headline { margin: 0; font-weight: 900; font-size: clamp(46px, 6.4vw, 84px); line-height: .98; letter-spacing: -1.5px; white-space: nowrap; }
.lead { font-size: clamp(16px, 1.7vw, 19px); color: #D5DCEC; max-width: 470px; margin: 18px 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.badge img { height: 76px; width: auto; margin: -11px; }
.optimized { display: flex; align-items: center; gap: 10px; color: #C9D3EA; font-weight: 600; margin: 26px 0 0; }
.optimized svg { width: 26px; height: 26px; color: #8FA3C8; }
.hero-art img {
  width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

/* ---------- screenshot tiles ---------- */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 18px 0 8px; }
.shots figure { margin: 0; }
.shots img {
  aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 18px;
  border: 2px solid rgba(77, 163, 255, .7);
  box-shadow: 0 0 24px rgba(46, 139, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.shots figure:nth-child(2) img { border-color: rgba(169, 112, 255, .8); box-shadow: 0 0 24px rgba(169, 112, 255, .35); }
.shots figure:nth-child(3) img { border-color: rgba(255, 140, 50, .85); box-shadow: 0 0 24px rgba(255, 122, 26, .4); }
.shots figure:nth-child(5) img { border-color: rgba(255, 71, 87, .75); box-shadow: 0 0 24px rgba(255, 71, 87, .35); }
.shots figcaption { margin-top: 10px; text-align: center; font-weight: 800; font-size: 14px; }

/* ---------- blocks / tiles ---------- */
.block { padding: 46px 0 4px; }
h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; margin: 0 0 18px; font-weight: 900; }
.row { display: grid; gap: 14px; }
.row.three { grid-template-columns: repeat(3, 1fr); }
.row.four { grid-template-columns: repeat(4, 1fr); }
.tile {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: var(--glass); border: 1px solid var(--edge); border-radius: 18px;
  backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.tile h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tile.compact { align-items: flex-start; }
.sym { width: 34px; height: 34px; flex: 0 0 auto; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .15)); }
.ico { flex: 0 0 auto; min-width: 74px; display: flex; align-items: center; justify-content: center; }
.ico.balls { display: grid; grid-template-columns: repeat(2, 30px); gap: 2px; }
.ico.balls.line { display: flex; gap: 3px; }
.ico.x8 { font-size: 44px; font-weight: 900; color: var(--yellow); text-shadow: 0 0 16px rgba(255, 140, 30, .7); }

/* glossy balls — same palette & lighting as the game */
.b {
  --c: var(--blue2); display: inline-block; width: 30px; height: 30px; border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, rgba(255, 255, 255, .95) 0 7%, transparent 9%),
    radial-gradient(circle at 36% 32%, color-mix(in srgb, var(--c) 55%, #fff) 0%, var(--c) 48%, color-mix(in srgb, var(--c) 62%, #000) 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .45), 0 0 14px color-mix(in srgb, var(--c) 40%, transparent);
}
.b.red { --c: var(--red); } .b.blue { --c: var(--blue2); } .b.green { --c: var(--green); }
.b.yellow { --c: var(--yellow); } .b.violet { --c: var(--violet); }
.b.big { width: 62px; height: 62px; }
.b.stone {
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .4) 0 6%, transparent 8%),
              radial-gradient(circle at 38% 34%, #D9DBDF 0%, #B7BBC3 50%, #7A7F89 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .45);
}
.b.rainbow {
  background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, .9) 0 7%, transparent 9%),
              radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .35), transparent 55%),
              conic-gradient(var(--red), var(--yellow), var(--green), var(--blue2), var(--violet), var(--red));
  animation: spin 6s linear infinite; box-shadow: 0 0 22px rgba(169, 112, 255, .5);
}
.b.eight {
  display: inline-grid; place-items: center;
  background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, .7) 0 6%, transparent 8%),
              radial-gradient(circle at 38% 34%, #5B616D 0%, #1B1E24 50%, #050608 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .3), 0 0 26px rgba(255, 122, 26, .65);
}
.b.eight span { width: 46%; height: 46%; border-radius: 50%; background: #F7F7F2; color: #111;
  display: grid; place-items: center; font-weight: 900; font-size: 19px; transform: translate(-6%, -8%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- watch ---------- */
.watch { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; }
.devices { position: relative; height: 380px; }
.watchface {
  position: absolute; left: 2%; top: 30px; width: 270px; height: 270px; border-radius: 50%; padding: 18px;
  background: repeating-conic-gradient(#2A3040 0 2deg, #171B26 2deg 5deg);
  box-shadow: 0 0 0 6px #10131C, 0 24px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(46, 139, 255, .25);
}
.watchface img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.phone {
  position: absolute; left: 42%; top: 0; width: 200px; aspect-ratio: 9 / 18; border-radius: 30px; padding: 8px;
  background: #0C0F18; transform: rotate(10deg);
  box-shadow: 0 0 0 2px #2B3346, 0 30px 70px rgba(0, 0, 0, .6), 0 0 50px rgba(169, 112, 255, .25);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; border-radius: 23px; }
.watch-text p { color: #D5DCEC; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { position: relative; padding-left: 32px; margin: 10px 0; color: #DCE3F2; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- FAQ ---------- */
.faq details { background: var(--glass); border: 1px solid var(--edge); border-radius: 14px; margin: 10px 0; backdrop-filter: blur(10px); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 16px; color: var(--muted); }

/* ---------- final / footer ---------- */
.final { text-align: center; padding: 60px 0 36px; display: grid; justify-items: center; gap: 12px; }
.foot {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center;
  padding: 24px 16px 40px; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--muted); font-size: 14px;
  background: rgba(7, 11, 26, .6);
}
.foot a { color: #DCE3F2; text-decoration: none; }
.foot small { flex-basis: 100%; text-align: center; opacity: .6; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) { .links { display: none; } .row.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 6px; }
  .hero-art { order: -1; margin: 0 -16px; }
  .hero-art img { border-radius: 0; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta, .optimized { justify-content: center; }
  .headline { white-space: normal; }
  .shots { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .row.three, .row.four { grid-template-columns: 1fr; }
  .watch { grid-template-columns: 1fr; }
  .devices { height: 330px; max-width: 420px; width: 100%; margin: 0 auto; }
  .watchface { width: 220px; height: 220px; left: 0; }
  .phone { width: 160px; left: auto; right: 4%; }
  .blob { opacity: .55; }
}
@media (max-width: 520px) { .nav { gap: 10px; } .btn { padding: 9px 14px; font-size: 13px; } }
@media (max-width: 400px) { .btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .b.rainbow { animation: none; } }
