/* ════════════════════════════════════════════════════════════════
   FYNEX — GLOBAL DESIGN SYSTEM
════════════════════════════════════════════════════════════════ */
:root {
  --clr-bg: #020617;
  --clr-bg-2: #070e24;
  --clr-bg-3: #0f172a;
  --clr-card: rgba(15, 23, 42, 0.4);
  --clr-card-hover: rgba(30, 41, 59, 0.6);
  --clr-border: rgba(59, 130, 246, 0.12);
  --clr-border-hover: rgba(96, 165, 250, 0.4);

  --clr-primary: #3b82f6;
  --clr-primary-light: #60a5fa;
  --clr-secondary: #06b6d4;
  --clr-accent: #2563eb;

  --grad-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --grad-hero: linear-gradient(120deg, #3b82f6 0%, #2563eb 50%, #06b6d4 100%);
  --grad-card: linear-gradient(135deg, rgba(59, 130, 246, .15) 0%, rgba(6, 182, 212, .05) 100%);

  --clr-text: #f8fafc;
  --clr-text-muted: #94a3b8;
  --clr-text-dim: #475569;

  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-section: 6.5rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 100px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, .6);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, .3);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, .25);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --transition: .35s var(--ease);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', monospace;
}

/* ─── Logo Styling ─── */
.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  /* filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.6)); removed as requested */
  border-radius: 12px !important;
  /* Reduced rounding */
}

.loader-logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: var(--radius-xl) !important;
}

/* ─── General Component Styling ─── */
.user-card,
.glass-card {
  border-radius: var(--radius-lg) !important;
}

/* ─── RESET ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

img {
  display: block;
  max-width: 100%
}

svg {
  flex-shrink: 0
}

/* ─── PARTICLES ─────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none
}



/* ─── NAVBAR ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition)
}

.navbar.scrolled {
  background: rgba(8, 12, 20, 0.97);
  box-shadow: var(--shadow-md)
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl)
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff
}

.nav-links {
  display: flex;
  gap: var(--space-xs)
}

.nav-link {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: var(--transition)
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-text);
  background: var(--clr-card)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md)
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition)
}

/* ─── MOBILE MENU ───────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(180deg, rgba(5, 12, 28, 0.98) 0%, rgba(8, 18, 38, 0.97) 100%) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3) !important;
  border-top: 1px solid rgba(59, 130, 246, 0.08) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 130, 246, 0.08) !important;
  padding: 1rem 1.2rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition)
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(203, 213, 225, 0.85) !important;
  border-left: 2px solid transparent;
  transition: all 0.2s ease
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: rgba(59, 130, 246, 0.12) !important;
  border-left-color: rgba(59, 130, 246, 0.7) !important;
  color: #93c5fd !important;
  padding-left: 1.4rem
}

/* ─── BUTTONS ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .1);
  opacity: 0;
  transition: opacity .2s
}

.btn:hover::before {
  opacity: 1
}

.btn-sm {
  padding: .45rem 1rem;
  font-size: .85rem
}

.btn-lg {
  padding: .85rem 1.8rem;
  font-size: 1rem
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .4)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .5)
}

.btn-glass {
  background: var(--clr-card);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(10px)
}

.btn-glass:hover {
  background: var(--clr-card-hover);
  border-color: var(--clr-border-hover);
  transform: translateY(-2px)
}

/* ─── LAYOUT ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl)
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl)
}

section {
  position: relative;
  z-index: 1;
  padding: var(--space-section) 0
}

.hidden {
  display: none !important
}

/* ─── SECTION COMMON ────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl)
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124, 58, 237, .2), rgba(6, 182, 212, .2));
  border: 1px solid rgba(124, 58, 237, .3);
  color: var(--clr-primary-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md)
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md)
}

.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto
}

.gradient-text {
  background: linear-gradient(120deg, #3b82f6 0%, #06b6d4 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-red {
  background: linear-gradient(120deg, #3b82f6 0%, #06b6d4 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── GLASS CARD ────────────────────────── */
