@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,600;0,700;0,800;1,700&family=Orbitron:wght@700;800;900&family=Outfit:wght@400;500;600;700;800&family=Unbounded:wght@700;800;900&display=swap');

:root {
  /* Color Palette Specified by User */
  --primary-cyan: #00d2ff;       /* Vivid Blue-Cyan */
  --secondary-blue: #005f73;     /* Deep Blue-Green */
  --primary-green: #00ff87;      /* Electric Mint Green */
  --secondary-green: #00a852;    /* Deep Green */
  --sidebar-accent: var(--primary-cyan);
  --sidebar-accent-rgb: 0, 210, 255;
  --sidebar-accent-soft: rgba(0, 210, 255, 0.1);

  /* Dark Slate / Grey Theme */
  --bg-main: #0c1017;
  --bg-surface: #121824;
  --bg-surface-elevated: #182232;
  --bg-glass-base: rgba(18, 24, 38, 0.72);
  --bg-glass-card: rgba(22, 30, 46, 0.65);
  --bg-glass-solid: rgba(26, 36, 54, 0.88);
  --bg-glass-hover: rgba(32, 44, 66, 0.75);

  /* Glass Borders & Outlines */
  --border-glass: rgba(0, 210, 255, 0.16);
  --border-glass-hover: rgba(0, 255, 135, 0.4);
  --border-glass-subtle: rgba(255, 255, 255, 0.08);

  /* Neon Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(0, 210, 255, 0.35);
  --glow-green: 0 0 25px rgba(0, 255, 135, 0.35);
  --glow-combined: 0 8px 32px 0 rgba(0, 210, 255, 0.15), 0 2px 10px 0 rgba(0, 255, 135, 0.12);
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-card-hover: 0 20px 48px -8px rgba(0, 210, 255, 0.25), inset 0 1px 0 rgba(0, 255, 135, 0.3);

  /* Text Colors */
  --text-pure: #ffffff;
  --text-primary: #e6edf3;
  --text-secondary: #9aa7b8;
  --text-muted: #64748b;
  --text-cyan: #38e1ff;
  --text-orange: #ff9f43;
  --text-green: #2bfba0;
  --text-red: #971313;

  /* Typography */
  --font-brand: 'Unbounded', 'Orbitron', sans-serif;
  --font-hero: 'Unbounded', 'Chakra Petch', sans-serif;
  --font-heading: 'Chakra Petch', 'Rajdhani', sans-serif;
  --font-display: 'Unbounded', 'Orbitron', sans-serif;
  --font-body: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  --sidebar-accent: var(--primary-cyan);
  --sidebar-accent-rgb: 0, 210, 255;
  --sidebar-accent-soft: rgba(0, 210, 255, 0.1);
}

body[data-server="arma"] {
  --sidebar-accent: var(--primary-green);
  --sidebar-accent-rgb: 0, 255, 135;
  --sidebar-accent-soft: rgba(0, 255, 135, 0.1);
  --theme-glow: 0 0 25px rgba(0, 255, 135, 0.35);
  --shadow-card-hover: 0 20px 48px -8px rgba(0, 255, 135, 0.25), inset 0 1px 0 rgba(0, 255, 135, 0.3);
}

body[data-server="beamng"] {
  --sidebar-accent: #ff9f43;
  --sidebar-accent-rgb: 255, 159, 67;
  --sidebar-accent-soft: rgba(255, 159, 67, 0.14);
  --theme-glow: 0 0 25px rgba(255, 159, 67, 0.35);
  --shadow-card-hover: 0 20px 48px -8px rgba(255, 140, 0, 0.25), inset 0 1px 0 rgba(255, 159, 67, 0.3);
}

/* Ambient Background Light Orbs */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(0, 95, 115, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

body::after {
  content: '';
  position: fixed;
  bottom: 5%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 255, 135, 0.1) 0%, rgba(0, 168, 82, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

/* Theme-specific Ambient Background Light Orbs */
body[data-server="arma"]::before {
  background: radial-gradient(circle, rgba(0, 255, 135, 0.12) 0%, rgba(0, 168, 82, 0.04) 50%, transparent 70%);
}
body[data-server="arma"]::after {
  background: radial-gradient(circle, rgba(0, 255, 135, 0.08) 0%, rgba(0, 100, 50, 0.03) 50%, transparent 70%);
}

body[data-server="beamng"]::before {
  background: radial-gradient(circle, rgba(255, 140, 0, 0.14) 0%, rgba(180, 80, 0, 0.04) 50%, transparent 70%);
}
body[data-server="beamng"]::after {
  background: radial-gradient(circle, rgba(255, 159, 67, 0.1) 0%, rgba(120, 50, 0, 0.03) 50%, transparent 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-blue);
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-pure);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-orange {
  background: linear-gradient(135deg, #ff9f43 0%, #ff6b00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   GLASSMORPHISM CORE COMPONENTS
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass-base);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}


.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-card-hover);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-cyan), var(--primary-green), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--text-cyan);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.glass-badge.green {
  background: rgba(0, 255, 135, 0.1);
  border-color: rgba(0, 255, 135, 0.25);
  color: var(--text-green);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0099cc 100%);
  color: #05101a;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38e1ff 0%, var(--primary-cyan) 100%);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.65);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: #03140a;
  box-shadow: 0 4px 20px rgba(0, 255, 135, 0.35);
}

.btn-accent-beam {
  background: linear-gradient(135deg, #ff9f43, #ff6b00);
  color: #05101a;
  box-shadow: 0 4px 20px rgba(255, 159, 67, 0.4);
}

.btn-accent-beam:hover {
  background: linear-gradient(135deg, #ff9f43, #ff6b00);
  box-shadow: 0 6px 28px rgba(255, 159, 67, 0.55);
  transform: translateY(-2px);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #4dffaa 0%, var(--primary-green) 100%);
  box-shadow: 0 6px 28px rgba(0, 255, 135, 0.55);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}

.btn-glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.btn-discord {
  background: #5865f2;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.75rem;
  margin: 1rem auto;
  background: rgba(14, 19, 30, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.brand-logo img {
  height: 46px;
  width: auto;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.6)) drop-shadow(0 0 6px rgba(0, 255, 135, 0.4));
  transition: var(--transition-smooth);
}

.brand-logo:hover img {
  transform: rotate(-4deg) scale(1.08);
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.85)) drop-shadow(0 0 10px rgba(0, 255, 135, 0.6));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}

.brand-title {
  color: var(--text-pure);
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.65rem;
  color: var(--text-cyan);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #c4d1e2;
  letter-spacing: 0.035em;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.server-status-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 140px;
  box-sizing: border-box;
  background: rgba(0, 255, 135, 0.09);
  border: 1px solid rgba(0, 255, 135, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-green);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.18);
  transition: all 0.35s ease;
}

