/* ============================================================
   GameTracker — Complete Redesign v2.0
   Aesthetic: Dark Tactical / Orange Fire + Lime Signal
   Fonts: Syne (display) + Plus Jakarta Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --fire:       #ff5722;
  --fire-dim:   #d84315;
  --lime:       #00e676;
  --gold:       #ffb300;
  --red:        #f44336;
  --blue:       #448aff;

  --bg-void:    #06080f;
  --bg-dark:    #090c18;
  --bg-mid:     #0d1020;
  --bg-card:    #111625;
  --bg-card2:   #161c30;
  --bg-input:   #0d1020;
  --bg-hover:   #1a2138;

  --border:     rgba(255,87,34,0.10);
  --border-h:   rgba(255,87,34,0.30);
  --border-mid: rgba(255,255,255,0.05);

  --text-1:     #f0f2fa;
  --text-2:     #8b9cc4;
  --text-3:     #3d4d6e;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  18px;

  --glow-fire:  0 0 24px rgba(255,87,34,0.25);
  --shadow:     0 8px 32px rgba(0,0,0,0.55);
  --shadow-lg:  0 16px 64px rgba(0,0,0,0.7);
  --trans:      0.18s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,87,34,0.012) 0px,
      rgba(255,87,34,0.012) 1px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255,87,34,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
a { color: var(--fire); text-decoration: none; transition: color var(--trans); }
a:hover { color: #fff; }
img { max-width: 100%; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,87,34,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fire); }

/* ══════════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: rgba(9,12,24,0.94);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-1);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--fire) 0%, #ff8a50 100%);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255,87,34,0.5);
}
.logo span { color: var(--fire); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-main::-webkit-scrollbar { display: none; }
.nav-main a {
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  transition: all var(--trans);
  white-space: nowrap;
}
.nav-main a:hover { color: var(--text-1); background: rgba(255,87,34,0.1); }
.nav-main a.active { color: var(--fire); background: rgba(255,87,34,0.13); }

.topbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
  font-size: 0.74rem;
}
.lang-switch a { padding: 3px 7px; border-radius: 4px; color: var(--text-3); font-weight: 600; transition: all var(--trans); }
.lang-switch a.active, .lang-switch a:hover { background: rgba(255,87,34,0.14); color: var(--fire); }

.user-menu { position: relative; }
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.83rem;
  color: var(--text-2);
  transition: all var(--trans);
}
.user-avatar-btn:hover { border-color: var(--border-h); color: var(--text-1); }
.user-avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--fire), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: none;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.user-menu:hover .dropdown-menu,
.user-menu:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 6px;
  font-size: 0.84rem; color: var(--text-2);
  transition: all var(--trans);
}
.dropdown-menu a:hover { background: var(--bg-hover); color: var(--text-1); }
.sep { border: none; border-top: 1px solid var(--border-mid); margin: 4px 0; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 7px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--trans); white-space: nowrap;
}
.btn-primary { background: var(--fire); color: #fff; box-shadow: 0 2px 12px rgba(255,87,34,0.4); }
.btn-primary:hover { background: #ff6d3a; color: #fff; box-shadow: 0 4px 20px rgba(255,87,34,0.55); transform: translateY(-1px); }
.btn-secondary { background: transparent; border: 1px solid var(--border-h); color: var(--text-2); }
.btn-secondary:hover { border-color: var(--fire); color: var(--fire); }
.btn-sm { padding: 5px 13px; font-size: 0.8rem; }
.btn-ghost { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--border-h); color: var(--text-1); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero { padding: 72px 0 52px; text-align: center; position: relative; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,87,34,0.1); border: 1px solid rgba(255,87,34,0.25);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--fire); text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fire); display: inline-block;
  box-shadow: 0 0 8px var(--fire);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 16px; color: var(--text-1); line-height: 1.1; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: var(--text-2); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; line-height: 1.7; }

/* Search */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border-h);
  border-radius: var(--radius-lg); padding: 8px 8px 8px 18px;
  max-width: 700px; margin: 0 auto 40px;
  transition: all var(--trans); box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.search-bar:focus-within { border-color: var(--fire); box-shadow: 0 0 0 3px rgba(255,87,34,0.12); }
.search-bar input { flex: 1; background: none; border: none; outline: none; color: var(--text-1); font-family: var(--font-body); font-size: 0.93rem; min-width: 0; }
.search-bar input::placeholder { color: var(--text-3); }

.filter-select {
  background: var(--bg-mid); border: 1px solid var(--border); border-radius: 7px;
  color: var(--text-2); font-family: var(--font-body); font-size: 0.82rem;
  padding: 6px 10px; cursor: pointer; outline: none; transition: all var(--trans);
}
.filter-select:focus { border-color: var(--fire); color: var(--text-1); }