.glass-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl) !important;
  backdrop-filter: blur(25px);
  transition: var(--transition)
}

.glass-card:hover {
  background: var(--clr-card-hover);
  border-color: var(--clr-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow)
}

/* ─── SPINNER ───────────────────────────── */
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--clr-border);
  border-top-color: var(--clr-primary);
  animation: spin .8s linear infinite;
  margin: 0 auto var(--space-md)
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px
}

/* Hero background is now purely global body + particles */

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(30px, -20px) scale(1.05)
  }

  66% {
    transform: translate(-20px, 30px) scale(.95)
  }
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--grad-primary);
  opacity: .18;
  filter: blur(90px);
  animation: shapeDrift linear infinite;
  pointer-events: none;
  z-index: 0;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-duration: 20s
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-duration: 15s;
  animation-delay: 3s
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation-duration: 18s;
  animation-delay: 1s
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 25%;
  animation-duration: 12s;
  animation-delay: 2s
}

@keyframes shapeDrift {
  0% {
    transform: translate(0, 0) rotate(0deg)
  }

  25% {
    transform: translate(30px, -30px) rotate(90deg)
  }

  50% {
    transform: translate(0, -60px) rotate(180deg)
  }

  75% {
    transform: translate(-30px, -30px) rotate(270deg)
  }

  100% {
    transform: translate(0, 0) rotate(360deg)
  }
}

/* Floating music note SVG icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.fi {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: .1;
  animation: floatIcon linear infinite;
  color: var(--clr-primary-light)
}

.fi svg {
  width: 100%;
  height: 100%
}

.fi-1 {
  left: 5%;
  top: 20%;
  animation-duration: 12s;
  animation-delay: 0s;
  width: 40px;
  height: 40px
}

.fi-2 {
  left: 15%;
  top: 70%;
  animation-duration: 14s;
  animation-delay: 2s
}

.fi-3 {
  left: 80%;
  top: 15%;
  animation-duration: 16s;
  animation-delay: 1s;
  width: 36px;
  height: 36px
}

.fi-4 {
  left: 90%;
  top: 60%;
  animation-duration: 11s;
  animation-delay: 3s
}

.fi-5 {
  left: 50%;
  top: 10%;
  animation-duration: 18s;
  animation-delay: .5s;
  width: 44px;
  height: 44px
}

.fi-6 {
  left: 70%;
  top: 75%;
  animation-duration: 15s;
  animation-delay: 1.5s
}

@keyframes floatIcon {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: .1
  }

  50% {
    transform: translateY(-80px) rotate(15deg);
    opacity: .18
  }

  100% {
    transform: translateY(0) rotate(0deg);
    opacity: .1
  }
}

.hero-container {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 var(--space-xl);
  animation: heroReveal 1s ease forwards
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .3);
  color: #34d399;
  font-size: .82rem;
  font-weight: 600;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl)
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .3);
  animation: pulse 2s ease infinite;
  margin-right: 4px;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .3)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, .1)
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -.02em
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl)
}

.hero-stats {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: .4rem 1rem;
  font-size: .88rem;
  color: var(--clr-text-muted);
  backdrop-filter: blur(10px);
  transition: var(--transition)
}

.stat-pill:hover {
  border-color: var(--clr-border-hover)
}

.stat-pill strong {
  color: var(--clr-text);
  font-weight: 700
}

.stat-pill-icon {
  display: flex;
  align-items: center;
  color: var(--clr-primary-light)
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--clr-text-dim);
  font-size: .75rem;
  letter-spacing: 1px;
  animation: scrollBounce 2s ease infinite;
  z-index: 2
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--clr-border);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--clr-primary-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  80% {
    transform: translateY(16px);
    opacity: 0
  }

  100% {
    transform: translateY(0);
    opacity: 0
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(6px)
  }
}

/* ════════════════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════════════════ */
.features-section {
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl)
}