.server-status-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 135, 0.35), transparent);
  animation: radar-sweep 3.5s infinite ease-in-out;
}

@keyframes radar-sweep {
  0% { left: -100%; }
  35%, 100% { left: 160%; }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-green);
  box-shadow: 0 0 10px var(--primary-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--primary-green); }
  50% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 4px var(--primary-green); }
}

.server-status-pill.offline {
  background: rgba(255, 71, 87, 0.09);
  border-color: rgba(255, 71, 87, 0.35);
  color: #ff4757;
  box-shadow: 0 0 14px rgba(255, 71, 87, 0.18);
}

.server-status-pill.offline::before {
  background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.35), transparent);
}

.status-dot.offline {
  background-color: #ff4757;
  box-shadow: 0 0 10px #ff4757;
  animation: pulse-dot-offline 2s infinite;
}

@keyframes pulse-dot-offline {
  0%, 100% { opacity: 0.9; transform: scale(1); box-shadow: 0 0 10px #ff4757; }
  50% { opacity: 0.4; transform: scale(0.85); box-shadow: 0 0 4px #ff4757; }
}


.status-pop {
  display: inline-block;
  animation: statusPopAnim 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes statusPopAnim {
  0% { transform: scale(1.22); color: var(--primary-cyan); text-shadow: 0 0 12px var(--primary-cyan); }
  100% { transform: scale(1); color: var(--text-green); text-shadow: none; }
}

.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 85px;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(14, 19, 30, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  z-index: 999;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 1.2rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45) contrast(1.15);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.6) 0%, rgba(12, 16, 23, 0.85) 65%, var(--bg-main) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-family: var(--font-hero);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.server-connect-box {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.server-connect-box-arma {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid #00a852;
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.server-connect-box-beam {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 159, 67, 0.25);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.server-ip-info {
  display: flex;
  flex-direction: column;
}

.ip-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ip-value {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-cyan);
}
.copy-ip-btn-beam {
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.35);
  color: var(--text-orange);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.copy-ip-btn-beam:hover {
  background: var(--primary-orange);
  color: linear-gradient(135deg, #ff9f43, #ff6b00);
  box-shadow: 0 0 15px rgba(255, 159, 67, 0.5);
}
.copy-ip-btn {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--text-cyan);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.copy-ip-btn:hover {
  background: var(--primary-cyan);
  color: #05101a;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}
.copy-ip-btn-arma {
  background: #00a8521a;
  border: 1px solid #00a852;
  color: var(--text-green);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.copy-ip-btn-arma:hover {
  background: var(--primary-green);
  color: #05101a;
  box-shadow: 0 0 15px rgba(0, 168, 82, 0.5);
}
.hero-stats-row {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Interactive Card / Server Radar */
.hero-glass-radar {
  padding: 1.6rem;
  position: relative;
  max-height: 82vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 210, 255, 0.3) transparent;
}

.hero-glass-radar::-webkit-scrollbar {
  width: 4px;
}

.hero-glass-radar::-webkit-scrollbar-thumb {
  background: rgba(0, 210, 255, 0.35);
  border-radius: 4px;
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.radar-title {
  font-size: 1.25rem;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.radar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(14, 19, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.radar-item:hover {
  border-color: rgba(0, 210, 255, 0.3);
  background: rgba(0, 210, 255, 0.05);
}

.radar-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.radar-label i {
  color: var(--primary-cyan);
}

.radar-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-pure);
}

.radar-val.highlight-green {
  color: var(--text-green);
}
.radar-val.highlight-red {
  color: var(--text-red);
}

.radar-val.highlight-cyan {
  color: var(--text-cyan);
}

.radar-mode-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-cyan);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-tag {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURE PILLARS
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
  transition: var(--transition-smooth);
}

.feature-card.green-accent .feature-icon-wrap {
  background: rgba(0, 255, 135, 0.12);
  border-color: rgba(0, 255, 135, 0.3);
  color: var(--text-green);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.feature-card.orange-accent .feature-icon-wrap {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.3);
  color: #ff9f43;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  color: var(--text-pure);
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.feature-list li i {
  color: var(--primary-green);
  font-size: 0.85rem;
}

/* ==========================================================================
   SHOWCASE HIGHLIGHT / DUAL BANNERS
   ========================================================================== */
.showcase-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* ========================================================================== 
   PLAYER GUIDE CARD DECK
   ========================================================================== */
.guide-deck {
  --deck-card-width: min(78%, 680px);
  position: relative;
  height: 515px;
  max-width: 980px;
  margin: 2rem auto 0;
  isolation: isolate;
}

.guide-card {
  --fan-x: 0px;
  --fan-y: 0px;
  --fan-rotate: 0deg;
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--deck-card-width);
  min-height: 430px;
  padding: 1.75rem 2rem;
  cursor: pointer;
  transform: translateX(-50%) translateY(calc(var(--card-order) * 7px)) rotate(calc(var(--card-order) * 1deg));
  transform-origin: center bottom;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), width 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition-smooth), border-color var(--transition-smooth), opacity var(--transition-smooth);
}

.guide-card:nth-child(1) { --card-order: 0; --fan-x: -38%; --fan-y: 24px; --fan-rotate: -10deg; z-index: 5; }
.guide-card:nth-child(2) { --card-order: 1; --fan-x: -19%; --fan-y: 6px; --fan-rotate: -5deg; z-index: 4; }
.guide-card:nth-child(3) { --card-order: 2; --fan-x: 0%; --fan-y: 0px; --fan-rotate: 0deg; z-index: 3; }
.guide-card:nth-child(4) { --card-order: 3; --fan-x: 19%; --fan-y: 6px; --fan-rotate: 5deg; z-index: 2; }
.guide-card:nth-child(5) { --card-order: 4; --fan-x: 38%; --fan-y: 24px; --fan-rotate: 10deg; z-index: 1; }

.guide-deck:hover .guide-card,
.guide-deck:focus-within .guide-card {
  transform: translateX(calc(-50% + var(--fan-x))) translateY(var(--fan-y)) rotate(var(--fan-rotate));
}

.guide-card.is-active,
.guide-deck:hover .guide-card.is-active,
.guide-deck:focus-within .guide-card.is-active {
  z-index: 10;
  width: min(84%, 720px);
  transform: translateX(-50%) translateY(0) rotate(0deg);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-card-hover);
}

.guide-card:hover { transform: translateX(calc(-50% + var(--fan-x))) translateY(calc(var(--fan-y) - 14px)) rotate(var(--fan-rotate)); }
.guide-card.is-active:hover { transform: translateX(-50%) translateY(-5px) rotate(0deg); }

.guide-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-card-number { color: var(--text-muted); font-family: var(--font-display); font-size: 0.78rem; }
.guide-card h3 { font-size: 1.75rem; margin: 1rem 0 0.45rem; }
.guide-summary { color: var(--text-secondary); max-width: 54ch; }
.guide-card-details { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--border-glass-subtle); color: var(--text-secondary); opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity 0.25s ease, transform 0.35s ease, visibility 0.35s; }
.guide-card.is-active .guide-card-details { opacity: 1; transform: translateY(0); visibility: visible; }
.guide-card-details p + p { margin-top: 0.85rem; }
.guide-card-details strong { color: var(--text-primary); }
.guide-keybind, .guide-keybind-list > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-keybind { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border-glass-subtle); }
.guide-keybind-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; }
.guide-keybind-list > div { padding: 0.55rem 0; border-bottom: 1px solid var(--border-glass-subtle); }
.guide-keybind-note { font-size: 0.9rem; color: var(--text-muted); }
.guide-placeholder { color: var(--text-muted); font-style: italic; }
.guide-placeholder i { color: var(--primary-green); margin-right: 0.35rem; }
.guide-card kbd { padding: 0.28rem 0.55rem; border: 1px solid rgba(0, 210, 255, 0.32); border-radius: 6px; background: rgba(0, 210, 255, 0.1); color: var(--text-cyan); font: 700 0.78rem var(--font-heading); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .guide-card, .guide-card-details { transition: none; }
  body::before, body::after { filter: none; }
}

