:root{
  --bg:#070b14;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --line:rgba(255,255,255,.10);
  --glass:rgba(255,255,255,.06);

  --blue:#4c7dff;
  --cyan:#22d3ee;
  --violet:#a78bfa;
  --warn:#fbbf24;

  --r:18px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

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

/* Background */
.bg{ position:fixed; inset:0; z-index:-1; overflow:hidden; }
.bg .grid{
  position:absolute; inset:-20%;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(900px) rotateX(55deg) translateY(-120px);
  opacity:.22;
}
.glow{
  position:absolute;
  width: 560px; height:560px;
  filter: blur(80px);
  opacity:.35;
  border-radius: 50%;
}
.g1{ left:-140px; top:-120px; background: radial-gradient(circle, var(--blue), transparent 60%); }
.g2{ right:-160px; top:120px; background: radial-gradient(circle, var(--violet), transparent 60%); }
.g3{ left:35%; bottom:-260px; background: radial-gradient(circle, var(--cyan), transparent 60%); opacity:.25; }

/* Layout */
.shell{ width:min(1040px, 100%); margin:0 auto; padding: 0 16px; }
.shell-inner{ margin-top: 14px; }

.top{ padding: 18px 0 8px; }

.section-head{
  margin: 12px 0 10px;
}
.section-head h2{ margin: 0 0 6px; font-size: 18px; }
.muted{ color: var(--muted); }
.small{ font-size: 12px; }

/* Glass card with gradient border */
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  position: relative;
}
.card-border{
  pointer-events:none;
  position:absolute; inset:0;
  border-radius: var(--r);
  padding:1px;
  background: linear-gradient(135deg, rgba(76,125,255,.55), rgba(34,211,238,.35), rgba(167,139,250,.45));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:.55;
}

.card{ padding: 16px; }
.hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  padding: 18px;
}
@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; }
}

.brand{
  display:flex;
  gap: 12px;
  align-items:center;
}
.logo{
  width:54px; height:54px;
  border-radius: 16px;
  display:grid; place-items:center;
  font-weight: 900;
  letter-spacing: .5px;
  background: linear-gradient(135deg, rgba(76,125,255,.9), rgba(34,211,238,.55));
  box-shadow: 0 10px 30px rgba(76,125,255,.25);
}
.hero h1{
  margin:0;
  font-size: 22px;
  line-height:1.15;
}
.hero p{ margin: 6px 0 0; font-size: 13px; }

.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 14px; }
.chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}

.hero-cta{ display:flex; gap:10px; margin-top: 16px; flex-wrap:wrap; }

/* Stats */
.hero-right{ display:grid; gap:10px; }
.stat{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  border-radius: 14px;
  padding: 12px;
}
.stat-k{ font-size: 12px; color: var(--muted); }
.stat-v{ font-size: 14px; font-weight: 900; margin-top: 4px; }
.stat-s{ font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  text-decoration:none;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  user-select:none;
}
.btn .ico{ width:18px; height:18px; display:inline-flex; }
.btn svg{ width:18px; height:18px; }

.btn.primary{
  background: linear-gradient(135deg, rgba(76,125,255,.95), rgba(34,211,238,.65));
  color: white;
  box-shadow: 0 10px 28px rgba(76,125,255,.22);
}
.btn.primary:hover{ transform: translateY(-1px); }

.btn.ghost{
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-color: rgba(255,255,255,.12);
}
.btn.ghost:hover{ transform: translateY(-1px); }

.btn.secondary{
  background: rgba(0,0,0,.22);
  color: var(--text);
  border-color: rgba(255,255,255,.12);
}
.btn.secondary:hover{ transform: translateY(-1px); }

.w100{ width:100%; }

/* Ad slot box */
.ad-box{
  padding: 14px;
  border-radius: var(--r);
}
.ad-label{ font-weight: 900; font-size: 13px; }
.ad-hint{ font-size: 12px; margin-top: 6px; }

/* Method cards */
.cards{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding-bottom: 14px;
}
.cards .card{
  grid-column: span 6;
}
@media (max-width: 860px){
  .cards .card{ grid-column: span 12; }
}

.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.title{ display:flex; gap:10px; align-items:center; }
h3{ margin: 0; font-size: 16px; }

.badge{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(76,125,255,.18);
  border: 1px solid rgba(76,125,255,.30);
}
.badge.ghost{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.badge.warn{
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.30);
}
.mini-ico{
  width: 22px; height: 22px;
  opacity:.9;
}
.mini-ico svg{ width:22px; height:22px; }

.qr-wrap{
  margin-top: 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.15);
  background: rgba(0,0,0,.22);
}
.qr-wrap img{
  width: 240px;
  max-width: 100%;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.row{ display:flex; align-items:center; gap:10px; margin-top: 10px; flex-wrap:wrap; }
.hint{ font-size: 12px; color: var(--muted); }

.mono{
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  word-break: break-all;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.12);
  padding: 10px;
  border-radius: 14px;
}

.callout{
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 13px;
}
.callout.warn{
  border-color: rgba(251,191,36,.28);
  box-shadow: 0 10px 30px rgba(251,191,36,.08);
}

.code{
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  font-size: 13px;
}
code{
  background: rgba(255,255,255,.06);
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
}

/* Footer */
.footer{ margin-top: 6px; padding-bottom: 22px; }
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px;
}
@media (max-width: 720px){
  .foot{ flex-direction:column; align-items:stretch; }
}
.foot-title{ font-weight: 900; }