.feature-card {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  /* Solid dark background like the image */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
  /* Left align like image */
}

.server-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(35, 20, 60, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 92, 246, 0.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

/* Specific Feature Colors */
.icon-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #3b82f6;
}

.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.icon-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.icon-yellow {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.icon-pink {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════
   STATS SECTION
════════════════════════════════════════════════════════════════ */
.stats-section {
  background: transparent;
}

/* Tabs — like the bot command's System | Bot Info buttons */
.stats-tabs {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl)
}

.stats-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: .6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition)
}

.stats-tab:hover {
  background: var(--clr-card-hover);
  color: var(--clr-text);
  border-color: var(--clr-border-hover)
}

.stats-tab.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .35)
}

.stats-tab svg {
  width: 16px;
  height: 16px
}

.stats-panel {
  animation: panelIn .35s ease
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg)
}

.stat-card {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default
}

.stat-card-glow {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity .4s
}

.stat-card:hover .stat-card-glow {
  opacity: 1
}

.stat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(6, 182, 212, .12));
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: var(--radius-lg);
  color: var(--clr-primary-light);
  position: relative;
  z-index: 1;
  transition: var(--transition)
}

.stat-card-icon svg {
  width: 24px;
  height: 24px
}

.stat-card:hover .stat-card-icon {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.stat-card-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  position: relative;
  z-index: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs)
}

.stat-card-number.text-sm {
  font-size: 1.1rem
}

.stat-unit {
  font-size: .6em;
  font-weight: 600
}

.stat-card-label {
  color: var(--clr-text-muted);
  font-size: .88rem;
  font-weight: 500;
  position: relative;
  z-index: 1
}

.stats-refresh-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  color: var(--clr-text-dim);
  font-size: .82rem
}

.refresh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s ease infinite
}

/* ════════════════════════════════════════════════════════════════
   LEADERBOARD
════════════════════════════════════════════════════════════════ */
.leaderboard-section {
  background: transparent;
  padding: 80px 0;
}

.leaderboard-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.leaderboard-col {
  display: flex;
  flex-direction: column;
}

.lb-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.03);
}

.lb-col-header h3 {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1.5px;
}

.lb-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lb-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.lb-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(8px);
  border-color: rgba(255, 75, 92, 0.3);
}

.lb-rank {
  font-size: 1.2rem;
  font-weight: 900;
  width: 25px;
  text-align: center;
  color: rgba(255, 255, 255, 0.1);
  font-style: italic;
}

.lb-card[data-rank="1"] .lb-rank {
  color: #fbbf24;
  font-size: 1.4rem;
}

.lb-card[data-rank="2"] .lb-rank {
  color: #94a3b8;
}

.lb-card[data-rank="3"] .lb-rank {
  color: #cd7c3a;
}

.lb-card[data-rank="1"] {
  border-left: 3px solid #fbbf24;
}

.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #080c14;
}

.lb-info {
  flex: 1;
  min-width: 0;
}

.lb-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.lb-value {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  text-transform: uppercase;
}

.lb-item-loading {
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════════════
   TOP SERVERS SWIPER
════════════════════════════════════════════════════════════════ */
.servers-section {
  background: transparent;
}

.servers-swiper {
  padding-bottom: var(--space-2xl) !important
}

.server-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px
}

