/* ==========================================================================
   PREMINE Web3 Mastering Community Theme
   Brand Palette: Metallic Amber Gold & Emerald Jade
   "LEARN • CONNECT • EARN • GROW"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Dark Obsidian Emerald Backgrounds */
  --bg-dark: #050a08;
  --bg-card: rgba(10, 24, 19, 0.88);
  --bg-card-hover: rgba(15, 36, 29, 0.96);
  --bg-glass: rgba(12, 28, 22, 0.82);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(16, 185, 129, 0.35);
  --border-glow-gold: rgba(245, 158, 11, 0.4);
  
  /* Primary & Brand Accent Colors */
  --primary: #059669;
  --primary-glow: rgba(5, 150, 105, 0.4);
  --primary-dark: #047857;
  --primary-light: #10b981;
  --secondary: #f59e0b;
  
  --emerald: #10b981;
  --emerald-dark: #047857;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.4);
  
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #fbbf24;
  --accent-rose: #f43f5e;
  
  /* High-Contrast Crystal-Clear Typography */
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --text-gold: #fbbf24;
  --text-emerald: #34d399;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.3);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.35);
  --shadow-glow-gold: 0 0 25px rgba(245, 158, 11, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.3);
}

/* Base & Typography */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fluid Responsive Typography for Laptops, Tablets, and Mobile */
h1, .display-3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem) !important;
  line-height: 1.2 !important;
}

h2, .display-4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem) !important;
  line-height: 1.25 !important;
}

h3, .display-5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem) !important;
  line-height: 1.3 !important;
}

.display-1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem) !important;
  line-height: 1.1 !important;
}

.display-2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem) !important;
  line-height: 1.15 !important;
}

h4 {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem) !important;
}

h5 {
  font-size: clamp(0.95rem, 1.4vw, 1.18rem) !important;
}

h6 {
  font-size: clamp(0.85rem, 1.1vw, 1rem) !important;
}

p.lead {
  font-size: clamp(0.92rem, 1.4vw, 1.1rem) !important;
  line-height: 1.65;
}

.text-muted {
  color: #cbd5e1 !important;
}

.text-dim {
  color: #94a3b8 !important;
}

.text-gold {
  color: #fbbf24 !important;
}

.text-emerald {
  color: #34d399 !important;
}

.text-sm {
  font-size: 0.88rem;
}

.text-xs {
  font-size: 0.78rem;
}

.form-label {
  color: #f8fafc !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Brand Logo Styling */
.brand-main-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.brand-main-logo:hover {
  transform: scale(1.02);
}

.brand-sidebar-logo {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand-footer-logo {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-auth-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Cosmic Dynamic Background */
.cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 50%),
    #050a08;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-panel:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.glass-panel-gold {
  border-color: rgba(245, 158, 11, 0.25);
}
.glass-panel-gold:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.glass-panel-emerald {
  border-color: rgba(16, 185, 129, 0.25);
}
.glass-panel-emerald:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--shadow-lg), var(--shadow-glow-emerald);
}

.glass-panel-cyan {
  border-color: rgba(6, 182, 212, 0.25);
}
.glass-panel-cyan:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
}

/* Border Utilities & Glow Effects */
.border-glow {
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.border-glow-gold {
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.border-emerald {
  border-color: rgba(16, 185, 129, 0.45) !important;
}

.border-gold {
  border-color: rgba(245, 158, 11, 0.45) !important;
}

.border-glass {
  border: 1px solid var(--border-glass) !important;
}

/* Gradient Text matching Gold & Emerald */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 40%, #fbbf24 80%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 30%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #6ee7b7 30%, #10b981 70%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #a5f3fc 0%, #06b6d4 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Futuristic Brand Buttons */
.btn-cyber-primary {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff !important;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cyber-primary:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
}

.btn-cyber-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #031812 !important;
  border: 1px solid rgba(254, 240, 138, 0.6);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cyber-gold:hover {
  color: #031812 !important;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
}

.btn-cyber-outline {
  background: rgba(16, 185, 129, 0.06);
  color: #f8fafc !important;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cyber-outline:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #ffffff !important;
  border-color: rgba(52, 211, 153, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   BADGES, PILLS & MICRO-LABELS (PRO WEB3 FINISH)
   ========================================================================== */

/* Universal Web3 Badge Base */
.badge-web3,
.badge-web3-gold,
.badge-web3-emerald,
.badge-web3-cyan,
.badge-web3-purple,
.badge-web3-danger,
[class*="badge-web3"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: middle;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #a7f3d0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-web3:hover,
[class*="badge-web3"]:hover {
  transform: translateY(-1px);
  border-color: #34d399;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Emerald Variant */
.badge-web3-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(4, 120, 87, 0.08) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.65) !important;
  color: #a7f3d0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.badge-web3-emerald:hover {
  border-color: #34d399 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 18px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* Gold Variant */
.badge-web3-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.08) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.65) !important;
  color: #fde68a !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(245, 158, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.badge-web3-gold:hover {
  border-color: #fbbf24 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 18px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* Cyan Variant */
.badge-web3-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(2, 132, 199, 0.08) 100%) !important;
  border: 1px solid rgba(6, 182, 212, 0.6) !important;
  color: #bae6fd !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(6, 182, 212, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.badge-web3-cyan:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 18px rgba(6, 182, 212, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* Purple Variant */
.badge-web3-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(126, 34, 206, 0.08) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.6) !important;
  color: #e9d5ff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.badge-web3-purple:hover {
  border-color: #c084fc !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 18px rgba(168, 85, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* Red / Danger Variant */
.badge-web3-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(185, 28, 28, 0.08) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.6) !important;
  color: #fca5a5 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(239, 68, 68, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