.showcase-card {
  position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-cyan);
}

.showcase-card.green-mode:hover {
  border-color: var(--primary-green);
  box-shadow: var(--glow-green);
}

.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.7) contrast(1.1);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.06);
}

.showcase-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.1) 0%, rgba(12, 16, 23, 0.7) 50%, rgba(12, 16, 23, 0.96) 100%);
}

.showcase-info {
  position: relative;
  z-index: 2;
  padding: 2.25rem;
}

.showcase-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--text-pure);
}

.showcase-info p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   INTERACTIVE LEADERBOARDS SECTION
   ========================================================================== */
.leaderboards-wrap {
  padding: 2.5rem;
}

.tab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
}

.tab-btn.green.active, .tab-btn.green:hover {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--primary-green);
  color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.25);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-table td {
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

/* Rank column - centered & compact */
.leaderboard-table th:first-child,
.leaderboard-table td:first-child {
  width: 70px;
  text-align: center;
}

/* Player/Driver column - left aligned */
.leaderboard-table th:nth-child(2),
.leaderboard-table td:nth-child(2) {
  text-align: left;
  width: 25%;
}

/* All Stat / Metric columns (Kills, Deaths, KD Ratio, Streak, etc.) - centered & evenly spaced */
.leaderboard-table th:nth-child(n+3),
.leaderboard-table td:nth-child(n+3) {
  text-align: center;
  white-space: nowrap;
}

.leaderboard-table tr {
  transition: var(--transition-fast);
}

.leaderboard-table tbody tr:hover {
  background: rgba(0, 210, 255, 0.04);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.rank-1 {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #1a1000;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.rank-2 {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #0f172a;
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a05a2c);
  color: #ffffff;
}

.rank-other {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.player-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-pure);
}

.player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-cyan);
  font-size: 0.9rem;
}

/* ==========================================================================
   HOW TO JOIN STEPS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  position: relative;
}

.step-card {
  padding: 2.25rem 1.85rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.step-card:hover .step-number {
  color: rgba(0, 210, 255, 0.15);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-cyan);
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-pure);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   VIP STORE / SUPPORTER TIERS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-cyan);
  background: rgba(20, 28, 44, 0.85);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
  color: #05101a;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}

.pricing-tier {
  font-size: 1.5rem;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-pure);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pricing-perks li i {
  color: var(--primary-green);
  font-size: 0.9rem;
}

/* ==========================================================================
   RULES ACCORDION
   ========================================================================== */
.rules-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rule-item {
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.rule-header {
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  transition: var(--transition-fast);
}

.rule-header:hover {
  background: var(--bg-glass-hover);
  border-color: var(--primary-cyan);
}

.rule-header.active {
  border-color: var(--primary-cyan);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(0, 210, 255, 0.08);
}

.rule-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-pure);
}

.rule-index {
  color: var(--primary-cyan);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.rule-arrow {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.rule-header.active .rule-arrow {
  transform: rotate(180deg);
  color: var(--primary-cyan);
}

.rule-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: rgba(14, 19, 30, 0.7);
  border: 1px solid var(--border-glass);
  border-top: none;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 0 1.75rem;
}

.rule-body.open {
  padding: 1.5rem 1.75rem;
}

.rule-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-guide-link {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 135, 0.55);
  text-underline-offset: 3px;
}

.faq-guide-link:hover {
  filter: brightness(1.2);
}

/* ==========================================================================
   MEDIA / GALLERY LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-cyan);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 16, 23, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 14, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 1000px;
  width: 100%;
  position: relative;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 60px rgba(0,0,0,0.9);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--primary-cyan);
  transform: scale(1.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: 6rem;
  background: rgba(10, 14, 20, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--primary-cyan);
  box-shadow: var(--glow-cyan);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-pure);
  font-family: var(--font-heading);
  font-weight: 700;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notice i {
  color: var(--primary-green);
  font-size: 1.2rem;
}

/* ========================================================================== 
   ROADMAP FLOW
   ========================================================================== */
.roadmap-flow {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  display: grid;
  gap: 2rem;
}

.roadmap-flow::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--primary-green), var(--primary-cyan), rgba(0, 210, 255, 0.12));
  box-shadow: var(--glow-combined);
}

.roadmap-stage {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
}

.roadmap-node {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  background: var(--bg-glass-solid);
  border: 1px solid var(--primary-cyan);
  color: var(--text-cyan);
  font-size: 1.35rem;
  box-shadow: var(--glow-cyan);
}

.roadmap-stage-active .roadmap-node { border-color: var(--primary-green); color: var(--text-green); box-shadow: var(--glow-green); }
.roadmap-stage-future .roadmap-node { color: var(--text-muted); border-color: var(--border-glass); box-shadow: none; }
.roadmap-card { padding: 1.75rem 2rem; }
.roadmap-card h3 { font-size: 1.65rem; margin: 0.8rem 0 0.35rem; }
.roadmap-card p { color: var(--text-secondary); }
.roadmap-card ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.5rem; margin-top: 1.25rem; }
.roadmap-card li { color: var(--text-primary); font-size: 0.95rem; display: flex; gap: 0.55rem; align-items: start; }
.roadmap-card li::before {
  content: "•";
  color: var(--primary-green);
}
.roadmap-stage-future .roadmap-card { opacity: 0.85; }
.roadmap-stage-future .btn { margin-top: 1.25rem; }

