:root {
  --bg: #0d0918;
  --bg2: #150f26;
  --card: #1a1330;
  --line: #2c2347;
  --fg: #f5f1ff;
  --muted: #a99fc6;
  --amber: #ffb02e;
  --pink: #ff3d6e;
  --magenta: #c13cff;
  --green: #4cff8f;
  --red: #ff3b4e;
  --radius: 22px;
  --display: "Bungee", "Rubik", system-ui, sans-serif;
  --body: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 9, 24, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--display); font-size: 17px; letter-spacing: .5px; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand.small { font-size: 14px; }
.brand.small img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }
.nav-links .get { color: #1a0d14; background: linear-gradient(90deg, var(--amber), var(--pink)); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.nav-links .lang { color: var(--fg); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
@media (max-width: 760px) {
  .nav-links a:not(.lang):not(.get):not(:last-of-type) { display: none; }
  .nav-links { gap: 12px; }
}
@media (max-width: 420px) {
  .nav-links a:not(.lang):not(.get) { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(193, 60, 255, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 90%, rgba(255, 61, 110, .25), transparent 60%),
    linear-gradient(180deg, #1a0f33 0%, var(--bg) 100%);
}
.bulbs {
  position: absolute; inset: 0 0 auto 0; height: 14px; margin-top: 10px;
  background-image: radial-gradient(circle, var(--amber) 3px, transparent 4px);
  background-size: 34px 14px; opacity: .55;
  animation: chase 1.2s steps(2) infinite;
}
@keyframes chase { to { background-position: 17px 0; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 64px); line-height: 1.08; margin: 0 0 20px; letter-spacing: .5px; }
.grad { background: linear-gradient(90deg, var(--amber), var(--pink) 60%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: #d9d1f0; max-width: 560px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.free { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.stats { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 28px; }
.stats li { display: flex; flex-direction: column; }
.stats span { color: var(--muted); font-size: 14px; }
.led { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--amber); text-shadow: 0 0 14px rgba(255, 176, 46, .6); }

/* Store button */
.store-btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 8px 22px; border-radius: 14px;
  background: #fff; color: #0d0918; text-decoration: none; line-height: 1.15;
  box-shadow: 0 10px 30px rgba(255, 61, 110, .25);
  transition: transform .15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .store-small { font-size: 12px; opacity: .7; }
.store-btn .store-big { font-size: 18px; font-weight: 600; }
.store-btn.big { min-height: 62px; padding: 10px 26px; }
.store-btn.soon { background: linear-gradient(90deg, var(--amber), var(--pink)); color: #1a0d14; cursor: default; }
.store-btn.soon:hover { transform: none; }

/* Phone mockup */
.phone {
  position: relative; width: 280px; aspect-ratio: 645 / 1398;
  padding: 10px; border-radius: 46px;
  background: linear-gradient(145deg, #3a3150, #120d1f);
  box-shadow: 0 0 0 2px #4a3f66 inset, 0 40px 80px rgba(0, 0, 0, .55);
}
.phone-screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 82px; height: 24px; border-radius: 20px; background: #000; }
.hero-art { position: relative; height: 620px; }
.hero-art .front { position: absolute; right: 90px; top: 0; z-index: 2; transform: rotate(-4deg); }
.hero-art .back { position: absolute; right: -40px; top: 60px; transform: rotate(7deg) scale(.88); opacity: .85; }
.float-ball { position: absolute; left: 0; top: 70px; width: 110px; z-index: 3; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-18px) rotate(25deg); } }
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { height: auto; display: flex; justify-content: center; padding: 10px 0 0; }
  .hero-art .front { position: relative; right: auto; top: auto; width: 230px; transform: rotate(-3deg); }
  .hero-art .back { display: none; }
  .float-ball { width: 70px; left: calc(50% - 160px); top: 0; }
}
@media (prefers-reduced-motion: reduce) { .bulbs, .float-ball { animation: none; } }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; text-align: center; }
.section-lead { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 44px; font-size: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature h3 { margin: 14px 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 26px; background: linear-gradient(145deg, rgba(255,176,46,.18), rgba(255,61,110,.18)); border: 1px solid rgba(255,176,46,.25); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .features { grid-template-columns: 1fr; } }

.modes { display: flex; flex-direction: column; gap: 64px; margin-top: 48px; }
.mode { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 900px; margin: 0 auto; }
.mode.rev { grid-template-columns: 1fr 300px; }
.mode.rev .mode-phone { order: 2; }
.mode-phone { width: 260px; justify-self: center; }
.tag { display: inline-block; font-family: var(--display); font-size: 13px; letter-spacing: 2px; color: var(--green); padding: 4px 12px; border: 1px solid rgba(76,255,143,.35); border-radius: 999px; }
.mode h3 { font-size: 28px; margin: 14px 0 8px; }
.mode p { color: #d3cbea; font-size: 18px; margin: 0; }
@media (max-width: 760px) {
  .mode, .mode.rev { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .mode.rev .mode-phone { order: 0; }
  .mode-phone { width: 220px; }
}

.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 20px 36px; justify-content: safe center; }
.gallery-phone { flex: 0 0 auto; width: 240px; scroll-snap-align: center; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.note { color: var(--muted); font-size: 13px; text-align: center; margin: 0; }

.balls { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.balls img { width: 72px; height: 72px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); transition: transform .2s; }
.balls img:hover { transform: translateY(-6px) rotate(20deg); }
.arenas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
.arenas img { width: 100%; aspect-ratio: 470 / 420; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 700px) { .arenas { grid-template-columns: 1fr 1fr; } }
.power h3 { margin: 0 0 16px; font-size: 21px; }
.power-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.power-grid div { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.power-grid b { color: var(--amber); }
.power-grid span { color: var(--muted); font-size: 15px; }
.power .muted { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 640px) { .power-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #d3cbea; }

/* CTA */
.cta-card {
  text-align: center; padding: 56px 24px; border-radius: 32px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,176,46,.25), transparent 70%), linear-gradient(145deg, #2a1650, #1a0f33);
  border: 1px solid #3c2a66;
}
.cta-card img { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.cta-card h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 40px); margin: 0 0 10px; }
.cta-card p { color: #d3cbea; margin: 0 auto 26px; max-width: 520px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-footer nav a:hover { color: var(--fg); }
.copy { width: 100%; color: var(--muted); font-size: 13px; margin: 0; }

/* Documents */
.doc { max-width: 800px; padding-top: 40px; padding-bottom: 40px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 18px 0 8px; }
.back { color: var(--muted); text-decoration: none; font-size: 15px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: #e2dbf5; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose em { color: var(--fg); font-style: normal; font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: rgba(255,255,255,.04); color: var(--muted); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.contact { margin-top: 24px; }
.contact h2 { margin-top: 0; }
.mail { font-size: 22px; font-weight: 600; }