/* ─── Compact Server Card (Swiper) ──────────── */
.server-card-compact {
  background: rgba(20, 27, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(12px);
}

.server-card-compact:hover {
  background: rgba(30, 40, 60, 0.95);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.server-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.server-icon-wrapper {
  flex-shrink: 0;
}

.server-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.server-icon-placeholder-mini {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.server-details {
  flex: 1;
  min-width: 0;
}

.server-name-bold {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.server-member-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23a55a;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(35, 165, 90, 0.5);
}

.member-count-text {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.server-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  text-align: center;
  min-height: 320px;
  /* Stabilizes the height */
  display: flex;
  flex-direction: column;
}

.server-banner {
  width: 100%;
  height: 130px;
  position: relative;
  background-color: #080c14;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.server-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.server-icon,
.server-icon-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  /* Back to circle for premium look */
  object-fit: cover;
  background: #080c14;
  border: 4px solid #0d1117;
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.server-icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
}

.server-card:hover .server-icon {
  transform: translate(-50%, -50%) scale(1.05);
}

.server-info {
  padding: 50px 1.5rem 1.5rem;
  /* More top padding to clear the 68px icon */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.server-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.server-meta {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 2.5rem;
  margin-top: auto;
  /* Pushes meta to bottom of info */
}

.meta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Swiper Navigation Fixes */
.servers-swiper {
  padding: 2.5rem 0.5rem;
  /* Space for buttons if needed */
}

#servers-swiper .swiper-button-next,
#servers-swiper .swiper-button-prev {
  width: 32px !important;
  height: 32px !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff !important;
  transition: var(--transition);
}

#servers-swiper .swiper-button-next:hover,
#servers-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ff4b5c;
}

#servers-swiper .swiper-button-next::after,
#servers-swiper .swiper-button-prev::after {
  font-size: 0.8rem !important;
  font-weight: 900;
}

.meta-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-badge {
  display: none;
  /* Removed old badges */
}

.server-card:hover .meta-badge {
  background: rgba(59, 130, 246, 0.2);
  color: var(--clr-primary-light)
}

.server-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity .3s
}

.server-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-glow)
}

.server-card:hover::before {
  opacity: 1
}

/* Swiper overrides */
.swiper-button-prev,
.swiper-button-next {
  color: var(--clr-primary-light) !important;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem !important
}

.swiper-pagination-bullet {
  background: var(--clr-text-muted) !important;
  opacity: .5 !important
}

.swiper-pagination-bullet-active {
  background: var(--clr-primary-light) !important;
  opacity: 1 !important
}

/* ════════════════════════════════════════════════════════════════
   COMMANDS
════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════
   COMMANDS EXPLORER (INTEGRATED)
════════════════════════════════════════════════════════════════ */
.commands-section {
  background: transparent;
  padding-bottom: var(--space-section);
}

.commands-wrapper {
  background: transparent;
  /* Solid dark background */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Explorer Header */
.commands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  /* Reduced padding */
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-dot {
  width: 6px;
  height: 6px;
  background: #4f46e5;
  border-radius: 50%;
  box-shadow: 0 0 10px #4f46e5;
}

.header-left h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.header-count {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-left: 0.5rem;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #080c14;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  width: 250px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.header-search input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
}

.header-search input::placeholder {
  color: #484f58;
}

.header-search svg {
  color: #8b949e;
}

/* Main Layout */
.commands-layout {
  display: flex;
  height: 400px;
}

/* Sidebar */
.commands-sidebar {
  width: 160px;
  background: rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 0.4rem;
  overflow-y: auto;
  flex-shrink: 0;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.8rem;
  /* Reduced padding */
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  color: #8b949e;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-item.active {
  background: rgba(79, 70, 229, 0.15);
  /* Purple tint */
  color: #fff;
}

.sidebar-icon {
  width: 22px;
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
}

.sidebar-name {
  font-size: 0.8rem;
  font-weight: 700;
}

.sidebar-count {
  font-size: 0.65rem;
  /* Reduced from 0.75rem */
  opacity: 0.6;
  margin-top: 1px;
}

/* Scrollbars */
.commands-sidebar::-webkit-scrollbar,
.commands-main::-webkit-scrollbar {
  width: 4px;
}

.commands-sidebar::-webkit-scrollbar-track,
.commands-main::-webkit-scrollbar-track {
  background: transparent;
}

.commands-sidebar::-webkit-scrollbar-thumb,
.commands-main::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

/* Main Main */
.commands-main {
  flex: 1;
  padding: 1rem;
  /* Reduced from 1.5rem */
  overflow-y: auto;
  background: #080c14;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
}

/* Command Cards */
.cmd-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  /* Further reduced from 1.25rem */
  min-height: 100px;
  /* Reduced from 120px */
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cmd-card:hover {
  background: rgba(35, 20, 60, 0.35);
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.cmd-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cmd-name {
  font-size: 0.9rem;
  /* Reduced from 1rem */
  font-weight: 800;
  color: #fff;
}

.cmd-tag {
  background: rgba(37, 99, 235, 0.15);
  color: #3b82f6;
  font-size: 0.65rem;
  /* Reduced */
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.cmd-desc {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.4;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cmd-copy {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #484f58;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.cmd-copy:hover {
  color: #fff;
}

.cmd-copy svg {
  width: 14px;
  height: 14px;
}

.cmd-copy:hover {
  color: var(--clr-text)
}

.cmd-copy.copied svg {
  color: #10b981
}

.cmd-desc {
  color: var(--clr-text-muted);
  font-size: .84rem;
  line-height: 1.55
}

.cmd-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: var(--space-sm)
}

.cmd-tag {
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, .15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, .2)
}

.cmd-tag.premium {
  background: rgba(251, 191, 36, .15);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, .2)
}

.cmd-no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--space-3xl);
  color: var(--clr-text-muted)
}