/* ==========================================================================
   STANDARD BOOTSTRAP BADGES ELEVATION
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 6px;
  line-height: 1.35;
  vertical-align: middle;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.badge.rounded-pill {
  border-radius: 9999px !important;
  padding: 4px 12px;
}

.badge.bg-dark,
.badge.border-secondary,
.badge.bg-dark.border {
  background: rgba(10, 24, 19, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #e2e8f0 !important;
}

.badge.bg-success {
  background: rgba(16, 185, 129, 0.18) !important;
  border: 1px solid rgba(16, 185, 129, 0.6) !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.badge.bg-warning {
  background: rgba(245, 158, 11, 0.18) !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  color: #fde68a !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

.badge.bg-info {
  background: rgba(6, 182, 212, 0.18) !important;
  border: 1px solid rgba(6, 182, 212, 0.6) !important;
  color: #7dd3fc !important;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.2);
}

.badge.bg-danger {
  background: rgba(239, 68, 68, 0.18) !important;
  border: 1px solid rgba(239, 68, 68, 0.6) !important;
  color: #fca5a5 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
}

.badge.bg-primary {
  background: rgba(16, 185, 129, 0.2) !important;
  border: 1px solid rgba(16, 185, 129, 0.6) !important;
  color: #a7f3d0 !important;
}

.badge.bg-secondary {
  background: rgba(100, 116, 139, 0.2) !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  color: #cbd5e1 !important;
}

/* Navbars & Header */
.landing-nav {
  background: rgba(5, 10, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10b981, #f59e0b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Crypto Live Ticker Tape */
.ticker-tape {
  background: rgba(7, 16, 13, 0.95);
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 0;
  overflow: hidden;
  font-size: 0.82rem;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: ticker-scroll 35s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Dashboard Layout */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar-cyber {
  width: 250px;
  background: rgba(7, 18, 14, 0.96);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-cyber .nav-link {
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin: 3px 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.sidebar-cyber .nav-link i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.sidebar-cyber .nav-link:hover {
  color: var(--text-main);
  background: rgba(16, 185, 129, 0.08);
}

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

.sidebar-cyber .nav-link.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-left: 3px solid var(--primary-light);
  font-weight: 600;
}

.sidebar-cyber .nav-link.active i {
  color: #34d399;
}

.main-content {
  flex: 1;
  margin-left: 250px;
  padding: 24px 20px;
  min-height: 100vh;
  position: relative;
  max-width: calc(100vw - 250px);
  overflow-x: hidden;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(7, 18, 14, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  z-index: 1030;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  gap: 2px;
  transition: all 0.2s ease;
  flex: 1;
  padding: 6px 0;
}

.mobile-bottom-nav a i {
  font-size: 1.2rem;
}

.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover {
  color: var(--accent-emerald);
}

/* Premium Web3 Stat Cards & Wallet Cards */
.stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15);
}

/* Card Glow Variants */
.stat-card-emerald {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.16) 0%, rgba(10, 24, 19, 0.95) 75%);
  border-color: rgba(16, 185, 129, 0.35);
}
.stat-card-emerald:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.3);
}

.stat-card-gold {
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.16) 0%, rgba(26, 20, 10, 0.95) 75%);
  border-color: rgba(245, 158, 11, 0.35);
}
.stat-card-gold:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.3);
}

.stat-card-cyan {
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.16) 0%, rgba(10, 24, 32, 0.95) 75%);
  border-color: rgba(6, 182, 212, 0.35);
}
.stat-card-cyan:hover {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.3);
}

.stat-card-purple {
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.16) 0%, rgba(22, 12, 34, 0.95) 75%);
  border-color: rgba(168, 85, 247, 0.35);
}
.stat-card-purple:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.3);
}

.stat-card-indigo {
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.16) 0%, rgba(16, 18, 36, 0.95) 75%);
  border-color: rgba(99, 102, 241, 0.35);
}
.stat-card-indigo:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Stat Icons */
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-card:hover .stat-icon {
  transform: scale(1.08) rotate(4deg);
}

.stat-icon-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.15) 100%);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

.stat-icon-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.15) 100%);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.stat-icon-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.15) 100%);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.stat-icon-purple {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(147, 51, 234, 0.15) 100%);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.stat-icon-indigo {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(79, 70, 229, 0.15) 100%);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}

.stat-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.stat-card-link i {
  transition: transform 0.2s ease;
}

