/* ==========================================================================
   InPrac Network — Tactical Competitive Gaming Stylesheet
   Designed for High-Concurrency Competitive Minecraft (Leaf 1.21.11 Core)
   ========================================================================== */

:root {
  --bg-black: #08090d;
  --bg-card: rgba(14, 16, 24, 0.75);
  --bg-card-hover: rgba(20, 24, 36, 0.9);
  --bg-inset: rgba(9, 10, 15, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(139, 92, 246, 0.35);
  --border-accent: rgba(99, 102, 241, 0.3);

  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #6d28d9;

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fcd34d;
  --accent-rose: #f43f5e;
  --accent-discord: #5865F2;

  --text-pure: #ffffff;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dark: #94a3b8;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow-purple: 0 0 45px -10px rgba(139, 92, 246, 0.3);
  --shadow-glow-amber: 0 0 40px -10px rgba(245, 158, 11, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Visual Effects */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  opacity: 0.18;
  z-index: 0;
}

.glow-top {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-bottom {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  bottom: 10%;
  right: -100px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 9, 13, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-pure);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-xs);
  color: var(--primary-light);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
  flex-shrink: 0;
}

.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-dot {
  color: var(--primary-light);
}

.nav-status-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #34d399;
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseLoop 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseLoop {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-links a:not(.nav-store-btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:not(.nav-store-btn):hover {
  color: var(--text-pure);
}

.nav-links a:not(.nav-store-btn).active {
  color: #c4b5fd;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.nav-links a:not(.nav-store-btn).active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #38bdf8);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

.nav-discord-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c7d2fe !important;
  font-weight: 600 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.discord-nav-icon {
  fill: var(--accent-discord);
  flex-shrink: 0;
}

.nav-store-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.store-badge-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  opacity: 0.85;
  font-weight: 500;
}

.nav-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 85px 0 65px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
}

.network-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.network-tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 8px var(--primary-light);
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-pure);
  margin-bottom: 20px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Direct Connect Action Box */
.direct-connect-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-inset);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.direct-connect-box:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.direct-connect-box.copied {
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.3) !important;
}

.connect-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.connect-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.connect-ip-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ip-main {
  font-size: 1.4rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.04em;
}


.copy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.55);
}

.copy-btn.copied {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* CTAs */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: var(--shadow-glow-amber);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.cta-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.55);
}

.cta-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(88, 101, 242, 0.15);
  color: #e0e7ff;
  border: 1px solid rgba(88, 101, 242, 0.4);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.cta-discord:hover {
  background: var(--accent-discord);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.45);
}

.spec-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 960px;
  width: 100%;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.79rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.spec-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-pure);
  transform: translateY(-2px);
}

.spec-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.spec-pill-dot.green { background: var(--accent-emerald); box-shadow: 0 0 6px var(--accent-emerald); }
.spec-pill-dot.violet { background: var(--primary-light); box-shadow: 0 0 6px var(--primary-light); }
.spec-pill-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.spec-pill-dot.amber { background: var(--accent-amber); box-shadow: 0 0 6px var(--accent-amber); }
.spec-pill-dot.blue { background: #818cf8; box-shadow: 0 0 6px #818cf8; }

/* ==========================================================================
   Section Headers (Shared)
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   Telemetry Console
   ========================================================================== */
.telemetry-section {
  padding: 60px 0;
}

.telemetry-console {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.server-node-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.server-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
}

.server-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
}

