/* ==========================================================================
   PrimeMC Network - Flagship Next-Gen Minecraft Network Stylesheet
   Theme: High-Octane Esports Luxury & Crystalline Diamond Armor Aesthetic
   Typography: Outfit (Headings), Plus Jakarta Sans (UI/Body), Chakra Petch (HUD), JetBrains Mono (Code/IP)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Gamer Color Palette
   -------------------------------------------------------------------------- */
:root {
  /* Obsidian & Deepslate Dark Canvas */
  --bg-netherite: #080C14;
  --bg-deepslate: #0D131F;
  --bg-surface: #121A2A;
  --bg-card: rgba(15, 23, 38, 0.76);
  --bg-card-hover: rgba(20, 31, 51, 0.88);
  --bg-capsule: rgba(13, 19, 31, 0.82);

  /* PrimeMC Signature Diamond Cyan & Aether Blue (Default Brand Aura) */
  --diamond-cyan: #00D2D3;
  --diamond-bright: #38BDF8;
  --diamond-deep: #0284C7;
  --diamond-glow: rgba(0, 210, 211, 0.45);
  --blue-glow: rgba(56, 189, 248, 0.45);
  --aether-blue: #3B82F6;

  /* Creeper & Emerald Green */
  --creeper-green: #10B981;
  --grass-green-deep: #059669;
  --neon-lime: #34D399;
  --glow-green: rgba(16, 185, 129, 0.45);

  /* Redstone & Crimson Flame Accents */
  --redstone-red: #EF4444;
  --redstone-bright: #F87171;
  --redstone-glow: rgba(239, 68, 68, 0.45);

  /* Golden Apple & Tournament Gold */
  --gold-apple: #F59E0B;
  --gold-bright: #FBBF24;
  --gold-glow: rgba(245, 158, 11, 0.45);

  /* Amethyst Purple */
  --amethyst-purple: #A855F7;
  --amethyst-light: #C084FC;
  --purple-glow: rgba(168, 85, 247, 0.45);

  /* Discord Blurple */
  --discord-blurple: #5865F2;
  --discord-glow: rgba(88, 101, 242, 0.45);

  /* High-Contrast Modern Typography Colors */
  --text-white: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Dynamic Theme Accent System (Default: PrimeMC Diamond Cyan) */
  --theme-accent: #00D2D3;
  --theme-accent-bright: #38BDF8;
  --theme-glow: rgba(0, 210, 211, 0.45);
  --theme-border: rgba(0, 210, 211, 0.35);
  --theme-bg-tint: rgba(0, 210, 211, 0.12);
  --theme-text-shadow: 0 0 24px rgba(0, 210, 211, 0.45);

  /* Glassmorphism Refined Tokens */
  --glass-bg-base: linear-gradient(135deg, rgba(17, 26, 43, 0.72) 0%, rgba(10, 15, 26, 0.85) 100%);
  --glass-bg-hover: linear-gradient(135deg, rgba(23, 35, 58, 0.82) 0%, rgba(13, 20, 34, 0.92) 100%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.12);
  --glass-border-hover: 1px solid rgba(255, 255, 255, 0.25);
  --glass-blur: blur(24px) saturate(180%);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  --inset-highlight: inset 0 1px 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 15px 0 rgba(255, 255, 255, 0.02);

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-green: rgba(16, 185, 129, 0.35);
  --border-blue: rgba(0, 210, 211, 0.35);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-red: rgba(239, 68, 68, 0.35);

  /* High-Impact Modern Typography */
  --font-display: 'Fredoka', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-gamer: 'Fredoka', 'Chakra Petch', 'Outfit', sans-serif;
  --font-sub: 'Nunito', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Nunito', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows & Glows */
  --shadow-block: 0 12px 30px rgba(0, 0, 0, 0.55);
  --shadow-chunky: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   Theme Variant Palettes (Real-Time Accent Switcher)
   -------------------------------------------------------------------------- */
html[data-theme-accent="cyan"], body.theme-cyan {
  --theme-accent: #00D2D3;
  --theme-accent-bright: #38BDF8;
  --theme-glow: rgba(0, 210, 211, 0.45);
  --theme-border: rgba(0, 210, 211, 0.38);
  --theme-bg-tint: rgba(0, 210, 211, 0.12);
  --theme-text-shadow: 0 0 24px rgba(0, 210, 211, 0.45);
}

html[data-theme-accent="emerald"], body.theme-emerald {
  --theme-accent: #10B981;
  --theme-accent-bright: #34D399;
  --theme-glow: rgba(16, 185, 129, 0.45);
  --theme-border: rgba(16, 185, 129, 0.38);
  --theme-bg-tint: rgba(16, 185, 129, 0.12);
  --theme-text-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

html[data-theme-accent="purple"], body.theme-purple {
  --theme-accent: #A855F7;
  --theme-accent-bright: #C084FC;
  --theme-glow: rgba(168, 85, 247, 0.5);
  --theme-border: rgba(168, 85, 247, 0.4);
  --theme-bg-tint: rgba(168, 85, 247, 0.15);
  --theme-text-shadow: 0 0 24px rgba(168, 85, 247, 0.5);
}

html[data-theme-accent="crimson"], body.theme-crimson {
  --theme-accent: #EF4444;
  --theme-accent-bright: #F87171;
  --theme-glow: rgba(239, 68, 68, 0.5);
  --theme-border: rgba(239, 68, 68, 0.4);
  --theme-bg-tint: rgba(239, 68, 68, 0.15);
  --theme-text-shadow: 0 0 24px rgba(239, 68, 68, 0.5);
}

html[data-theme-accent="gold"], body.theme-gold {
  --theme-accent: #F59E0B;
  --theme-accent-bright: #FBBF24;
  --theme-glow: rgba(245, 158, 11, 0.48);
  --theme-border: rgba(245, 158, 11, 0.4);
  --theme-bg-tint: rgba(245, 158, 11, 0.14);
  --theme-text-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
}

/* --------------------------------------------------------------------------
   2. Reset & Standards
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--bg-netherite);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body.adventurous-body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  background-color: var(--bg-netherite);
}

body.preloader-active {
  overflow: hidden !important;
  touch-action: none;
}

body.drawer-open {
  overflow: hidden !important;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Sleek Cyber Gamer Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-netherite);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 9999px;
  border: 2px solid var(--bg-netherite);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--theme-accent);
  box-shadow: 0 0 12px var(--theme-accent);
}

/* --------------------------------------------------------------------------
   3. Background Layering Architecture & Floating Particles
   -------------------------------------------------------------------------- */
.gamer-bg-layers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* High-tech Subtle Grid Pattern */
.voxel-grid-pattern {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.8;
}

.vignette-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 25%, transparent 15%, rgba(8, 12, 20, 0.8) 65%, #080C14 100%);
}

.particles-canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.95;
}

/* Atmospheric Glow Orbs */
.ambient-flare {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: flareBreathe 9s infinite ease-in-out alternate;
}

.flare-cyan {
  width: 750px;
  height: 750px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, var(--theme-accent), transparent 70%);
  transition: background 0.5s ease;
}