.stat-card-link:hover i {
  transform: translateX(4px);
}

/* Quiz Task Cards & Interactive Modal */
.quiz-task-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.quiz-task-card.completed {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.05);
}

.quiz-task-card.active-task {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--shadow-glow);
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-main);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.quiz-option-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.quiz-option-letter {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Binary Tree Styles */
.tree-container {
  overflow-x: auto;
  padding: 40px 20px;
  text-align: center;
}

.tree-node-card {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 170px;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
  position: relative;
}

.tree-node-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-glow-emerald);
}

.tree-node-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid var(--primary-light);
}

/* Form Controls & Input Groups */
.cyber-input {
  background: rgba(8, 20, 16, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-md) !important;
  color: #ffffff !important;
  padding: 13px 18px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.cyber-input:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45) !important;
  outline: none !important;
  background: rgba(12, 30, 24, 1) !important;
  color: #ffffff !important;
}

.cyber-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

/* Grouped Input Addons & Icons */
.input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .cyber-input-addon,
.input-group > .input-group-text {
  background: rgba(8, 20, 16, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-right: none !important;
  border-top-left-radius: var(--radius-md) !important;
  border-bottom-left-radius: var(--radius-md) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  color: #34d399 !important;
  font-size: 1.15rem;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.input-group > .cyber-input:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: none !important;
}

.input-group > .cyber-input:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: none !important;
}

.input-group > .cyber-addon-btn {
  background: rgba(8, 20, 16, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-left: none !important;
  border-top-right-radius: var(--radius-md) !important;
  border-bottom-right-radius: var(--radius-md) !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  color: #94a3b8 !important;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.input-group > .cyber-addon-btn:hover {
  color: #ffffff !important;
  background: rgba(16, 40, 32, 1) !important;
}

.input-group:focus-within > .cyber-input-addon,
.input-group:focus-within > .input-group-text,
.input-group:focus-within > .cyber-addon-btn {
  border-color: var(--primary-light) !important;
  color: #6ee7b7 !important;
}

/* Web3 Custom Checkbox Styling */
.form-check-input {
  background-color: #071612 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  width: 1.2em !important;
  height: 1.2em !important;
  margin: 0 !important;
  vertical-align: middle !important;
  cursor: pointer;
  border-radius: 4px !important;
  transition: all 0.2s ease-in-out;
}

.form-check-input:checked {
  background-color: #10b981 !important;
  border-color: #34d399 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6) !important;
}

.form-check-input:indeterminate {
  background-color: #f59e0b !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6) !important;
}

.form-check-input:focus {
  border-color: #34d399 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
  outline: none !important;
}

.input-group:focus-within > .cyber-input {
  border-color: var(--primary-light) !important;
}

select.cyber-input option {
  background: #091c16 !important;
  color: #ffffff !important;
  padding: 8px 12px;
}

/* Enhanced High-Contrast Tables */
.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: #f1f5f9;
  --bs-table-border-color: rgba(255, 255, 255, 0.12);
}

.table-dark th {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  background: rgba(8, 20, 16, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 14px 12px;
}

.table-dark td {
  color: #f1f5f9 !important;
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-dark tbody tr:hover td {
  background: rgba(16, 185, 129, 0.06) !important;
}

/* ==========================================================================
   DataTables Web3 Clean High-Contrast & Responsive Design
   ========================================================================== */
.dataTables_wrapper {
  color: #e2e8f0;
  font-size: 0.85rem;
  width: 100% !important;
  position: relative;
}

/* DataTables Top Controls (Length & Filter) */
.dataTables_wrapper .row:first-child {
  margin-bottom: 1rem !important;
  align-items: center !important;
}

.dataTables_wrapper .dataTables_length {
  display: flex;
  align-items: center;
}

.dataTables_wrapper .dataTables_length label {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 0 !important;
  white-space: nowrap;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_length select.form-select,
.dataTables_wrapper .dataTables_length select.form-select-sm {
  background-color: #081713 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2334d399' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 12px 10px !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 5px 26px 5px 10px !important;
  font-weight: 600 !important;
  font-family: 'JetBrains Mono', monospace !important;
  outline: none !important;
  display: inline-block !important;
  width: auto !important;
}

.dataTables_wrapper .dataTables_length select option {
  background-color: #081713 !important;
  color: #ffffff !important;
  padding: 8px !important;
}

.dataTables_wrapper .dataTables_filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dataTables_wrapper .dataTables_filter label {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 0 !important;
  width: auto;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_filter input.form-control,
.dataTables_wrapper .dataTables_filter input.form-control-sm {
  background-color: #081713 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  width: 220px !important;
  max-width: 100% !important;
  outline: none !important;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
  color: #64748b !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  background-color: #0b221a !important;
}

/* Table Headers, Cells & Sorting Indicators */
table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 8px 0 !important;
}

table.dataTable thead th,
table.dataTable thead td {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: rgba(8, 22, 17, 0.95) !important;
  border-bottom: 2px solid rgba(16, 185, 129, 0.4) !important;
  border-top: none !important;
  padding: 14px 16px !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  line-height: 1.4 !important;
}

/* Fix sort arrows overlapping header text */
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
  padding-right: 34px !important;
  cursor: pointer;
  position: relative;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
  opacity: 0.4 !important;
  color: #34d399 !important;
  font-size: 0.85em !important;
  right: 12px !important;
}

table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:after {
  opacity: 1 !important;
  color: #fbbf24 !important;
}

table.dataTable tbody tr {
  background: transparent !important;
  transition: background 0.15s ease;
}

table.dataTable tbody tr:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.015) !important;
}

