/* ═══════════════════════════════════════════════════════════
   CYBERPUNK PARITY LAYER
   Linked AFTER each page's inline <style> so it wins the cascade.
   Brings design-system.css pages to hub parity without markup edits:
   aurora background, scanlines, Orbitron headings, mono data labels,
   chamfered/glowing panels. Depends on tokens defined in
   /design-system.css (--glow, --line-2, --acid, --font-display, ...).
   ═══════════════════════════════════════════════════════════ */

/* ── Animated aurora backdrop (behind all content) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 8% -10%, rgba(var(--glow), 0.16), transparent 60%),
    radial-gradient(55vw 55vw at 100% 110%, rgba(var(--glow), 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(var(--glow), 0.08), transparent 60%);
  animation: cp-aurora 26s ease-in-out infinite alternate;
}
@keyframes cp-aurora {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4vw, 3vh) scale(1.12); }
}
/* ── CRT scanlines + faint vignette over everything ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.45) 100%),
    repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(0,0,0,0.16) 2px, rgba(0,0,0,0.16) 3px);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* ── Display type on headings (Orbitron) ── */
h1, h2, h3,
.card-title, .panel-title, .section-title, .category-title,
.stat-value, .hero-title, .page-title, .login-header h1, .twofa-title {
  font-family: var(--font-display), 'Orbitron', sans-serif !important;
  letter-spacing: 0.02em;
}

/* ── Mono on data / small labels (Share Tech Mono) ── */
.stat-label, .tool-desc, .log-time, .badge, .stat-change, .text-mono, .td-mono {
  font-family: var(--font-mono), ui-monospace, monospace !important;
}

/* ── Panels: acid line border + ambient glow (no clip-path → never clips content) ── */
.card, .glass-panel, .stat-card, .tool-card, .feature-panel, .vpn-hero,
.logs-panel, .panel, .login-card, .config-row, .trait-category {
  border-color: var(--line-2) !important;
  box-shadow: inset 0 0 26px rgba(var(--glow), 0.05), 0 0 0 1px rgba(var(--glow), 0.04) !important;
}
.card:hover, .stat-card:hover, .tool-card:hover {
  border-color: var(--line-3) !important;
  box-shadow: inset 0 0 26px rgba(var(--glow), 0.07), 0 0 22px rgba(var(--glow), 0.12) !important;
}

/* ── Simple leaf cards get the signature chamfer (safe: no overflow menus) ── */
.stat-card, .tool-card {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

/* ── Buttons → HUD mono ── */
.btn, .btn-primary, .btn-secondary, .btn-google, .back-btn {
  font-family: var(--font-mono), ui-monospace, monospace !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Sticky headers: acid underline ── */
.header, .admin-header, .hub-breadcrumb {
  border-bottom: 1px solid var(--line-2) !important;
  box-shadow: 0 1px 0 rgba(var(--glow), 0.06) !important;
}

/* ── Tighten radii to angular everywhere (cyberpunk) ── */
.tool-card, .stat-card, .badge { }
