/* ============================
   1. VARIABLES & RESET
   ============================ */
:root {
  /* Colors — Gaming Neon: Violet + Cyan */
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --accent-glow: rgba(6, 182, 212, 0.25);
  --secondary: #f59e0b;
  --secondary-glow: rgba(245, 158, 11, 0.2);

  /* Backgrounds */
  --bg-body: #070a0f;
  --bg-overlay: rgba(7, 10, 15, 0.7);
  --bg-card: rgba(15, 18, 30, 0.75);
  --bg-card-hover: rgba(15, 18, 30, 0.9);
  --bg-card-solid: rgba(15, 18, 30, 0.95);
  --bg-input: rgba(0, 0, 0, 0.4);

  /* Text */
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #475569;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(139, 92, 246, 0.3);

  /* Status */
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --perma-bg: rgba(153, 27, 27, 0.25);

  /* Layout */
  --nav-h: 70px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow-primary: 0 0 24px var(--primary-glow);
  --shadow-glow-accent: 0 0 24px var(--accent-glow);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-body);
  min-height: 100vh;
  line-height: 1.6;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url('assets/img/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  z-index: -2;
  opacity: 0.4;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
  z-index: -1;
  pointer-events: none;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #22d3ee; }

img { max-width: 100%; display: block; }

/* ============================
   2. TYPOGRAPHY
   ============================ */
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }

/* ============================
   3. LAYOUT
   ============================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 24px);
  min-height: calc(100vh - 80px);
  padding-bottom: 48px;
}

.section {
  position: relative;
  z-index: 2;
}

/* ============================
   4. NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(7, 10, 15, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 42px;
  width: auto;
}

.nav-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar .nav-links a.nav-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow-primary);
}

.navbar .nav-links a.nav-cta:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 32px var(--primary-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 10, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s var(--ease);
    pointer-events: none;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .navbar.open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar.open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .navbar.open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-brand span { display: none; }
}

/* ============================
   5. CARDS
   ============================ */
.card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: border-color var(--transition);
}

.card-glass:hover {
  border-color: var(--border-light);
}

.card-solid {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

/* Legacy compat */
.glass-card { background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transition: border-color var(--transition); }
.glass-card:hover { border-color: var(--border-light); }
.glass-card-solid { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

/* ============================
   6. BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 36px var(--primary-glow);
  transform: translateY(-2px);
  color: #fff;
}

/* Animated glow border */
.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.4;
  filter: blur(8px);
  transition: opacity var(--transition);
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--primary);
  border-radius: calc(var(--radius-sm) - 2px);
  z-index: -1;
}
.btn-glow:hover::before {
  opacity: 0.7;
}

.btn-secondary {
  background: var(--secondary);
  box-shadow: 0 0 20px var(--secondary-glow);
}
.btn-secondary:hover {
  background: #d97706;
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 12px;
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ============================
   7. FORMS
   ============================ */
.input, .select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
  height: 40px;
}

.input:focus, .select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.input::placeholder { color: var(--text-dim); }

.select {
  cursor: pointer;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Input with icon */
.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  z-index: 1;
}

.input-has-icon {
  padding-left: 36px;
}

