/* =========================================================
   VAULTIX — Design Tokens
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-void: #07040d;
  --bg-deep: #0f0819;
  --bg-panel: #150c26;
  --purple-primary: #8b5cf6;
  --purple-bright: #a855f7;
  --purple-deep: #6d28d9;
  --pink-accent: #d946ef;
  --cyan-hint: #67e8f9;
  --text-primary: #f5f3ff;
  --text-muted: #b3a1d6;
  --text-dim: #8072a3;
  --glass-bg: rgba(21, 12, 38, 0.55);
  --glass-bg-light: rgba(139, 92, 246, 0.08);
  --glass-border: rgba(168, 85, 247, 0.25);
  --glass-border-bright: rgba(168, 85, 247, 0.55);
  --success: #34d399;
  --danger: #f87171;
  --warn: #fbbf24;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-glow: 0 8px 40px rgba(139, 92, 246, 0.25);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

::selection { background: var(--purple-deep); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--purple-deep); border-radius: 10px; }

/* =========================================================
   Ambient aurora background — signature element
   ========================================================= */
.aurora-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #150a28 0%, var(--bg-void) 60%);
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.aurora-blob.b1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--purple-primary), transparent 70%);
  top: -120px; left: -100px;
  animation: drift1 22s ease-in-out infinite;
}
.aurora-blob.b2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--pink-accent), transparent 70%);
  bottom: -140px; right: -80px;
  animation: drift2 26s ease-in-out infinite;
}
.aurora-blob.b3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--purple-deep), transparent 70%);
  top: 40%; left: 55%;
  animation: drift3 30s ease-in-out infinite;
}
.grain-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, -50px) scale(1.1); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 70px) scale(0.9); }
}

/* =========================================================
   Glass primitives
   ========================================================= */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%;
  background: rgba(7, 4, 13, 0.65);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem; color: #0a0612;
  box-shadow: 0 0 18px rgba(168,85,247,0.6);
  animation: pulseMark 3.2s ease-in-out infinite;
}
@keyframes pulseMark {
  0%, 100% { box-shadow: 0 0 12px rgba(168,85,247,0.5); }
  50% { box-shadow: 0 0 26px rgba(217,70,239,0.75); }
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 16px; border-radius: 100px; font-size: 0.92rem; color: var(--text-muted);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--glass-bg-light); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--pink-accent); color: #fff; font-size: 0.65rem; font-weight: 700;
  border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.4rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px; border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
  color: #fff; box-shadow: 0 6px 24px rgba(168,85,247,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(217,70,239,0.5); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: var(--glass-bg-light); color: var(--text-primary); border: 1px solid var(--glass-border);
}
.btn-ghost:hover { background: rgba(139,92,246,0.18); border-color: var(--glass-border-bright); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-danger { background: rgba(248,113,113,0.15); color: var(--danger); border: 1px solid rgba(248,113,113,0.4); }
.btn-danger:hover { background: rgba(248,113,113,0.28); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--purple-bright); display: inline-block; margin-bottom: 12px;
}
.section-head h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 90px 5% 60px; display: flex; align-items: center; gap: 60px; min-height: 78vh;
}
.hero-copy { flex: 1; animation: fadeUp 0.9s ease both; }
.hero-copy h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 20px;
}
.hero-copy .accent-text {
  background: linear-gradient(120deg, var(--purple-bright), var(--pink-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p { color: var(--text-muted); font-size: 1.08rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 34px; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.hero-stats div span { color: var(--text-dim); font-size: 0.82rem; }

.hero-visual { flex: 1; display: flex; justify-content: center; animation: fadeUp 1.1s ease both; }
.key-card {
  width: 320px; padding: 28px; position: relative;
  animation: floaty 5s ease-in-out infinite;
}
.key-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  padding: 1px; background: linear-gradient(135deg, var(--purple-bright), transparent 40%, var(--pink-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.key-card .scan-line {
  position: absolute; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(168,85,247,0.18), transparent);
  animation: scan 3.5s linear infinite;
}
.key-card .kc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.key-card .kc-top span:first-child { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); display: inline-block; margin-right: 6px; }
.key-card h3 { font-family: var(--font-display); margin-bottom: 6px; }
.key-code {
  font-family: var(--font-mono); font-size: 0.95rem; letter-spacing: 0.06em; color: var(--cyan-hint);
  background: rgba(103,232,249,0.08); border: 1px dashed rgba(103,232,249,0.3);
  padding: 10px 14px; border-radius: var(--radius-sm); margin: 16px 0; text-align: center;
}
.key-card .kc-foot { display: flex; justify-content: space-between; color: var(--text-dim); font-size: 0.78rem; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes scan { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Category chips / filters
   ========================================================= */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; justify-content: center; }
.chip {
  padding: 9px 18px; border-radius: 100px; font-size: 0.86rem; color: var(--text-muted);
  background: var(--glass-bg-light); border: 1px solid var(--glass-border); transition: all 0.25s ease;
}
.chip:hover { color: var(--text-primary); }
.chip.active { background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent)); color: #fff; border-color: transparent; }

.search-bar { display: flex; gap: 10px; max-width: 420px; margin: 0 auto 30px; }
.search-bar input {
  flex: 1; padding: 12px 16px; border-radius: 100px; border: 1px solid var(--glass-border);
  background: var(--glass-bg-light); color: var(--text-primary); font-family: var(--font-body);
}
.search-bar input:focus { outline: 2px solid var(--purple-bright); outline-offset: 2px; }

/* =========================================================
   Product grid & cards
   ========================================================= */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px;
}
.product-card {
  padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  opacity: 0; animation: fadeUp 0.6s ease forwards;
}
.product-card:hover {
  transform: translateY(-6px); border-color: var(--glass-border-bright);
  box-shadow: 0 16px 46px rgba(168,85,247,0.32);
}
.product-card .pc-thumb {
  height: 130px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(217,70,239,0.14));
  border: 1px solid var(--glass-border); position: relative; overflow: hidden;
}
.product-card .pc-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.12) 50%, transparent 80%);
  transform: translateX(-100%);
}
.product-card:hover .pc-thumb::after { animation: shimmer 1.1s ease; }
@keyframes shimmer { to { transform: translateX(100%); } }
.pc-cat { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-bright); }
.product-card h3 { font-family: var(--font-display); font-size: 1.08rem; }
.product-card p.desc { color: var(--text-dim); font-size: 0.83rem; flex: 1; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; color: var(--cyan-hint); }
.stock-tag { font-size: 0.72rem; padding: 3px 10px; border-radius: 100px; }
.stock-tag.in { background: rgba(52,211,153,0.15); color: var(--success); }
.stock-tag.low { background: rgba(251,191,36,0.15); color: var(--warn); }
.stock-tag.out { background: rgba(248,113,113,0.15); color: var(--danger); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-dim); grid-column: 1 / -1; }
.empty-state .es-icon { font-size: 2.4rem; margin-bottom: 12px; }