/* ==========================================================================
   SERVER CONTROL PANEL & UBUNTU TERMINAL STYLES
   ========================================================================== */
.server-control-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass-card);
  transition: var(--transition-smooth);
}

.server-control-card:hover {
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 210, 255, 0.15);
}

.server-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.server-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.server-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.2;
}

.server-card-ip {
  font-size: 0.8rem;
  color: var(--text-cyan);
  font-family: monospace;
  margin-top: 0.2rem;
}

.server-status-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
}

.server-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.metric-box {
  background: rgba(12, 16, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
}

.server-card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.btn-server-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-server-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(1);
}

.btn-server-action.btn-start {
  background: rgba(0, 255, 135, 0.12);
  border-color: rgba(0, 255, 135, 0.3);
  color: var(--text-green);
}
.btn-server-action.btn-start:not(:disabled):hover {
  background: var(--primary-green);
  color: #03140a;
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.4);
}

.btn-server-action.btn-stop {
  background: rgba(255, 71, 87, 0.12);
  border-color: rgba(255, 71, 87, 0.3);
  color: #ff4757;
}
.btn-server-action.btn-stop:not(:disabled):hover {
  background: #ff4757;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 71, 87, 0.4);
}

.btn-server-action.btn-restart {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--text-cyan);
}
.btn-server-action.btn-restart:not(:disabled):hover {
  background: var(--primary-cyan);
  color: #05101a;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
}

/* Upload, Config, Mods buttons */
.btn-server-action.btn-upload,
.btn-server-action.btn-config,
.btn-server-action.btn-mods {
  background: rgba(0, 206, 201, 0.12);
  border-color: rgba(0, 206, 201, 0.3);
  color: #00cec9;
}
.btn-server-action.btn-upload:not(:disabled):hover,
.btn-server-action.btn-config:not(:disabled):hover,
.btn-server-action.btn-mods:not(:disabled):hover {
  background: #00cec9;
  color: #001a19;
  box-shadow: 0 0 16px rgba(0, 206, 201, 0.4);
}

/* Utility buttons (Clear Cache, Stop All Resources) */
.btn-server-action.btn-util {
  background: rgba(255, 179, 0, 0.09);
  border-color: rgba(255, 179, 0, 0.25);
  color: #ffd700;
  font-size: 0.78rem;
  padding: 0.45rem 1rem;
}
.btn-server-action.btn-util:not(:disabled):hover {
  background: rgba(255, 179, 0, 0.22);
  border-color: rgba(255, 179, 0, 0.55);
  box-shadow: 0 0 14px rgba(255, 179, 0, 0.3);
  color: #fffbe6;
}

.command-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.command-hint code {
  color: var(--text-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
}

/* ==================== SERVER SELECTOR SIDEBAR ==================== */

.sidebar-toggle {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-100%);
  z-index: 1001;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.95rem 0.6rem;
  min-width: 36px;

  border: 1px solid rgba(var(--sidebar-accent-rgb), 0.4);
  border-left: none;
  border-radius: 0 14px 14px 0;

  background: rgba(7, 12, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  color: var(--sidebar-accent);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(var(--sidebar-accent-rgb), 0.2);

  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover zone on left edge to reveal toggle */
.sidebar-toggle-zone {
  position: fixed;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  z-index: 1000;
}

.sidebar-toggle-zone:hover ~ .sidebar-toggle,
.sidebar-toggle:hover,
.sidebar-toggle.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sidebar-toggle.visible {
  border-color: var(--sidebar-accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 28px rgba(var(--sidebar-accent-rgb), 0.4);
}

.sidebar-toggle:hover {
  background: rgba(10, 22, 38, 0.98);
  border-color: var(--sidebar-accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 28px rgba(var(--sidebar-accent-rgb), 0.4);
}

.sidebar-toggle-icon {
  font-size: 0.95rem;
  color: var(--sidebar-accent);
  filter: drop-shadow(0 0 8px rgba(var(--sidebar-accent-rgb), 0.7));
}

.sidebar-toggle-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #f1f5f9;
  user-select: none;
}

.sidebar-toggle-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.sidebar-toggle:hover .sidebar-toggle-arrow {
  color: var(--sidebar-accent);
  transform: translateX(2px);
}


/* ==================== SIDE NAV DRAWER ==================== */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;

  width: 300px;
  max-width: 86vw;
  height: 100vh;

  z-index: 1002;

  display: flex;
  flex-direction: column;

  padding: 1.35rem;
  overflow-y: auto;
  overflow-x: hidden;

  background: rgba(6, 10, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  border-right: 1px solid rgba(0, 210, 255, 0.22);
  box-shadow: 14px 0 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 210, 255, 0.09);

  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav::-webkit-scrollbar {
  width: 4px;
}
.side-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 210, 255, 0.25);
  border-radius: 4px;
}

.side-nav.open {
  transform: translateX(0);
}


/* Drawer Header */

.side-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 1.15rem;
  margin-bottom: 0.75rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.side-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.side-brand-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.1;
}

.side-brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary-cyan);
  text-transform: uppercase;
}

/* Close button */

.sidebar-close {
  width: 32px;
  height: 32px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition: all 0.2s ease;
}

.sidebar-close:hover {
  color: #ff4757;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.1);
}


/* Section Label */
.side-nav-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0.35rem 0 0.75rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.side-nav-label i {
  color: var(--primary-cyan);
}


/* Navigation Links & Groups */

.side-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.side-nav-group {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.25s ease;
}

.side-nav-group.fivem-group:hover,
.side-nav-group.fivem-group.active-group {
  border-color: rgba(0, 210, 255, 0.3);
  background: rgba(0, 210, 255, 0.03);
}

.side-nav-group.arma-group:hover,
.side-nav-group.arma-group.active-group {
  border-color: rgba(0, 255, 135, 0.3);
  background: rgba(0, 255, 135, 0.03);
}

/* BeamNG Server Group */
.side-nav-group.beamng-group:hover,
.side-nav-group.beamng-group.active-group {
  border-color: rgba(255, 140, 0, 0.3);
  background: rgba(255, 140, 0, 0.03);
}

/* Parent Category Header */

.side-nav-parent {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  padding: 0.85rem 0.95rem;

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

  font-family: var(--font-heading);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.parent-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.side-parent-icon {
  font-size: 1.15rem;
  color: var(--primary-cyan);
}

.arma-parent .side-parent-icon {
  color: var(--primary-green);
}

.beamng-parent .side-parent-icon {
  color: #ff9f43;
}

.parent-title {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.2;
}

.parent-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.side-parent-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Badges inside sidebar */
.side-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.18rem 0.48rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-cyan);
  box-shadow: 0 0 6px var(--primary-cyan);
}