table.dataTable tbody tr:hover {
  background: rgba(16, 185, 129, 0.08) !important;
}

table.dataTable tbody td {
  color: #f1f5f9 !important;
  font-size: 0.85rem !important;
  padding: 13px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-top: none !important;
  vertical-align: middle !important;
  line-height: 1.4 !important;
  white-space: nowrap;
}

/* Auto-wrapping for long descriptive table cells to avoid text cramping */
table.dataTable tbody td.text-wrap-desc,
.text-wrap-desc {
  white-space: normal !important;
  min-width: 220px;
  max-width: 380px;
  line-height: 1.45 !important;
  word-break: break-word;
}

table.dataTable td.dataTables_empty {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  padding: 40px 20px !important;
  text-align: center !important;
  background: rgba(8, 20, 16, 0.5) !important;
}

/* Info & Pagination Bottom Controls */
.dataTables_wrapper .row:last-child {
  margin-top: 1rem !important;
  align-items: center !important;
}

.dataTables_wrapper .dataTables_info {
  color: #94a3b8 !important;
  font-size: 0.825rem !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.dataTables_wrapper .dataTables_paginate {
  display: flex !important;
  justify-content: flex-end !important;
  padding: 0 !important;
  margin: 0 !important;
}

.dataTables_wrapper .dataTables_paginate ul.pagination {
  margin: 0 !important;
  justify-content: flex-end;
  gap: 3px;
}

.dataTables_wrapper .pagination .page-item .page-link {
  background-color: #081713 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 5px 11px !important;
  min-width: 32px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dataTables_wrapper .pagination .page-item:not(.disabled):not(.active) .page-link:hover {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.dataTables_wrapper .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5) !important;
}

.dataTables_wrapper .pagination .page-item.disabled .page-link {
  background-color: rgba(8, 20, 16, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  color: #475569 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Compact Icon-Only Action Buttons in DataTables */
.btn-icon-only {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
  flex-shrink: 0;
  transition: all 0.2s ease-in-out;
}

.btn-icon-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* High Performance Smooth Horizontal Scrollbar for DataTables */
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 6px;
  position: relative;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(6, 16, 13, 0.6);
  border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #10b981, #f59e0b);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #34d399, #fbbf24);
}

/* Responsive Breakpoints for DataTables Mobile View */
@media (max-width: 768px) {
  .dataTables_wrapper .row:first-child {
    flex-direction: column-reverse !important;
    gap: 10px !important;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .dataTables_wrapper .dataTables_filter label {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    max-width: 100% !important;
  }

  .dataTables_wrapper .row:last-child {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .dataTables_wrapper .dataTables_paginate ul.pagination {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
  }

  .dataTables_wrapper .pagination .page-item .page-link {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
  }
}

/* Responsive Collapse/Expand Control Icon */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
  position: relative;
  padding-left: 36px !important;
  cursor: pointer;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  top: 50% !important;
  left: 10px !important;
  transform: translateY(-50%) !important;
  height: 18px !important;
  width: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 1px solid rgba(52, 211, 153, 0.6) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(245, 158, 11, 0.25)) !important;
  color: #34d399 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35) !important;
  content: "+" !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before {
  content: "−" !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(245, 158, 11, 0.3)) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #f87171 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4) !important;
}

/* Child Expanded Row on Mobile/Tablet */
table.dataTable > tbody > tr.child {
  background: rgba(7, 18, 14, 0.95) !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

table.dataTable > tbody > tr.child > td.child {
  padding: 12px 16px !important;
  border-left: 3px solid #10b981 !important;
  background: transparent !important;
}

.dataTableAdmin.dataTable > tbody > tr.child > td.child {
  border-left-color: #ef4444 !important;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 10px !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (max-width: 576px) {
  table.dataTable > tbody > tr.child ul.dtr-details {
    grid-template-columns: 1fr !important;
  }
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  margin: 0 !important;
}

table.dataTable > tbody > tr.child span.dtr-title {
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  min-width: 90px !important;
}

table.dataTable > tbody > tr.child span.dtr-data {
  color: #f8fafc !important;
  font-size: 0.85rem !important;
  text-align: right !important;
  word-break: break-word !important;
}

/* Modals High-Contrast */
.modal-content {
  background: #081713 !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
  color: #ffffff !important;
}

.modal-header, .modal-footer {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Top Navbar & Profile Dropdown Stacking Context Overrides */
.user-top-navbar,
.admin-top-navbar,
header.glass-panel {
  overflow: visible !important;
  position: relative !important;
  z-index: 1050 !important;
}

.dropdown-menu {
  z-index: 1060 !important;
  background: #091e17 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.3) !important;
  border-radius: 8px !important;
}

.dropdown-menu-dark .dropdown-item {
  color: #e2e8f0 !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  color: #6ee7b7 !important;
  padding-left: 20px !important;
}

/* AI Task Wizard Stepper & Animations */
.wizard-stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1rem 0 2rem 0;
  padding: 0 10px;
}

.wizard-stepper-track {
  position: absolute;
  top: 50%;
  left: 25px;
  right: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-stepper-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  transition: width 0.4s ease-in-out;
}

.wizard-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.wizard-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #071612;
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.wizard-step-item.active .wizard-step-circle {
  border-color: #10b981;
  background: #0b241c;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  transform: scale(1.15);
}

.wizard-step-item.completed .wizard-step-circle {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.wizard-step-label {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.wizard-step-item.active .wizard-step-label {
  color: #34d399;
}

.wizard-step-item.completed .wizard-step-label {
  color: #10b981;
}

/* Wizard Task Card Animation */
.wizard-task-slide {
  animation: fadeInSlide 0.35s ease forwards;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .sidebar-cyber {
    transform: translateX(-100%);
  }
  .sidebar-cyber.mobile-open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    padding: 20px 16px 85px 16px;
  }
  .mobile-bottom-nav {
    display: flex;
  }
}

/* ==========================================================================
   SECTION-SPECIFIC WEB3 ANIMATIONS & GRAPHIC COMPONENTS
   ========================================================================== */

/* Keyframe Animations */
@keyframes orbitRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes pulseLaser {
  0% { transform: scaleX(0.85); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 0.9; }
  100% { transform: scaleX(0.85); opacity: 0.4; }
}

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

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes blockFlow {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}

/* Live Pulse Dot */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: liveBlink 1.8s infinite ease-in-out;
}

.live-pulse-dot.gold {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

/* 1. Hero 3D Orbital Rings & Floating Cards */
.hero-orbital-container {
  position: relative;
  width: clamp(130px, 15vw, 155px);
  height: clamp(130px, 15vw, 155px);
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbital-ring-1 {
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(245, 158, 11, 0.5);
  animation: orbitRotate 20s linear infinite;
}

.orbital-ring-2 {
  width: 82%;
  height: 82%;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  animation: orbitRotateReverse 15s linear infinite;
}

.orbital-ring-3 {
  width: 68%;
  height: 68%;
  border: 1px dotted rgba(52, 211, 153, 0.6);
  animation: orbitRotate 10s linear infinite;
}

.hero-floating-chip {
  position: absolute;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(8, 23, 18, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.3);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
  z-index: 10;
  max-width: 90%;
}

.hero-chip-top-left {
  top: -10px;
  left: 10px;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.3);
  animation: floatSlow 4s ease-in-out infinite;
}

.hero-chip-bottom-left {
  bottom: -10px;
  left: 10px;
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.3);
  animation: floatReverse 4.5s ease-in-out infinite;
}

@media (min-width: 1200px) {
  .hero-chip-top-left {
    top: -14px;
    left: -12px;
  }
  .hero-chip-bottom-left {
    bottom: -14px;
    left: -12px;
  }
}

/* 2. Mission 4-Quadrant Cyber Grid & Story Live Stream */
.mission-pillar-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mission-pillar-card:hover {
  transform: translateX(6px);
  border-color: rgba(16, 185, 129, 0.5) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(16, 185, 129, 0.2);
}

.blockchain-stream-card {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(6, 16, 13, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.25);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  animation: blockFlow 3s ease-in-out infinite;
  gap: 8px;
  flex-wrap: wrap;
}

.blockchain-stream-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(245, 158, 11, 0.25);
}

/* 3. Package Cards Shimmer & Glow Aura */
.package-card-premium {
  position: relative;
  overflow: hidden;
}

.package-card-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 100%
  );
  pointer-events: none;
  animation: shimmerSweep 8s infinite linear;
}

