/* =============================================
   MyRust Server - Main Stylesheet
   Font: Rajdhani (headings) + Exo 2 (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ===== THEME VARIABLES ===== */
:root {
  --primary:        #0d47a1;
  --primary-light:  #1565c0;
  --primary-bright: #1976d2;
  --primary-glow:   #1976d244;
  --accent:         #00b0ff;
  --accent-glow:    #00b0ff55;
  --accent-soft:    #00b0ff22;
  --bg-deep:        #020b18;
  --bg-dark:        #040d1c;
  --bg-mid:         #071628;
  --bg-card:        #091d35;
  --bg-card2:       #0c2245;
  --bg-glass:       rgba(9,29,53,0.85);
  --text:           #e8f4fd;
  --text-muted:     #7bafd4;
  --text-dim:       #4a7fa0;
  --border:         #143055;
  --border-bright:  #1e4a7a;
  --online:         #00e676;
  --offline:        #ff1744;
  --gold:           #ffd700;
  --shadow-card:    0 8px 40px rgba(0,0,0,0.6);
  --shadow-accent:  0 0 40px rgba(0,176,255,0.2);
  --header-h:       80px;
  --radius:         12px;
  --radius-sm:      8px;
}

/* Red Theme */
body.theme-red {
  --primary:        #b71c1c;
  --primary-light:  #c62828;
  --primary-bright: #d32f2f;
  --primary-glow:   #d32f2f44;
  --accent:         #ff5252;
  --accent-glow:    #ff525255;
  --accent-soft:    #ff525222;
  --bg-deep:        #180202;
  --bg-dark:        #1c0404;
  --bg-mid:         #270606;
  --bg-card:        #340e0e;
  --bg-card2:       #3f1212;
  --bg-glass:       rgba(52,14,14,0.85);
  --text-muted:     #d47b7b;
  --text-dim:       #a04a4a;
  --border:         #551414;
  --border-bright:  #7a1e1e;
  --shadow-accent:  0 0 40px rgba(255,82,82,0.2);
}

/* Orange Theme */
body.theme-orange {
  --primary:        #bf360c;
  --primary-light:  #d84315;
  --primary-bright: #e64a19;
  --primary-glow:   #e64a1944;
  --accent:         #ff6d00;
  --accent-glow:    #ff6d0055;
  --accent-soft:    #ff6d0022;
  --bg-deep:        #180a01;
  --bg-dark:        #1c0e03;
  --bg-mid:         #271405;
  --bg-card:        #341c08;
  --bg-card2:       #3f220a;
  --bg-glass:       rgba(52,28,8,0.85);
  --text-muted:     #d4a07b;
  --text-dim:       #a06540;
  --border:         #552e14;
  --border-bright:  #7a3e1e;
  --shadow-accent:  0 0 40px rgba(255,109,0,0.2);
}

/* Purple Theme */
body.theme-purple {
  --primary:        #4a148c;
  --primary-light:  #6a1b9a;
  --primary-bright: #7b1fa2;
  --primary-glow:   #7b1fa244;
  --accent:         #e040fb;
  --accent-glow:    #e040fb55;
  --accent-soft:    #e040fb22;
  --bg-deep:        #0d0218;
  --bg-dark:        #11041c;
  --bg-mid:         #1a0727;
  --bg-card:        #230934;
  --bg-card2:       #2b0b3f;
  --bg-glass:       rgba(35,9,52,0.85);
  --text-muted:     #bf80d4;
  --text-dim:       #8a4aa0;
  --border:         #3d1455;
  --border-bright:  #581e7a;
  --shadow-accent:  0 0 40px rgba(224,64,251,0.2);
}

/* Green Theme */
body.theme-green {
  --primary:        #1b5e20;
  --primary-light:  #2e7d32;
  --primary-bright: #388e3c;
  --primary-glow:   #388e3c44;
  --accent:         #69f0ae;
  --accent-glow:    #69f0ae55;
  --accent-soft:    #69f0ae22;
  --bg-deep:        #011208;
  --bg-dark:        #02160a;
  --bg-mid:         #041f0f;
  --bg-card:        #062b15;
  --bg-card2:       #08351a;
  --bg-glass:       rgba(6,43,21,0.85);
  --text-muted:     #7bd48f;
  --text-dim:       #4aa060;
  --border:         #144d22;
  --border-bright:  #1e7a30;
  --shadow-accent:  0 0 40px rgba(105,240,174,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.6s, color 0.4s;
}

/* ===== GLOBAL BACKGROUND CANVAS ===== */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;          /* above image layer (z:1) but below grid (z:3) */
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s;
}

/* ===== BACKGROUND IMAGE LAYER ===== */
/* sits BELOW canvas so particles always show through */
#bg-image-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s;
}
/* darken image so text stays readable */
#bg-image-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}