.badge-dot.green {
  background: var(--primary-green);
  box-shadow: 0 0 6px var(--primary-green);
}

.side-badge.cyan {
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.side-badge.green {
  color: var(--primary-green);
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.35);
}

.side-badge.orange {
  color: #ff9f43;
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 140, 0, 0.35);
}

.badge-dot.orange {
  background: #ff9f43;
  box-shadow: 0 0 6px #ff9f43;
}

.side-nav-parent:hover {
  background: rgba(255, 255, 255, 0.04);
}

.side-nav-parent.open {
  background: rgba(255, 255, 255, 0.03);
}

.side-nav-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.side-nav-parent.open .side-nav-arrow {
  transform: rotate(180deg);
  color: var(--text-primary);
}


/* Submenu dropdown */

.side-nav-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 0.5rem;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.25s ease;
}

.side-nav-submenu.open {
  max-height: 480px;
  opacity: 1;
  padding: 0.25rem 0.5rem 0.65rem 0.5rem;
}


/* Sub links */

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.6rem 0.75rem;
  margin-bottom: 0.15rem;

  border-radius: 7px;
  color: var(--text-secondary);
  text-decoration: none;

  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;

  transition: all 0.18s ease;
}

.side-nav-link i {
  width: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.side-nav-link:hover {
  color: #ffffff;
  background: rgba(var(--sidebar-accent-rgb), 0.09);
  transform: translateX(3px);
}

.side-nav-link:hover i {
  color: var(--sidebar-accent);
}

.side-nav-link.active {
  color: var(--sidebar-accent);
  background: rgba(var(--sidebar-accent-rgb), 0.12);
  border-left: 2px solid var(--sidebar-accent);
  padding-left: 0.65rem;
}

.side-nav-link.active i {
  color: var(--sidebar-accent);
}

.side-nav-group[data-game="arma"] .side-nav-link:hover {
  background: rgba(0, 255, 135, 0.09);
}

.side-nav-group[data-game="arma"] .side-nav-link:hover i,
.side-nav-group[data-game="arma"] .side-nav-link.active,
.side-nav-group[data-game="arma"] .side-nav-link.active i {
  color: var(--primary-green);
  border-left-color: var(--primary-green);
}

.side-nav-group[data-game="beamng"] .side-nav-link:hover {
  background: rgba(255, 159, 67, 0.09);
}

.side-nav-group[data-game="beamng"] .side-nav-link:hover i,
.side-nav-group[data-game="beamng"] .side-nav-link.active,
.side-nav-group[data-game="beamng"] .side-nav-link.active i {
  color: #ff9f43;
  border-left-color: #ff9f43;
}

body[data-server="beamng"] .side-nav-group[data-game="fivem"] .side-nav-link:hover {
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.09);
}

body[data-server="beamng"] .side-nav-group[data-game="fivem"] .side-nav-link:hover i {
  color: var(--primary-cyan);
}

body[data-server="beamng"] .side-nav-group[data-game="arma"] .side-nav-link:hover {
  color: var(--primary-green);
  background: rgba(0, 255, 135, 0.09);
}

body[data-server="beamng"] .side-nav-group[data-game="arma"] .side-nav-link:hover i {
  color: var(--primary-green);
}

body[data-server="arma"] .side-nav-group[data-game="fivem"] .side-nav-link:hover {
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.09);
}

body[data-server="arma"] .side-nav-group[data-game="fivem"] .side-nav-link:hover i {
  color: var(--primary-cyan);
}


/* Bottom Quick Actions */

.side-nav-bottom {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-nav-quick {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-panel-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-panel-quick:hover,
.btn-panel-quick.active {
  background: rgba(0, 210, 255, 0.18);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  color: #ffffff;
}

.btn-panel-quick.active {
  border-color: rgba(0, 210, 255, 0.55);
  background: rgba(0, 210, 255, 0.24);
}

.btn-discord-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: #5865F2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-discord-quick:hover {
  background: #4752C4;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.35);
}


/* Dark backdrop behind sidebar */

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.sidebar-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ================================
   BeamNG Mod Upload Modal
   ================================ */

.beamng-upload-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beamng-upload-modal[hidden] {
    display: none;
}

.beamng-upload-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.beamng-upload-dialog {
    position: relative;
    width: min(480px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
    border-radius: 14px;
    background: var(--card-bg, #151515);
    border: 1px solid var(--border-color, rgba(255,255,255,.1));
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.beamng-upload-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.beamng-upload-header h3 {
    margin: 0;
}

.beamng-upload-header p {
    margin: 6px 0 0;
    opacity: .65;
    font-size: .9rem;
}

.beamng-upload-close {
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    opacity: .7;
}

.beamng-file-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px dashed rgba(255,255,255,.2);
    border-radius: 9px;
    cursor: pointer;
    transition: .2s;
}

.beamng-file-picker:hover {
    border-color: rgba(255,255,255,.45);
}

.beamng-selected-count {
    margin-top: 14px;
    font-size: .9rem;
    opacity: .7;
}

.beamng-selected-files {
    margin-top: 10px;
    max-height: 150px;
    overflow-y: auto;
}

.beamng-selected-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: .88rem;
}

.beamng-upload-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.beamng-upload-actions button,
#beamng-upload-ok {
    border: 0;
    border-radius: 8px;
    padding: 9px 16px;
    cursor: pointer;
}

#beamng-upload-start:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.beamng-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: .88rem;
}

.beamng-progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.beamng-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00d2ff, #00ff87);
    border-radius: inherit;
    transition: width .15s ease;
}

.beamng-current-file {
    margin-top: 12px;
    font-size: .88rem;
    opacity: .75;
}

.beamng-upload-file-status {
    margin-top: 12px;
}

.beamng-upload-status-file {
    padding: 5px 0;
    font-size: .84rem;
}

.beamng-upload-success {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    font-size: 24px;
}

#beamng-upload-complete {
    text-align: center;
}

#beamng-upload-complete h3 {
    margin: 0;
}

#beamng-upload-result {
    opacity: .7;
}

#beamng-upload-result-files {
    margin: 14px 0;
    text-align: left;
}

@media (max-width: 600px) {
    .beamng-upload-dialog {
        padding: 20px;
    }
}

/* ==========================================================================
   DISCORD WEBHOOK MODAL
   ========================================================================== */
