/* ═══════════════════════════════════════════════
   MARALTO RP — DARK GAMER TECH THEME
   Cor principal: #1196EE
   ═══════════════════════════════════════════════ */

:root {
  --primary:      #1196EE;
  --primary-glow: #1196EE88;
  --primary-dim:  #0d75c4;
  --accent:       #00D4FF;
  --accent2:      #00FF88;
  --danger:       #FF4444;
  --warn:         #FF6B35;
  --bg-base:      #030810;
  --bg-card:      #080f1c;
  --bg-card2:     #0d1929;
  --bg-border:    #1196EE22;
  --text-main:    #e8f4fd;
  --text-muted:   #7a9ab5;
  --text-dim:     #3d5a73;
  --font-display: 'Orbitron', monospace;
  --font-body:    'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;
  --radius:       4px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #1196EE18 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, #1196EE06 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, #1196EE06 40px);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
img { max-width: 100%; }

/* ─── SCROLLBAR ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ─── TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: 0.05em; }

/* ─── NAVBAR ───────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(3, 8, 16, 0.97); }
.nav-scan-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  animation: scanLine 4s ease-in-out infinite;
}
@keyframes scanLine {
  0%   { width: 0; left: 0; }
  50%  { width: 100%; left: 0; }
  100% { width: 0; left: 100%; }
}

.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 900;
  color: var(--text-main);
  display: flex; align-items: center; gap: 2px;
  text-shadow: 0 0 20px var(--primary-glow);
}
.logo-bracket { color: var(--primary); font-size: 1.6rem; }
.logo-rp { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-color: var(--bg-border);
  background: rgba(17, 150, 238, 0.08);
}
.nav-link:hover::after, .nav-link.active::after { width: 80%; }
.nav-discord {
  color: #5865F2 !important;
  border-color: #5865F222 !important;
}
.nav-discord:hover {
  background: rgba(88, 101, 242, 0.12) !important;
  color: #7289DA !important;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 40%, #1196EE14 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 70%, #00D4FF0A 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-base) 0%, #050d1a 100%);
}

.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-particles::before, .hero-particles::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatParticle 8s ease-in-out infinite alternate;
}
.hero-particles::before {
  background: rgba(17, 150, 238, 0.08);
  top: 20%; left: 10%;
}
.hero-particles::after {
  background: rgba(0, 212, 255, 0.05);
  bottom: 20%; right: 10%;
  animation-delay: -4s;
}
@keyframes floatParticle {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 900px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(17, 150, 238, 0.1);
  border: 1px solid rgba(17, 150, 238, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent2);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0f0ff 40%, var(--primary) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(17, 150, 238, 0.4));
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.8rem);
  color: var(--text-muted);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-sub span { color: var(--primary); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2.5rem;
  font-weight: 500;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 0 30px rgba(17, 150, 238, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(17, 150, 238, 0.6), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(17, 150, 238, 0.4);
}
.btn-outline:hover {
  background: rgba(17, 150, 238, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--accent);
}

/* Hero stats */
.hero-stats {
  display: flex; gap: 3rem; justify-content: center;
  margin-top: 4rem; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900;
  color: var(--primary);
  display: block;
  text-shadow: 0 0 20px var(--primary-glow);
}
.stat-label {
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; animation: float 2s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
.scroll-arrow { font-size: 1rem; color: var(--primary); }

/* ─── SECTIONS ─────────────────────────────── */
.section { padding: 6rem 2rem; position: relative; }
.container { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--primary);
  letter-spacing: 0.2em; text-transform: uppercase;
  display: block; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-main), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-line {
  width: 60px; height: 2px; margin: 1.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

/* ─── CARDS DE DESTAQUE ────────────────────── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.highlight-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: var(--transition);
}
.highlight-card:hover {
  border-color: rgba(17, 150, 238, 0.4);
  background: var(--bg-card2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(17, 150, 238, 0.1);
}
.highlight-card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(17,150,238,0.15), rgba(0,212,255,0.08));
  border: 1px solid rgba(17, 150, 238, 0.25);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-main); margin-bottom: 0.5rem;
}
.card-desc { color: var(--text-muted); font-size: 0.95rem; }

/* ─── LIVRO DE REGRAS ─────────────────────── */
.rules-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #050d1a 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--bg-border);
  position: relative; overflow: hidden;
}
.rules-hero::before {
  content: 'REGRAS';
  position: absolute;
  font-family: var(--font-display); font-size: 12vw; font-weight: 900;
  color: rgba(17, 150, 238, 0.03);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none;
}

.rules-container { max-width: 960px; margin: 0 auto; padding: 4rem 2rem; }

.rules-toc {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.rules-toc h3 {
  font-family: var(--font-display); font-size: 0.8rem;
  color: var(--primary); margin-bottom: 1rem; letter-spacing: 0.15em;
}
.toc-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(17, 150, 238, 0.06);
  border: 1px solid rgba(17, 150, 238, 0.2);
  border-radius: 2px;
  font-size: 0.8rem; color: var(--text-muted);
  font-family: var(--font-body); font-weight: 600;
  transition: var(--transition);
}
.toc-link:hover { color: var(--primary); border-color: var(--primary); background: rgba(17, 150, 238, 0.12); }

.rules-category { margin-bottom: 3rem; }
.category-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg, rgba(17,150,238,0.1), transparent);
  border-left: 3px solid var(--primary);
  margin-bottom: 1.5rem;
  position: sticky; top: 70px; z-index: 10;
  backdrop-filter: blur(10px);
}
.category-icon { font-size: 1.5rem; }
.category-name {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text-main);
}