/* 4. AI Quiz Circuit Graphic */
.ai-quiz-circuit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  gap: 10px;
  flex-wrap: wrap;
}

/* 5. Direct Referral P2P Laser Flow Graphic */
.p2p-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  max-width: 100%;
  overflow: hidden;
  gap: 10px;
}

.p2p-node-box {
  text-align: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(10, 24, 19, 0.9);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.2);
  z-index: 2;
  flex-shrink: 0;
}

.p2p-laser-beam {
  flex-grow: 1;
  height: 2px;
  min-width: 40px;
  background: linear-gradient(90deg, #f59e0b, #10b981, #f59e0b);
  position: relative;
  margin: 0 10px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  animation: pulseLaser 2s infinite ease-in-out;
}

.p2p-laser-beam::after {
  content: '25% USDT';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #031812;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .p2p-flow-container {
    flex-direction: column;
    gap: 12px;
  }
  .p2p-laser-beam {
    width: 80%;
    margin: 12px 0;
  }
}

/* 6. Dual Matrix Scale Graphic */
.matrix-scale-graphic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(8, 20, 16, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 1.5rem;
  gap: 10px;
  flex-wrap: wrap;
}

.matrix-leg-badge {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .matrix-scale-graphic {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .matrix-leg-badge {
    width: 100%;
    justify-content: center;
  }
}

/* 7. How It Works Pipeline Connector */
.pipeline-step-node {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: clamp(14px, 2vw, 24px) !important;
}

.pipeline-step-node:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.6) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
}