.btn-search {
  display: flex; align-items: center; gap: 7px;
  background: var(--fire); color: #fff; border: none; border-radius: 8px;
  padding: 9px 22px; font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all var(--trans); white-space: nowrap;
}
.btn-search:hover { background: #ff6d3a; box-shadow: 0 4px 18px rgba(255,87,34,0.45); }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 700px; margin: 0 auto;
}
.stat-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 14px;
  text-align: center; transition: all var(--trans);
  position: relative; overflow: hidden;
}
.stat-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--fire); opacity: 0; transition: opacity var(--trans);
}
.stat-item:hover::before { opacity: 1; }
.stat-item:hover { border-color: var(--border-h); }
.stat-number {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  line-height: 1; color: var(--text-1); margin-bottom: 4px; letter-spacing: -0.02em;
}
.stat-number.text-green, .text-green { color: var(--lime); }
.stat-number.text-cyan, .text-cyan   { color: #40c4ff; }
.stat-number.text-gold, .text-gold   { color: var(--gold); }
.stat-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }

/* ══════════════════════════════════════════════════════════
   FEATURED
   ══════════════════════════════════════════════════════════ */
.featured-section { margin-bottom: 32px; }
.featured-section h2 { font-size: 1.1rem; color: var(--text-2); font-weight: 600; margin-bottom: 14px; font-family: var(--font-body); }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 14px; }
.featured-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); border-left: 3px solid var(--game-color, var(--fire));
  transition: all var(--trans);
}
.featured-card:hover { border-color: var(--game-color, var(--fire)); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

/* ══════════════════════════════════════════════════════════
   GAME TABS
   ══════════════════════════════════════════════════════════ */
.game-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 18px; }
.game-tabs::-webkit-scrollbar { display: none; }
.game-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 8px; font-size: 0.83rem; font-weight: 600;
  color: var(--text-2); background: var(--bg-card); border: 1px solid var(--border);
  white-space: nowrap; transition: all var(--trans);
}
.game-tab:hover { color: var(--text-1); border-color: var(--border-h); background: var(--bg-card2); }
.game-tab.active { color: var(--fire); background: rgba(255,87,34,0.1); border-color: rgba(255,87,34,0.35); }
.game-tab-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   FILTER BAR
   ══════════════════════════════════════════════════════════ */
.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-label { color: var(--text-3); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 13px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  color: var(--text-3); background: var(--bg-card); border: 1px solid var(--border);
  transition: all var(--trans);
}
.filter-btn:hover { color: var(--text-1); border-color: var(--border-h); }
.filter-btn.active { color: var(--lime); background: rgba(0,230,118,0.1); border-color: rgba(0,230,118,0.3); }
.result-count { margin-left: auto; color: var(--text-3); font-size: 0.8rem; font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   SERVER CARDS
   ══════════════════════════════════════════════════════════ */
.servers-list { display: flex; flex-direction: column; gap: 6px; }
.server-card {
  display: grid; grid-template-columns: 48px 1fr auto;
  align-items: center; gap: 16px; padding: 14px 16px;
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg); border-left: 3px solid transparent;
  transition: all var(--trans); cursor: pointer; position: relative; overflow: hidden;
}
.server-card:hover {
  border-color: var(--border); border-left-color: var(--game-color, var(--fire));
  background: var(--bg-card2); box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transform: translateX(2px);
}
.server-card.featured { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(255,179,0,0.03) 0%, var(--bg-card) 25%); }
.server-card.premium  { border-left-color: var(--blue); }

.rank-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-num { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text-3); line-height: 1; letter-spacing: -0.03em; }
.rank-num.top3 { color: var(--gold); }
.rank-hash { font-size: 0.65rem; color: var(--text-3); font-weight: 700; }

.server-info { min-width: 0; }
.server-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.server-name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--text-1); letter-spacing: 0.005em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px;
}
.server-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--text-3); font-weight: 500; }
.server-ip { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); background: var(--bg-mid); padding: 2px 7px; border-radius: 4px; border: 1px solid var(--border-mid); }

.tags-list { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.tag { display: inline-block; padding: 2px 8px; background: var(--bg-mid); border: 1px solid var(--border-mid); border-radius: 4px; font-size: 0.72rem; color: var(--text-3); font-weight: 500; transition: all var(--trans); }
.tag:hover { border-color: var(--border-h); color: var(--text-2); }

.badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }
.badge-featured { background: rgba(255,179,0,0.12); color: var(--gold); border: 1px solid rgba(255,179,0,0.25); }
.badge-premium  { background: rgba(68,138,255,0.12); color: var(--blue); border: 1px solid rgba(68,138,255,0.25); }
.badge-new      { background: rgba(0,230,118,0.12); color: var(--lime); border: 1px solid rgba(0,230,118,0.25); }

