/* DARK COSMIC QUANTUM - HIGH RESOLUTION POLISH */
:root {
  /* Deep Cosmic Color System */
  --cosmic-void: #010208;
  --cosmic-deep: #030712;
  --cosmic-mid: #070e1f;
  --cosmic-card: #0b1426;
  --cosmic-accent: #1a5dff;
  --cosmic-accent-2: #00c3ff;
  --cosmic-accent-3: #8a2be2;
  --cosmic-text: #f0f8ff;
  --cosmic-text-2: #c7e6ff;
  --cosmic-muted: #6b8cae;
  --cosmic-border: #1a2a42;
  
  /* Premium Effects */
  --glass-dark: linear-gradient(135deg, rgba(0, 5, 15, 0.95), rgba(2, 8, 25, 0.98));
  --glass-border: 1px solid rgba(26, 93, 255, 0.15);
  --cosmic-shadow: 0 25px 100px rgba(1, 2, 8, 0.95);
  --neon-glow: 0 0 80px rgba(26, 93, 255, 0.4);
  --accent-glow: 0 0 60px rgba(0, 195, 255, 0.3);
  --quantum-radius: 24px;
  --quantum-radius-sm: 16px;
}

/* Quantum Base */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html, body {
  height: 100%;
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(26, 93, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 195, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 45% 55%, rgba(138, 43, 226, 0.04) 0%, transparent 70%),
    linear-gradient(135deg, var(--cosmic-void) 0%, var(--cosmic-deep) 50%, var(--cosmic-mid) 100%);
  color: var(--cosmic-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ultra Dark Cosmic Background */
.cosmic-bg {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(26, 93, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 75%, rgba(0, 195, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 45% 50%, rgba(138, 43, 226, 0.06) 0%, transparent 60%);
  opacity: 0.4;
  z-index: -2;
  pointer-events: none;
  animation: cosmicDrift 25s ease-in-out infinite;
  filter: blur(80px) saturate(180%);
}

@keyframes cosmicDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-15px, -8px) scale(1.02); }
  50% { transform: translate(8px, 12px) scale(0.98); }
  75% { transform: translate(12px, -5px) scale(1.01); }
}

/* Quantum Grid Overlay */
.quantum-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26, 93, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 93, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* COMPACT INTERGALACTIC HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: var(--glass-dark);
  backdrop-filter: blur(80px) saturate(200%);
  border: var(--glass-border);
  border-radius: var(--quantum-radius);
  margin: 20px auto;
  max-width: 1600px;
  box-shadow: var(--cosmic-shadow), var(--neon-glow);
  position: relative;
  overflow: hidden;
  z-index: 1000;
  min-height: 70px;
}

/* Header Layout */
.header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Holographic Header Effects */
.hologram-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, transparent 0%, rgba(26, 93, 255, 0.08) 50%, transparent 100%),
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255,255,255,0.01) 3px, rgba(255,255,255,0.01) 6px);
  opacity: 0.2;
  animation: hologramScan 12s linear infinite;
}

@keyframes hologramScan {
  0% { transform: translateX(-100%) skewX(-45deg); }
  100% { transform: translateX(200%) skewX(-45deg); }
}

/* QUANTUM BRAND SYSTEM */
.brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.quantum-logo {
  position: relative;
  width: auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantum-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: 8px;
}

.quantum-logo::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: conic-gradient(from 0deg, var(--cosmic-accent), var(--cosmic-accent-2), var(--cosmic-accent-3), var(--cosmic-accent));
  border-radius: 14px;
  filter: blur(10px);
  opacity: 0.4;
  animation: quantumSpin 12s linear infinite;
}

.quantum-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-dark);
  backdrop-filter: blur(25px);
  border-radius: 12px;
  border: 1px solid rgba(26, 93, 255, 0.2);
}

@keyframes quantumSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.brand-header h1 {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent), var(--cosmic-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  text-shadow: 0 0 50px rgba(26, 93, 255, 0.6);
}

.brand-header p {
  display: none;
}