.pipeline-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  margin: 0 auto 10px auto;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* 8. Radar Gauge for Conference Bonus & Payout */
.radar-gauge-container {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.radar-gauge-sweep {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border-top: 3px solid #f59e0b;
  animation: radarSweep 4s linear infinite;
}

/* 9. CTA Portal Vortex */
.cta-vortex-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 90vw);
  height: min(300px, 90vw);
  border-radius: 50%;
  border: 2px dashed rgba(16, 185, 129, 0.25);
  animation: orbitRotate 30s linear infinite;
  pointer-events: none;
}

.cta-vortex-rings::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  border: 1.5px dotted rgba(245, 158, 11, 0.35);
  animation: orbitRotateReverse 20s linear infinite;
}

/* ==========================================================================
   WEB3 ANIMATED BACKGROUNDS SUITE FOR ALL HOMEPAGE SECTIONS
   ========================================================================== */

/* Universal Section Background Container */
.web3-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Ensure foreground content always renders cleanly on top */
section.position-relative > .container,
section.position-relative > .container-fluid,
.web3-section-content {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION: Quantum Grid, Plasma Nebula Orbs & 3D Crypto Shards
   -------------------------------------------------------------------------- */
.hero-web3-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.08) 0%, rgba(4, 8, 6, 0.98) 75%);
}

.hero-plasma-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
  pointer-events: none;
}

.hero-plasma-orb-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: 10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(6, 78, 59, 0) 70%);
  animation: plasmaFloat1 16s ease-in-out infinite alternate;
}

.hero-plasma-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: 5%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, rgba(180, 83, 9, 0) 70%);
  animation: plasmaFloat2 18s ease-in-out infinite alternate;
}

.hero-quantum-grid {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 350px;
  background-image: 
    linear-gradient(to right, rgba(16, 185, 129, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 185, 129, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(400px) rotateX(65deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  animation: gridScroll 20s linear infinite;
}

.hero-floating-token {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  pointer-events: none;
  user-select: none;
}

.hero-token-eth {
  top: 15%;
  right: 12%;
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.12);
  border: 1.5px solid rgba(6, 182, 212, 0.5);
  color: #06b6d4;
  animation: floatToken1 8s ease-in-out infinite alternate;
  font-size: 1.3rem;
}

.hero-token-btc {
  bottom: 20%;
  left: 4%;
  width: 54px;
  height: 54px;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  animation: floatToken2 10s ease-in-out infinite alternate;
  font-size: 1.4rem;
}

.hero-token-usdt {
  top: 65%;
  right: 42%;
  width: 42px;
  height: 42px;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  color: #10b981;
  animation: floatToken3 7s ease-in-out infinite alternate;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   2. MISSION & STORY SECTION: Cyber Hash Matrix & Aurora Lattice
   -------------------------------------------------------------------------- */
.section-about-bg {
  background: radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.08) 0%, rgba(4, 8, 6, 0.95) 70%);
}

.about-circuit-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20px 20px, rgba(52, 211, 153, 0.15) 2px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.6;
}

.about-aurora-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  background: radial-gradient(circle, #06b6d4 0%, rgba(16, 185, 129, 0.4) 50%, transparent 80%);
  top: 20%;
  left: -150px;
  animation: auroraDrift 22s ease-in-out infinite alternate;
}

.about-hash-stream {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(52, 211, 153, 0.07);
  letter-spacing: 2px;
  line-height: 2.2;
  top: 0;
  right: 5%;
  width: 320px;
  user-select: none;
  pointer-events: none;
  animation: hashStreamDrift 30s linear infinite;
}

/* --------------------------------------------------------------------------
   3. MEMBERSHIP PACKAGES: Hexagonal Blockchain Grid & Golden Shimmer
   -------------------------------------------------------------------------- */
.section-plans-bg {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.06) 0%, rgba(4, 8, 6, 0.97) 75%);
}

.plans-hex-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z M28 48 L56 64 L56 96 L28 112 L0 96 L0 64 Z' fill='none' stroke='rgba(245, 158, 11, 0.05)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  opacity: 0.8;
  animation: hexPulse 12s ease-in-out infinite alternate;
}

.plans-shimmer-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(245, 158, 11, 0.05) 50%, transparent 55%);
  animation: shimmerSweep 14s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   4. DAILY TASKS & AI QUIZ: Synaptic Neural Network & Circuit Pulses
   -------------------------------------------------------------------------- */
.section-quiz-bg {
  background: radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.09) 0%, rgba(4, 8, 6, 0.98) 75%);
}