.server-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; min-width: 130px; }

.status-dot { display: inline-flex; align-items: center; gap: 5px; font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-online::before  { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.status-offline::before { background: var(--red); }
.status-online  { color: var(--lime); }
.status-offline { color: var(--red); }

.players-info { width: 100%; }
.players-count { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-2); margin-bottom: 4px; text-align: right; }
.players-count .max { color: var(--text-3); }
.players-bar { height: 4px; background: var(--bg-mid); border-radius: 2px; overflow: hidden; width: 120px; }
.players-fill { height: 100%; background: linear-gradient(90deg, var(--fire), var(--gold)); border-radius: 2px; transition: width 0.6s ease; }

.vote-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,87,34,0.12); border: 1px solid rgba(255,87,34,0.35); color: var(--fire);
  border-radius: 7px; padding: 6px 14px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: all var(--trans); white-space: nowrap;
}
.vote-btn:hover { background: var(--fire); color: #fff; box-shadow: 0 2px 14px rgba(255,87,34,0.4); }
.vote-btn.voted { background: rgba(0,230,118,0.08); border-color: rgba(0,230,118,0.25); color: var(--lime); cursor: default; }
.vote-btn.voted:hover { background: rgba(0,230,118,0.08); box-shadow: none; color: var(--lime); }

.ping { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; }
.ping-good { color: var(--lime); }
.ping-ok   { color: var(--gold); }
.ping-bad  { color: var(--red); }

.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ══════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 32px 0 24px; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 7px; font-size: 0.85rem; font-weight: 600; color: var(--text-2); background: var(--bg-card); border: 1px solid var(--border); transition: all var(--trans); }
.page-btn:hover { color: var(--fire); border-color: var(--border-h); }
.page-btn.active { background: var(--fire); color: #fff; border-color: var(--fire); box-shadow: 0 2px 12px rgba(255,87,34,0.4); }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }

/* ══════════════════════════════════════════════════════════
   ADS
   ══════════════════════════════════════════════════════════ */
.ad-zone { position: relative; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px dashed rgba(255,87,34,0.15); border-radius: var(--radius); overflow: hidden; }
.ad-label { position: absolute; top: 5px; left: 8px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; }
.ad-img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ══════════════════════════════════════════════════════════
   FLASH / TOAST
   ══════════════════════════════════════════════════════════ */
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; margin-bottom: 16px; }
.flash-success { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.25); color: var(--lime); }
.flash-error   { background: rgba(244,67,54,0.1); border: 1px solid rgba(244,67,54,0.25); color: var(--red); }
.flash-info    { background: rgba(68,138,255,0.1); border: 1px solid rgba(68,138,255,0.25); color: var(--blue); }

#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 18px; background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; color: var(--text-1); box-shadow: var(--shadow-lg); animation: toast-in 0.25s ease; max-width: 320px; }
.toast.success { border-left: 3px solid var(--lime); }
.toast.error   { border-left: 3px solid var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 7px; font-size: 0.83rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; }
.form-control { width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-1); font-family: var(--font-body); font-size: 0.9rem; padding: 10px 14px; transition: all var(--trans); outline: none; }
.form-control:focus { border-color: var(--fire); box-shadow: 0 0 0 3px rgba(255,87,34,0.1); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.76rem; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: 0.76rem; color: var(--red); margin-top: 5px; }

/* ══════════════════════════════════════════════════════════
   CARDS / TABLES
   ══════════════════════════════════════════════════════════ */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.card-header { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text-1); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-mid); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); padding: 10px 14px; border-bottom: 1px solid var(--border); }
td { padding: 11px 14px; font-size: 0.875rem; color: var(--text-2); border-bottom: 1px solid var(--border-mid); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-hover); color: var(--text-1); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
footer { margin-top: 80px; border-top: 1px solid var(--border-mid); padding: 52px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; font-size: 1.25rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-3); line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; transition: all var(--trans); }
.social-btn:hover { border-color: var(--border-h); background: var(--bg-card2); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 0.84rem; color: var(--text-2); transition: color var(--trans); }
.footer-col a:hover { color: var(--fire); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border-mid); font-size: 0.8rem; color: var(--text-3); }

/* ══════════════════════════════════════════════════════════
   SECTION HEADER
   ══════════════════════════════════════════════════════════ */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.section-title span { display: inline-block; width: 16px; height: 2px; background: var(--fire); border-radius: 1px; margin-right: 8px; vertical-align: middle; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .server-card { grid-template-columns: 40px 1fr; }
  .server-actions { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero { padding: 50px 0 36px; }
  .search-bar { flex-wrap: wrap; }
  .nav-main { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
}
