/* ============================================================
   GameServer-Liste — style.css
   Dark Cyberpunk Gaming Design — CSS-Variablen anpassbar
   ============================================================ */

/* ── Custom Properties (leicht anpassbar) ──────────────────── */
:root {
  --accent:        #00d4ff;
  --accent-2:      #ff6b35;
  --accent-glow:   rgba(0, 212, 255, 0.25);
  --bg:            #080c18;
  --bg-2:          #0d1225;
  --bg-3:          #111829;
  --bg-card:       #0f1728;
  --bg-card-hover: #141f35;
  --border:        rgba(0, 212, 255, 0.12);
  --border-bright: rgba(0, 212, 255, 0.35);
  --text:          #e2e8f0;
  --text-muted:    #7a8899;
  --text-dim:      #4a5568;
  --premium-gold:  #ffd700;
  --online-green:  #22c55e;
  --offline-red:   #ef4444;
  --radius:        8px;
  --radius-lg:     14px;
  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-accent: 0 4px 30px rgba(0, 212, 255, 0.2);
  --font-head:     'Rajdhani', sans-serif;
  --font-body:     'Exo 2', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --transition:    0.22s 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 {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,212,255,0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* Subtle grid pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

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

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

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.05em; cursor: pointer; border: none;
  transition: all var(--transition); text-transform: uppercase;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { background: #fff; color: #000; box-shadow: 0 0 30px rgba(255,255,255,0.3); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover { background: var(--accent); color: #000; box-shadow: var(--shadow-accent); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-danger { background: var(--offline-red); color: #fff; }
.btn-danger:hover { background: #c0392b; }
.btn-gold { background: var(--premium-gold); color: #000; }
.btn-gold:hover { background: #ffe44d; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,12,24,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; flex-shrink: 0;
}
.logo-icon { font-size: 1.4rem; color: var(--accent); }
.logo-text { background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 6px 14px; border-radius: var(--radius);
  color: var(--text-muted); font-family: var(--font-head);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  text-transform: uppercase; transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: rgba(0,212,255,0.07); }
.nav-admin { color: var(--premium-gold) !important; }
.nav-user { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.user-avatar-mini {
  width: 24px; height: 24px; background: var(--accent);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #000;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all var(--transition); border-radius: 2px; }

/* ── Flash Messages ─────────────────────────────────────────── */
.flash-container { position: fixed; top: 72px; right: 16px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.flash {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  animation: slideIn 0.3s ease; min-width: 280px; max-width: 400px;
  border: 1px solid;
}
.flash-success { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: #86efac; }
.flash-error   { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.3);  color: #fca5a5; }
.flash-info    { background: rgba(0,212,255,0.12);  border-color: rgba(0,212,255,0.3);  color: var(--accent); }
.flash-close { margin-left: auto; background: none; border: none; cursor: pointer; color: inherit; opacity: 0.7; font-size: 1rem; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ── Main Content ───────────────────────────────────────────── */
.main-content { min-height: calc(100vh - 64px - 200px); padding: 0; }

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  color: var(--accent); display: block;
  text-shadow: 0 0 20px var(--accent-glow);
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Game Tabs ──────────────────────────────────────────────── */
.game-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 24px 0 0;
}
.game-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-muted);
  font-family: var(--font-head); font-size: 0.88rem;
  font-weight: 600; cursor: pointer; transition: all var(--transition);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.game-tab:hover, .game-tab.active {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,212,255,0.08);
  box-shadow: 0 0 12px rgba(0,212,255,0.15);
}
.game-tab-icon { font-size: 1rem; }

/* ── Layout Split: Liste + Filter ────────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  padding: 32px 0 60px;
  align-items: start;
}
.server-list-col {}
.filter-col { position: sticky; top: 80px; }

/* ── Filter Panel ───────────────────────────────────────────── */
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.filter-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.filter-section { border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-toggle {
  width: 100%; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 0.85rem; font-weight: 600;
  font-family: var(--font-body); transition: background var(--transition);
}
.filter-toggle:hover { background: rgba(255,255,255,0.03); }
.filter-toggle-arrow { color: var(--text-dim); transition: transform var(--transition); font-size: 0.75rem; }
.filter-toggle.open .filter-toggle-arrow { transform: rotate(180deg); }
.filter-body { padding: 4px 12px 12px; display: none; }
.filter-body.open { display: block; }
.filter-options { display: flex; flex-direction: column; gap: 2px; }
.filter-option {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 6px; cursor: pointer;
  transition: background var(--transition); font-size: 0.83rem;
  color: var(--text-muted);
}
.filter-option:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.filter-option input[type=checkbox] { accent-color: var(--accent); width: 14px; height: 14px; }
.filter-option.active { color: var(--accent); }

/* ── Server Cards ───────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ''; display: block;
  width: 3px; height: 16px;
  background: var(--accent); border-radius: 2px;
}

.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  margin-bottom: 12px;
}
.server-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}
.server-card.premium {
  border-color: rgba(255,215,0,0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,215,0,0.03) 100%);
}
.server-card.premium::before {
  content: '★ PREMIUM';
  position: absolute; top: 0; right: 0;
  background: var(--premium-gold); color: #000;
  font-size: 0.65rem; font-weight: 800;
  padding: 3px 10px; letter-spacing: 0.08em;
  border-bottom-left-radius: 8px;
}
.server-banner {
  width: 100%; height: 60px; object-fit: cover;
  display: block;
}
.server-banner-placeholder {
  height: 60px;
  background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2));
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
@keyframes shimmer { 0%,100%{background-position:0%} 50%{background-position:100%} }
.server-body { padding: 14px 18px; display: flex; align-items: center; gap: 16px; }
.server-rank {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--text-dim); min-width: 36px; text-align: center;
}
.server-rank.rank-1 { color: var(--premium-gold); text-shadow: 0 0 12px rgba(255,215,0,0.4); }
.server-rank.rank-2 { color: #c0c0c0; }
.server-rank.rank-3 { color: #cd7f32; }
.server-info { flex: 1; min-width: 0; }
.server-name {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px; display: block;
}
.server-name:hover { color: var(--accent); }
.server-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge-game { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.badge-online { background: rgba(34,197,94,0.12); color: #86efac; border: 1px solid rgba(34,197,94,0.2); }
.badge-offline { background: rgba(239,68,68,0.12); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }
.badge-unknown { background: rgba(255,255,255,0.07); color: var(--text-dim); border: 1px solid rgba(255,255,255,0.1); }
.badge-players { background: rgba(255,255,255,0.07); color: var(--text); border: 1px solid var(--border); }
.badge-pvp { background: rgba(255,107,53,0.12); color: #ff6b35; border: 1px solid rgba(255,107,53,0.2); }
.badge-pve { background: rgba(34,197,94,0.1); color: #86efac; border: 1px solid rgba(34,197,94,0.2); }
.badge-lang { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); text-transform: uppercase; }
.server-stats {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-head);
}
.stat-num { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.server-actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn-favorite {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; font-size: 0.9rem; transition: all var(--transition);
  color: var(--text-dim);
}
.btn-favorite:hover, .btn-favorite.active { color: var(--premium-gold); border-color: rgba(255,215,0,0.3); background: rgba(255,215,0,0.08); }

/* ── Server Detail ──────────────────────────────────────────── */
.detail-page { padding: 40px 0 80px; }
.detail-header {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.detail-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.detail-banner { width: 100%; max-height: 120px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.detail-title { font-size: clamp(1.4rem, 3vw, 2rem); }
.detail-info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-top: 24px;
}
.info-item {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
}
.info-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.info-value { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; }
.info-ip { font-family: var(--font-mono); color: var(--accent); font-size: 0.9rem; }

/* Tabs auf Detail-Seite */
.detail-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.detail-tab {
  padding: 12px 24px; font-family: var(--font-head); font-size: 0.9rem;
  font-weight: 600; color: var(--text-muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--transition); text-transform: uppercase; letter-spacing: 0.04em;
  background: none; border-top: none; border-left: none; border-right: none;
}
.detail-tab:hover { color: var(--text); }
.detail-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.detail-tab-content { display: none; }
.detail-tab-content.active { display: block; }

/* Vote-Box */
.vote-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  text-align: center; margin-bottom: 16px;
}
.vote-count { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--accent); display: block; line-height: 1; }
.vote-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 8px 0 16px; }
.vote-btn { width: 100%; }
.vote-btn.voted { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid var(--border-bright); }

/* Push-Box */
.push-box {
  background: linear-gradient(135deg, rgba(255,215,0,0.05), var(--bg-card));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px;
}
.push-price { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--premium-gold); }
.push-desc { font-size: 0.82rem; color: var(--text-muted); margin: 8px 0 16px; }

/* Top-Voter Tabelle */
.voter-table { width: 100%; border-collapse: collapse; }
.voter-table th {
  padding: 10px 14px; text-align: left;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-dim); border-bottom: 1px solid var(--border);
}
.voter-table td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.88rem; }
.voter-table tr:last-child td { border-bottom: none; }
.voter-table tr:hover td { background: rgba(255,255,255,0.02); }
.voter-rank { font-family: var(--font-head); font-weight: 700; color: var(--text-dim); }
.voter-rank.r1 { color: var(--premium-gold); }
.voter-rank.r2 { color: #c0c0c0; }
.voter-rank.r3 { color: #cd7f32; }
.voter-votes { font-family: var(--font-head); font-weight: 700; color: var(--accent); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-page { padding: 60px 0; }
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  max-width: 640px; margin: 0 auto;
}
.form-card h2 { margin-bottom: 8px; }
.form-card .subtitle { color: var(--text-muted); margin-bottom: 32px; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
}
.form-label .required { color: var(--accent); margin-left: 3px; }
.form-control {
  width: 100%; padding: 11px 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--border-bright); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }
.form-control::placeholder { color: var(--text-dim); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 5px; }
.form-error { font-size: 0.78rem; color: #fca5a5; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.error-list { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.error-list li { color: #fca5a5; font-size: 0.88rem; margin-left: 16px; margin-bottom: 4px; }

/* ── Checkout / Payment ──────────────────────────────────────── */
.checkout-page { padding: 60px 0; }
.checkout-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  max-width: 520px; margin: 0 auto;
}
.checkout-total {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 700;
  color: var(--accent); text-align: center; margin: 24px 0;
}
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.payment-method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: all var(--transition);
  background: var(--bg-2);
}
.payment-method:hover { border-color: var(--border-bright); }
.payment-method.selected { border-color: var(--accent); background: rgba(0,212,255,0.06); }
.payment-method input[type=radio] { accent-color: var(--accent); }
.payment-logo { font-size: 1.4rem; }
.payment-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }

/* ── Admin ────────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--bg-card); border-right: 1px solid var(--border);
  padding: 24px 0;
}
.admin-sidebar-title {
  padding: 0 20px 16px; font-family: var(--font-head);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim);
}
.admin-nav a {
  display: block; padding: 10px 20px; color: var(--text-muted);
  font-size: 0.88rem; font-weight: 500; transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active { color: var(--accent); background: rgba(0,212,255,0.06); border-left-color: var(--accent); }
.admin-content { padding: 32px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.admin-stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--accent); }
.admin-stat-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
.data-table th {
  padding: 12px 16px; text-align: left;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-dim); background: var(--bg-2);
  border-bottom: 1px solid var(--border); font-family: var(--font-head);
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.88rem; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 32px 0 0; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid var(--border); font-family: var(--font-head); font-size: 0.9rem;
  color: var(--text-muted); transition: all var(--transition); background: var(--bg-card);
}
.pagination a:hover { border-color: var(--border-bright); color: var(--accent); }
.pagination .active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding-top: 48px; margin-top: 80px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; max-width: 240px; }
.footer-links h4 { font-family: var(--font-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 14px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 16px 0;
  font-size: 0.8rem; color: var(--text-dim); text-align: center;
}

/* ── Discord Widget ──────────────────────────────────────────── */
.discord-widget {
  background: #5865F2; border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 16px; text-align: center;
}
.discord-widget h4 { color: #fff; font-family: var(--font-head); margin-bottom: 8px; }
.discord-widget p { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-bottom: 16px; }
.btn-discord { background: #fff; color: #5865F2; font-weight: 700; }
.btn-discord:hover { background: #f0f0f0; }

/* ── Cluster Expand ──────────────────────────────────────────── */
.cluster-expand {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 16px; margin-top: -6px; margin-bottom: 12px;
  font-size: 0.82rem; color: var(--text-muted); cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.cluster-expand:hover { color: var(--accent); border-color: var(--border-bright); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .filter-col { position: static; }
  .filter-panel { display: none; }
  .filter-panel.mobile-open { display: block; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; padding: 16px; background: var(--bg-card); position: absolute; top: 64px; left: 0; right: 0; border-bottom: 1px solid var(--border); z-index: 99; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .hamburger { display: flex; }
  .nav-user .btn { display: none; }
  .nav-user .btn:last-child { display: inline-flex; }
  .hero-stats { gap: 24px; }
  .server-body { flex-wrap: wrap; }
  .server-stats { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .detail-title-row { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .form-card { padding: 24px 16px; }
}

@media (max-width: 480px) {
  .game-tabs { gap: 6px; }
  .game-tab { padding: 6px 12px; font-size: 0.78rem; }
  .hero { padding: 40px 0 32px; }
}

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-gold   { color: var(--premium-gold); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted); font-size: 0.95rem;
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; display: block; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse { animation: pulse 2s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; display: inline-block; }