.ai-synapse-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.ai-neural-pulsar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(16, 185, 129, 0.06) 40%, transparent 70%);
  animation: neuralBreath 6s ease-in-out infinite alternate;
  filter: blur(40px);
}

.ai-floating-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 12px #06b6d4, 0 0 24px rgba(6, 182, 212, 0.8);
  animation: nodeBlink 3s ease-in-out infinite alternate;
}

.ai-node-1 { top: 20%; left: 15%; animation-delay: 0s; }
.ai-node-2 { top: 75%; left: 18%; animation-delay: 1s; }
.ai-node-3 { top: 30%; right: 14%; animation-delay: 1.5s; }
.ai-node-4 { top: 80%; right: 20%; animation-delay: 2.2s; }

/* --------------------------------------------------------------------------
   5. DIRECT REFERRAL 25%: P2P Energy Web & Laser Flux
   -------------------------------------------------------------------------- */
.section-referral-bg {
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.08) 0%, rgba(4, 8, 6, 0.98) 75%);
}

.p2p-radar-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.2);
  animation: orbitRotate 45s linear infinite;
}

.p2p-radar-rings::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 60px;
  right: 60px;
  bottom: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 158, 11, 0.15);
  animation: orbitRotateReverse 30s linear infinite;
}

.p2p-radar-rings::after {
  content: '';
  position: absolute;
  top: 130px;
  left: 130px;
  right: 130px;
  bottom: 130px;
  border-radius: 50%;
  border: 1px dotted rgba(245, 158, 11, 0.3);
}

.p2p-energy-flare {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 25%;
  right: 10%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  animation: flarePulse 5s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   6. MONTHLY SALARY: Dual 50:50 Matrix Balance Laser Grid
   -------------------------------------------------------------------------- */
.section-salary-bg {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.06) 0%, rgba(4, 8, 6, 0.98) 50%, rgba(6, 182, 212, 0.06) 100%);
}

.salary-dual-flux-left {
  position: absolute;
  top: 10%;
  left: 0;
  width: 400px;
  height: 500px;
  background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  filter: blur(70px);
  animation: plasmaFloat1 15s ease-in-out infinite alternate;
}

.salary-dual-flux-right {
  position: absolute;
  top: 20%;
  right: 0;
  width: 400px;
  height: 500px;
  background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  filter: blur(70px);
  animation: plasmaFloat2 15s ease-in-out infinite alternate;
}

.salary-matrix-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* --------------------------------------------------------------------------
   7. TEAM ACHIEVEMENTS: Cosmic Constellation & Starbursts
   -------------------------------------------------------------------------- */
.section-achieve-bg {
  background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.08) 0%, rgba(4, 8, 6, 0.98) 80%);
}

.achieve-constellation-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.18);
  animation: orbitRotate 60s linear infinite;
}

.achieve-constellation-ring::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 100px;
  right: 100px;
  bottom: 100px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 158, 11, 0.25);
  animation: orbitRotateReverse 40s linear infinite;
}

.achieve-aurora-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.15) 0%, rgba(139, 92, 246, 0.15) 45%, transparent 70%);
  filter: blur(80px);
  animation: auroraDrift 14s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   8. 12-MONTH COMPOUNDING: Exponential Growth Curves & Geometric Waves
   -------------------------------------------------------------------------- */
.section-compounding-bg {
  background: radial-gradient(circle at 30% 60%, rgba(245, 158, 11, 0.09) 0%, rgba(4, 8, 6, 0.98) 75%);
}

.compound-curves-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.compound-curve-path-1 {
  stroke: rgba(245, 158, 11, 0.4);
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: dashFlow 12s ease-in-out infinite alternate;
}

.compound-curve-path-2 {
  stroke: rgba(16, 185, 129, 0.4);
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: dashFlow 16s ease-in-out infinite alternate-reverse;
}

.compound-ambient-glow {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
  filter: blur(75px);
  animation: plasmaFloat1 18s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   9. WITHDRAWAL & CONFERENCE: Radar Sweeper & Security Shield
   -------------------------------------------------------------------------- */
.section-withdrawals-bg {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, rgba(4, 8, 6, 0.98) 75%);
}

.radar-sweep-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
}

.radar-sweep-bg::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 80px;
  right: 80px;
  bottom: 80px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.25);
}

.radar-sweep-bg::after {
  content: '';
  position: absolute;
  top: 160px;
  left: 160px;
  right: 160px;
  bottom: 160px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.radar-sweep-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(16, 185, 129, 0.25) 0deg, transparent 60deg, transparent 360deg);
  animation: radarSweep 6s linear infinite;
}

/* --------------------------------------------------------------------------
   10. HOW IT WORKS: Pipeline Superhighway & Data Conduits
   -------------------------------------------------------------------------- */
.section-pipeline-bg {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, rgba(4, 8, 6, 0.98) 80%);
}

