:root{
  --bg:#07070b;
  --panel:rgba(255,255,255,.055);
  --stroke:rgba(255,255,255,.11);
  --text:#eef0f5;
  --muted:#a9b1c4;
  --gold:#d4af37;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(900px 520px at 18% 8%,rgba(215,221,233,.11),transparent),
    radial-gradient(750px 460px at 85% 28%,rgba(212,175,55,.075),transparent),
    var(--bg);
}

a{color:inherit}

.page{
  width:min(980px,calc(100% - 32px));
  margin:0 auto;
  padding:24px 0 50px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:20px;
}

.brand{
  text-decoration:none;
  color:#cbd1dc;
  font-size:14px;
  font-weight:900;
  letter-spacing:.20em;
}

.back{
  padding:9px 13px;
  border:1px solid var(--stroke);
  border-radius:11px;
  text-decoration:none;
  color:var(--text);
  background:rgba(255,255,255,.035);
  font-size:13px;
  font-weight:800;
}

.hero,
.card{
  border:1px solid var(--stroke);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  box-shadow:0 24px 65px rgba(0,0,0,.42);
}

.hero{
  padding:24px;
}

.identity{
  display:flex;
  align-items:center;
  gap:18px;
}

.flag{
  width:94px;
  height:64px;
  object-fit:cover;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 16px 34px rgba(0,0,0,.35);
}

h1{
  margin:0;
  font-size:clamp(32px,7vw,66px);
  line-height:1;
  letter-spacing:.045em;
}

.code{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:900;
  letter-spacing:.20em;
}

.liveRow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.liveBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(71,255,139,.24);
  background:rgba(44,190,103,.10);
  color:#8dffb7;
  font-size:11px;
  font-weight:900;
  letter-spacing:.15em;
}

.liveDot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#44f58a;
  animation:pulse 2.2s ease-out infinite;
}

.updated{
  color:var(--muted);
  font-size:12px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.stat{
  padding:18px;
  border:1px solid var(--stroke);
  border-radius:16px;
  background:rgba(255,255,255,.035);
}

.label{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.value{
  font-size:clamp(28px,5vw,44px);
  font-weight:900;
  line-height:1;
}

.videoCard{
  margin-top:18px;
  padding:18px;
}

.videoActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.button{
  min-height:44px;
  padding:11px 16px;
  border:0;
  border-radius:12px;
  cursor:pointer;
  font:inherit;
  font-weight:900;
}

.primary{
  color:#0b0b0f;
  background:linear-gradient(135deg,#e4e8f0,#929bad);
}

.secondary{
  color:var(--text);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
}

.video{
  display:none;
  width:100%;
  height:min(520px,56vw);
  min-height:260px;
  margin-top:16px;
  border:0;
  border-radius:14px;
  background:#000;
}

.video.visible{display:block}

.other{
  margin-top:18px;
  padding:20px;
}

.other h2{
  margin:0 0 14px;
  font-size:15px;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.otherGrid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}

.otherLink{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px;
  border:1px solid var(--stroke);
  border-radius:12px;
  text-decoration:none;
  background:rgba(255,255,255,.03);
  overflow:hidden;
}

.otherLink img{
  width:28px;
  height:19px;
  object-fit:cover;
  border-radius:3px;
  flex:0 0 auto;
}

.otherLink span{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:12px;
  font-weight:800;
}

.error{
  padding:30px;
  text-align:center;
  color:#ffb6b6;
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(68,245,138,.48)}
  70%{box-shadow:0 0 0 8px rgba(68,245,138,0)}
  100%{box-shadow:0 0 0 0 rgba(68,245,138,0)}
}

@media(max-width:700px){
  .page{width:min(100% - 22px,980px);padding-top:14px}
  .hero{padding:17px}
  .identity{align-items:flex-start}
  .flag{width:70px;height:47px}
  .stats{grid-template-columns:1fr}
  .otherGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .videoActions,.button{width:100%}
  .video{height:56vw;min-height:210px}
}

@media(prefers-reduced-motion:reduce){
  .liveDot{animation:none}
}


/* ==========================================================
   LAUNCH UX V1 — STATE PAGE
   ========================================================== */

.launchStateMotivation{
  margin:18px 0;
  padding:18px;
  border:1px solid rgba(151,116,255,.35);
  border-radius:16px;
  background:
    radial-gradient(
      500px 150px at 10% 0%,
      rgba(111,76,255,.19),
      transparent 75%
    ),
    rgba(255,255,255,.028);
  box-shadow:0 16px 38px rgba(0,0,0,.22);
}

.launchStateMotivationLabel{
  margin-bottom:7px;
  color:#aeb5c8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
}

.launchStateMotivationTitle{
  color:#fff;
  font-size:22px;
  line-height:1.25;
  font-weight:900;
}

.launchStateMotivationText{
  margin-top:7px;
  color:#cfd4e2;
  font-size:14px;
  line-height:1.55;
}

.launchStateZero{
  border-color:rgba(98,217,255,.36);
  background:
    radial-gradient(
      500px 150px at 10% 0%,
      rgba(98,217,255,.16),
      transparent 75%
    ),
    rgba(255,255,255,.028);
}

.launchStatePrimary{
  min-height:52px !important;
  padding:15px 23px !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  box-shadow:
    0 12px 30px rgba(92,55,220,.31) !important;
}

.launchStateShare{
  border-color:rgba(255,255,255,.19) !important;
  font-weight:800 !important;
}

@media(max-width:700px){
  .launchStateMotivation{
    padding:15px;
  }

  .launchStateMotivationTitle{
    font-size:19px;
  }

  .launchStatePrimary,
  .launchStateShare{
    width:100% !important;
  }
}
