:root {
  --bg: #07111f;
  --card: rgba(10, 22, 42, .72);
  --line: rgba(0, 242, 255, .22);
  --cyan: #00f2ff;
  --gold: #e8c547;
  --text: #eaf6ff;
  --muted: #8aa4bd;
  --ok: #4dffc2;
  --bad: #ff5d8f;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", system-ui, sans-serif; }
body { overflow-x: hidden; }
button { font-family: inherit; }
.grid {
  position: fixed; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(0,242,255,.055) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(0,242,255,.055) 1px, transparent 1px) 0 0 / 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 8%, #000 18%, transparent 78%);
}
.glow { position: fixed; pointer-events: none; filter: blur(10px); }
.glow.a { top: -140px; left: 8%; width: 70%; height: 280px; background: radial-gradient(circle, rgba(0,242,255,.2), transparent 70%); }
.glow.b { top: 38%; right: -20%; width: 240px; height: 240px; background: radial-gradient(circle, rgba(232,197,71,.12), transparent 70%); }
main { position: relative; padding: 16px 16px 36px; max-width: 430px; margin: 0 auto; }

.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.brand { letter-spacing: .18em; font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.pro {
  letter-spacing: .12em; font-size: 9px; font-weight: 800; color: #04140c;
  background: linear-gradient(180deg, #8dffc8, #2ee38a); border-radius: 999px; padding: 3px 7px;
  box-shadow: 0 0 12px rgba(46,227,138,.45);
}
.pill {
  border: 1px solid var(--line); color: var(--cyan); padding: 6px 11px; border-radius: 999px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,242,255,.06); box-shadow: 0 0 16px rgba(0,242,255,.12);
}

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px;
  box-shadow: 0 0 40px rgba(0,242,255,.06), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
}
.kicker { color: var(--gold); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }

.hero-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
h1 { font-size: 34px; font-weight: 800; letter-spacing: .02em; line-height: 1; margin-bottom: 8px; }
.hero.off h1 { color: var(--bad); text-shadow: 0 0 18px rgba(255,93,143,.55); }
.hero.ok h1 { color: var(--ok); text-shadow: 0 0 18px rgba(77,255,194,.45); }
#status-sub { color: var(--muted); font-size: 11px; letter-spacing: .04em; max-width: 210px; line-height: 1.35; }