.flare-green {
  width: 650px;
  height: 650px;
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, #10B981, transparent 70%);
  animation-delay: -3s;
}

.flare-gold {
  width: 550px;
  height: 550px;
  bottom: 10%;
  right: 15%;
  background: radial-gradient(circle, var(--gold-apple), transparent 70%);
  opacity: 0.12;
  animation-delay: -6s;
}

.flare-red {
  width: 600px;
  height: 600px;
  bottom: 25%;
  left: 20%;
  background: radial-gradient(circle, var(--redstone-red), transparent 70%);
  opacity: 0.1;
  animation-delay: -8s;
}

@keyframes flareBreathe {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(25px, -20px); }
}

/* Glowing Cursor Glow Follower */
.gamer-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-glow) 0%, rgba(0, 210, 211, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
  transition: background 0.4s ease;
  will-change: transform;
}

@media (hover: none) or (pointer: coarse) {
  .gamer-cursor-glow {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   3.5 High-Performance Preloader
   -------------------------------------------------------------------------- */
.voxel-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(13, 19, 31, 0.96) 0%, rgba(8, 12, 20, 0.98) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.voxel-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  pointer-events: none;
}

.preloader-backdrop-blur {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.preloader-glass-card {
  position: relative;
  width: 90%;
  max-width: 420px;
  padding: 2.5rem 2rem 2rem;
  border-radius: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(18, 27, 44, 0.92) 0%, rgba(10, 15, 25, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px var(--theme-glow), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  z-index: 2;
}

.preloader-ambient-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.preloader-insignia-box {
  position: relative;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-crest {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid var(--theme-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 30px var(--theme-glow);
  animation: crestFloat 2.6s ease-in-out infinite alternate;
}

@keyframes crestFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.03); }
}

.preloader-logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.preloader-glints {
  position: absolute;
  inset: -6px;
  pointer-events: none;
}

.preloader-glints .glint {
  position: absolute;
  color: var(--theme-accent-bright);
  text-shadow: 0 0 10px currentColor;
  animation: glintTwinkle 2s ease-in-out infinite alternate;
}
.preloader-glints .g1 { top: -2px; right: -2px; font-size: 1.1rem; }
.preloader-glints .g2 { bottom: -2px; left: -2px; font-size: 0.85rem; animation-delay: 0.6s; }
.preloader-glints .g3 { top: 40%; right: -12px; font-size: 0.75rem; animation-delay: 1.2s; }

@keyframes glintTwinkle {
  0% { opacity: 0.25; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1.25); }
}

.preloader-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.preloader-state-msg {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.preloader-progress-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.preloader-track {
  width: 100%;
  height: 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--theme-accent) 0%, var(--theme-accent-bright) 100%);
  box-shadow: 0 0 16px var(--theme-glow);
  transition: width 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.preloader-bar-glint {
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 45px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: barShimmer 1.3s ease-in-out infinite;
}

@keyframes barShimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(350%); }
}

.preloader-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

.preloader-ip-hint {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preloader-ip-hint i { color: var(--theme-accent); font-size: 0.75rem; }

.preloader-count {
  color: var(--theme-accent-bright);
  font-weight: 700;
}

.preloader-skip-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 0.35rem;
}

.preloader-skip-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: var(--theme-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px var(--theme-glow);
}

/* --------------------------------------------------------------------------
   4. Glassmorphism & Surface Architecture
   -------------------------------------------------------------------------- */
.glass-panel {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.72) 0%, rgba(10, 15, 26, 0.84) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 20px 0 rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

/* Specular Upper Sheen Highlight */
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.35) 50%, transparent 95%);
  pointer-events: none;
  z-index: 2;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px var(--theme-glow), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Gradient Text Systems */
.gradient-theme-glow,
.accent-theme,
.brand-wordmark .accent-theme,
.preloader-brand .accent-theme {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--theme-accent-bright) 55%, var(--theme-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: var(--theme-text-shadow);
  transition: all 0.3s ease;
}

.gradient-green-glow {
  background: linear-gradient(135deg, #FFFFFF 0%, #34D399 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.gradient-blue-glow {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 50%, #00D2D3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 20px rgba(0, 210, 211, 0.35);
}

.gradient-gold-glow {
  background: linear-gradient(135deg, #FFFFFF 0%, #FBBF24 60%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

/* --------------------------------------------------------------------------
   5. Button Ecosystem & Micro-interactions
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Theme Adaptive Button */
.btn-chunky-green {
  background: linear-gradient(135deg, var(--theme-accent-bright) 0%, var(--theme-accent) 100%);
  color: #031520;
  box-shadow: 0 6px 20px var(--theme-glow), var(--inset-highlight);
}
.btn-chunky-green:hover {
  box-shadow: 0 8px 30px var(--theme-glow);
  color: #010B10;
}

.btn-chunky-blue {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #031520;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45), var(--inset-highlight);
}
.btn-chunky-blue:hover {
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.6);
}

.btn-chunky-red {
  background: linear-gradient(135deg, #F87171 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--redstone-glow), var(--inset-highlight);
}
.btn-chunky-red:hover {
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.6);
}

.btn-chunky-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--discord-glow), var(--inset-highlight);
}
.btn-chunky-discord:hover {
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.btn-chunky-gold {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #1A0E00;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4), var(--inset-highlight);
  font-weight: 700;
}
.btn-chunky-gold:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.65);
  color: #0A0500;
}


/* --------------------------------------------------------------------------
   6. HEADER & CAPSULE NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.gamer-capsule {
  width: min(94%, 1320px);
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  box-sizing: border-box;
  overflow: visible;
  border-radius: 9999px;
  background: rgba(13, 19, 31, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 211, 0.25);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.gamer-capsule.scrolled {
  background: linear-gradient(135deg, rgba(11, 16, 26, 0.95) 0%, rgba(7, 10, 17, 0.98) 100%);
  border-color: var(--theme-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px var(--theme-glow);
}

/* Brand Logo (Left Group) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-insignia {
  height: 38px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.nav-brand:hover .brand-insignia {
  transform: rotate(-6deg) scale(1.08);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 210, 211, 0.45));
}

.brand-typography {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-white);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-gamer);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  line-height: 1;
  white-space: nowrap;
}

/* Nav Links Container (Centered Group) */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

/* Nav Link Item */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;
  white-space: nowrap;
  font-family: var(--font-sub);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 14px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: all 0.22s ease;
  user-select: none;
  flex-shrink: 0;
}

.nav-icon {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
  color: var(--theme-accent-bright);
}

.nav-link:hover:not(.active) {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #FFFFFF;
  background: var(--theme-bg-tint);
  border: 1px solid var(--theme-border);
  box-shadow: 0 0 16px var(--theme-glow);
}