.rule-item {
  background: var(--bg-card);
  border: 1px solid rgba(17, 150, 238, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex; gap: 1rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.rule-item:hover {
  border-color: rgba(17, 150, 238, 0.3);
  background: var(--bg-card2);
}
.rule-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--primary);
  transition: var(--transition);
}
.rule-item:hover::before { width: 2px; }

.rule-id {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--primary); opacity: 0.7;
  min-width: 35px; padding-top: 2px;
}
.rule-body {}
.rule-title {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  color: var(--text-main); margin-bottom: 0.35rem;
}
.rule-desc { font-size: 0.95rem; color: var(--text-muted); }

/* ─── FOOTER ────────────────────────────────── */
.footer {
  background: #020710;
  border-top: 1px solid var(--bg-border);
  padding: 4rem 2rem 2rem;
  position: relative; overflow: hidden;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; gap: 2px;
  margin-bottom: 0.75rem;
}
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--bg-border); border-radius: var(--radius);
  color: var(--text-muted); font-size: 1rem;
  transition: var(--transition);
}
.social-btn.discord:hover  { color: #5865F2; border-color: #5865F2; background: rgba(88,101,242,0.1); }
.social-btn.instagram:hover { color: #E1306C; border-color: #E1306C; background: rgba(225,48,108,0.1); }
.social-btn.youtube:hover   { color: #FF0000; border-color: #FF0000; background: rgba(255,0,0,0.1); }
.social-btn.tiktok:hover    { color: #00f2ea; border-color: #00f2ea; background: rgba(0,242,234,0.1); }

.footer-title {
  font-family: var(--font-display); font-size: 0.75rem;
  color: var(--primary); letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-links ul li a:hover { color: var(--primary); }
.footer-links ul li a i { font-size: 0.65rem; }

.connect-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.server-ip { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); word-break: break-all; }
.copy-ip-btn {
  background: rgba(17, 150, 238, 0.1);
  border: 1px solid rgba(17, 150, 238, 0.3);
  color: var(--primary);
  padding: 0.4rem 0.85rem;
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; cursor: pointer; border-radius: 2px;
  transition: var(--transition); align-self: flex-start;
}
.copy-ip-btn:hover, .copy-ip-btn.copied {
  background: rgba(17, 150, 238, 0.2); border-color: var(--primary);
}
.footer-note { font-size: 0.8rem; color: var(--text-dim); }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--bg-border);
  text-align: center; color: var(--text-dim); font-size: 0.8rem;
}
.footer-disclaimer { margin-top: 0.25rem; font-size: 0.75rem; opacity: 0.7; }

.footer-scan {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.4;
}

/* ─── ADMIN PANEL ──────────────────────────── */
.admin-body {
  background: #020710;
  font-family: var(--font-body);
  min-height: 100vh;
}

.admin-login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.login-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 3rem; width: 100%; max-width: 420px;
  position: relative; overflow: hidden;
}
.login-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.admin-wrap { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 240px; min-height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--bg-border);
  padding: 2rem 1rem;
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 100; overflow-y: auto;
}
.admin-logo {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 900;
  color: var(--primary); margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.3rem;
}
.admin-role {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim);
  letter-spacing: 0.1em; margin-bottom: 2rem;
}
.sidebar-label {
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-dim);
  letter-spacing: 0.2em; text-transform: uppercase; padding: 0 0.75rem;
  margin: 1.5rem 0 0.5rem;
}
.sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem; border-radius: var(--radius);
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); margin-bottom: 0.15rem;
  border: 1px solid transparent;
}
.sidebar-link i { width: 18px; text-align: center; font-size: 0.85rem; }
.sidebar-link:hover, .sidebar-link.active {
  color: var(--primary); background: rgba(17, 150, 238, 0.08);
  border-color: rgba(17, 150, 238, 0.15);
}
.sidebar-link.danger { color: #ff6b6b; }
.sidebar-link.danger:hover { background: rgba(255,68,68,0.1); border-color: rgba(255,68,68,0.2); color: var(--danger); }

.admin-main { margin-left: 240px; flex: 1; padding: 2rem; }

.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-border);
}
.admin-topbar h1 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--text-main);
}
.admin-badge {
  background: rgba(17, 150, 238, 0.1); border: 1px solid rgba(17, 150, 238, 0.3);
  padding: 0.25rem 0.75rem; border-radius: 2px;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--primary);
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.admin-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-border);
}
.admin-card-title {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  color: var(--text-main);
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; color: var(--primary); letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%; padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  color: var(--text-main); font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17, 150, 238, 0.1);
  background: rgba(17, 150, 238, 0.04);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.alert {
  padding: 0.75rem 1rem; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 1rem;
}
.alert-success { background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3); color: var(--accent2); }
.alert-error   { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.3); color: var(--danger); }