/* NEURAL NAVIGATION */
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 4px;
  border: 1px solid rgba(26, 93, 255, 0.1);
  position: relative;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cosmic-muted);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cosmic-accent), var(--cosmic-accent-2));
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-links a:hover {
  color: var(--cosmic-text);
  transform: translateY(-2px);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a.active {
  color: var(--cosmic-text);
  background: linear-gradient(135deg, var(--cosmic-accent), var(--cosmic-accent-2));
  box-shadow: var(--neon-glow);
}

/* HEADER RIGHT SECTION */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
}

.theme-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 93, 255, 0.1);
  border-radius: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(26, 93, 255, 0.2);
  cursor: pointer;
  font-weight: 700;
  color: var(--cosmic-text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.theme-btn:hover {
  background: rgba(26, 93, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(26, 93, 255, 0.3);
}

/* QUANTUM WALLET CONNECTION */
.wallet-connect {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(26, 93, 255, 0.15), rgba(0, 195, 255, 0.1));
  border-radius: 16px;
  padding: 12px 22px;
  border: 1px solid rgba(26, 93, 255, 0.3);
  cursor: pointer;
  font-weight: 800;
  color: var(--cosmic-text);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(26, 93, 255, 0.2);
}

.wallet-connect:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-glow), var(--accent-glow);
  background: linear-gradient(135deg, rgba(26, 93, 255, 0.2), rgba(0, 195, 255, 0.15));
}

.quantum-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cosmic-accent), var(--cosmic-accent-2), var(--cosmic-accent-3), var(--cosmic-accent));
  box-shadow: 0 0 20px var(--cosmic-accent);
  animation: quantumPulse 2s ease-in-out infinite;
}

@keyframes quantumPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

/* WALLET CONNECTED STATE - Dual targeting for safety */
.wallet-info,
#wallet-info {
  display: none;
  align-items: center;
  gap: 16px;
  background: var(--glass-dark);
  backdrop-filter: blur(40px);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 12px 20px;
  box-shadow: var(--cosmic-shadow);
  position: relative;
  overflow: hidden;
}

.wallet-info[style*="display: block"],
.wallet-info[style*="display: flex"],
#wallet-info[style*="display: block"], 
#wallet-info[style*="display: flex"] {
  display: flex !important;
}

/* Make sure both class and ID versions work */
.wallet-connect,
#wallet-connect {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wallet-connect[style*="display: none"],
#wallet-connect[style*="display: none"] {
  display: none !important;
}

.wallet-account {
  display: flex;
  align-items: center;
  gap: 12px;
}

#account-name {
  font-weight: 700;
  color: var(--cosmic-text);
  font-size: 14px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 195, 255, 0.4);
}

/* Disconnect Button - Quantum Style */
#wallet-disconnect {
  background: linear-gradient(135deg, rgba(255, 75, 75, 0.15), rgba(255, 107, 107, 0.1));
  border: 1px solid rgba(255, 75, 75, 0.3);
  color: #ff6b6b;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

#wallet-disconnect:hover {
  background: linear-gradient(135deg, rgba(255, 75, 75, 0.25), rgba(255, 107, 107, 0.2));
  border-color: rgba(255, 75, 75, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 75, 75, 0.3);
  color: #ff8e8e;
}

#wallet-disconnect:active {
  transform: translateY(0);
}

#wallet-balance {
  font-size: 13px;
  color: var(--cosmic-muted);
  font-weight: 600;
  padding-left: 16px;
  border-left: 1px solid rgba(26, 93, 255, 0.2);
}

/* Wallet state transitions */
#wallet-connect {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#wallet-connect[style*="display: none"] {
  display: none !important;
}

/* Holographic effect for connected wallet */
#wallet-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(26, 93, 255, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#wallet-info:hover::before {
  opacity: 1;
}

/* Quantum dot for connected state */
#wallet-info .quantum-dot {
  width: 8px;
  height: 8px;
  background: conic-gradient(from 0deg, #00ff88, #00cc66, #00ff88);
  box-shadow: 0 0 15px #00ff88;
  animation: quantumPulse 2s ease-in-out infinite;
}