/* =========================================================
   Product detail
   ========================================================= */
.product-detail { display: flex; gap: 50px; padding: 60px 0; flex-wrap: wrap; }
.pd-visual { flex: 1; min-width: 280px; }
.pd-visual .glass { height: 340px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.pd-info { flex: 1; min-width: 280px; }
.pd-info .eyebrow { margin-bottom: 8px; }
.pd-info h1 { font-family: var(--font-display); font-size: 2.1rem; margin-bottom: 14px; }
.pd-info .price { font-size: 1.6rem; display: block; margin-bottom: 18px; }
.pd-info .desc { color: var(--text-muted); margin-bottom: 26px; line-height: 1.7; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--glass-border); border-radius: 100px; overflow: hidden; }
.qty-control button { background: var(--glass-bg-light); border: none; color: var(--text-primary); width: 36px; height: 36px; font-size: 1.1rem; }
.qty-control span { width: 40px; text-align: center; font-family: var(--font-mono); }
.pd-meta { display: flex; gap: 20px; margin-top: 24px; color: var(--text-dim); font-size: 0.82rem; }

/* =========================================================
   Forms / Auth cards
   ========================================================= */
.auth-wrap { display: flex; justify-content: center; align-items: center; min-height: 78vh; padding: 40px 5%; }
.auth-card { width: 100%; max-width: 420px; padding: 40px; animation: fadeUp 0.7s ease both; }
.auth-card h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03); color: var(--text-primary); font-family: var(--font-body); font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(168,85,247,0.18);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-msg { font-size: 0.85rem; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; display: none; }
.form-msg.show { display: block; animation: fadeIn 0.3s ease; }
.form-msg.error { background: rgba(248,113,113,0.12); color: var(--danger); border: 1px solid rgba(248,113,113,0.3); }
.form-msg.success { background: rgba(52,211,153,0.12); color: var(--success); border: 1px solid rgba(52,211,153,0.3); }
.auth-foot { text-align: center; margin-top: 22px; color: var(--text-muted); font-size: 0.88rem; }
.auth-foot a { color: var(--purple-bright); font-weight: 600; }

