@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 */

  /* 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-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;
}

/* 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);
}

/* 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;
  -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;
  -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: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-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 {
  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);
}

.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;
}

.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: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);
}

/* 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;
}


/* ==========================================================================
   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; }
}