.cmd-no-results .no-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--clr-text-dim)
}

.cmd-no-results .no-icon svg {
  width: 48px;
  height: 48px
}

/* ════════════════════════════════════════════════════════════════
   TEAM SECTION (DISCORD STYLE)
════════════════════════════════════════════════════════════════ */
.team-section {
  background: transparent;
  padding: var(--space-section) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.discord-card {
  background: rgba(255, 255, 255, 0.02);
  /* Discord dark theme */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.discord-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25);
  border-color: rgba(236, 72, 153, 0.4);
}

.discord-banner {
  height: 90px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.discord-avatar-wrapper {
  position: relative;
  width: 92px;
  height: 92px;
  margin-left: 20px;
  margin-top: -46px;
  /* Half-overlap banner */
  z-index: 2;
}

.discord-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  background: #2b2d31;
}

.discord-status {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.discord-status.online {
  background: #23a55a;
}

.discord-status.idle {
  background: #f0b232;
}

.discord-status.dnd {
  background: #f23f43;
}

.discord-status.offline {
  background: #80848e;
  /* Discord offline grey */
}

.discord-content {
  padding: 1rem 1.25rem 1.5rem;
}

.discord-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.discord-name h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.discord-badges {
  display: flex;
  gap: 4px;
}

.badge-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.discord-username {
  font-size: 0.9rem;
  color: #b5bac1;
  margin-bottom: 1rem;
}

.discord-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.75rem 0;
}

.discord-bio h4,
.discord-meta h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.discord-bio p {
  font-size: 0.88rem;
  color: #dbdee1;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.discord-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e1f22;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  background: transparent;
  border-top: 1px solid var(--clr-border);
  padding: var(--space-3xl) 0 var(--space-xl)
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl)
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md)
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: .9rem;
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: var(--space-lg)
}

.footer-socials {
  display: flex;
  gap: var(--space-md)
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  transition: var(--transition)
}

.footer-socials a:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px)
}

.footer-links h4 {
  font-weight: 700;
  margin-bottom: var(--space-lg);
  font-size: .95rem
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm)
}

.footer-links a {
  color: var(--clr-text-muted);
  font-size: .9rem;
  transition: color .2s
}

.footer-links a:hover {
  color: var(--clr-primary-light)
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  color: var(--clr-text-dim);
  font-size: .85rem
}