/* =========================================================
   Cart
   ========================================================= */
.cart-layout { display: flex; gap: 34px; padding: 50px 0; flex-wrap: wrap; }
.cart-items { flex: 2; min-width: 300px; display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px; }
.cart-item .ci-thumb {
  width: 60px; height: 60px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(217,70,239,0.14));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.cart-item .ci-info { flex: 1; }
.cart-item .ci-info h4 { font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 3px; }
.cart-item .ci-info span { color: var(--text-dim); font-size: 0.8rem; }
.cart-item .ci-remove { background: none; border: none; color: var(--danger); font-size: 1.1rem; }
.cart-summary { flex: 1; min-width: 280px; padding: 26px; align-self: flex-start; }
.cart-summary h3 { font-family: var(--font-display); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--text-muted); font-size: 0.92rem; }
.summary-row.total { color: var(--text-primary); font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--glass-border); padding-top: 14px; margin-top: 14px; }

/* =========================================================
   Account / dashboard tables
   ========================================================= */
.dash-grid { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 40px 0 80px; align-items: start; }
.dash-side { position: sticky; top: 90px; padding: 18px; }
.dash-side a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.9rem; margin-bottom: 4px; transition: all 0.2s ease; }
.dash-side a:hover, .dash-side a.active { background: var(--glass-bg-light); color: var(--text-primary); }
.dash-main { min-width: 0; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 14px; }
.dash-header h2 { font-family: var(--font-display); font-size: 1.5rem; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat-card { padding: 20px; }
.stat-card .st-label { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card .st-value { font-family: var(--font-display); font-size: 1.7rem; margin-top: 6px; }

.table-wrap { overflow-x: auto; padding: 6px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; font-size: 0.88rem; }
th { color: var(--text-dim); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; border-bottom: 1px solid var(--glass-border); }
tbody tr { border-bottom: 1px solid rgba(139,92,246,0.1); transition: background 0.2s ease; }
tbody tr:hover { background: rgba(139,92,246,0.06); }
tbody tr:last-child { border-bottom: none; }
.badge { padding: 4px 11px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; }
.badge.admin { background: rgba(217,70,239,0.16); color: var(--pink-accent); }
.badge.user { background: rgba(139,92,246,0.14); color: var(--purple-bright); }
.badge.banned { background: rgba(248,113,113,0.16); color: var(--danger); }
.badge.active { background: rgba(52,211,153,0.14); color: var(--success); }
.row-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border);
  background: var(--glass-bg-light); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem;
  transition: all 0.2s ease;
}
.icon-btn:hover { border-color: var(--glass-border-bright); background: rgba(139,92,246,0.2); }

/* =========================================================
   Modal
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(4,2,9,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-overlay.show { display: flex; animation: fadeIn 0.25s ease; }
.modal-box { width: 100%; max-width: 440px; padding: 30px; animation: fadeUp 0.35s ease both; }
.modal-box h3 { font-family: var(--font-display); margin-bottom: 18px; }
.modal-actions { display: flex; gap: 12px; margin-top: 24px; justify-content: flex-end; }

/* =========================================================
   Toast
   ========================================================= */
#toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 20px; border-radius: var(--radius-sm); font-size: 0.88rem; min-width: 220px;
  animation: toastIn 0.35s ease both; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.toast.success { background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.4); color: var(--success); }
.toast.error { background: rgba(248,113,113,0.15); border: 1px solid rgba(248,113,113,0.4); color: var(--danger); }
.toast.info { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-primary); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* =========================================================
   Footer
   ========================================================= */
footer { border-top: 1px solid var(--glass-border); padding: 40px 5%; margin-top: 60px; color: var(--text-dim); font-size: 0.85rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; max-width: 1200px; margin: 0 auto; }

/* =========================================================
   Misc utility
   ========================================================= */
.hidden { display: none !important; }
.center-msg { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.spinner {
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(168,85,247,0.25); border-top-color: var(--purple-bright);
  animation: spin 0.8s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg-deep);
    border-bottom: 1px solid var(--glass-border); padding: 14px; display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero { flex-direction: column; text-align: center; padding-top: 50px; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .dash-side a { white-space: nowrap; }
}