/* Live Status & Fast Action (Right Group) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--theme-border);
  padding: 6px 14px;
  height: 36px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.pulse-orb-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  position: relative;
  flex-shrink: 0;
}

.pulse-orb-green::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 1.5px solid #10B981;
  border-radius: 50%;
  animation: greenPulse 2s infinite ease-out;
}

@keyframes greenPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

.status-text {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  line-height: 1;
  color: var(--text-secondary);
  white-space: nowrap;
}

.status-text strong {
  color: #10B981;
  font-weight: 700;
}

.nav-actions .btn-chunky-green {
  padding: 0 16px;
  height: 36px;
  font-size: 0.88rem;
  gap: 6px;
  border-radius: 9999px;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Navbar Discord Button */
.nav-discord-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #8A9CFF;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-discord-btn:hover {
  background: #5865F2;
  border-color: #5865F2;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.7);
  transform: translateY(-2px) scale(1.08);
}

/* Theme Switcher */
.theme-switcher-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.nav-theme-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--theme-border);
  color: var(--theme-accent-bright);
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--theme-glow);
}

.theme-indicator-orb {
  position: absolute;
  top: 1px; right: 1px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: var(--theme-accent);
  box-shadow: 0 0 8px var(--theme-accent);
  border: 1.5px solid #080C14;
}

.theme-palette-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 230px;
  padding: 1.15rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 24, 38, 0.95) 0%, rgba(9, 14, 23, 0.98) 100%);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px var(--theme-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1200;
  pointer-events: none;
}

.theme-palette-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-menu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sub);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.theme-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.theme-option.active {
  background: var(--theme-bg-tint);
  border-color: var(--theme-border);
  color: var(--text-white);
}

.theme-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.theme-swatch.cyan { background-color: #00D2D3; color: #00D2D3; }
.theme-swatch.emerald { background-color: #10B981; color: #10B981; }
.theme-swatch.purple { background-color: #A855F7; color: #A855F7; }
.theme-swatch.crimson { background-color: #EF4444; color: #EF4444; }
.theme-swatch.gold { background-color: #F59E0B; color: #F59E0B; }

.theme-name {
  flex-grow: 1;
}

.theme-check {
  font-size: 0.8rem;
  color: var(--theme-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.theme-option.active .theme-check {
  opacity: 1;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
}

.toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--theme-accent);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-nav-toggle.open .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.open .toggle-bar:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer & Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 15, 25, 0.98);
  border-radius: 24px;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  border: 1.5px solid var(--theme-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--theme-accent-bright);
  background: var(--theme-bg-tint);
}

.mobile-theme-selector {
  padding: 0.85rem 0 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-theme-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-theme-swatches {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mobile-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mobile-swatch-btn.cyan { background-color: #00D2D3; }
.mobile-swatch-btn.emerald { background-color: #10B981; }
.mobile-swatch-btn.purple { background-color: #A855F7; }
.mobile-swatch-btn.crimson { background-color: #EF4444; }
.mobile-swatch-btn.gold { background-color: #F59E0B; }

.mobile-swatch-btn.active {
  border-color: #FFFFFF;
  transform: scale(1.15);
  box-shadow: 0 0 16px currentColor;
}

/* --------------------------------------------------------------------------
   7. FLAGSHIP HERO SECTION (THE "FRONT" - 100x BETTER)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Two-Column Flagship Split Grid */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
}

/* Left Column: Command & Value Proposition */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Live Telemetry Pill */
.hero-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(18, 27, 43, 0.85);
  border: 1px solid var(--theme-border);
  box-shadow: 0 0 20px var(--theme-glow), var(--inset-highlight);
  margin-bottom: 1.25rem;
  font-family: var(--font-gamer);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  max-width: 100%;
  flex-wrap: wrap;
}

.badge-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.badge-season {
  color: var(--text-white);
}

.badge-sep {
  color: rgba(255, 255, 255, 0.2);
}

.badge-spec {
  color: var(--gold-apple);
}

.badge-ping {
  color: var(--theme-accent-bright);
  display: flex;
  align-items: center;
  gap: 4px;
}
.badge-ping i { font-size: 0.75rem; }

.hero-pretitle {
  font-family: var(--font-gamer);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--theme-accent-bright);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

/* Monumental Hero Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  word-break: break-word;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   7.5 Handcrafted Interactive Server Portal Console HUD
   -------------------------------------------------------------------------- */
.server-portal-console {
  width: 100%;
  max-width: 680px;
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  border: 1.5px solid var(--theme-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px var(--theme-glow), var(--inset-highlight);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(18, 27, 44, 0.82) 0%, rgba(10, 16, 28, 0.92) 100%);
}

.console-top-radar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-gamer);
  font-size: 0.82rem;
}

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

.radar-state-text {
  color: #10B981;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.radar-crossplay-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.radar-telemetry {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.radar-ping {
  color: var(--theme-accent-bright);
  display: flex;
  align-items: center;
  gap: 4px;
}
.radar-ping i { font-size: 0.72rem; }

.console-main-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.console-ip-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.console-ip-title {
  font-family: var(--font-gamer);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.console-ip-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.console-ip-code {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
  user-select: all;
  white-space: nowrap;
  max-width: 100%;
}

.platform-chips {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip-java {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--diamond-bright);
  padding: 3px 8px;
  border-radius: 8px;
  font-family: var(--font-gamer);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chip-bedrock {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--gold-apple);
  padding: 3px 9px;
  border-radius: 8px;
  font-family: var(--font-gamer);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-bedrock:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: var(--gold-apple);
  transform: translateY(-1px);
}

.chip-bedrock .mini-copy {
  font-size: 0.68rem;
  opacity: 0.75;
}

/* Tactile Console Copy Button */
.btn-console-copy {
  background: linear-gradient(135deg, var(--theme-accent-bright) 0%, var(--theme-accent) 100%);
  color: #04121B;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.85rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--theme-glow);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-console-copy:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 30px var(--theme-glow);
}
.btn-console-copy:active {
  transform: translateY(0) scale(0.96);
}

.btn-copy-state {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.btn-copy-state.copied-state {
  display: none;
}

.btn-console-copy.copied {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
}
.btn-console-copy.copied .default-state { display: none; }
.btn-console-copy.copied .copied-state { display: flex; }

/* Console Live Capacity Meter */
.console-capacity-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.5rem;
}

.capacity-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.capacity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, var(--theme-accent) 70%, var(--theme-accent-bright) 100%);
  border-radius: 9999px;
  box-shadow: 0 0 10px var(--theme-glow);
  transition: width 0.8s ease;
}

.capacity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.capacity-count strong {
  color: var(--text-white);
}

.capacity-region {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}
.capacity-region i { color: var(--theme-accent); font-size: 0.75rem; }

/* Primary Action Buttons */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 6px 20px var(--discord-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.btn-hero-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.65);
}

.btn-live-chip {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.btn-hero-explore {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.btn-hero-explore:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--theme-border);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--theme-glow);
}

.btn-hero-store {
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.btn-hero-store:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-apple);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* --------------------------------------------------------------------------
   7.6 Right Column: Majestic 3D Floating PrimeMC Emblem Showcase
   -------------------------------------------------------------------------- */
.hero-emblem-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.emblem-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  padding: 36px;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(0, 210, 211, 0.08) 0%, rgba(15, 20, 28, 0.75) 100%);
  border: 1px solid rgba(0, 210, 211, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: visible;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.emblem-stage:hover {
  border-color: rgba(0, 210, 211, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 211, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.emblem-ambient-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-glow) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: emblemAuraPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemAuraPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

/* Rotating Orbital Energy Rings */
.emblem-rotating-rings {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}

.emblem-rotating-rings .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  animation: ringSpin 24s linear infinite;
}
.emblem-rotating-rings .r2 {
  inset: 28px;
  border: 1px dotted rgba(255, 255, 255, 0.2);
  animation: ringSpinRev 32s linear infinite;
}
.emblem-rotating-rings .r3 {
  inset: 56px;
  border: 1px solid rgba(0, 210, 211, 0.15);
  animation: ringSpin 18s linear infinite;
}

@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes ringSpinRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

.emblem-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: emblemFloat 3.8s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes emblemFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-12px) scale(1.03); }
}

.emblem-img {
  background: transparent !important;
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-width: 85%;
  max-height: 85%;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 25px rgba(0, 210, 211, 0.45));
}