/* ─── SCROLL TOP ────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .5)
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media(max-width:900px) {
  .nav-links {
    display: none
  }

  .nav-toggle {
    display: flex
  }

  /* ── COMMANDS MOBILE FIX ── */
  .commands-layout {
    flex-direction: column !important;
    height: auto !important
  }

  /* Sidebar becomes horizontal scrollable chips */
  .commands-sidebar {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: auto !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    padding: 0.6rem 0.5rem !important
  }

  .sidebar-list {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.4rem !important;
    overflow-x: auto !important;
    padding-bottom: 4px
  }

  .sidebar-item {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.07) !important
  }

  .sidebar-content {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.3rem !important
  }

  /* Commands main area shows below sidebar */
  .commands-main {
    height: 60vh !important;
    min-height: 320px !important;
    flex: none !important
  }

  .commands-grid {
    max-height: none !important;
    grid-template-columns: repeat(2, 1fr) !important
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-brand {
    grid-column: 1/-1
  }
}

@media(max-width:600px) {
  :root {
    --space-section: 4rem
  }

  .hero-title {
    font-size: 2.8rem
  }

  .hero-actions {
    flex-direction: column;
    align-items: center
  }

  .hero-stats {
    flex-direction: column;
    align-items: center
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important
  }

  /* Hide 5th stat card (Commands) on mobile — keep only 4 */
  .stats-grid .stat-card:nth-child(5),
  .landing-page .stats-grid .stat-card:nth-child(5) {
    display: none !important
  }

  .stats-tabs {
    flex-wrap: wrap
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center
  }

  .features-grid {
    grid-template-columns: 1fr
  }

  .leaderboard-grid {
    grid-template-columns: 1fr
  }

  .commands-grid {
    grid-template-columns: 1fr;
    max-height: 60vh
  }

  .nav-container,
  .container,
  .container-fluid {
    padding: 0 var(--space-md)
  }
}
/* Compact Server Card Styles */
.servers-section {
    padding: 100px 0;
}

.server-icon-placeholder-mini {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #2b2d31;
    color: #dbdee1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1rem;
}

.server-card-compact {
    background: rgba(30, 32, 44, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    cursor: default;
}

.server-card-compact:hover {
    background: rgba(40, 42, 54, 0.8);
    transform: translateY(-5px);
    border-color: rgba(255, 75, 92, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.server-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.server-icon-wrapper {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    position: relative;
}

.server-icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #080c14;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.server-name-bold {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    display: block !important;
    white-space: normal; /* Changed to allow wrapping if needed */
    overflow: visible;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.server-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.server-member-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot-green {
    width: 8px;
    height: 8px;
    background: #23a55a;
    border-radius: 50%;
    flex-shrink: 0;
}

.member-count-text {
    color: #b5bac1;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Swiper adjust for compact cards */
#servers-swiper {
    padding: 20px 5px 60px 5px !important;
}

#servers-swiper .swiper-pagination-bullet {
    background: #ff4b5c;
}
.servers-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* ═══════════════════════════════════════════�/* Section Radial Backgrounds for Ambient Glow */
.landing-page .hero {
  background: radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 45%);
}

.landing-page .features-section {
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
}

.landing-page .stats-section {
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 45%);
}

.landing-page .leaderboard-section {
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
}

.landing-page .servers-section {
  background: radial-gradient(circle at 10% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}

.landing-page .commands-section {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.landing-page .team-section {
  background: radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

/* Glassmorphism navbar styling adjustments */
.landing-page .navbar {
  border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.landing-page .nav-link {
  border: 1px solid transparent !important;
  transition: all 0.3s ease !important;
}

.landing-page .nav-link:hover,
.landing-page .nav-link.active {
  background: rgba(59, 130, 246, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1) !important;
}

/* Glowing tag badge styling */
.landing-page .section-tag {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2)) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15) !important;
  color: #93c5fd !important;
}

/* Glow effects for leaderboard and stats */
.landing-page .lb-card:hover {
  border-color: rgba(6, 182, 212, 0.4) !important;
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15) !important;
  background: rgba(15, 23, 42, 0.3) !important;
}

/* Command explorer improvements */
.landing-page .commands-wrapper {
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.05) !important;
}

.landing-page .header-search:focus-within {
  border-color: rgba(6, 182, 212, 0.5) !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2) !important;
}

