/* ── base.css ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Neon-noir theme colors */
  --bg-primary: #090a0f;
  --bg-secondary: #0d0f14;
  --bg-card: rgba(18, 20, 28, 0.6);
  --bg-hover: rgba(255, 255, 255, 0.05);
  --bg-input: #12141c;
  
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.2);
  
  --text-primary: #ffffff;
  --text-secondary: #a3a8b8;
  --text-muted: #6b7280;

  /* Accent Colors */
  --blurple: #00e5ff; /* Changed from discord blurple to neon cyan */
  --blurple-hover: #00b3cc;
  --blurple-dim: rgba(0, 229, 255, 0.15);
  
  --green: #39ff14;
  --green-bg: rgba(57, 255, 20, 0.1);
  
  --red: #ff2a2a;
  --red-bg: rgba(255, 42, 42, 0.1);
  
  --yellow: #ffd700;
  --yellow-bg: rgba(255, 215, 0, 0.1);
  
  --gold: #ffb800;
  --crimson: #ff003c;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.6);
  --trans: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.03), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 0, 60, 0.03), transparent 25%);
  background-attachment: fixed;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: rgba(18, 20, 28, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 var(--blurple-dim); } 70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }

.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--trans); text-decoration: none; font-family: inherit;
  backdrop-filter: blur(4px);
}
.btn:hover { background: var(--bg-hover); border-color: var(--border-light); transform: translateY(-1px); }
.btn-primary { background: var(--blurple); color: #000; border-color: var(--blurple); text-shadow: none; font-weight: 700; box-shadow: 0 0 15px var(--blurple-dim); }
.btn-primary:hover { background: var(--blurple-hover); border-color: var(--blurple-hover); color: #000; box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }

/* Icons */
.lucide { width: 1em; height: 1em; stroke-width: 2; flex-shrink: 0; }
.icon-neon { color: var(--blurple); filter: drop-shadow(0 0 4px var(--blurple-dim)); }
.icon-crimson { color: var(--crimson); filter: drop-shadow(0 0 4px rgba(255, 0, 60, 0.3)); }
.icon-gold { color: var(--gold); }
.icon-green { color: var(--green); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--bg-hover); border: 1px solid var(--border);
}
.badge-blurple { background: var(--blurple-dim); color: var(--blurple); border-color: rgba(0,229,255,0.2); }
.badge-green { background: var(--green-bg); color: var(--green); border-color: rgba(57,255,20,0.2); }
.badge-red { background: var(--red-bg); color: var(--red); border-color: rgba(255,42,42,0.2); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); border-color: rgba(255,215,0,0.2); }
.badge-gold { background: rgba(255,184,0,0.1); color: var(--gold); border-color: rgba(255,184,0,0.2); box-shadow: 0 0 8px rgba(255,184,0,0.2); }

/* Top Nav */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(9, 10, 15, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 18px; color: #fff; text-decoration: none; letter-spacing: -0.5px; }
.nav-logo-icon {
  width: 32px; height: 32px;
  filter: invert(1);
  transition: var(--trans);
}
.nav-brand:hover .nav-logo-icon {
  filter: invert(1) drop-shadow(0 0 6px rgba(0,229,255,0.6));
}
.nav-brand-icon {
  width: 32px; height: 32px; background: linear-gradient(135deg, var(--blurple), #0055ff);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #000; box-shadow: 0 0 10px var(--blurple-dim);
}
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; transition: var(--trans); display: flex; align-items: center; gap: 6px; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--blurple); text-shadow: 0 0 8px var(--blurple-dim); }

/* Typography */
h1, h2, h3, h4 { color: #fff; letter-spacing: -0.03em; }
.mono { font-family: 'JetBrains Mono', monospace; }
.text-muted { color: var(--text-muted); }
.text-xs { font-size: 12px; }
.bold { font-weight: 700; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-card); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 14px 16px; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.2); }
td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text-primary); transition: var(--trans); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* Cards */
.card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; backdrop-filter: blur(8px); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2); }
.card-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 20px; }

/* Status Dot */
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); display: inline-block; animation: pulseGlow 2s infinite; }

/* Empty States */
.empty { padding: 48px 24px; text-align: center; color: var(--text-muted); }
.empty .icon { font-size: 32px; margin-bottom: 12px; opacity: 0.5; color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center; }

/* Rarity Badges */
.rarity-badge { padding: 2px 8px; border-radius: var(--radius-xs); font-size: 11px; font-weight: 700; text-transform: uppercase; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 4px; }
.rarity-common { color: #a3a8b8; background: rgba(163,168,184,0.1); border-color: rgba(163,168,184,0.2); }
.rarity-uncommon { color: #3ba55c; background: rgba(59,165,92,0.1); border-color: rgba(59,165,92,0.2); }
.rarity-rare { color: #00e5ff; background: rgba(0,229,255,0.1); border-color: rgba(0,229,255,0.2); }
.rarity-epic { color: #9b59b6; background: rgba(155,89,182,0.1); border-color: rgba(155,89,182,0.2); }
.rarity-legendary { color: #e67e22; background: rgba(230,126,34,0.1); border-color: rgba(230,126,34,0.2); }
.rarity-mythic { color: #ff003c; background: rgba(255,0,60,0.1); border-color: rgba(255,0,60,0.2); text-shadow: 0 0 5px rgba(255,0,60,0.5); }