.pipeline-conduit-track {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.4), rgba(245, 158, 11, 0.4), rgba(16, 185, 129, 0.4), rgba(244, 63, 94, 0.4), rgba(139, 92, 246, 0.2));
  transform: translateY(-50%);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.pipeline-data-packet {
  position: absolute;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 15px #06b6d4, 0 0 30px #10b981;
  animation: packetTravel 6s ease-in-out infinite;
}

.pipeline-ambient-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 40%, transparent 70%);
  filter: blur(75px);
  animation: auroraDrift 16s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   11. CALL TO ACTION: Quantum Warp Portal Vortex Core
   -------------------------------------------------------------------------- */
.section-cta-bg {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.18) 0%, rgba(4, 8, 6, 0.98) 75%);
}

.cta-warp-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.2);
  animation: orbitRotate 40s linear infinite;
}

.cta-warp-core::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 80px;
  right: 80px;
  bottom: 80px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 158, 11, 0.35);
  animation: orbitRotateReverse 25s linear infinite;
}

.cta-warp-core::after {
  content: '';
  position: absolute;
  top: 170px;
  left: 170px;
  right: 170px;
  bottom: 170px;
  border-radius: 50%;
  border: 2px dotted rgba(52, 211, 153, 0.4);
  animation: orbitRotate 15s linear infinite;
}

.cta-event-horizon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(245, 158, 11, 0.15) 45%, transparent 70%);
  filter: blur(50px);
  animation: flarePulse 4s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   KEYFRAME ANIMATIONS ENGINE (GPU-ACCELERATED)
   -------------------------------------------------------------------------- */
@keyframes plasmaFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 30px, 0) scale(1.1); }
  100% { transform: translate3d(-30px, -20px, 0) scale(0.95); }
}

@keyframes plasmaFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, -35px, 0) scale(1.12); }
  100% { transform: translate3d(25px, 20px, 0) scale(0.9); }
}

@keyframes gridScroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 400px; }
}

@keyframes floatToken1 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-15px, -25px, 0) rotate(12deg); }
}

@keyframes floatToken2 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(20px, -30px, 0) rotate(-10deg); }
}

@keyframes floatToken3 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-12px, 18px, 0) rotate(8deg); }
}

@keyframes auroraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(50px, -30px, 0) scale(1.2); }
}

@keyframes hashStreamDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes hexPulse {
  0% { opacity: 0.45; transform: scale(1); }
  100% { opacity: 0.85; transform: scale(1.02); }
}

@keyframes shimmerSweep {
  0% { transform: translate3d(-30%, -30%, 0) rotate(0deg); }
  50% { transform: translate3d(15%, 15%, 0) rotate(5deg); }
  100% { transform: translate3d(-30%, -30%, 0) rotate(0deg); }
}

@keyframes neuralBreath {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

@keyframes nodeBlink {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.3); }
}

@keyframes flarePulse {
  0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.4; }
  100% { transform: translate3d(0, 0, 0) scale(1.2); opacity: 0.85; }
}

@keyframes dashFlow {
  0% { stroke-dashoffset: 800; }
  100% { stroke-dashoffset: 0; }
}

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

@keyframes packetTravel {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes orbitRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* ==========================================================================
   SEAMLESS ZERO-GAP FOOTER (100% RESPONSIVE NO-OVERFLOW)
   ========================================================================== */
footer,
.footer-cyber,
.landing-footer {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding-top: 3.5rem !important;
  padding-bottom: 2.5rem !important;
  background-color: #040806 !important;
  border-top: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  z-index: 10;
}

footer .container,
footer .container-fluid {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(14px, 2.5vw, 24px);
  padding-right: clamp(14px, 2.5vw, 24px);
}

/* ==========================================================================
   LAPTOP & MULTI-SCREEN OPTIMIZATION SUITE
   Breakpoints: Mobile (<576px), Tablet (576-991px), Laptop (992-1400px), Desktop (1401px+)
   ========================================================================== */

/* Laptop Screens (1024px to 1400px & 1080p @ 125%/150% Scale) */
@media (min-width: 992px) and (max-width: 1400px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .glass-panel {
    padding: clamp(18px, 2.2vw, 32px) !important;
  }

  .sidebar-cyber {
    width: 230px;
  }

  .main-content {
    margin-left: 230px;
    padding: 20px 16px;
    max-width: calc(100vw - 230px);
  }

  .sidebar-cyber .nav-link {
    padding: 8px 14px;
    margin: 2px 8px;
    font-size: 0.84rem;
  }
}

/* Tablets and Below (< 992px) */
@media (max-width: 991.98px) {
  .sidebar-cyber {
    width: 270px;
    transform: translateX(-100%);
    box-shadow: none;
  }

  .sidebar-cyber.mobile-open {
    transform: translateX(0);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
  }

  .main-content {
    margin-left: 0 !important;
    padding: 16px 14px 85px 14px !important;
    max-width: 100vw !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
  }

  .navbar-collapse {
    background: rgba(7, 18, 14, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
}

/* Mobile Devices (< 576px) */
@media (max-width: 575.98px) {
  .glass-panel {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .btn-lg {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    width: 100%;
  }

  .stat-card {
    padding: 16px 14px !important;
  }
}