.landing-page .sidebar-item.active {
  background: rgba(59, 130, 246, 0.18) !important;
  border-left: 3px solid #3b82f6 !important;
  color: #fff !important;
}

.landing-page .scroll-top {
  box-shadow: 0 4px 20px rgba(59, 130, 246, .5) !important;
}

.landing-page .scroll-top:hover {
  box-shadow: 0 8px 30px rgba(6, 182, 212, .6), 0 0 15px rgba(59, 130, 246, .4) !important;
}


/* ════════════════════════════════════════════════════════════════
   MAX-LEVEL PREMIUM LAYOUT & MUSIC PLAYER STYLE
 ════════════════════════════════════════════════════════════════ */

/* Floating Capsule Pill Navbar */
.landing-page .navbar {
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 94% !important; /* Wider default space to prevent overlap */
  max-width: 1280px !important;
  border-radius: var(--radius-full) !important;
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  padding: 0 1.2rem !important; /* Balanced padding */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
              0 0 25px rgba(59, 130, 246, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
}

.landing-page .navbar.scrolled {
  top: 8px !important;
  width: 90% !important; /* Slightly wider scrolled state to prevent squeezing logo & links */
  background: rgba(15, 23, 42, 0.8) !important;
  border-color: rgba(96, 165, 250, 0.25) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 
              0 0 30px rgba(6, 182, 212, 0.08) !important;
}

/* Two-column Hero Grid layout */
.landing-page .hero-container {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 5rem !important;
  align-items: center !important;
  text-align: left !important;
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.landing-page .hero-content {
  z-index: 10;
}

.landing-page .hero-title {
  text-align: left !important;
  margin-bottom: 1.5rem !important;
}

.landing-page .hero-desc {
  text-align: left !important;
  margin: 0 0 2rem 0 !important;
  max-width: 620px !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
}

.landing-page .hero-actions {
  justify-content: flex-start !important;
  margin-bottom: 0 !important;
}

/* Glass Player Preview component */
.landing-page .hero-preview {
  position: relative;
  perspective: 1000px;
  z-index: 5;
  display: flex;
  justify-content: center;
}



.landing-page .glass-player {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: var(--radius-xl);
  padding: 20px; /* Thinner padding */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
              0 0 50px rgba(59, 130, 246, 0.12),
              inset 0 0 20px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(25px);
  width: 100%;
  max-width: 310px; /* Thinner width */
  transform: rotateY(-12deg) rotateX(12deg);
  transition: all 0.5s var(--ease);
  animation: floatPlayer 6s ease-in-out infinite;
}

.landing-page .glass-player:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 
              0 0 60px rgba(6, 182, 212, 0.22);
  border-color: rgba(6, 182, 212, 0.35);
}

@keyframes floatPlayer {
  0%, 100% { transform: rotateY(-12deg) rotateX(12deg) translateY(0); }
  50% { transform: rotateY(-12deg) rotateX(12deg) translateY(-14px); }
}

.landing-page .player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.landing-page .player-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-page .pulse-dot {
  width: 8px;
  height: 8px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 10px #06b6d4;
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px #06b6d4; }
  100% { transform: scale(0.85); opacity: 0.6; }
}

.landing-page .player-cover-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.landing-page .player-cover {
  position: relative;
  width: 120px; /* Thinner size */
  height: 120px; /* Thinner size */
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.landing-page .cover-art {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #020617;
  animation: spinCover 16s linear infinite;
}

@keyframes spinCover {
  100% { transform: rotate(360deg); }
}

.landing-page .cover-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  z-index: -1;
  filter: blur(16px);
  opacity: 0.6;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: scale(0.96); opacity: 0.45; }
  100% { transform: scale(1.04); opacity: 0.75; }
}

.landing-page .player-info {
  text-align: center;
  margin-bottom: 20px;
}