/* ============================
   8. TABLES
   ============================ */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.data-table thead th {
  position: sticky;
  top: 0;
  background: rgba(10, 14, 22, 0.97);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  z-index: 5;
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.data-table tbody tr.clickable {
  cursor: pointer;
}

.data-table tbody tr.clickable:hover {
  background: rgba(139, 92, 246, 0.04);
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Sortable headers */
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { color: var(--text); }
.sortable .arrow {
  opacity: 0.3;
  margin-left: 6px;
  font-size: 0.72rem;
  display: inline-block;
  transition: all var(--transition);
}
.sortable.asc .arrow { opacity: 1; transform: rotate(180deg); }
.sortable.desc .arrow { opacity: 1; }

/* Specific table cells */
.td-steamid {
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.td-reason {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================
   9. BADGES
   ============================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-default {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.badge-active {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-inactive {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-perma {
  background: var(--perma-bg);
  color: #fca5a5;
  border: 1px solid rgba(153, 27, 27, 0.3);
}

.badge-date {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.badge-role {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  text-transform: capitalize;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ============================
   10. PAGINATION
   ============================ */
.pager {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

.pager-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-light);
}

.pager-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.pager-btn.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* PHP Pagination */
.php-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 24px;
}

.php-pagination a,
.php-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

.php-pagination a {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.php-pagination a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-light);
}

.php-pagination .active {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  font-weight: 600;
}

.php-pagination .disabled {
  opacity: 0.3;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.php-pagination input[type="number"] {
  width: 56px;
  height: 40px;
  text-align: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}

.php-pagination input[type="number"]:focus {
  border-color: var(--primary);
}

/* ============================
   11. FOOTER
   ============================ */
.site-footer {
  position: relative;
  z-index: 2;
  background: rgba(7, 10, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand p { margin: 0 auto; }
}

/* ============================
   12. HERO (homepage)
   ============================ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  animation: meshMove 25s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshMove {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-3%, 2%) scale(1.02); }
  66% { transform: translate(2%, -1%) scale(0.98); }
  100% { transform: translate(-1%, 3%) scale(1.01); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  bottom: -10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

.hero-content {
  max-width: 800px;
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.6s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Server Status (hero) */
.server-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--success);
  margin-bottom: 24px;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

.server-status.offline {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.server-status.offline .status-dot {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  animation: none;
}

.status-sep {
  color: var(--text-dim);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* ============================
   13. FEATURES (homepage)
   ============================ */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: feature;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--duration-slow) var(--ease);
  overflow: hidden;
  counter-increment: feature;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card::after {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(139, 92, 246, 0.08);
  border: 1.5px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================
   14. FAQ (homepage)
   ============================ */
.faq {
  padding: 80px 0 100px;
  background: rgba(0, 0, 0, 0.2);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.open {
  border-left: 3px solid var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================
   15. DISCORD (homepage)
   ============================ */
.discord-section {
  padding: 80px 0 100px;
  text-align: center;
}

.discord-widget-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  position: relative;
}

.discord-widget-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}

.discord-widget-wrap iframe {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .discord-widget-wrap iframe {
    width: 100%;
    max-width: 350px;
  }
}

/* ============================
   16. SECTION HEADER
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================
   17. PLAYER PAGES
   ============================ */
.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.avatar-xl {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.avatar-sm {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.88rem;
}

.stat-grid dt {
  color: var(--text-muted);
  font-weight: 400;
}

.stat-grid dd {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-dim);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* Player list */
.player-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.player-row:hover { color: inherit; }

.player-info .name {
  font-weight: 600;
  color: #fff;
}

.player-info .steamid {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Link white */
.link-white {
  color: #fff;
  text-decoration: none;
}
.link-white:hover {
  color: var(--accent);
}

/* Maps list */
.map-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.map-item:last-child { border-bottom: none; }

/* Search form */
.search-form {
  display: grid;
  grid-template-columns: 2fr 1fr auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
}

.search-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.search-form-submit {
  align-self: end;
}

@media (max-width: 700px) {
  .search-form {
    grid-template-columns: 1fr;
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state svg {
  margin: 0 auto 16px;
  opacity: 0.3;
}

.empty-state p {
  font-size: 0.92rem;
}

/* Search result */
.search-result {
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

/* ============================
   18. BAN LIST
   ============================ */
.banlist-wrap {
  max-height: calc(100vh - var(--nav-h) - 260px);
}

@media (max-width: 700px) {
  .hide-sm { display: none; }
}

/* ============================
   19. UTILITIES
   ============================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.tabular-nums { font-variant-numeric: tabular-nums; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* Alert */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.alert-warning {
  background: var(--warning-bg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

/* Page title */
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}

/* Controls */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.controls-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ============================
   21. ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ============================
   22. CHART
   ============================ */
.chart-container {
  width: 100%;
  height: 240px;
  position: relative;
}

.chart-container canvas {
  border-radius: var(--radius-sm);
}

/* ============================
   23. SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}

/* ============================
   24. RESPONSIVE
   ============================ */
@media (max-width: 700px) {
  .hide-mobile { display: none; }
}