.emblem-sheen-sweep {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  background-size: 250% 250%;
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: sheenSweep 6s ease-in-out infinite;
}

@keyframes sheenSweep {
  0% { background-position: -100% -100%; }
  40%, 100% { background-position: 200% 200%; }
}

/* Floating Status Pills */
.floating-badge {
  position: absolute;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(14, 21, 34, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-gamer);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-white);
  z-index: 5;
  white-space: nowrap;
  animation: badgeFloat 4s ease-in-out infinite alternate;
}

.badge-top-right {
  position: absolute;
  top: -14px;
  right: 24px;
  z-index: 5;
  animation-delay: -1s;
}

.badge-bottom-left {
  position: absolute;
  bottom: -14px;
  left: 24px;
  z-index: 5;
  animation-delay: -2s;
}

.badge-bottom-right {
  position: absolute;
  bottom: 20px;
  right: 12px;
  z-index: 5;
  animation-delay: -3s;
}

.live-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* --------------------------------------------------------------------------
   7.7 Adventure Stats Strip
   -------------------------------------------------------------------------- */
.adventure-stats-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-block-card {
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass-bg-base);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-block-card:hover {
  border-color: var(--theme-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--theme-glow);
  transform: translateY(-4px);
}

.stat-icon-square {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon-square.green { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.35); }
.stat-icon-square.blue { background: rgba(56, 189, 248, 0.15); color: var(--diamond-bright); border: 1px solid rgba(56, 189, 248, 0.35); }
.stat-icon-square.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-apple); border: 1px solid rgba(245, 158, 11, 0.35); }
.stat-icon-square.red { background: rgba(239, 68, 68, 0.15); color: var(--redstone-red); border: 1px solid rgba(239, 68, 68, 0.35); }

.stat-info-text {
  display: flex;
  flex-direction: column;
}

.stat-info-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
}

.stat-info-text span {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Ticker removed per user request */

/* --------------------------------------------------------------------------
   8. REALMS SECTION (FEATURED GAMEMODES)
   -------------------------------------------------------------------------- */
.section-block {
  padding: 6.5rem 0;
  position: relative;
  z-index: 10;
}

.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.section-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-gamer);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.green-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
}

.gold-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--gold-bright);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

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

.realms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gamemode-card {
  padding: 1.75rem;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  will-change: transform;
}

.gamemode-card.featured-gamemode {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25);
  transform: scale(1.02);
}

.spotlight-tag-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-family: var(--font-gamer);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.6);
  z-index: 5;
}

