@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0d1117;
  --bg2:      #161b22;
  --bg3:      #1c2330;
  --border:   #30363d;
  --text:     #ffffff;
  --muted:    #ccddee;
  --accent:   #3B8FD0;
  --accent2:  #2d6;
  --accent3:  #fa0;
  --live:     #2d6;
  --subtle:   #a8bfd0;
  --font-body: 'Barlow', sans-serif;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }

/* ── NAV ── */
header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.logo { display: flex; flex-direction: column; justify-content: center; text-decoration: none; }
.logo-name {
  font-family: var(--font-head); font-size: 20px; letter-spacing: 3px;
  color: var(--accent); display: flex; align-items: center; gap: 8px;
}
.logo-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }
.logo-sub { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; }

nav { display: flex; gap: 2px; }
nav a {
  color: var(--muted); font-family: var(--font-body); font-size: 13px;
  padding: 6px 13px; border-radius: 4px;
  text-decoration: none; transition: .15s; letter-spacing: .3px;
}
nav a:hover { color: var(--text); background: var(--bg3); }
nav a.active { color: var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0; }

/* ── LAYOUT ── */
.page { display: none; }
.page.active { display: block; }
.inner { max-width: 1000px; margin: 0 auto; padding: 40px 24px; }

.status-banner {
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.25);
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 100%;
}
.banner-icon { font-size: 13px; color: #f59e0b; flex-shrink: 0; margin-top: 1px; letter-spacing: 1px; }
.banner-title { font-size: 12px; font-weight: 700; color: #f59e0b; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; font-family: var(--font-mono); }
.banner-text { font-size: 12px; color: #cbd5e1; line-height: 1.75; font-family: var(--font-mono); }
.banner-date { font-size: 10px; color: var(--subtle); margin-top: 8px; letter-spacing: .5px; font-family: var(--font-mono); }



/* ── HERO ── */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px 52px;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background: repeating-linear-gradient(90deg,transparent,transparent 39px,var(--border) 39px,var(--border) 40px);
  opacity: .12;
}
.hero-inner { max-width: 1000px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(45,102,68,.12); border: 1px solid rgba(45,221,102,.2);
  color: var(--live); font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 20px; letter-spacing: 1px;
}
.hero h1 {
  font-family: var(--font-head); font-size: 48px; font-weight: 700;
  letter-spacing: 1px; line-height: 1.1; margin-bottom: 14px; color: #fff;
}
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); max-width: 520px; font-size: 16px; margin-bottom: 30px; }
.btn-primary {
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 1px; padding: 11px 24px; border: none; border-radius: 4px;
  cursor: pointer; text-decoration: none; display: inline-block; transition: .15s;
}
.btn-primary:hover { background: #5aaae0; transform: translateY(-1px); }
.btn-ghost {
  background: none; border: 1px solid var(--border); color: var(--muted);
  font-family: var(--font-head); font-size: 15px; letter-spacing: 1px;
  padding: 11px 24px; border-radius: 4px; cursor: pointer; margin-left: 10px;
  text-decoration: none; display: inline-block; transition: .15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── STAT ROW ── */
.stat-row {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex;
}
.stat-row-inner {
  max-width: 1000px; margin: 0 auto; padding: 20px 24px;
  display: flex; gap: 0; width: 100%;
}
.stat { flex: 1; text-align: center; padding: 4px 0; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-n { font-family: var(--font-mono); font-size: 22px; color: var(--accent); }
.stat-l { font-size: 11px; color: var(--muted); letter-spacing: .5px; margin-top: 2px; }

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase;
}
h2 { font-family: var(--font-head); font-size: 28px; font-weight: 600; color: #ffffff; margin-bottom: 12px; }
h3 { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
p { color: var(--muted); margin-bottom: 16px; line-height: 1.7; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-top: 8px; }
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.card-icon { font-family: var(--font-mono); font-size: 12px; color: var(--accent3); margin-bottom: 8px; }

/* ── TG TABLE ── */
.tg-section { margin-bottom: 32px; }
.tg-section-header {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--accent); letter-spacing: 1px; padding: 8px 0;
  border-bottom: 1px solid var(--border); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.tg-count {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  background: var(--bg3); padding: 2px 7px; border-radius: 3px;
}
table.tg-table { width: 100%; border-collapse: collapse; }
table.tg-table tr { border-bottom: 1px solid var(--bg3); }
table.tg-table tr:last-child { border-bottom: none; }
table.tg-table td { padding: 6px 8px; font-size: 13px; }
table.tg-table td:first-child { font-family: var(--font-mono); color: var(--subtle); width: 80px; }
table.tg-table td:last-child { color: var(--muted); }
table.tg-table tr.live td { background: rgba(45,221,102,.05); }
table.tg-table tr.live td:first-child { color: var(--live); }
table.tg-table tr.live td:last-child { color: var(--text); }
.live-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 9px;
  color: var(--live); border: 1px solid rgba(45,221,102,.3);
  padding: 1px 5px; border-radius: 2px; margin-left: 6px; letter-spacing: 1px;
  vertical-align: middle;
}

/* ── LISTEN PAGE ── */
.listen-hero {
  background: var(--bg2); border: 1px solid var(--accent);
  border-radius: 8px; padding: 32px; text-align: center; margin-bottom: 28px;
}
.listen-hero h2 { margin-bottom: 6px; }
.listen-hero p { font-size: 13px; margin-bottom: 0; }
.big-btn {
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  letter-spacing: 2px; padding: 16px 44px; border: none; border-radius: 4px;
  cursor: pointer; transition: .15s; display: inline-block;
  text-decoration: none; margin-top: 14px;
}
.big-btn:hover { background: #5aaae0; transform: scale(1.02); }
.instruction-block {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: 20px; margin-bottom: 14px;
}
.step-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent3); margin-bottom: 6px; letter-spacing: 1px; }
.code-line {
  font-family: var(--font-mono); font-size: 13px; color: var(--live);
  background: var(--bg3); border: 1px solid var(--border);
  padding: 8px 12px; border-radius: 4px; margin-top: 8px;
  word-break: break-all;
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: rgba(255,170,0,.06); border: 1px solid rgba(255,170,0,.2);
  border-radius: 4px; padding: 12px 16px;
  font-size: 12px; color: rgba(255,200,80,.85); font-family: var(--font-mono);
  margin-bottom: 24px; line-height: 1.7;
}

/* ── CONTACT ── */
.contact-wrap { max-width: 500px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-family: var(--font-mono); color: var(--muted); letter-spacing: 1px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 14px;
  padding: 10px 12px; border-radius: 4px; outline: none; transition: .15s;
  appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { height: 110px; resize: vertical; }

/* ── COMING SOON ── */
.coming-soon {
  border: 1px dashed var(--border); border-radius: 6px;
  padding: 32px; text-align: center; color: var(--muted);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 1px;
}
.coming-soon span { display: block; font-size: 24px; margin-bottom: 10px; color: var(--border); }

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1000px; margin: 0 auto; padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-l { font-family: var(--font-mono); font-size: 11px; color: var(--subtle); }
.footer-r { font-family: var(--font-mono); font-size: 11px; color: var(--subtle); }

/* ── MOBILE ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  nav a { padding: 6px 8px; font-size: 12px; }
  .stat-row-inner { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; border-left: none !important; border-top: 1px solid var(--border); }
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
}