/* ===== GLOBAL GRID OVERLAY ===== */
#bg-grid {
  position: fixed;
  inset: 0;
  z-index: 3;          /* always on top of canvas + image */
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
  transition: opacity 0.4s;
}

/* ===== NOISE GRAIN ===== */
#bg-noise {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

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

/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  transition: all 0.3s;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

#main-header.scrolled {
  height: 64px;
  background: var(--bg-glass);
  box-shadow: 0 4px 30px rgba(0,0,0,0.7), 0 0 0 1px var(--border-bright);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary-bright), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}
.logo-icon:hover { box-shadow: 0 0 35px var(--accent-glow); }

.logo-img {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px var(--accent-glow);
}

.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.logo-text span { color: var(--accent); }

/* ===== NAV ===== */
nav.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

nav.main-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  position: relative;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: all 0.25s;
  border-radius: 2px;
}
nav.main-nav a:hover { color: var(--text); }
nav.main-nav a:hover::after { left: 12px; right: 12px; }
nav.main-nav a.active { color: var(--accent); }
nav.main-nav a.active::after { left: 12px; right: 12px; }

/* ===== HERO / BANNER ===== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  display: none; /* replaced by global canvas */
}

.hero-grid {
  display: none; /* replaced by global #bg-grid */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  animation: heroFadeIn 1s ease both;
}

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

.hero-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: var(--accent-soft);
  animation: heroFadeIn 1s 0.2s ease both;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(135deg, var(--text) 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: heroFadeIn 1s 0.3s ease both;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: heroFadeIn 1s 0.4s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s 0.5s ease both;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.4s;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-bright), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-discord {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: #fff;
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88,101,242,0.6);
  color: #fff;
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.875rem; }

/* ===== SECTION LAYOUT ===== */
section { position: relative; z-index: 4; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.section-title span { color: var(--accent); }

.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

/* ===== SERVER SECTION ===== */
#server { background: linear-gradient(180deg, var(--bg-dark), var(--bg-mid)); }

.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-accent);
  transition: transform 0.3s;
}

.server-banner {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--bg-card2));
  overflow: hidden;
}

.server-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.server-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-card));
}

.server-status-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
  border: 1px solid currentColor;
}

.server-status-badge.online { color: var(--online); background: rgba(0,230,118,0.15); border-color: rgba(0,230,118,0.4); }
.server-status-badge.offline { color: var(--offline); background: rgba(255,23,68,0.15); border-color: rgba(255,23,68,0.4); }

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.server-info {
  padding: 2rem;
}

.server-name {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-block {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-block:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-soft);
}

.stat-block .stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  display: block;
}

.stat-block .stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-block .stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.server-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Loading state */
.loading-pulse {
  background: linear-gradient(90deg, var(--bg-card2) 25%, var(--border) 50%, var(--bg-card2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  height: 1em;
  display: inline-block;
  min-width: 60px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== ABOUT SECTION ===== */
#about { background: var(--bg-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

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

.about-text h3 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-visual {
  position: relative;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-card), var(--shadow-accent);
}

.about-visual-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--bg-card2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-card), 0 0 20px var(--accent-soft);
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

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

/* ===== STAFF SECTION ===== */
#staff { background: linear-gradient(180deg, var(--bg-mid), var(--bg-dark)); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.staff-card {
  text-align: center;
  transition: transform 0.3s;
}

.staff-card:hover { transform: translateY(-6px); }

.staff-avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  overflow: visible;
}

.staff-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--primary), var(--accent));
  z-index: 0;
  animation: rotate-ring 4s linear infinite;
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.staff-avatar-inner {
  position: relative;
  z-index: 1;
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-dark);
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-avatar-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.staff-avatar-placeholder {
  font-size: 3rem;
  color: var(--text-dim);
}

.staff-name {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.staff-rank {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
  border: 1px solid currentColor;
  opacity: 0.9;
}

/* ===== DISCORD BANNER ===== */
#discord {
  background: linear-gradient(135deg, var(--primary), var(--bg-card2));
  position: relative;
  overflow: hidden;
}

#discord::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.discord-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.discord-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }

.discord-content h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.discord-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-bright);
  position: relative;
  z-index: 4;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand .logo-text { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

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

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  font-size: 1rem;
  transition: all 0.2s;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

/* ===== ADMIN SHIELD BUTTON ===== */
#admin-shield-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#admin-credit {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  opacity: 0.6;
  transition: opacity 0.2s;
  white-space: nowrap;
  user-select: none;
}
#admin-shield-wrap:hover #admin-credit { opacity: 1; color: var(--accent); }

#admin-shield {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 2px solid var(--border-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text-dim);
  font-size: 1.3rem;
  flex-shrink: 0;
}
#admin-shield:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), var(--shadow-card);
  transform: scale(1.1) rotate(-5deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .header-logo { margin: 0 auto; }
  .server-stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ===== UTILITY ===== */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
