/* Minimal, fast, centered. */
:root{
  --bg:#070a12;
  --card:#0b1020;
  --card2:#0a0f1c;
  --text:#e8ecff;
  --muted:#a9b1d6;
  --line:rgba(255,255,255,.08);
  --accent:#7c5cff;
  --accent2:#30d5c8;
  --shadow: 0 20px 80px rgba(0,0,0,.45);
  --radius:20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
}

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(700px 400px at 80% 20%, rgba(48,213,200,.18), transparent 60%),
    radial-gradient(900px 500px at 60% 90%, rgba(124,92,255,.10), transparent 60%);
  pointer-events:none;
}

.wrap{
  position:relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

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

.brand{display:flex; align-items:center; gap:12px}
.logo{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(48,213,200,.85));
  color:#071018;
  font-weight:900;
}

.brand-title{font-weight:800; letter-spacing:.2px}
.brand-sub{color:var(--muted); font-size:13px; margin-top:2px}

.lang{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.chip{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:650;
  font-size:13px;
}
.chip.active{
  border-color: rgba(124,92,255,.55);
  background: rgba(124,92,255,.15);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero{padding:22px; margin-bottom:16px}
h1{margin:0 0 8px; font-size:28px; line-height:1.2}
h2{margin:0 0 10px; font-size:18px}

.muted{color:var(--muted)}
.nowrap{white-space:nowrap}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:900;
}

.box{
  margin-top:16px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
}

.field{margin:10px 0}
.label{font-size:12px; color:var(--muted); margin-bottom:6px}
.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.code{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-size:16px;
  font-weight:800;
  letter-spacing:.6px;
}

.input{
  flex:1;
  min-width: 240px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.btn{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  font-weight:750;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}

.btn.primary{
  border-color: rgba(124,92,255,.55);
  background: rgba(124,92,255,.22);
}
.btn.ghost{
  background: rgba(0,0,0,.0);
}

.note{
  min-height: 20px;
  margin-top:10px;
  font-size:13px;
  color: var(--muted);
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:16px;
}
@media (max-width: 760px){
  .grid{grid-template-columns: 1fr}
  h1{font-size:24px}
}

.mini{
  padding:14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.mini-title{font-weight:850; margin-bottom:8px}
.olist, .ulist{margin:0; padding-left:18px; color: var(--muted)}
.olist li, .ulist li{margin:6px 0}

.faq{padding:18px}
details{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  background: rgba(0,0,0,.18);
  margin-top:10px;
}
summary{cursor:pointer; font-weight:800}
details p{color: var(--muted); margin:10px 0 0}

.foot{
  margin-top: 14px;
  padding: 14px 18px;
}
.foot-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.foot a{color: var(--muted); text-decoration:none}
.foot a:hover{color: var(--text)}
.ad{
  margin-top: 14px;
  padding-top: 10px;
}
.hidden{display:none}