#discordWebhookInput:focus {
    border-color: #5865f2 !important;
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.3) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1280px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.94rem;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .navbar-wrap {
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 1080px) {
  .nav-links, .nav-actions .btn-discord {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Backdrop blurs are costly on mobile GPUs; retain the glass colour without them. */
  .glass-card, .glass-panel, .btn-glass, .navbar-wrap, .toast-notice {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body::before, body::after { filter: blur(28px); }
  .navbar-wrap {
    padding: 0.75rem 1.25rem;
  }
  .hero-stats-row {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .tab-nav {
    flex-direction: column;
    width: 100%;
  }
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
  .leaderboard-table {
    display: block;
    overflow-x: auto;
  }
  .guide-deck {
    height: auto;
    --deck-card-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .guide-card,
  .guide-deck:hover .guide-card,
  .guide-deck:focus-within .guide-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    padding: 1rem 1.15rem;
    transform: none;
  }
  .guide-card.is-active,
  .guide-deck:hover .guide-card.is-active,
  .guide-deck:focus-within .guide-card.is-active,
  .guide-card:hover,
  .guide-card.is-active:hover {
    width: 100%;
    transform: none;
  }
  .guide-card:not(.is-active) .guide-summary { display: none; }
  .guide-card h3 { font-size: 1.35rem; margin: 0.7rem 0 0; }
  .guide-card.is-active h3 { margin-bottom: 0.4rem; }
  .guide-keybind-list { grid-template-columns: 1fr; gap: 0; }
  .roadmap-stage { grid-template-columns: 48px 1fr; gap: 1rem; }
  .roadmap-flow::before { left: 23px; }
  .roadmap-node { width: 48px; height: 48px; font-size: 1.05rem; }
  .roadmap-card { padding: 1.35rem; }
  .roadmap-card ul { grid-template-columns: 1fr; }


  /* Mobile: Always show sidebar toggle so users can access the sidenav */
  .sidebar-toggle {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    padding: 0.7rem 0.5rem;
    min-width: 30px;
  }
  .sidebar-toggle-icon {
    font-size: 0.85rem;
  }
  .sidebar-toggle-label {
    font-size: 0.65rem;
  }
  /* Hide the hover zone on mobile since the toggle is always visible */
  .sidebar-toggle-zone {
    display: none;
  }
}

/* ==========================================================================
   UTILITY & EXTRACTED INLINE STYLES
   ========================================================================== */

/* ── Text colour helpers ─────────────────────────────────────────── */
.u-text-green   { color: var(--primary-green); }
.u-text-cyan    { color: var(--primary-cyan); }
.u-text-orange  { color: #ff9f43; }
.u-text-red     { color: #ff4757; }
.u-text-gold    { color: #ffd700; }
.u-text-bright-green { color: #2bfba0; }
.u-text-muted   { color: #64748b; }
.u-text-secondary-sm { font-size: 0.85rem; color: var(--text-secondary); }
.u-text-secondary-xs { font-size: 0.8rem;  color: var(--text-secondary); }
.u-text-sm      { font-size: 0.85rem; }
.u-text-xs      { font-size: 0.75rem; }
.u-fw-700       { font-weight: 700; }

/* ── Link colour helpers ─────────────────────────────────────────── */
a.u-text-green  { color: var(--primary-green); }
a.u-text-cyan   { color: var(--primary-cyan); }
a.u-text-orange { color: #ff9f43; }
a.u-link-green-bold { color: var(--primary-green); font-weight: 700; }
a.u-link-cyan-bold  { color: var(--primary-cyan);  font-weight: 700; }
a.u-link-orange-bold{ color: #ff9f43; font-weight: 700; }

/* ── Layout helpers ─────────────────────────────────────────────── */
.u-flex-1        { flex: 1; }
.u-flex-gap-3    { display: flex; gap: 0.75rem; }
.u-flex-gap-4    { display: flex; gap: 1rem; }
.u-flex-gap-5    { display: flex; gap: 1.25rem; }
.u-flex-gap-6    { display: flex; gap: 1.5rem; }
.u-flex-row-sb   { display: flex; align-items: center; justify-content: space-between; }
.u-flex-center   { display: flex; align-items: center; justify-content: center; }
.u-flex-align    { display: flex; align-items: center; }
.u-flex-col      { display: flex; flex-direction: column; gap: 1rem; }
.u-flex-wrap     { display: flex; gap: 1rem; flex-wrap: wrap; }
.u-grid-auto-300 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.u-grid-auto-280 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.u-grid-auto-340 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.u-grid-narrow   { display: flex; flex-direction: column; gap: 1rem; max-width: 860px; margin: 0 auto; }
.u-overflow-x    { overflow-x: auto; padding: 1.5rem; }
.u-text-center   { text-align: center; }
.u-ml-auto       { margin-left: auto; }

/* ── Spacing helpers ─────────────────────────────────────────────── */
.u-mb-1  { margin-bottom: 0.25rem; }
.u-mb-2  { margin-bottom: 0.5rem; }
.u-mb-4  { margin-bottom: 1rem; }
.u-mb-5  { margin-bottom: 1.25rem; }
.u-mb-6  { margin-bottom: 1.5rem; }
.u-mb-7  { margin-bottom: 1.75rem; }
.u-mb-8  { margin-bottom: 2rem; }
.u-mb-10 { margin-bottom: 2.5rem; }
.u-mt-1  { margin-top: 0.25rem; }
.u-mt-4  { margin-top: 1rem; }
.u-mt-6  { margin-top: 1.5rem; }
.u-mt-8  { margin-top: 2rem; }
.u-mt-10 { margin-top: 2.5rem; }
.u-p-6   { padding: 1.5rem; }
.u-p-7   { padding: 1.75rem; }
.u-p-8   { padding: 2rem; }

/* ── Button size helpers ─────────────────────────────────────────── */
.btn-sm  { padding: 0.35rem 0.65rem; font-size: 0.75rem; }
.btn-sm2 { padding: 0.3rem 0.75rem;  font-size: 0.75rem; }
.btn-md  { padding: 0.5rem 1rem;     font-size: 0.85rem; }
.btn-full-lg { width: 100%; padding: 0.9rem; }
.btn-full-md { width: 100%; padding: 0.75rem; }
.btn-full-nav { width: 100%; margin-top: 0.5rem; }

/* ── Close button (modal corner X) ──────────────────────────────── */
.btn-close-corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ── Code / kbd inline highlight ────────────────────────────────── */
.code-green {
  color: var(--primary-green);
  background: rgba(0,0,0,0.4);
  padding: 3px 8px;
  border-radius: 4px;
}
.code-green-sm {
  color: var(--primary-green);
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 4px;
}
.code-orange { color: #ff9f43; }
.code-cyan   { color: var(--primary-cyan); }

/* ── Modal / dialog helpers ──────────────────────────────────────── */
.modal-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}
.modal-body-sm { font-size: 0.85rem; color: var(--text-secondary); }
.modal-body-xs { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-secondary); }
.modal-error   { color: #ff4757; font-size: 0.8rem; margin-top: 0.5rem; display: none; }
.modal-footer-hint { margin-top: 0.85rem; }
.modal-inner-sm { max-width: 440px; width: 90%; padding: 2.5rem; position: relative; }
.modal-inner-md { max-width: 500px; width: 90%; padding: 2rem; position: relative; }
.modal-inner-lg { max-width: 600px; width: 90%; padding: 2rem; position: relative; }
.modal-inner-xl { max-width: 700px; width: 90%; padding: 2rem; position: relative; }
.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.modal-icon-cyan {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.modal-icon-orange {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 140, 0, 0.3);
  color: #ff9f43;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.modal-icon-discord {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #5865f2;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.modal-icon-delete {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #ff4757;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.modal-text-center { text-align: center; margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 0.75rem; }
.modal-actions-ml { margin-left: auto; gap: 1rem; display: flex; }

/* ── Form field label ───────────────────────────────────────────── */
.field-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-pure);
}
.field-subheading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-pure);
}

/* ── Server panel console/log box ───────────────────────────────── */
.log-console {
  background: rgba(8, 12, 18, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 10px;
  padding: 1.25rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.88rem;
  color: #a9b7c6;
  height: 220px;
  overflow-y: auto;
  line-height: 1.6;
}
.log-console-tall { max-height: 350px; overflow-y: auto; }
.log-console-sm   { max-height: 300px; }
.log-console-xs   { max-height: 200px; }

/* ── Server panel textarea ──────────────────────────────────────── */
.panel-textarea {
  width: 100%;
  height: 350px;
  padding: 1rem;
  background: rgba(8, 12, 18, 0.9);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 10px;
  color: #a9b7c6;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  resize: vertical;
  outline: none;
}

/* ── Server panel input ─────────────────────────────────────────── */
.panel-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(12, 16, 23, 0.8);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}
.panel-input-blue {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(12, 16, 23, 0.8);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

/* ── Servers page specific badges ───────────────────────────────── */
.badge-pending { background: rgba(255, 179, 0, 0.1); color: #ffd700; border: 1px solid rgba(255, 179, 0, 0.3); }
.badge-green   { background: rgba(0, 255, 135, 0.12); color: var(--primary-green); border: 1px solid rgba(0, 255, 135, 0.3); }
.badge-cyan    { background: rgba(0, 210, 255, 0.12); color: var(--primary-cyan); border: 1px solid rgba(0, 210, 255, 0.3); }
.badge-orange  { background: rgba(255, 140, 0, 0.12); color: #ff9f43; border: 1px solid rgba(255, 140, 0, 0.35); }
.status-checking { color: #64748b; }

/* ── Hero section variants ──────────────────────────────────────── */
.hero-compact { min-height: 48vh; padding: 3.5rem 0 4rem; }
.hero-sm      { min-height: 42vh; padding: 3rem 0 2rem; }
.hero-overlay-arma {
  background: linear-gradient(135deg, rgba(0,12,6,0.9) 0%, rgba(0,20,10,0.7) 60%, rgba(0,255,135,0.06) 100%);
}
.hero-overlay-armai {
  background: linear-gradient(135deg, rgba(0,10,5,0.85) 0%, rgba(0,20,10,0.6) 60%, rgba(0,255,135,0.05) 100%);
}
.hero-overlay-beamng {
  background: linear-gradient(135deg, rgba(10,5,0,0.85) 0%, rgba(20,10,0,0.6) 60%, rgba(255,140,0,0.05) 100%);
}
.section-alt-bg { background: rgba(0,18,8,0.3); }

/* ── Section content helpers ────────────────────────────────────── */
.section-cta {
  margin-top: 4rem;
  padding: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Feature icon variants ──────────────────────────────────────── */
.feature-icon-green {
  background: rgba(0,255,135,0.12);
  border-color: rgba(0,255,135,0.3);
}
.feature-icon-orange {
  background: rgba(255,140,0,0.12);
  border-color: rgba(255,140,0,0.3);
}

/* ── Connect box colour variants ────────────────────────────────── */
.connect-box-green {
  border-color: rgba(0,255,135,0.3);
  background: rgba(0,255,135,0.04);
}
.connect-box-orange {
  border-color: rgba(255,159,67,0.35);
  background: rgba(255,159,67,0.04);
}
.connect-box-beamng {
  border-color: rgba(255,140,0,0.3);
  background: rgba(255,140,0,0.04);
}

/* ── Copy button colour variants ────────────────────────────────── */
.copy-btn-green {
  background: rgba(0,255,135,0.15);
  border-color: rgba(0,255,135,0.4);
  color: var(--primary-green);
}
.copy-btn-orange {
  background: rgba(255,159,67,0.15);
  border-color: rgba(255,159,67,0.4);
  color: #ff9f43;
}
.copy-btn-beamng {
  background: rgba(255,140,0,0.15);
  border-color: rgba(255,140,0,0.4);
  color: #ff9f43;
}

/* ── Stat value colour helpers ──────────────────────────────────── */
.stat-green { color: var(--primary-green); }

/* ── Footer mono IP display ─────────────────────────────────────── */
.footer-ip-green  { font-family: monospace; font-size: 0.85rem; color: var(--primary-green); }
.footer-ip-orange { font-family: monospace; font-size: 0.85rem; color: var(--text-orange); }

/* ── Servers page panel header bar ─────────────────────────────── */
.panel-topbar {
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Progress bar zero state ────────────────────────────────────── */
.progress-zero { width: 0%; }

/* ── Flex-shrink-0 ──────────────────────────────────────────────── */
.u-shrink-0 { flex-shrink: 0; }

/* ── Hidden (JS-toggled) ─────────────────────────────────────────── */
.u-hidden { display: none; }

/* ── Contextual Server Theme Styles ──────────────────────────────── */
body[data-server="arma"] .feature-list i,
.arma-theme .feature-list i {
  color: var(--primary-green);
}
body[data-server="beamng"] .feature-list i,
.beamng-theme .feature-list i {
  color: #ff9f43;
}

/* ── Specific Badge Variants ─────────────────────────────────────── */
.glass-badge-green {
  border-color: rgba(0, 255, 135, 0.35) !important;
  color: var(--primary-green) !important;
}
.glass-badge-orange {
  border-color: rgba(255, 140, 0, 0.35) !important;
  color: #ff9f43 !important;
}
.glass-badge-cyan {
  border-color: rgba(0, 210, 255, 0.35) !important;
  color: var(--primary-cyan) !important;
}

/* ── Feature Icon Wrap Colorings ─────────────────────────────────── */
.feature-icon-green {
  background: rgba(0, 255, 135, 0.12) !important;
  border-color: rgba(0, 255, 135, 0.3) !important;
  color: var(--primary-green) !important;
}
.feature-icon-green i {
  color: var(--primary-green) !important;
}
.feature-icon-orange {
  background: rgba(255, 140, 0, 0.12) !important;
  border-color: rgba(255, 140, 0, 0.3) !important;
  color: #ff9f43 !important;
}
.feature-icon-orange i {
  color: #ff9f43 !important;
}

/* ── Card Border Variants ────────────────────────────────────────── */
.card-green-border {
  padding: 1.5rem;
  border-color: rgba(0, 255, 135, 0.25) !important;
}
.card-orange-border {
  padding: 1.5rem;
  border-color: rgba(255, 159, 67, 0.25) !important;
}
.card-cyan-border {
  padding: 1.5rem;
  border-color: rgba(0, 210, 255, 0.25) !important;
}

/* ── Training & Guide Card Details ───────────────────────────────── */
.card-guide-icon-green {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}
.card-guide-icon-orange {
  font-size: 1.5rem;
  color: #ff9f43;
  margin-bottom: 0.75rem;
}
.card-guide-icon-cyan {
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin-bottom: 0.75rem;
}
.card-guide-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.card-guide-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ── Weapon Card Details ─────────────────────────────────────────── */
.weapon-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0.5rem 0 0.35rem;
}
.weapon-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.weapon-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
}

/* ── Rules Consequence Boxes ─────────────────────────────────────── */
.rules-consequences-green {
  margin-top: 2rem;
  padding: 2rem;
  border-color: rgba(0, 255, 135, 0.3) !important;
}
.rules-consequences-orange {
  margin-top: 2rem;
  padding: 2rem;
  border-color: rgba(255, 140, 0, 0.3) !important;
}
.rules-consequences-title-green {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}
.rules-consequences-title-orange {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ff9f43;
  margin-bottom: 1rem;
}
.rules-consequences-list {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  line-height: 1.8;
}

/* ── Global Footer & Nav Helpers ─────────────────────────────────── */
.footer-social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}
.footer-bottom-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-col-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.server-connect-box-arma,
.server-connect-box-beam {
  padding: 0.75rem 1rem !important;
}
.btn-nav-discord {
  width: 100% !important;
  margin-top: 0.5rem !important;
}

/* ── Table Layout Helpers ────────────────────────────────────────── */
.table-min-600 { min-width: 600px; }
.th-col-28 { width: 28%; }
.th-col-25 { width: 25%; }
.hero-content-wide { max-width: 760px; }
.hero-content-medium { max-width: 780px; }
.hero-overlay-beamng-alt {
  background: linear-gradient(135deg, rgba(15,7,0,0.92) 0%, rgba(25,12,0,0.7) 60%, rgba(255,159,67,0.06) 100%);
}
.section-beamng-alt { background: rgba(18,9,0,0.25); }
.text-mono-white { color: #fff; font-family: monospace; }
.empty-state-card { text-align: center; padding: 3rem; color: var(--text-secondary); }
.icon-lg-dim { font-size: 2rem; margin-bottom: 1rem; opacity: 0.5; }
.mr-2 { margin-right: 0.5rem; }
.avatar-circle-cyan { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-cyan), #005f73); margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; }
.avatar-circle-green { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-green), #005f73); margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; }
.avatar-circle-gradient { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #00d2ff, #00ff87); margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #05101a; }
.hero-medium { min-height: 45vh; padding: 3rem 0 3.5rem; }
.hero-tall { min-height: 55vh; padding: 3rem 0 4rem; }
.hero-medium-alt { min-height: 46vh; padding: 3rem 0 3.5rem; }
.section-heading-cyan { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text-cyan); display: flex; align-items: center; gap: 0.5rem; }
.section-heading-cyan-sm { font-size: 1.5rem; margin: 1.5rem 0 1rem; color: var(--text-cyan); display: flex; align-items: center; gap: 0.5rem; }
.section-heading-green { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text-green); display: flex; align-items: center; gap: 0.5rem; }
.badge-xs-mb { font-size: 0.75rem; padding: 0.2rem 0.6rem; margin-bottom: 1rem; }
.card-title-mb { font-size: 1.35rem; margin-bottom: 0.25rem; }
.card-text-sm { color: var(--text-secondary); font-size: 0.9rem; }
.glass-card-center-p2 { padding: 2rem; text-align: center; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.metric-val-large { color: var(--text-cyan); font-weight: 800; font-family: monospace; font-size: 1.1rem; }
.metric-val-green-bold { color: var(--text-green); font-weight: 700; }
.footer-ip-cyan { font-family: monospace; font-size: 0.85rem; color: var(--text-cyan); }
.rules-row-banner { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; padding:0.65rem 0.9rem; background:rgba(0,210,255,0.06); border:1px solid rgba(0,210,255,0.15); border-radius:10px; }
.rules-banner-title { font-family:var(--font-heading); font-size:1.1rem; font-weight:800; color:var(--primary-cyan); }
.rules-banner-sub { font-family:var(--font-heading); font-size:0.85rem; color:var(--text-secondary); letter-spacing:0.06em; text-transform:uppercase; }
.hero-admin-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.badge-live-tag { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; width: fit-content; min-width: 9.9rem; max-width: 100%; padding: 0.65rem 0.8rem; background: rgba(0, 255, 135, 0.08); border: 1px solid rgba(0, 255, 135, 0.28); border-radius: 9px; color: var(--text-green); font-family: var(--font-heading); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em; white-space: nowrap; }
.section-admin-pad { padding: 2rem 0 6rem; }
.text-center-p2 { text-align: center; padding: 2rem; color: var(--text-secondary); }
.card-p-175 { padding: 1.75rem; }
.stat-row-start { justify-content: flex-start; gap: 1rem; margin-top: 0.25rem; }
.flex-gap-1rem { display: flex; align-items: center; gap: 1rem; }
.flex-gap-08rem { display: flex; align-items: center; gap: 0.8rem; }
.flex-gap-05rem { display: flex; align-items: center; gap: 0.5rem; }
.u-text-bright-cyan { color: #38e1ff; }

/* ==========================================================================
   BEAMNG MOD MANAGER - Mod Row & Delete Button Hover
   ========================================================================== */
#beamngModsList > div {
  transition: background 0.2s ease, transform 0.15s ease;
}

#beamngModsList > div:hover {
  background: rgba(255, 140, 0, 0.06) !important;
}

.btn-delete-mod {
  transition: all 0.2s ease !important;
}

.btn-delete-mod:hover:not(:disabled) {
  background: rgba(255, 71, 87, 0.85) !important;
  border-color: #ff4757 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.35);
}

.btn-delete-mod:active:not(:disabled) {
  transform: translateY(0);
}

.btn-delete-mod:disabled {
  cursor: wait;
  opacity: 0.7;
}