/* Stats cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.stat-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  background: rgba(17, 150, 238, 0.1); border: 1px solid rgba(17, 150, 238, 0.2);
}
.stat-card-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.stat-card-label { font-size: 0.8rem; color: var(--text-muted); }

/* Rule editor */
.rule-editor-item {
  background: rgba(255,255,255,0.02); border: 1px solid var(--bg-border);
  border-radius: var(--radius); padding: 1rem; margin-bottom: 0.75rem;
}
.rule-editor-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.rule-editor-id { font-family: var(--font-mono); font-size: 0.7rem; color: var(--primary); }
.btn-sm {
  padding: 0.3rem 0.75rem; font-size: 0.7rem;
  font-family: var(--font-display); letter-spacing: 0.05em;
}
.btn-danger { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.3); color: var(--danger); cursor: pointer; border-radius: 2px; transition: var(--transition); }
.btn-danger:hover { background: rgba(255,68,68,0.2); }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 70px 0 0; background: rgba(3,8,16,0.97); padding: 2rem; gap: 0.25rem; backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1rem; padding: 0.85rem 1rem; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

/* ─── GLOW UTILITIES ────────────────────────── */
.glow-text { text-shadow: 0 0 20px var(--primary-glow); }
.glow-border { box-shadow: 0 0 20px rgba(17,150,238,0.2); }

/* ─── ANIMATIONS ────────────────────────────── */
.fade-in { animation: fadeInUp 0.6s ease both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