/* Responsive wallet states */
@media (max-width: 767px) {
  #wallet-info {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .wallet-account {
    flex-direction: column;
    gap: 8px;
  }
  
  #wallet-balance {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(26, 93, 255, 0.2);
    padding-top: 8px;
  }
}

@media (max-width: 480px) {
  #wallet-info {
    padding: 10px 16px;
  }
  
  #account-name {
    font-size: 13px;
  }
  
  #wallet-disconnect {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* INTERSTELLAR MAIN CONTENT */
main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 100;
}

/* DASHBOARD STYLES */
.hero-section {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
}

.hero-section h2 {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent), var(--cosmic-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  text-shadow: 0 0 60px rgba(26, 93, 255, 0.6);
}

.hero-section p {
  font-size: 20px;
  color: var(--cosmic-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.stat-card {
  background: var(--glass-dark);
  backdrop-filter: blur(50px);
  border: var(--glass-border);
  border-radius: var(--quantum-radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--cosmic-shadow);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 93, 255, 0.08), rgba(0, 195, 255, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cosmic-shadow), var(--neon-glow);
  border-color: rgba(26, 93, 255, 0.3);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cosmic-accent), var(--cosmic-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cosmic-text);
  font-size: 24px;
  box-shadow: 0 0 30px rgba(26, 93, 255, 0.4);
}

.stat-content h3 {
  font-size: 16px;
  color: var(--cosmic-muted);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--cosmic-muted);
  font-weight: 500;
}

/* Quantum Particles System - FIXED ANIMATION */
.quantum-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 5;
  overflow: visible !important;
}

.particle {
  position: absolute !important;
  width: 3px !important;
  height: 3px !important;
  background: var(--cosmic-accent) !important;
  border-radius: 50% !important;
  animation: particleFloat 15s linear infinite !important;
  opacity: 0;
  pointer-events: none !important;
  z-index: 5 !important;
  will-change: transform, opacity;
}

@keyframes particleFloat {
  0% {
    transform: translateY(110vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  15% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-10vh) translateX(30px) rotate(180deg);
    opacity: 0;
  }
}

/* Make particles more visible */
.stream-particle {
  width: 4px !important;
  height: 4px !important;
  background: var(--cosmic-accent-2) !important;
  box-shadow: 0 0 15px var(--cosmic-accent-2) !important;
}

.burst-particle {
  width: 6px !important;
  height: 6px !important;
  background: var(--cosmic-accent) !important;
  box-shadow: 0 0 25px var(--cosmic-accent) !important;
}

/* Card Styles */
.card {
  background: var(--glass-dark);
  backdrop-filter: blur(50px);
  border: var(--glass-border);
  border-radius: var(--quantum-radius);
  margin: 40px 0;
  box-shadow: var(--cosmic-shadow);
  overflow: hidden;
}

.card-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(26, 93, 255, 0.1);
}

.card-header h2 {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-body {
  padding: 32px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--cosmic-muted);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.4;
}

.empty-state p {
  font-size: 18px;
  font-weight: 500;
}

/* COMPACT GALACTIC FOOTER */
footer {
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.9));
  border-top: 1px solid rgba(26, 93, 255, 0.1);
  padding: 30px 32px;
  text-align: center;
  color: var(--cosmic-muted);
  margin-top: 60px;
  backdrop-filter: blur(40px);
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cosmic-accent), var(--cosmic-accent-2), transparent);
  animation: cosmicFlow 6s linear infinite;
}