.globe { width: 92px; height: 92px; flex: 0 0 92px; filter: drop-shadow(0 0 12px rgba(0,242,255,.45)); }
.globe svg { width: 100%; height: 100%; }
.globe .mer, .globe .lat { fill: none; stroke: rgba(180,245,255,.55); stroke-width: 1; }
.globe .orb { stroke: rgba(0,242,255,.4); stroke-width: 1.2; }
.globe .dot { fill: #fff; filter: drop-shadow(0 0 4px #00f2ff); }
.globe svg { animation: spin 18s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.metric {
  background: rgba(0,242,255,.05); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 8px 8px; text-align: center; min-height: 76px;
}
.metric em { display: block; font-style: normal; color: var(--cyan); font-size: 18px; font-weight: 800; }
.metric span { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.spark { width: 100%; height: 14px; margin-top: 4px; }
.spark path { fill: none; stroke: #e8c547; stroke-width: 1.6; }
.bars { display: flex; gap: 3px; align-items: flex-end; justify-content: center; height: 14px; margin-top: 4px; }
.bars i { width: 5px; background: var(--cyan); border-radius: 2px; opacity: .85; }
.bars i:nth-child(1) { height: 40%; }
.bars i:nth-child(2) { height: 70%; }
.bars i:nth-child(3) { height: 55%; }
.bars i:nth-child(4) { height: 92%; }
.bars i:nth-child(5) { height: 62%; }

.actions { display: grid; gap: 10px; margin-bottom: 12px; }
.btn {
  appearance: none; border: 0; cursor: pointer; width: 100%;
  border-radius: 16px; padding: 14px 16px; font-weight: 750; font-size: 15px;
}
.btn.primary {
  background: linear-gradient(90deg, #00e8ff, #4d7cff); color: #041018;
  box-shadow: 0 8px 24px rgba(0,232,255,.28);
}
.btn.gold {
  background: linear-gradient(90deg, #f0d36a 0%, #9fd9d2 48%, #3ee0ff 100%);
  color: #0a1628; box-shadow: 0 0 28px rgba(0,242,255,.28), 0 8px 18px rgba(232,197,71,.22);
}
.btn.ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line); margin-top: 8px;
}

.sel-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sel-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #d9f7ff; }
.sel-title svg { color: var(--cyan); }
.dd {
  border: 1px solid var(--line); background: rgba(0,242,255,.08); color: var(--text);
  border-radius: 999px; padding: 7px 12px; font-size: 12px; cursor: pointer;
}
.sel-menu {
  margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: rgba(6,14,28,.92);
}
.sel-menu button {
  display: block; width: 100%; text-align: left; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid rgba(0,242,255,.1); padding: 10px 12px; cursor: pointer;
}
.sel-menu button:last-child { border-bottom: 0; }
.sel-visual { display: grid; grid-template-columns: 1.3fr .9fr; gap: 10px; margin-top: 12px; align-items: center; }
.map {
  height: 92px; border-radius: 14px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 42%, rgba(0,242,255,.18), transparent 28%),
    radial-gradient(circle at 68% 50%, rgba(80,140,255,.12), transparent 32%),
    linear-gradient(180deg, #0a1a33, #07101c);
  border: 1px solid var(--line);
}
.map::after {
  content: ""; position: absolute; inset: 10px 8px;
  background:
    radial-gradient(1px 1px at 18% 40%, #7af0ff 99%, transparent),
    radial-gradient(1px 1px at 30% 55%, #7af0ff 99%, transparent),
    radial-gradient(1px 1px at 48% 38%, #7af0ff 99%, transparent),
    radial-gradient(1px 1px at 62% 60%, #7af0ff 99%, transparent),
    radial-gradient(1px 1px at 74% 44%, #7af0ff 99%, transparent),
    radial-gradient(1px 1px at 82% 62%, #7af0ff 99%, transparent);
  opacity: .7;
}
.ping { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.ping::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(0,242,255,.6);
  animation: pulse 2.2s ease-out infinite;
}
.p1 { left: 58%; top: 28%; }
.p2 { left: 28%; top: 48%; }
.p3 { left: 72%; top: 58%; }
@keyframes pulse { to { transform: scale(2.2); opacity: 0; } }
.gauges { display: flex; justify-content: space-between; gap: 2px; padding-bottom: 12px; }
.gauge { width: 52px; text-align: center; position: relative; }
.gauge svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.gauge .bg { fill: none; stroke: rgba(0,242,255,.14); stroke-width: 3.2; }
.gauge .val { fill: none; stroke: var(--cyan); stroke-width: 3.2; stroke-linecap: round; }
.gauge b { position: absolute; left: 0; right: 0; top: 14px; font-size: 10px; font-weight: 800; }
.gauge span { display: block; margin-top: 2px; font-size: 8px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.plans-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 6px 2px 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; }
.chip {
  border: 1px solid var(--line); background: rgba(0,242,255,.05); color: var(--muted);
  border-radius: 999px; padding: 6px 10px; font-size: 10px; letter-spacing: .04em; white-space: nowrap; cursor: pointer;
}
.chip.on { color: #041018; background: linear-gradient(90deg, #00f2ff, #7ad7ff); border-color: transparent; font-weight: 700; }

.plan {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 12px; margin-bottom: 8px;
}
.plan.hot { box-shadow: 0 0 18px rgba(0,242,255,.12); border-color: rgba(0,242,255,.45); }
.plan .ico {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(0,242,255,.08); border: 1px solid var(--line); font-size: 16px;
}
.plan b { display: block; font-size: 14px; }
.plan small { color: var(--muted); font-size: 11px; }
.plan .mid { flex: 1; }
.plan .buy {
  border: 0; border-radius: 12px; padding: 9px 12px; min-width: 72px;
  background: rgba(0,242,255,.14); color: var(--cyan); font-weight: 800; cursor: pointer;
  box-shadow: 0 0 14px rgba(0,242,255,.18);
}

.hint { color: var(--muted); font-size: 12px; margin: 8px 0; }
.happ-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.happ-dl button {
  appearance: none; border: 1px solid var(--line); cursor: pointer;
  border-radius: 14px; padding: 11px 10px; font-weight: 700; font-size: 12px;
  background: rgba(0,242,255,.06); color: var(--text);
}
.happ-dl button.here {
  border-color: rgba(0,242,255,.55); color: var(--cyan);
  box-shadow: 0 0 14px rgba(0,242,255,.18);
}
.hidden { display: none !important; }
.foot { margin-top: 18px; text-align: center; }
.os { display: flex; justify-content: center; gap: 10px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.os button {
  appearance: none; border: 0; background: transparent; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
  padding: 4px 2px;
}
.os button.here { color: var(--cyan); }
.handle { color: var(--cyan); letter-spacing: .16em; font-size: 11px; opacity: .8; }
.pay-sheet {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(4, 10, 18, .72);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 16px 28px;
}
.pay-sheet.hidden { display: none !important; }
.pay-card {
  width: min(430px, 100%);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
.pay-card .btn { margin-top: 8px; }