.gamemode-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.realm-pill-tag {
  font-family: var(--font-gamer);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-green { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.tag-red { background: rgba(239, 68, 68, 0.15); color: #F87171; }
.tag-blue { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }

.realm-active-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.active-dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.active-dot.green { background: #10B981; box-shadow: 0 0 8px #10B981; }
.active-dot.red { background: #EF4444; box-shadow: 0 0 8px #EF4444; }
.active-dot.blue { background: #38BDF8; box-shadow: 0 0 8px #38BDF8; }

.gamemode-art-box {
  width: 100%;
  height: 140px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.box-green { background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.25) 0%, rgba(10, 15, 25, 0.6) 80%); border: 1px solid rgba(16, 185, 129, 0.25); }
.box-red { background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.25) 0%, rgba(10, 15, 25, 0.6) 80%); border: 1px solid rgba(239, 68, 68, 0.25); }
.box-blue { background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.25) 0%, rgba(10, 15, 25, 0.6) 80%); border: 1px solid rgba(56, 189, 248, 0.25); }

.art-emblem-wrap i {
  font-size: 3.5rem;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.7));
}
.box-green .art-emblem-wrap i { color: #34D399; }
.box-red .art-emblem-wrap i { color: #F87171; }
.box-blue .art-emblem-wrap i { color: #38BDF8; }

.gamemode-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gamemode-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

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

.gamemode-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gamemode-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gamemode-perks-list li i { font-size: 0.8rem; }
.text-green { color: #10B981; }
.text-red { color: #EF4444; }
.text-blue { color: #38BDF8; }
.text-cyan { color: #00D2D3; }
.text-gold { color: #F59E0B; }
.text-purple { color: #A855F7; }
.text-crimson { color: #EF4444; }
.text-blurple { color: #5865F2; }

/* --------------------------------------------------------------------------
   9. WHY PRIMEMC (FEATURES MATRIX BENTO GRID)
   -------------------------------------------------------------------------- */
.features-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  padding: 2rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.feature-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.feature-mini-pill {
  font-family: var(--font-gamer);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--theme-accent-bright);
}

.feature-metric {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.feature-icon-square {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.feature-icon-square.green { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.35); }
.feature-icon-square.blue { background: rgba(56, 189, 248, 0.15); color: var(--diamond-bright); border: 1px solid rgba(56, 189, 248, 0.35); }
.feature-icon-square.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-apple); border: 1px solid rgba(245, 158, 11, 0.35); }
.feature-icon-square.red { background: rgba(239, 68, 68, 0.15); color: var(--redstone-red); border: 1px solid rgba(239, 68, 68, 0.35); }

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-mini-pill.gold-pill {
  color: var(--gold-apple);
}

.feature-subtext {
  font-size: 0.82rem;
  color: #CBD5E1;
  line-height: 1.5;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--gold-apple);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-top: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.feature-subtext i {
  color: var(--gold-apple);
  font-size: 0.85rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.feature-tournament-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-tournament-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.tournament-cta-btn {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  width: 100%;
}




/* --------------------------------------------------------------------------
   11. DISCORD SQUAD SECTION (CLAN BANNER)
   -------------------------------------------------------------------------- */
.discord-clan-banner {
  padding: 3.5rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.85) 0%, rgba(12, 17, 30, 0.95) 100%);
  border: 1.5px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--discord-glow);
  position: relative;
  overflow: hidden;
}

.clan-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.clan-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.clan-xp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-gamer);
  font-size: 0.8rem;
  font-weight: 800;
  color: #8A9CFF;
  letter-spacing: 0.08em;
}

.clan-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.1;
}

.clan-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.clan-perks-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.clan-perk-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.clan-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.clan-online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Dedicated Discord Widget Card */
.discord-widget-card {
  padding: 1.85rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16, 23, 40, 0.9) 0%, rgba(9, 13, 23, 0.96) 100%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.widget-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #5865F2;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.widget-status-col {
  display: flex;
  flex-direction: column;
}

.widget-server-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

.widget-presence {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-verified-badge {
  margin-left: auto;
  color: #38BDF8;
  font-size: 1.1rem;
}

.widget-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.widget-subtext {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.widget-channels-preview {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn-discord-widget {
  background: #5865F2;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.gamer-footer {
  background: #05080E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

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

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

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  width: fit-content;
  transition: all 0.2s ease;
}

.footer-ip-pill:hover {
  border-color: var(--theme-border);
  color: var(--text-white);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: var(--theme-accent-bright);
  transform: translateX(3px);
}

.vote-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.vote-button-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-vote-gamer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.btn-vote-gamer:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-apple);
  color: #FFFFFF;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-text-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mojang-notice {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 780px;
  line-height: 1.5;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circle-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.social-circle-link:hover {
  background: var(--theme-accent);
  color: #080C14;
  transform: translateY(-2px);
}

.back-to-top-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--theme-border);
  color: var(--theme-accent-bright);
  cursor: pointer;
  transition: all 0.2s ease;
}
.back-to-top-btn:hover {
  background: var(--theme-accent);
  color: #080C14;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. MODALS (RULES & VIP STORE)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  will-change: opacity;
}

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

.modal-window {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 24, 38, 0.96) 0%, rgba(9, 14, 23, 0.98) 100%);
  border: 1.5px solid var(--theme-border);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 35px var(--theme-glow);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  will-change: transform;
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.store-modal-window {
  max-width: 980px;
}

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

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
}

.modal-close-btn {
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.modal-close-btn:hover { color: #FFFFFF; }

.modal-body {
  padding: 1.85rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Rules Styling */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rule-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rule-num-badge {
  font-family: var(--font-gamer);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--theme-accent-bright);
}

.rule-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

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

/* Store Styling */
.store-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.store-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-gamer);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.store-filter-btn.active {
  background: var(--theme-bg-tint);
  border-color: var(--theme-border);
  color: #FFFFFF;
}

.vip-tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.vip-tier-card {
  padding: 1.35rem 1rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  position: relative;
}

.rank-badge-wrap {
  width: 100%;
}

.rank-badge {
  font-family: var(--font-gamer);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-block;
}
.rank-badge.green { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.rank-badge.cyan { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.rank-badge.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-bright); }
.rank-badge.purple { background: rgba(168, 85, 247, 0.15); color: #C084FC; }
.rank-badge.crimson { background: rgba(239, 68, 68, 0.15); color: #F87171; }

.tier-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.tier-icon {
  font-size: 1.85rem;
}
.tier-icon.green { color: #10B981; }
.tier-icon.cyan { color: #38BDF8; }
.tier-icon.gold { color: var(--gold-apple); }
.tier-icon.purple { color: #A855F7; }
.tier-icon.crimson { color: #EF4444; }

.tier-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
}

.tier-price span {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-sub);
}

.tier-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: left;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-perks-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-rank-buy {
  width: 100%;
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn-rank-green { background: #10B981; color: #021208; }
.btn-rank-cyan { background: #38BDF8; color: #031520; }
.btn-rank-gold { background: var(--gold-apple); color: #160D02; }
.btn-rank-purple { background: #A855F7; color: #FFFFFF; }
.btn-rank-crimson { background: #EF4444; color: #FFFFFF; }

.btn-rank-buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn-subtext {
  font-size: 0.62rem;
  opacity: 0.85;
}

/* Store Purchase Guide */
.store-purchase-guide {
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  text-align: center;
}

.guide-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.guide-step-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num-pill {
  font-family: var(--font-gamer);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--theme-accent-bright);
}

.step-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.payment-badge-strip {
  display: flex;
  justify-content: center;
}

.payment-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-payment-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. FLOATING UTILITIES & TOASTS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  min-width: 320px;
  max-width: 440px;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 24, 38, 0.95) 0%, rgba(9, 14, 23, 0.98) 100%);
  border: 1px solid var(--theme-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px var(--theme-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  will-change: transform, opacity;
}

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

.toast-icon {
  font-size: 1.4rem;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
}

.toast-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.audio-control-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--theme-accent-bright);
  cursor: pointer;
  z-index: 999;
  border: 1px solid var(--theme-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--theme-glow);
  transition: all 0.2s ease;
}

.audio-control-float:hover {
  transform: scale(1.1);
}

.audio-control-float.muted {
  color: var(--text-dim);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.floating-ascend-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--theme-accent-bright);
  cursor: pointer;
  z-index: 999;
  border: 1px solid var(--theme-border);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Note: Comprehensive Responsive Architecture (Mobile, Tablet, Desktop) is consolidated at the end of this stylesheet for clean cascade hierarchy */


/* ==========================================================================
   16. PROPER MINECRAFT EXPANSIONS: HOW TO JOIN, COMMANDS, CHAMPIONS, STORE MATRIX
   ========================================================================== */

/* --- HOW TO JOIN SECTION --- */
.how-to-join-section {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.platform-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 3rem 0;
  flex-wrap: wrap;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  background: rgba(18, 26, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-family: var(--font-gamer);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.platform-tab-btn i {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.platform-tab-btn:hover {
  background: rgba(28, 41, 66, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.platform-tab-btn.active {
  background: var(--theme-bg-tint);
  border-color: var(--theme-accent);
  color: #FFFFFF;
  box-shadow: 0 0 25px var(--theme-glow);
}

.platform-tab-btn.active i {
  color: var(--theme-accent);
}

.platform-pill-ver {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.platform-tab-btn.active .platform-pill-ver {
  background: rgba(0, 210, 211, 0.2);
  color: var(--theme-accent-bright);
}

.platform-steps-container {
  display: none;
  animation: fadeInSteps 0.4s ease forwards;
}

.platform-steps-container.active {
  display: block;
}

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

.join-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.join-step-card {
  padding: 1.75rem 1.4rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  background: var(--glass-bg-base);
  border: var(--glass-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.join-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px var(--theme-glow);
}

.step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-number-tag {
  font-family: var(--font-gamer);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--theme-accent);
  background: var(--theme-bg-tint);
  border: 1px solid var(--theme-border);
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.step-card-icon {
  font-size: 1.35rem;
  color: var(--text-muted);
}

.join-step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
}

.join-step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex-grow: 1;
}

.step-code-highlight {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--diamond-bright);
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 210, 211, 0.2);
  display: inline-block;
  word-break: break-all;
}

.join-callout-panel {
  padding: 1.75rem 2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 25, 41, 0.88) 0%, rgba(9, 14, 24, 0.95) 100%);
  border: 1px solid var(--theme-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px var(--theme-bg-tint);
}

.join-callout-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.join-callout-icon {
  font-size: 2.2rem;
  color: var(--theme-accent);
  filter: drop-shadow(0 0 12px var(--theme-glow));
}

.join-callout-text h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.join-callout-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

/* --- MINECRAFT GAMEMODE SVGS & COMMAND CHIPS --- */
.art-minecraft-svg {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.75));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gamemode-card:hover .art-minecraft-svg {
  transform: scale(1.1) rotate(-3deg);
}

.gamemode-commands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0.4rem 0;
}

.cmd-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.cmd-chip:hover {
  background: var(--theme-bg-tint);
  border-color: var(--theme-border);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.cmd-chip i {
  font-size: 0.65rem;
  opacity: 0.6;
}

/* --- COMMANDS CODEX SECTION --- */
.commands-section {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.commands-filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 2rem 0 3rem 0;
  flex-wrap: wrap;
}

.cmd-filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-gamer);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cmd-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.cmd-filter-btn.active {
  background: var(--theme-bg-tint);
  border-color: var(--theme-border);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--theme-glow);
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.command-card {
  padding: 1.5rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  background: var(--glass-bg-base);
  border: var(--glass-border);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.command-card:hover {
  transform: translateY(-3px);
  border-color: var(--theme-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--theme-glow);
}

.command-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.command-realm-badge {
  font-family: var(--font-gamer);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.command-realm-badge.survival { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.command-realm-badge.lifesteal { background: rgba(239, 68, 68, 0.15); color: #F87171; }
.command-realm-badge.bedwars { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.command-realm-badge.general { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }

.command-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.command-syntax {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #00D2D3;
}

.btn-cmd-copy {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-cmd-copy:hover {
  color: #FFFFFF;
  transform: scale(1.15);
}

.command-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- CHAMPIONS HALL OF FAME --- */
.champions-section {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.champions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.champion-card {
  padding: 1.75rem 1.4rem;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  background: var(--glass-bg-base);
  border: var(--glass-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.champion-card:hover {
  transform: translateY(-6px);
  border-color: var(--theme-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--theme-glow);
}

.champion-crown-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.1rem;
}

.champion-crown-tag.gold { color: #F59E0B; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); }
.champion-crown-tag.silver { color: #E2E8F0; filter: drop-shadow(0 0 8px rgba(226, 232, 240, 0.6)); }
.champion-crown-tag.bronze { color: #D97706; filter: drop-shadow(0 0 8px rgba(217, 119, 6, 0.6)); }
.champion-crown-tag.diamond { color: #00D2D3; filter: drop-shadow(0 0 8px rgba(0, 210, 211, 0.6)); }

.champion-avatar-box {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.5) 80%);
  border: 2px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.champion-avatar-img {
  width: 76px;
  height: 76px;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s ease;
}

.champion-card:hover .champion-avatar-img {
  transform: scale(1.12);
}

.champion-ign {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.champion-rank-badge {
  font-family: var(--font-gamer);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-block;
  letter-spacing: 0.05em;
}

.champion-rank-badge.devil { background: rgba(239, 68, 68, 0.2); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.champion-rank-badge.immortal { background: rgba(168, 85, 247, 0.2); color: #C084FC; border: 1px solid rgba(168, 85, 247, 0.4); }
.champion-rank-badge.titan { background: rgba(245, 158, 11, 0.2); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.4); }
.champion-rank-badge.elite { background: rgba(56, 189, 248, 0.2); color: #38BDF8; border: 1px solid rgba(56, 189, 248, 0.4); }

.champion-stat-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.champion-stat-number {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--theme-accent);
}

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

.champion-realm-footer {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- STORE MODAL ADVANCED PERKS MATRIX & TICKET BUILDER --- */
.store-tab-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.store-tab-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-gamer);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.store-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.store-tab-btn.active {
  background: var(--theme-bg-tint);
  border-color: var(--theme-border);
  color: #FFFFFF;
  box-shadow: 0 0 15px var(--theme-glow);
}

.store-tab-panel {
  display: none;
}

.store-tab-panel.active {
  display: block;
}

/* Comparison Table */
.matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.perks-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: center;
}

.perks-matrix-table th,
.perks-matrix-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.perks-matrix-table th {
  background: rgba(18, 26, 42, 0.8);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-white);
  font-size: 0.9rem;
}

.perks-matrix-table th:first-child,
.perks-matrix-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(13, 19, 31, 0.6);
  position: sticky;
  left: 0;
  z-index: 2;
}

.perks-matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.matrix-check { color: #10B981; font-size: 0.95rem; }
.matrix-cross { color: #64748B; font-size: 0.85rem; }

/* Ticket Generator */
.ticket-generator-box {
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--theme-border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ticket-grid-inputs {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
}

.ticket-input-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.ticket-input-col label {
  font-family: var(--font-gamer);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ticket-field {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(18, 26, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: var(--font-sub);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ticket-field:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 15px var(--theme-glow);
}

.ticket-preview-box {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #080C14;
  border: 1px dashed rgba(0, 210, 211, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ticket-preview-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--diamond-bright);
  word-break: break-all;
}

.btn-ticket-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  background: var(--discord-blurple);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-ticket-copy:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.45);
}

/* Radar Ping Refresh Button */
.radar-refresh-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.radar-refresh-btn:hover {
  background: var(--theme-bg-tint);
  border-color: var(--theme-border);
  color: #FFFFFF;
}

.radar-refresh-btn.spinning i {
  animation: spinRadar 0.8s linear infinite;
}

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


/* Right-Hand Controls & Play Now Button */
.nav-right-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Pulsing Server Beacon Dot */
.beacon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2ECC71;
  box-shadow: 0 0 10px #2ECC71;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.beacon-dot::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 1.5px solid #2ECC71;
  border-radius: 50%;
  animation: beaconPulse 2s infinite ease-out;
  transition: border-color 0.3s ease;
}

.beacon-dot.offline {
  background-color: #FF4757 !important;
  box-shadow: 0 0 10px #FF4757 !important;
}

.beacon-dot.offline::after {
  border-color: #FF4757 !important;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Devil Rank Pulsating Fire Border */
.rank-devil, .pulse-fire-card {
  border: 1.5px solid rgba(239, 68, 68, 0.7) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
  animation: devilPulse 2.5s infinite ease-in-out;
}

@keyframes devilPulse {
  0% {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3), inset 0 0 10px rgba(239, 68, 68, 0.15);
  }
  50% {
    border-color: rgba(255, 71, 87, 0.95);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.75), inset 0 0 20px rgba(239, 68, 68, 0.35);
  }
  100% {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3), inset 0 0 10px rgba(239, 68, 68, 0.15);
  }
}

/* --- CHAMPIONS EMPTY STATE --- */
.champions-empty-state {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.2rem 2.2rem;
  border-radius: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 38, 0.88) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.champions-empty-state:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(245, 158, 11, 0.25);
}

.empty-trophy-halo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.04) 70%);
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
  animation: trophyFloat 3.5s ease-in-out infinite alternate;
}

@keyframes trophyFloat {
  0% { transform: translateY(0) scale(1); box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
  100% { transform: translateY(-6px) scale(1.05); box-shadow: 0 0 35px rgba(245, 158, 11, 0.6); }
}

.empty-trophy-icon {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.7));
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.empty-state-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.empty-state-tag-wrap {
  margin-top: 0.5rem;
}

.empty-reset-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--font-gamer);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

/* --- SERVER LEADERSHIP (OWNERS) SECTION --- */
.owners-section {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
}

.owner-card {
  padding: 2.25rem 1.8rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  background: var(--glass-bg-base);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.owner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  opacity: 0.8;
}

.owner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.25);
}

.owner-avatar-wrap {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.owner-avatar-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.owner-card:hover .owner-avatar-img {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.55);
}

.owner-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.owner-badge-gold {
  font-family: var(--font-gamer);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
  background-size: 200% 200%;
  color: #080C14;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.45);
  animation: shimmerGold 3.5s ease infinite;
}

@keyframes shimmerGold {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.owner-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.owner-discord-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #8A9CFF;
  font-family: var(--font-gamer);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.owner-discord-tag:hover {
  background: #5865F2;
  border-color: #5865F2;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
  transform: translateY(-2px);
}

/* --- LIVE PLAYERS ONLINE SHOWCASE WIDGET --- */
.live-players-showcase-card {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
  background: radial-gradient(circle at 10% 20%, rgba(0, 210, 211, 0.08) 0%, rgba(13, 19, 31, 0.88) 100%);
  border: 1px solid rgba(0, 210, 211, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.live-players-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00D2D3, #2ECC71, transparent);
  opacity: 0.85;
}

.live-players-showcase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 210, 211, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 210, 211, 0.2);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.showcase-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.showcase-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 210, 211, 0.14);
  border: 1px solid rgba(0, 210, 211, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--diamond-cyan);
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 210, 211, 0.25);
}

.showcase-title {
  font-family: 'Fredoka', var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.showcase-subtext {
  font-family: 'Nunito', var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
}

.status-beacon-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-gamer);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-white);
  white-space: nowrap;
  flex-shrink: 0;
}

.dot,
.status-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
}

.dot.green,
.status-indicator-dot.online {
  background-color: #2ECC71;
  box-shadow: 0 0 10px #2ECC71;
}

.dot.green::after,
.status-indicator-dot.online::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 1.5px solid #2ECC71;
  border-radius: 50%;
  animation: beaconPulse 2s infinite ease-out;
}

.dot.red,
.status-indicator-dot.offline {
  background-color: #FF4757;
  box-shadow: 0 0 10px #FF4757;
}

.dot.red::after,
.status-indicator-dot.offline::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 1.5px solid #FF4757;
  border-radius: 50%;
  animation: beaconPulse 2s infinite ease-out;
}

.showcase-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.showcase-numbers {
  font-family: 'Fredoka', var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #00D2D3 0%, #2ECC71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0, 210, 211, 0.45));
}

.showcase-capacity-wrap {
  width: 100%;
}

.showcase-capacity-track {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.showcase-capacity-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #00D2D3 0%, #2ECC71 100%);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.6);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   17. COMPREHENSIVE RESPONSIVE MASTER SUITE (MOBILE, TABLET, DESKTOP & 4K PC)
   ========================================================================== */

/* --- 1. LARGE DESKTOPS & HIGH-RES MONITORS (1400px+) --- */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* --- 2. LAPTOPS & COMPACT DESKTOPS (1025px - 1280px) --- */
@media (max-width: 1280px) {
  .container {
    max-width: 1180px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero-split-grid {
    gap: 2.5rem;
  }
  .emblem-stage {
    max-width: 400px;
    padding: 28px;
  }
  .floating-badge.badge-bottom-right {
    right: 8px;
  }
  .vip-tiers-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
  .vip-tier-card {
    padding: 1.15rem 0.75rem;
  }
  .tier-price {
    font-size: 1.3rem;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
  .gamer-capsule {
    padding: 8px 16px;
  }
  .nav-links {
    gap: 4px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 0.88rem;
    gap: 6px;
  }
  .live-status-pill {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
  .nav-play-btn {
    padding: 0 14px;
    font-size: 0.84rem;
  }
}

/* --- 3. COMPACT LAPTOPS & TABLETS LANDSCAPE (993px - 1100px) --- */
@media (max-width: 1100px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content-col {
    align-items: center;
    text-align: center;
  }
  .hero-subtitle {
    max-width: 680px;
  }
  .server-portal-console {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .console-main-box {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .btn-console-copy {
    width: 100%;
    min-height: 48px;
  }
  .console-ip-col {
    align-items: center;
    text-align: center;
  }
  .console-ip-row {
    justify-content: center;
  }
  .live-players-showcase-card {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .emblem-stage {
    max-width: 360px;
    margin: 0 auto;
  }
  .vip-tiers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .vip-tiers-grid .vip-tier-card:nth-child(4) {
    grid-column: span 1;
  }
  .vip-tiers-grid .vip-tier-card:nth-child(5) {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid .footer-links-col:last-child {
    grid-column: span 3;
  }
}

/* --- 4. TABLETS PORTRAIT & SURFACE (769px - 1024px) --- */
@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .mobile-drawer {
    display: flex;
  }
  .gamer-capsule {
    padding: 8px 16px;
    margin: 14px auto;
  }
  .live-status-pill .crafter-count {
    display: none;
  }
  .live-status-pill {
    padding: 6px 10px;
  }
  .join-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .commands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .realms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .realms-grid .gamemode-card:nth-child(3) {
    grid-column: span 2;
  }
  .features-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .bento-wide {
    grid-column: span 2;
  }
  .clan-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .adventure-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .owners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .ticket-grid-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .ticket-grid-inputs .ticket-input-col:first-child {
    grid-column: span 2;
  }
  .guide-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* --- 5. TABLETS & LARGE MOBILE PHONES (641px - 768px) --- */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .section-block {
    padding: 4.5rem 0;
  }
  .section-header-centered {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: clamp(1.85rem, 5vw, 2.5rem);
  }
  .section-desc {
    font-size: 0.96rem;
  }

  /* Header & Capsule */
  .navbar-wrapper {
    padding: 0 0.75rem;
    top: 0.75rem;
  }
  .gamer-capsule {
    width: 100%;
    padding: 8px 14px;
    margin: 0 auto;
  }
  .live-status-pill {
    display: none !important;
  }
  .brand-tagline {
    display: none;
  }
  .nav-play-btn {
    height: 36px;
    padding: 0 14px;
    font-size: 0.85rem;
  }

  /* Hero */
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }
  .hero-container {
    gap: 2.5rem;
  }
  .hero-telemetry-badge {
    font-size: 0.76rem;
    padding: 0.4rem 0.95rem;
    gap: 0.45rem 0.65rem;
  }
  .hero-headline {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .server-portal-console {
    padding: 1.25rem 1.25rem;
  }
  .console-main-box {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .btn-console-copy {
    width: 100%;
    min-height: 48px;
  }
  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions-row .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .emblem-stage {
    max-width: 320px;
    padding: 24px;
  }
  .floating-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.8rem;
  }
  .floating-badge.badge-top-right {
    top: -8px;
    right: 8px;
  }
  .floating-badge.badge-bottom-left {
    bottom: -8px;
    left: 8px;
  }
  .floating-badge.badge-bottom-right {
    display: none;
  }
  .adventure-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Gamemodes */
  .realms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .realms-grid .gamemode-card:nth-child(3) {
    grid-column: span 1;
  }
  .gamemode-card {
    padding: 1.4rem;
  }

  /* How to Join */
  .platform-tabs-nav {
    gap: 0.75rem;
  }
  .join-callout-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }
  .join-callout-info {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .join-callout-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
  }
  .join-callout-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  /* Features Bento */
  .features-bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bento-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  /* Owners */
  .owners-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 1.5rem;
  }

  /* Clan Banner */
  .discord-clan-banner {
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }
  .clan-cta-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }
  .clan-cta-row .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .clan-online-counter {
    justify-content: center;
  }

  /* Store & Ranks */
  .vip-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .vip-tiers-grid .vip-tier-card:nth-child(5) {
    grid-column: 1 / -1;
  }
  .guide-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-social-group {
    justify-content: center;
  }

  /* Modals */
  .modal-backdrop {
    padding: 1rem;
  }
  .modal-window {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px;
  }
  .modal-header {
    padding: 1.15rem 1.25rem;
  }
  .modal-body {
    padding: 1.25rem;
  }
  .ticket-grid-inputs {
    grid-template-columns: 1fr;
  }
  .ticket-grid-inputs .ticket-input-col:first-child {
    grid-column: span 1;
  }
  .ticket-preview-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .btn-ticket-copy {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* --- 6. PHABLETS & MOBILE LANDSCAPE (481px - 640px) --- */
@media (max-width: 640px) {
  .platform-tabs-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .platform-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }
  .join-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .commands-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .adventure-stats-strip {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .vip-tiers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vip-tiers-grid .vip-tier-card:nth-child(5) {
    grid-column: span 1;
  }
}

/* --- 7. STANDARD MOBILE PHONES (361px - 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section-block {
    padding: 3.25rem 0;
  }

  /* Header on Mobile */
  .navbar-wrapper {
    padding: 0 8px;
    top: 8px;
  }
  .gamer-capsule {
    padding: 6px 12px;
  }
  .brand-wordmark {
    font-size: 1.15rem;
  }
  .brand-insignia {
    width: 32px;
    height: 32px;
  }
  .brand-logo-img {
    height: 32px;
  }
  /* On mobile <= 480px, transform Play Now into compact circular icon button to prevent overflow */
  .nav-play-btn span {
    display: none;
  }
  .nav-play-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .nav-right-controls {
    gap: 8px;
  }
  .mobile-drawer {
    left: 8px;
    right: 8px;
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }
  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.65rem 1rem;
  }

  /* Hero on Mobile */
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2.75rem;
  }
  .hero-telemetry-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    gap: 0.35rem 0.5rem;
  }
  .badge-sep {
    display: none;
  }
  .badge-season, .badge-spec, .badge-ping {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: 6px;
  }
  .hero-pretitle {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .hero-headline {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  /* Server Console on Mobile */
  .server-portal-console {
    padding: 1rem 0.85rem;
    border-radius: 18px;
  }
  .console-top-radar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .radar-telemetry {
    width: 100%;
    justify-content: space-between;
  }
  .console-ip-title {
    font-size: 0.65rem;
  }
  .console-ip-code {
    font-size: clamp(0.85rem, 4.2vw, 1.25rem);
    white-space: nowrap;
  }
  .platform-chips {
    width: 100%;
    flex-wrap: wrap;
  }
  .capacity-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  /* Live Players Widget on Mobile */
  .live-players-showcase-card {
    padding: 1.15rem 1rem;
    border-radius: 18px;
  }
  .showcase-numbers {
    font-size: 1.95rem;
  }
  .showcase-title {
    font-size: 1.05rem;
  }

  /* Emblem on Mobile */
  .emblem-stage {
    max-width: 250px;
    padding: 16px;
    margin: 0 auto;
  }

  /* Stats Strip */
  .stat-block-card {
    padding: 0.9rem 1rem;
  }
  .stat-icon-square {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .stat-info-text strong {
    font-size: 1.1rem;
  }

  /* How to Join */
  .join-step-card {
    padding: 1.15rem 1rem;
    border-radius: 16px;
  }

  /* Commands */
  .commands-filter-bar {
    gap: 6px;
  }
  .cmd-filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }
  .command-card {
    padding: 1.15rem 0.95rem;
  }

  /* Champions */
  .champions-empty-state {
    padding: 2rem 1rem;
    border-radius: 20px;
  }
  .empty-state-title {
    font-size: 1.35rem;
  }
  .empty-reset-pill {
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    word-break: break-word;
  }

  /* Store & Ranks */
  .vip-tier-card {
    padding: 1.25rem 1rem;
  }
  .btn-rank-buy {
    min-height: 48px;
    justify-content: center;
    font-size: 0.88rem;
  }
  .store-purchase-guide {
    padding: 1.25rem 0.9rem;
  }
  .payment-badge-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    text-align: center;
  }

  /* Modals */
  .modal-backdrop {
    padding: 0.5rem;
  }
  .modal-window {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 16px;
  }
  .modal-header {
    padding: 0.9rem 1rem;
  }
  .modal-title {
    font-size: 1.1rem;
  }
  .modal-body {
    padding: 1rem 0.85rem;
    gap: 1rem;
  }
  .rule-box {
    padding: 0.95rem 0.85rem;
    gap: 0.75rem;
  }
  .store-tab-switcher {
    gap: 6px;
  }
  .store-tab-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }
  .store-filter-bar {
    gap: 5px;
  }
  .store-filter-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }
  .perks-matrix-table th, .perks-matrix-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
  }

  /* Floating Controls on Mobile */
  .audio-control-float {
    bottom: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
  }
  .floating-ascend-btn {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  .toast-container {
    bottom: 4.5rem;
    left: 0.75rem;
    right: 0.75rem;
  }
  .toast {
    min-width: auto;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
  }
}

/* --- 8. ULTRA-COMPACT MOBILE PHONES (320px - 360px) --- */
@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .gamer-capsule {
    padding: 5px 10px;
  }
  .brand-wordmark {
    font-size: 1.05rem;
  }
  .brand-insignia {
    width: 28px;
    height: 28px;
  }
  .brand-logo-img {
    height: 28px;
  }
  .hero-headline {
    font-size: 1.65rem;
  }
  .hero-telemetry-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.6rem;
  }
  .console-ip-code {
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .emblem-stage {
    max-width: 210px;
    padding: 12px;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }
}