@keyframes cosmicFlow {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

footer p {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* QUANTUM SOCIAL NETWORK */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links a {
  color: var(--cosmic-muted);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(26, 93, 255, 0.1);
  background: rgba(26, 93, 255, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.social-links a:hover {
  color: var(--cosmic-text);
  background: rgba(26, 93, 255, 0.15);
  border-color: rgba(26, 93, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 93, 255, 0.2);
}

/* RESPONSIVE DESIGN - HIGH PRECISION */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  header {
    max-width: 1800px;
  }
  main {
    max-width: 1800px;
  }
}

/* Desktop (1024px - 1439px) */
@media (max-width: 1439px) {
  header {
    margin: 20px 24px;
    padding: 16px 28px;
  }
  
  main {
    padding: 0 28px;
  }
  
  .hero-section h2 {
    font-size: 42px;
  }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) {
  header {
    margin: 16px 20px;
    padding: 14px 24px;
    flex-direction: column;
    gap: 16px;
  }
  
  .header-controls {
    flex-direction: column;
    gap: 16px;
  }
  
  .nav-links {
    order: 2;
    width: 100%;
    justify-content: center;
  }
  
  .header-right {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  
  .brand-header {
    order: 0;
  }
  
  .quantum-logo {
    width: auto;
  }

  .quantum-logo img {
    width: auto;
  }
  
  main {
    padding: 0 24px;
  }
  
  .hero-section h2 {
    font-size: 36px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-card {
    padding: 24px;
  }
}

/* Tablet Portrait (481px - 767px) */
@media (max-width: 767px) {
  header {
    margin: 12px 16px;
    padding: 12px 20px;
    border-radius: 20px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 2px;
  }
  
  .nav-links a {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .header-right {
    flex-direction: column;
    gap: 12px;
  }
  
  .theme-btn, .wallet-connect {
    width: 100%;
    justify-content: center;
  }
  
  main {
    padding: 0 20px;
  }
  
  .hero-section {
    padding: 40px 0 30px;
  }
  
  .hero-section h2 {
    font-size: 32px;
  }
  
  .hero-section p {
    font-size: 18px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .stat-value {
    font-size: 32px;
  }
  
  .card-header, .card-body {
    padding: 20px;
  }
  
  footer {
    padding: 24px 20px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  header {
    margin: 8px 12px;
    padding: 10px 16px;
    border-radius: 18px;
  }
  
  .brand-header h1 {
    font-size: 18px;
  }
  
  .quantum-logo {
    width: auto;
    height: 32px;
  }
  .quantum-logo img {
    width: auto;
    height: 32px;
  }
  
  .nav-links a {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  main {
    padding: 0 16px;
  }
  
  .hero-section h2 {
    font-size: 28px;
  }
  
  .hero-section p {
    font-size: 16px;
  }
  
  .stats-grid {
    gap: 12px;
  }
  
  .stat-card {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .card-header, .card-body {
    padding: 16px;
  }
  
  footer {
    padding: 20px 16px;
  }
  
  .social-links {
    flex-wrap: wrap;
  }
}

/* Ultra-premium scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cosmic-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--cosmic-accent), var(--cosmic-accent-2));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--cosmic-accent-2), var(--cosmic-accent));
}

/* Selection styling */
::selection {
  background: rgba(26, 93, 255, 0.3);
  color: var(--cosmic-text);
}

/* Focus outlines for accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cosmic-accent);
  outline-offset: 2px;
}

/* Option for all interactive elements */
.theme-btn,
.wallet-connect,
#wallet-disconnect,
.wallet-option,
.close-modal,
.nav-links a,
.collapse-toggle,
.collapse-icon 
{
  position: relative;
  z-index: 10;
}

/* KILL ALL PSEUDO-ELEMENTS THAT BLOCK CLICKS */
.theme-btn::before,
.theme-btn::after,
.wallet-connect::before,
.wallet-connect::after,
#wallet-disconnect::before,
#wallet-disconnect::after,
.wallet-option::before,
.wallet-option::after,
.nav-links a::before,
.nav-links a::after,
.collapse-toggle::before,
.collapse-toggle::after,
.collapse-icon::before,
.collapse-icon::after 
{
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Specifically target the hologram overlay */
.hologram-overlay {
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Ensure the actual button content is always clickable */
.theme-btn > *,
.wallet-connect > *,
#wallet-disconnect > *,
.collapse-toggle > *, 
.collapse-icon > *    
{
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}