.landing-page .track-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.landing-page .track-artist {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.landing-page .player-progress-container {
  margin-bottom: 20px;
}

.landing-page .progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  margin-bottom: 8px;
}

.landing-page .progress-fill {
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 3px;
  position: relative;
  animation: progressMove 12s linear infinite;
}

@keyframes progressMove {
  0% { width: 0%; }
  100% { width: 100%; }
}

.landing-page .progress-pin {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #06b6d4;
}

.landing-page .time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.landing-page .player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.landing-page .ctrl-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .ctrl-btn svg {
  width: 18px;
  height: 18px;
}

.landing-page .ctrl-btn:hover {
  color: #fff;
  transform: scale(1.15);
}

.landing-page .play-pause-btn {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.landing-page .play-pause-btn svg {
  width: 18px;
  height: 18px;
}

.landing-page .play-pause-btn:hover {
  transform: scale(1.18);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.55), 0 0 18px rgba(59, 130, 246, 0.4);
}

.landing-page .player-equalizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 24px; /* Thinner visualizer */
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-page .eq-bar {
  width: 4px;
  background: linear-gradient(to top, #3b82f6, #06b6d4);
  border-radius: 2px 2px 0 0;
  animation: eqJump 1s ease-in-out infinite alternate;
}

@keyframes eqJump {
  0% { height: 12%; }
  100% { height: 95%; }
}

/* Cyber Grid Pattern Card Styling */
.landing-page .stat-card,
.landing-page .feature-card,
.landing-page .lb-card,
.landing-page .cmd-card,
.landing-page .discord-card {
  background-color: rgba(15, 23, 42, 0.35) !important;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  border: 1px solid rgba(59, 130, 246, 0.16) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
  border-radius: 20px !important;
  transition: all 0.4s var(--ease) !important;
  backdrop-filter: blur(12px) !important;
}

.landing-page .stat-card:hover,
.landing-page .feature-card:hover,
.landing-page .lb-card:hover,
.landing-page .cmd-card:hover,
.landing-page .discord-card:hover {
  border-color: rgba(6, 182, 212, 0.45) !important;
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 
              0 0 35px rgba(59, 130, 246, 0.18) !important;
}

/* Divider wave/line separator between sections */
.landing-page section {
  position: relative;
}

.landing-page section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.25), transparent);
  pointer-events: none;
}

/* Leaderboard List Row styling enhancements */
.landing-page .lb-item {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin-bottom: 12px !important;
  transition: all 0.3s var(--ease) !important;
  position: relative !important;
  overflow: hidden !important;
}

.landing-page .lb-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

.landing-page .lb-item:hover {
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  transform: translateX(6px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.landing-page .lb-item:hover::before {
  background: linear-gradient(to bottom, #3b82f6, #06b6d4);
}

/* Responsiveness overrides for Mobile Screens */
@media (max-width: 900px) {
  .landing-page .hero-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 3.5rem !important;
  }
  
  .landing-page .hero-title {
    text-align: center !important;
  }
  
  .landing-page .hero-desc {
    text-align: center !important;
    margin: 0 auto 2rem auto !important;
  }
  
  .landing-page .hero-actions {
    justify-content: center !important;
  }
}



/* Spacing & Prevention of Navbar Merges */
.landing-page .navbar .nav-container {
  height: 58px !important;
  padding: 0 !important; /* Remove inner container padding to gain horizontal space */
  gap: 1.5rem !important; /* Ensure min gap between sections */
  max-width: 100% !important;
}

.landing-page .nav-links {
  gap: 0.35rem !important; /* Compact link spacing */
}

.landing-page .nav-link {
  padding: 0.4rem 0.75rem !important; /* Sleeker individual link buttons */
  font-size: 0.85rem !important; /* Slightly smaller font to prevent text overlaps */
}

.landing-page .nav-logo {
  flex-shrink: 0 !important; /* Prevent logo from squishing */
}

.landing-page .nav-actions {
  flex-shrink: 0 !important; /* Prevent user dropdown from squishing */
}


