:root {
  --bg: #07081A; --surface: #10122B; --surface2: #181B3D; --edge: rgba(255,255,255,.10);
  --text: #F1F2FF; --muted: #8E93BD; --ember: #8C5CFF; --signal: #35E6F2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--ember); }
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1040px; margin: 0 auto; padding: 18px 16px;
}
.brand { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { border-radius: 10px; }
.langs a { color: var(--muted); text-decoration: none; margin-inline-start: 14px; font-weight: 600; }
.langs a:hover { color: var(--text); }

.hero {
  max-width: 1040px; margin: 0 auto; padding: 40px 16px 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ember); color: #fff;
  padding: 14px 22px; border-radius: 16px; font-weight: 700; text-decoration: none;
}
.btn.ghost { background: transparent; border: 1px solid var(--edge); color: var(--text); margin-inline-start: 10px; }
.phone {
  justify-self: center; width: min(300px, 80vw); aspect-ratio: 9/19; border-radius: 36px;
  background: linear-gradient(180deg, #242833, #181B22); border: 1px solid var(--edge);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 8px #0f1116; padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.phone .row { display: flex; gap: 16px; }
.key { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(#2a2e3a,#1b1e26); border: 1px solid var(--edge); }
.key.power { box-shadow: inset 0 0 0 2px rgba(255,59,78,.6); }
.dpad { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(#262a35,#191c23); border: 1px solid var(--edge); display: grid; place-items: center; }
.dpad span { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(#ff6a40,#e04a20); display: grid; place-items: center; font-weight: 700; color: #fff; box-shadow: 0 0 30px rgba(255,91,46,.35); }

.features { max-width: 1040px; margin: 0 auto; padding: 24px 16px 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: 22px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); margin-bottom: 14px; box-shadow: 0 0 12px var(--signal); }

.doc { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
.doc section { background: var(--surface); border: 1px solid var(--edge); border-radius: 24px; padding: 28px; margin-bottom: 24px; }
.doc h1 { margin-top: 0; font-size: 30px; }
.doc h2 { font-size: 19px; margin-top: 28px; }
.muted { color: var(--muted); }
.foot { text-align: center; color: var(--muted); padding: 24px 16px 40px; font-size: 14px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .features { grid-template-columns: 1fr; }
  .btn.ghost { margin: 10px 0 0; }
  .doc section { padding: 20px; }
}
.btn { background: linear-gradient(135deg, #35E6F2, #8C5CFF); }
.hero h1 { background: linear-gradient(90deg, #35E6F2, #8C5CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv { justify-self: center; width: min(420px, 86vw); aspect-ratio: 16/9; border-radius: 16px; border: 6px solid #2A2D55;
  background: linear-gradient(#FF9A5A, #FF5FCB 55%, #5B2EB5); box-shadow: 0 0 80px rgba(140,92,255,.45); position: relative; overflow: hidden; }
.tv::before { content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #FFE3A0; left: 58%; top: 34%; }
.tv::after { content: ""; position: absolute; inset: 62% -10% -20% -10%; background: #2A1560; border-radius: 50% 50% 0 0; }
