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

:root {
  --bg:       #060b18;
  --bg2:      #0a1020;
  --card:     rgba(8,14,28,0.92);
  --text:     #f0f6ff;
  --muted:    #6b7fa3;
  --line:     rgba(100,160,255,0.12);
  --cyan:     #00e5ff;
  --green:    #00ff7f;
  --red:      #ff2d5e;
  --pink:     #ff006e;
  --amber:    #ffcc00;
  --purple:   #9b5de5;
  --mono:     'Space Mono', monospace;
  --sans:     'Space Grotesk', system-ui, sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0,229,255,.10), transparent),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(155,93,229,.12), transparent),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255,0,110,.06), transparent),
    linear-gradient(180deg, #060b18 0%, #080d1e 100%);
  min-height: 100vh;
}

/* ── AUTH SHELL ────────────────────────────────────── */
.auth-shell { display: grid; place-items: center; min-height: 100vh; padding: 32px; }

.auth-card {
  width: min(460px, 100%);
  padding: 36px 32px;
  background: var(--card);
  border: 1px solid rgba(0,229,255,.18);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(0,229,255,.04),
    0 24px 64px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.04);
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  margin-bottom: 10px;
}

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.subcopy, .muted, .micro {
  color: var(--muted);
  font-size: 13px;
}

/* ── FORMS ──────────────────────────────────────────── */
.auth-form { display: grid; gap: 14px; margin-top: 22px; }

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

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.4);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color .2s;
  outline: none;
}

input:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,.08);
}

textarea {
  font-family: var(--mono);
  font-size: 12px;
  resize: vertical;
  min-height: 130px;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--cyan) 0%, #6fb7ff 100%);
  color: #03111c;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  transition: opacity .2s, transform .1s;
}

button:hover { opacity: .9; transform: translateY(-1px); }
button:active { transform: translateY(0); }

.ghost-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 13px;
}

.ghost-btn:hover { color: var(--text); border-color: rgba(100,160,255,.3); }

.error-banner {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,45,94,.1);
  color: #ffd0da;
  border: 1px solid rgba(255,45,94,.24);
  font-size: 13px;
  line-height: 1.7;
}

/* ── PAGE SHELL ─────────────────────────────────────── */
.page-shell { max-width: 1340px; margin: 0 auto; padding: 28px 24px; }

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pill {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.pill-green {
  color: var(--green);
  border-color: rgba(0,255,127,.2);
  background: rgba(0,255,127,.05);
  text-shadow: 0 0 12px rgba(0,255,127,.4);
}

.pill-pink {
  color: var(--pink);
  border-color: rgba(255,0,110,.2);
  background: rgba(255,0,110,.05);
}

/* ── HERO GRID ──────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.hero-card {
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), transparent);
}

.hero-card:hover { border-color: rgba(0,229,255,.25); }

.label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 10px;
}

.value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}

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

.pos { color: var(--green); text-shadow: 0 0 20px rgba(0,255,127,.35); }
.neg { color: var(--red);   text-shadow: 0 0 20px rgba(255,45,94,.35); }

/* ── SIGNAL BAR ─────────────────────────────────────── */
.signal-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 14px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.signal-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
}

.inline-big {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-family: var(--mono);
}

/* ── PANELS ─────────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}

.panel {
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

/* ── TABLES ─────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }

th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  padding: 0 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 11px 8px;
  border-bottom: 1px solid rgba(100,160,255,.06);
  font-size: 13px;
  font-family: var(--mono);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0,229,255,.03); }

/* ── SIGNAL COLORS ──────────────────────────────────── */
.signal-up   { color: var(--green); font-weight: 700; text-shadow: 0 0 12px rgba(0,255,127,.4); }
.signal-down { color: var(--red);   font-weight: 700; text-shadow: 0 0 12px rgba(255,45,94,.4); }
.signal-skip { color: var(--muted); }

.tier-high { color: var(--green); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-top: 4px; text-shadow: 0 0 10px rgba(0,255,127,.5); }
.tier-low  { color: var(--amber); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }

/* ── MISC ───────────────────────────────────────────── */
.last-updated {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 10px;
  text-align: right;
  letter-spacing: .08em;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-right: 7px;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%,100%{opacity:1;box-shadow:0 0 8px var(--green)} 50%{opacity:.5;box-shadow:0 0 3px var(--green)} }

.section-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cyan);
  margin: 20px 0 8px;
}

.info-box {
  background: rgba(0,229,255,.06);
  border: 1px solid rgba(0,229,255,.16);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.back-link { display: block; margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.back-link a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.back-link a:hover { text-shadow: 0 0 8px var(--cyan); }

/* ── VERIFY PAGE ────────────────────────────────────── */
.verify-card { text-align: center; width: min(500px,100%); padding: 40px 32px; }
.big-icon { font-size: 52px; margin-bottom: 16px; }
.step {
  background: rgba(0,229,255,.05);
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 12px 0;
  text-align: left;
}
.step-num {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-text { font-size: 14px; color: var(--text); }
.handle { color: var(--cyan); font-family: var(--mono); font-weight: 700; font-size: 16px; text-shadow: 0 0 10px rgba(0,229,255,.4); }
.or-divider { color: var(--muted); font-size: 12px; margin: 8px 0; text-align: center; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) { .hero-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px) {
  .hero-grid, .signal-bar, .content-grid { grid-template-columns: 1fr !important; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .value { font-size: 26px; }
  .inline-big { font-size: 18px; }
}