.status-indicator-badge {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.status-indicator-badge.online {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.server-endpoint-text {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.console-timestamp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dark);
}

.clock-icon {
  color: var(--accent-emerald);
}

/* In-Game MOTD Box */
.console-motd-box {
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.motd-header {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.motd-terminal {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e2e8f0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Console Metrics Grid */
.console-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.metric-num-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.metric-big {
  font-size: 2.2rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1;
}

.metric-medium {
  font-size: 1.45rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary-light);
}

.metric-denom {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.text-emerald {
  color: #34d399 !important;
}

.metric-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 8px;
}

.metric-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.metric-caption {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-top: 4px;
}

.console-footer-status {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.player-list-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-right: 6px;
}

.player-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.player-pill:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.5);
}

.player-skin-head {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.player-pill-more {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Competitive Gamemodes Section (6 Tactical Arenas)
   ========================================================================== */
.gamemodes-section {
  padding: 75px 0;
}

.arenas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.arena-card {
  background: #0b0d14;
  border: 1px solid var(--card-border-color, rgba(255, 255, 255, 0.07));
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

/* Card Top Glowing Lightbar */
.arena-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-lightbar);
  box-shadow: 0 0 14px var(--card-glow);
  transition: height 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

/* Subtle Interior Ambient Glow */
.arena-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 12% 0%, var(--card-subtle-glow), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.arena-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-hover-border);
  box-shadow: 0 18px 45px -10px var(--card-hover-shadow), 0 0 20px -8px var(--card-glow);
}

.arena-card:hover::before {
  height: 4px;
  box-shadow: 0 0 20px var(--card-glow);
}

.arena-card:hover::after {
  opacity: 1;
}

/* Theme 1: Cyan (7x 5K RTP) */
.theme-cyan {
  --card-lightbar: linear-gradient(90deg, #06b6d4, #38bdf8);
  --card-glow: rgba(6, 182, 212, 0.6);
  --card-subtle-glow: rgba(6, 182, 212, 0.14);
  --card-border-color: rgba(6, 182, 212, 0.18);
  --card-hover-border: rgba(56, 189, 248, 0.55);
  --card-hover-shadow: rgba(6, 182, 212, 0.3);
  --card-accent: #38bdf8;
}

/* Theme 2: Emerald (Live Auto-Resets) */
.theme-emerald {
  --card-lightbar: linear-gradient(90deg, #10b981, #34d399);
  --card-glow: rgba(16, 185, 129, 0.6);
  --card-subtle-glow: rgba(16, 185, 129, 0.14);
  --card-border-color: rgba(16, 185, 129, 0.18);
  --card-hover-border: rgba(52, 211, 153, 0.55);
  --card-hover-shadow: rgba(16, 185, 129, 0.3);
  --card-accent: #34d399;
}

/* Theme 3: Amber (600-Block Re-Kit Zone) */
.theme-amber {
  --card-lightbar: linear-gradient(90deg, #f59e0b, #fbbf24);
  --card-glow: rgba(245, 158, 11, 0.6);
  --card-subtle-glow: rgba(245, 158, 11, 0.14);
  --card-border-color: rgba(245, 158, 11, 0.18);
  --card-hover-border: rgba(251, 191, 36, 0.55);
  --card-hover-shadow: rgba(245, 158, 11, 0.3);
  --card-accent: #fbbf24;
}

/* Theme 4: Indigo / Discord Blue (Cross-World Message Sync) */
.theme-indigo {
  --card-lightbar: linear-gradient(90deg, #5865F2, #818cf8);
  --card-glow: rgba(88, 101, 242, 0.6);
  --card-subtle-glow: rgba(88, 101, 242, 0.14);
  --card-border-color: rgba(88, 101, 242, 0.18);
  --card-hover-border: rgba(129, 140, 248, 0.55);
  --card-hover-shadow: rgba(88, 101, 242, 0.3);
  --card-accent: #818cf8;
}

/* Theme 5: Violet (Crystal FFA & Fast-Place) */
.theme-violet {
  --card-lightbar: linear-gradient(90deg, #8b5cf6, #c084fc);
  --card-glow: rgba(139, 92, 246, 0.6);
  --card-subtle-glow: rgba(139, 92, 246, 0.14);
  --card-border-color: rgba(139, 92, 246, 0.18);
  --card-hover-border: rgba(192, 132, 252, 0.55);
  --card-hover-shadow: rgba(139, 92, 246, 0.3);
  --card-accent: #c084fc;
}

/* Theme 6: Rose / Crimson (Respawn Anchor Battles) */
.theme-rose {
  --card-lightbar: linear-gradient(90deg, #f43f5e, #fb7185);
  --card-glow: rgba(244, 63, 94, 0.6);
  --card-subtle-glow: rgba(244, 63, 94, 0.14);
  --card-border-color: rgba(244, 63, 94, 0.18);
  --card-hover-border: rgba(251, 113, 133, 0.55);
  --card-hover-shadow: rgba(244, 63, 94, 0.3);
  --card-accent: #fb7185;
}

.arena-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* Tactical Icon Wraps */
.arena-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s ease;
}

.arena-card:hover .arena-icon-wrap {
  transform: scale(1.08);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.2);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.icon-indigo {
  background: rgba(88, 101, 242, 0.12);
  color: #818cf8;
  border: 1px solid rgba(88, 101, 242, 0.35);
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.2);
}

.icon-violet {
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.2);
}

.icon-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.2);
}

/* Tactical Status Tags */
.arena-tier-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.spec-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  animation: liveDotPing 2s infinite ease-in-out;
}

@keyframes liveDotPing {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.tag-cyan { background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.3); color: #38bdf8; }
.dot-cyan { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }

.tag-emerald { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #34d399; }
.dot-emerald { background: #34d399; box-shadow: 0 0 8px #34d399; }

.tag-amber { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #fbbf24; }
.dot-amber { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }

.tag-indigo { background: rgba(88, 101, 242, 0.1); border: 1px solid rgba(88, 101, 242, 0.3); color: #818cf8; }
.dot-indigo { background: #818cf8; box-shadow: 0 0 8px #818cf8; }

.tag-violet { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); color: #c084fc; }
.dot-violet { background: #c084fc; box-shadow: 0 0 8px #c084fc; }

.tag-rose { background: rgba(244, 63, 94, 0.1); border: 1px solid rgba(244, 63, 94, 0.3); color: #fb7185; }
.dot-rose { background: #fb7185; box-shadow: 0 0 8px #fb7185; }

.arena-title {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.arena-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.arena-desc code {
  color: var(--card-accent);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ==========================================================================
   Store Ranks Showcase (Synced with store.inprac.xyz)
   ========================================================================== */
.ranks-section {
  padding: 70px 0;
}

.ranks-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

@media (max-width: 1180px) {
  .ranks-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .ranks-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.rank-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.rank-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.7);
}

.featured-rank {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(14, 16, 24, 0.85) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 40px -10px rgba(245, 158, 11, 0.25);
}

.featured-ribbon {
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

.rank-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rank-pill-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.vip-pill { color: #84cc16; background: rgba(132, 204, 22, 0.12); border-color: rgba(132, 204, 22, 0.35); }
.mvp-pill { color: #38bdf8; background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.35); }
.elite-pill { color: #f59e0b; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
.titan-pill { color: #f97316; background: rgba(249, 115, 22, 0.12); border-color: rgba(249, 115, 22, 0.35); }
.supreme-pill { color: #c084fc; background: rgba(192, 132, 252, 0.12); border-color: rgba(192, 132, 252, 0.35); }

.rank-price {
  font-size: 1.45rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.02em;
}

.rank-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.vip-glow { color: #84cc16; }
.mvp-glow { color: #38bdf8; }
.elite-glow { color: #f59e0b; }
.titan-glow { color: #f97316; }
.supreme-glow { color: #c084fc; }

.rank-access {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-dark);
  margin-bottom: 18px;
  display: block;
}

.rank-perk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.rank-perk-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.4;
}

.perk-plus {
  color: #64748b;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.rank-buy-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.rank-buy-btn:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.featured-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.featured-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.store-footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.store-link-pill {
  color: var(--accent-amber-light);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.store-link-pill:hover {
  text-decoration: underline;
  color: #fff;
}

/* ==========================================================================
   Infrastructure & Performance Engine Section
   ========================================================================== */
.infra-section {
  padding: 70px 0;
}

.infra-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-subtle);
}

.infra-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-pure);
  margin: 12px 0 14px;
}

.infra-lead {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.infra-spec-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.infra-spec-title::before {
  content: '▸';
  color: var(--primary-light);
}

.infra-spec-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Discord Callout Box inside Infra */
.infra-discord-box {
  background: linear-gradient(145deg, rgba(88, 101, 242, 0.12), rgba(15, 17, 26, 0.9));
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.discord-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
}

.discord-icon-large {
  margin-bottom: 16px;
  filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.4));
}

.discord-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.discord-box-desc {
  font-size: 0.86rem;
  color: #c7d2fe;
  line-height: 1.5;
  margin-bottom: 24px;
}

.discord-join-btn {
  display: inline-block;
  background: var(--accent-discord);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.45);
  transition: all 0.2s ease;
  width: 100%;
}

.discord-join-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(14, 18, 28, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #f1f5f9;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 9999;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Professional Footer (Zero AI Tells, Pure Technical Credit)
   ========================================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 75px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-summary {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-admin-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  max-width: 100%;
}

.admin-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-ip-chip {
  background: var(--bg-inset);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.footer-ip-chip:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-ip-chip.copied {
  border-color: rgba(16, 185, 129, 0.8) !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important;
}

.mono-ip {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.click-copy-hint {
  font-size: 0.7rem;
  color: var(--primary-light);
}

.footer-version-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal {
  font-size: 0.82rem;
  color: var(--text-dark);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dark);
  max-width: 500px;
  text-align: right;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .infra-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 880px) {
  .spec-pills-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    gap: 10px;
  }
  .spec-pill {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .spec-pills-row {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .nav-status-chip {
    display: none;
  }
  .nav-container {
    padding: 0 16px;
  }
  .brand-text {
    font-size: 1.1rem;
  }
  .nav-store-btn {
    padding: 6px 14px;
    font-size: 0.84rem;
  }
  .store-badge-sub {
    display: none;
  }
  .nav-links a:not(.nav-store-btn) {
    display: none;
  }
  .network-tag {
    font-size: 0.68rem;
    padding: 5px 12px;
    letter-spacing: 0.04em;
    max-width: 100%;
  }
  .hero-headline {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
  .hero-lead {
    font-size: 0.95rem;
    padding: 0 8px;
  }
  .direct-connect-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
  }
  .connect-info {
    align-items: center;
  }
  .copy-btn {
    justify-content: center;
    width: 100%;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .cta-store, .cta-discord {
    width: 100%;
    justify-content: center;
  }
  .telemetry-console {
    padding: 18px 14px;
  }
  .arenas-grid {
    grid-template-columns: 1fr;
  }
  .ranks-showcase-grid {
    grid-template-columns: 1fr;
  }
  .infra-banner {
    padding: 24px 18px;
  }
  .infra-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* ==========================================================================
   Sound Toggle Button in Navbar
   ========================================================================== */
.nav-sound-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 2px;
}
.nav-sound-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  transform: translateY(-1px);
}
.nav-sound-btn.muted {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   Mobile Hamburger Button & Drawer
   ========================================================================== */
.hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #cbd5e1;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 11, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  padding: 24px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 998;
}
.mobile-drawer.open {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.drawer-inner a {
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-inner a:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: #fff;
  transform: translateX(4px);
}
.drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 0;
}
.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-ip-box {
  background: rgba(139, 92, 246, 0.1);
  border: 1px dashed rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-ip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #a78bfa;
  letter-spacing: 0.06em;
}
.drawer-ip-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.drawer-btn {
  text-align: center;
  justify-content: center;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 12px !important;
}
.drawer-btn.store {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #000 !important;
  border: none !important;
}
.drawer-btn.discord {
  background: #5865f2 !important;
  color: #fff !important;
  border: none !important;
}

/* ==========================================================================
   Hero Interactive Particle Canvas
   ========================================================================== */
.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Global Latency Matrix Section
   ========================================================================== */
.latency-section {
  padding: 70px 0;
  position: relative;
}
.latency-console {
  background: rgba(15, 17, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}
.latency-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 26px;
}
.latency-host-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.latency-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: pulseRoute 2s infinite;
}
@keyframes pulseRoute {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.latency-host-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
}
.latency-host-title strong {
  color: #fff;
  font-weight: 700;
}
.latency-host-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  border-radius: 6px;
}
.live-route-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.route-node-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  border-radius: 8px;
}
.route-uptime-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-radius: 8px;
}

.latency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.latency-card {
  background: rgba(10, 12, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.latency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  opacity: 0.7;
}
.latency-card.optimal::before { background: #10b981; }
.latency-card.excellent::before { background: #06b6d4; }
.latency-card.great::before { background: #3b82f6; }
.latency-card.good::before { background: #8b5cf6; }
.latency-card.standard::before { background: #f59e0b; }

.latency-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
}

.latency-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.region-flag {
  font-size: 1.6rem;
  line-height: 1;
}
.region-meta {
  flex: 1;
}
.region-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.region-city {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}
.latency-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.badge-green { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #34d399; }
.badge-cyan { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.4); color: #22d3ee; }
.badge-blue { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.4); color: #60a5fa; }
.badge-purple { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.4); color: #c4b5fd; }
.badge-amber { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4); color: #fbbf24; }

.region-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 12px;
}
.region-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 10px;
}
.region-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.region-dot.online { background: #10b981; }

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 70px 0;
  position: relative;
}
.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: rgba(15, 17, 23, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
}
.faq-item.active {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(18, 20, 28, 0.8);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.1);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-q-text {
  flex: 1;
}
.faq-chevron {
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}
.faq-item.active .faq-body {
  max-height: 250px;
  padding-bottom: 22px;
}
.faq-body p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.faq-body a {
  color: #a78bfa;
  text-decoration: underline;
}

/* ==========================================================================
   Fair Play & Server Rules Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open {
  display: flex;
  opacity: 1;
}
.modal-dialog {
  background: #0d0f14;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.15);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.modal-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal-icon-badge {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.modal-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.rules-tab-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rules-tab-bar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.rules-tab {
  background: none;
  border: none;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.rules-tab:hover {
  color: #fff;
}
.rules-tab.active {
  color: #a78bfa;
}
.rules-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #8b5cf6;
  border-radius: 2px 2px 0 0;
}

.rules-content-body {
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(85vh - 180px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.rules-content-body::-webkit-scrollbar {
  width: 6px;
}
.rules-content-body::-webkit-scrollbar-track {
  background: transparent;
}
.rules-content-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}
.rules-content-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}
.rules-section-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 18px;
}
.rules-box-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.rules-box-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 0 12px;
}
.rules-check-list, .rules-cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rules-check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.45;
}
.rules-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}
.rules-cross-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.45;
}
.rules-cross-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}
.appeal-action-card {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.appeal-action-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.appeal-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.appeal-discord-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.01);
}
.modal-footer-hint {
  font-size: 0.75rem;
  color: var(--text-dark);
}
.modal-footer-hint kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
}
.modal-close-action {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close-action:hover {
  background: #8b5cf6;
  color: #fff;
}

/* ==========================================================================
   Gamer Keyboard Hints Strip
   ========================================================================== */
.keyboard-hints-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 900;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.keyboard-hints-bar.dismissed {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}
.hints-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hints-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}
.hint-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hint-item kbd {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
}
.hints-close {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.hints-close:hover {
  color: #ef4444;
}

@media (max-width: 1240px) {
  .nav-status-chip {
    display: none;
  }
  .nav-links {
    gap: 14px;
  }
}

@media (max-width: 1040px) {
  .keyboard-hints-bar {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .nav-links {
    display: none;
  }
}

