/* ─── CARD ───────────────────────────────────────────────── */
.card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--round);
  padding: 1rem;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.15s;
  width: 100%;
  letter-spacing: 0.03em;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
}

.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.18); }

/* ─── HOW IT WORKS STEPS ─────────────────────────────────── */
.how-it-works {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--surface2);
  border-radius: 10px;
}

.step-num {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.step p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.step p strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── TEST SELECTION CARDS ───────────────────────────────── */
.test-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.test-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.test-card:hover   { border-color: rgba(200, 245, 62, 0.3); }
.test-card.selected { border-color: var(--accent); background: rgba(200, 245, 62, 0.06); }

.test-card .icon  { font-size: 1.5rem; margin-bottom: 0.3rem; }
.test-card .tname { font-size: 0.72rem; font-weight: 700; color: var(--text); }
.test-card .tdesc { font-size: 0.62rem; color: var(--muted); margin-top: 2px; line-height: 1.3; }

/* ─── ROUND PROGRESS ─────────────────────────────────────── */
.progress-row {
  display: flex;
  gap: 5px;
  width: 100%;
  justify-content: center;
}

.prog-dot {
  height: 4px;
  border-radius: 2px;
  background: var(--surface2);
  transition: background 0.3s;
  flex: 1;
  max-width: 36px;
}

.prog-dot.done   { background: var(--accent); }
.prog-dot.active { background: rgba(200, 245, 62, 0.3); }

.round-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.round-result {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  min-height: 1.1rem;
}

.round-result.good { color: var(--accent3); }
.round-result.bad  { color: var(--accent2); }

/* ─── COUNTDOWN ──────────────────────────────────────────── */
.countdown-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  color: var(--accent);
  line-height: 1;
  animation: pulse 0.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ─── LEVEL BADGES ───────────────────────────────────────── */
.level-badge {
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.level-0 { background: rgba(92, 245, 200, 0.15); color: var(--accent3); }
.level-1 { background: rgba(200, 245, 62, 0.15);  color: var(--accent); }
.level-2 { background: rgba(255, 180, 50, 0.15);  color: #ffb432; }
.level-3 { background: rgba(255, 100, 50, 0.15);  color: #ff6432; }
.level-4 { background: rgba(255, 60, 60, 0.15);   color: var(--accent2); }

/* ─── RESULTS SCREEN ─────────────────────────────────────── */
.verdict {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.verdict-sub {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.stats-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.stat-box {
  background: var(--surface2);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  text-align: center;
}

.stat-val {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
}

.stat-label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.tip-box {
  width: 100%;
  background: var(--surface2);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 0.7rem 0.875rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.tip-box strong { color: var(--text); }
