/* CSS Reset - Clean baseline */
* {
  box-sizing: border-box;
}

/* CriOS 2025.04 Styling - Modern Scientific Interface */

:root {
  /* Main colors */
  --primary-blue: #3a6eff;
  --accent-teal: #00e6cc;
  --dark-bg: #0a111f;
  --medium-bg: #121e33;
  --light-bg: #1a2942;
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  
  /* Functional colors */
  --validation-green: #00c896;
  --warning-yellow: #ffb928;
  --error-red: #ff3a63;
  
  /* Animation timings */
  --transition-fast: 0.15s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
  
  /* Typography scale */
  --font-scale-xs: 0.75rem;   /* 12px */
  --font-scale-sm: 0.875rem;  /* 14px */
  --font-scale-md: 1rem;      /* 16px */
  --font-scale-lg: 1.125rem;  /* 18px */
  --font-scale-xl: 1.25rem;   /* 20px */
  --font-scale-2xl: 1.5rem;   /* 24px */
  --font-scale-3xl: 1.875rem; /* 30px */
  --font-scale-4xl: 2.25rem;  /* 36px */
  
  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
}

/* ===== Base Styling ===== */
body.platform-theme {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.0125em;
}

h1, h2, h3, h4, h5, h6, .logo-text, .nav-link, .btn, .badge {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* Enhanced cosmic background - fixed for proper UI positioning */
body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(ellipse at top, #121e33 0%, #0a111f 100%);
}

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -5;
}

/* Deep space glow effects */
.bg-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 30, 60, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(80, 0, 100, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0, 50, 100, 0.2) 0%, transparent 60%);
  opacity: 0.8;
  z-index: -4;
}

/* Subtle space dust */
.bg-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: -3;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(58, 110, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 110, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: -2;
  pointer-events: none;
}

/* Cosmic space container - fixed position */
.cosmic-space {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  perspective: 1500px;
  transform-style: preserve-3d;
}

/* Vivid enhanced starfield with realistic depth */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.star-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transform-style: preserve-3d;
}

#stars-small {
  transform: translateZ(-50px);
}

#stars-medium {
  transform: translateZ(-25px);
}

#stars-large {
  transform: translateZ(0);
}

.star {
  position: absolute;
  border-radius: 50%;
  z-index: -2;
  transform-style: preserve-3d;
}

/* Small distant stars */
#stars-small .star {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
}

/* Medium stars */
#stars-medium .star {
  background: radial-gradient(circle at center, 
    rgba(255, 255, 255, 0.9), 
    rgba(200, 220, 255, 0.7) 70%, 
    rgba(180, 180, 255, 0) 100%);
  box-shadow: 0 0 3px rgba(180, 220, 255, 0.6);
}

/* Large bright stars */
#stars-large .star {
  background: radial-gradient(circle at center, 
    rgba(255, 255, 255, 1), 
    rgba(200, 220, 255, 0.8) 50%, 
    rgba(170, 180, 255, 0) 100%);
  box-shadow: 
    0 0 4px rgba(255, 255, 255, 0.8),
    0 0 8px rgba(180, 190, 255, 0.5);
}

/* Star twinkling effect */
.twinkle {
  animation: twinkle 5s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Shooting stars */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: white;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  filter: drop-shadow(0 0 6px white);
  transform-style: preserve-3d;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 1px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
  transform: translateX(-100%) rotateZ(45deg);
}

@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotateZ(45deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(300px, 300px) rotateZ(45deg);
  }
}

/* Supernovas and cosmic events */
.supernova {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  filter: blur(2px);
  box-shadow: 
    0 0 60px rgba(255, 255, 255, 0.8),
    0 0 100px rgba(255, 200, 100, 0.5),
    0 0 140px rgba(255, 100, 50, 0.3);
  opacity: 0;
  transform: scale(0);
  z-index: -1;
}

@keyframes supernova {
  0% {
    opacity: 0;
    transform: scale(0);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 
      0 0 60px rgba(255, 255, 255, 0.8),
      0 0 100px rgba(255, 200, 100, 0.5),
      0 0 140px rgba(255, 100, 50, 0.3);
  }
  10% {
    opacity: 1;
    transform: scale(1);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 
      0 0 80px rgba(255, 255, 255, 0.9),
      0 0 120px rgba(255, 200, 100, 0.7),
      0 0 180px rgba(255, 100, 50, 0.5);
  }
  30% {
    opacity: 1;
    transform: scale(20);
    background-color: rgba(255, 200, 100, 0.9);
    box-shadow: 
      0 0 100px rgba(255, 230, 150, 0.8),
      0 0 200px rgba(255, 150, 50, 0.6),
      0 0 300px rgba(255, 50, 0, 0.4);
  }
  100% {
    opacity: 0;
    transform: scale(40);
    background-color: rgba(100, 0, 50, 0.1);
    box-shadow: 
      0 0 50px rgba(150, 0, 0, 0.1),
      0 0 100px rgba(100, 0, 0, 0.05),
      0 0 150px rgba(50, 0, 0, 0.05);
  }
}

/* Distant galaxies */
.distant-galaxy {
  position: absolute;
  width: 100px;
  height: 60px;
  background: radial-gradient(ellipse at center, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(180, 200, 255, 0.2) 20%, 
    rgba(100, 130, 200, 0.1) 40%, 
    rgba(60, 80, 150, 0.05) 60%, 
    transparent 100%);
  opacity: 0.4;
  border-radius: 50%;
  filter: blur(5px);
  transform: rotate(30deg) scale(1);
  transform-origin: center;
  z-index: -3;
  animation: galaxyPulse 15s infinite alternate ease-in-out;
}

@keyframes galaxyPulse {
  0% {
    opacity: 0.3;
    transform: rotate(30deg) scale(1);
  }
  100% {
    opacity: 0.5;
    transform: rotate(33deg) scale(1.05);
  }
}

/* Nebula clouds in the distance */
.nebula-cloud {
  position: absolute;
  width: 200px;
  height: 150px;
  background: radial-gradient(ellipse at center,
    rgba(100, 200, 255, 0.1) 0%,
    rgba(150, 100, 255, 0.08) 30%,
    rgba(255, 100, 150, 0.05) 60%,
    transparent 100%);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.2;
  transform: scale(1);
  z-index: -3;
  animation: nebulaFloat 20s infinite alternate ease-in-out;
}

@keyframes nebulaFloat {
  0% {
    transform: scale(1) translateY(0);
    filter: blur(20px);
  }
  100% {
    transform: scale(1.1) translateY(-10px);
    filter: blur(15px);
  }
}

/* Advanced cosmic particles */
.cosmic-particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 30s infinite linear;
}

.particle-small {
  width: 1px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

.particle-medium {
  width: 2px;
  height: 2px;
  background-color: rgba(160, 220, 255, 0.7);
  box-shadow: 0 0 3px rgba(160, 220, 255, 0.4);
}

.particle-large {
  width: 3px;
  height: 3px;
  background-color: rgba(120, 190, 255, 0.8);
  box-shadow: 0 0 4px rgba(120, 190, 255, 0.5);
}

.particle-glow {
  width: 4px;
  height: 4px;
  background-color: rgba(0, 230, 204, 0.7);
  box-shadow: 0 0 6px rgba(0, 230, 204, 0.6);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(50px) scale(0.5);
  }
}

/* Holographic data streams */
.data-stream {
  position: fixed;
  height: 100vh;
  width: 1px;
  background: linear-gradient(to bottom, 
    rgba(0, 230, 204, 0) 0%, 
    rgba(0, 230, 204, 0.2) 20%, 
    rgba(0, 230, 204, 0.3) 50%, 
    rgba(0, 230, 204, 0.2) 80%, 
    rgba(0, 230, 204, 0) 100%);
  opacity: 0.3;
  z-index: -1;
  animation: streamFloat 15s infinite linear;
}

@keyframes streamFloat {
  0% {
    transform: translateY(-100vh);
  }
  100% {
    transform: translateY(100vh);
  }
}

/* ===== Navigation ===== */
.navbar {
  background-color: rgba(10, 17, 31, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(58, 110, 255, 0.2);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg, 
    transparent 0%,
    rgba(0, 230, 204, 0.3) 30%,
    rgba(58, 110, 255, 0.3) 70%,
    transparent 100%
  );
  opacity: 0.7;
}

/* Improved logo styling */
.cosmic-logo-container {
  position: relative;
  width: 56px;
  height: 56px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: radial-gradient(circle at center, 
    rgba(0, 0, 0, 0.5) 0%, 
    rgba(10, 20, 40, 0.5) 50%, 
    rgba(10, 20, 40, 0) 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 15px rgba(0, 230, 204, 0.2),
    0 0 30px rgba(58, 110, 255, 0.1);
}

.navbar-brand:hover .cosmic-logo-container {
  transform: scale(1.1);
  box-shadow: 
    0 0 20px rgba(0, 230, 204, 0.4),
    0 0 40px rgba(58, 110, 255, 0.2);
}

/* Proprietary Triple Ring Quantum Flow Symbol */
.crowe-quantum {
  position: absolute;
  width: 44px;
  height: 44px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 2;
}

/* Three Concentric Quantum Rings */
.quantum-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  opacity: 0.85;
  z-index: 1;
}

/* Outer Ring */
.r1 {
  width: 40px;
  height: 40px;
  border-width: 1.5px;
  border-color: rgba(58, 110, 255, 0.8);
  box-shadow: 0 0 10px rgba(58, 110, 255, 0.4);
  animation: ring-rotate1 15s infinite linear;
}

/* Middle Ring */
.r2 {
  width: 28px;
  height: 28px;
  border-width: 1.5px;
  border-color: rgba(0, 230, 204, 0.8);
  box-shadow: 0 0 8px rgba(0, 230, 204, 0.4);
  animation: ring-rotate2 12s infinite linear reverse;
}

/* Inner Ring */
.r3 {
  width: 16px;
  height: 16px;
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
  animation: ring-pulse 6s infinite ease-in-out;
}

@keyframes ring-rotate1 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ring-rotate2 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ring-pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1); 
    opacity: 0.85;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1); 
    opacity: 1;
  }
}

/* Quantum Neurons */
.quantum-neuron {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  z-index: 3;
  transform-origin: center;
  box-shadow: 0 0 8px rgba(58, 110, 255, 0.8);
}

/* Neuron 1 - Outer orbit */
.quantum-neuron.n1 {
  animation: neuron-orbit1 8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Neuron 2 - Middle orbit */
.quantum-neuron.n2 {
  width: 4px;
  height: 4px;
  animation: neuron-orbit2 6s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Neuron 3 - Inner orbit */
.quantum-neuron.n3 {
  width: 3px;
  height: 3px;
  animation: neuron-orbit3 4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes neuron-orbit1 {
  0% { 
    transform: rotate(0deg) translateX(20px) rotate(0deg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px rgba(58, 110, 255, 0.8);
  }
  33% {
    background-color: rgba(0, 230, 204, 0.9);
    box-shadow: 0 0 8px rgba(0, 230, 204, 0.8);
  }
  66% {
    background-color: rgba(58, 110, 255, 0.9);
    box-shadow: 0 0 8px rgba(58, 110, 255, 0.8);
  }
  100% { 
    transform: rotate(360deg) translateX(20px) rotate(-360deg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px rgba(58, 110, 255, 0.8);
  }
}

@keyframes neuron-orbit2 {
  0% { 
    transform: rotate(120deg) translateX(14px) rotate(-120deg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 6px rgba(0, 230, 204, 0.8);
  }
  33% {
    background-color: rgba(58, 110, 255, 0.9);
    box-shadow: 0 0 6px rgba(58, 110, 255, 0.8);
  }
  66% {
    background-color: rgba(0, 230, 204, 0.9);
    box-shadow: 0 0 6px rgba(0, 230, 204, 0.8);
  }
  100% { 
    transform: rotate(480deg) translateX(14px) rotate(-480deg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 6px rgba(0, 230, 204, 0.8);
  }
}

@keyframes neuron-orbit3 {
  0% { 
    transform: rotate(240deg) translateX(8px) rotate(-240deg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  }
  33% {
    background-color: rgba(0, 230, 204, 0.9);
    box-shadow: 0 0 4px rgba(0, 230, 204, 0.8);
  }
  66% {
    background-color: rgba(58, 110, 255, 0.9);
    box-shadow: 0 0 4px rgba(58, 110, 255, 0.8);
  }
  100% { 
    transform: rotate(600deg) translateX(8px) rotate(-600deg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  }
}

/* Neuron trails */
.quantum-neuron::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  top: 50%;
  right: 50%;
  transform: translateY(-50%);
  background: linear-gradient(
    to left,
    currentColor 0%,
    transparent 100%
  );
  border-radius: 1px;
  opacity: 0.7;
}

.quantum-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Neural network elements */
.neural-network {
  position: absolute;
  width: 32px;
  height: 32px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.navbar-brand:hover .neural-network {
  opacity: 0.6;
}

.neuron {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(58, 110, 255, 0.6);
}

.n1 {
  top: 25%;
  left: 25%;
  animation: pulse-neuron 2s infinite alternate;
}

.n2 {
  top: 25%;
  right: 25%;
  animation: pulse-neuron 2s infinite alternate 0.5s;
}

.n3 {
  bottom: 25%;
  left: 25%;
  animation: pulse-neuron 2s infinite alternate 1s;
}

.n4 {
  bottom: 25%;
  right: 25%;
  animation: pulse-neuron 2s infinite alternate 1.5s;
}

@keyframes pulse-neuron {
  from { transform: scale(1); opacity: 0.5; }
  to { transform: scale(1.5); opacity: 1; }
}

.neural-connection {
  position: absolute;
  background-color: rgba(58, 110, 255, 0.5);
  height: 1px;
  transform-origin: 0 0;
}

.c1 {
  top: 25%;
  left: 25%;
  width: 50%;
  transform: rotate(0deg);
  animation: pulse-connection 3s infinite alternate;
}

.c2 {
  top: 25%;
  left: 25%;
  width: 70%;
  transform: rotate(45deg);
  animation: pulse-connection 3s infinite alternate 1s;
}

.c3 {
  top: 25%;
  right: 25%;
  width: 70%;
  transform: rotate(-45deg);
  animation: pulse-connection 3s infinite alternate 2s;
}

@keyframes pulse-connection {
  from { opacity: 0.2; }
  to { opacity: 0.8; }
}

/* Energy flow effect */
.energy-flow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(0, 230, 204, 0.05) 60%,
    rgba(58, 110, 255, 0.1) 100%
  );
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
  z-index: 0;
}

.navbar-brand:hover .energy-flow {
  opacity: 1;
  transform: scale(1.2);
  animation: energy-pulse 3s infinite alternate;
}

@keyframes energy-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 204, 0); }
  50% { box-shadow: 0 0 10px 5px rgba(0, 230, 204, 0.1); }
  100% { box-shadow: 0 0 20px 10px rgba(58, 110, 255, 0.05); }
}

/* Timeless masterpiece logo styling */
.logo-text {
  position: relative;
  font-size: 1.4rem;
  letter-spacing: 0.1px;
  font-weight: 600;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(200, 220, 255, 0.9),
    rgba(180, 210, 255, 0.85)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
}

.logo-text .cri, .logo-text .os {
  position: relative;
  display: inline-block;
  transform: translateZ(0);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-brand:hover .logo-text .cri {
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(58, 110, 255, 0.4);
}

.navbar-brand:hover .logo-text .os {
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(0, 230, 204, 0.4);
}

.logo-text .cri:after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.4s ease;
}

.logo-text .os:after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.4s ease;
}

.navbar-brand:hover .logo-text .cri:after,
.navbar-brand:hover .logo-text .os:after {
  opacity: 0.8;
  transform: translateY(0);
}

.version-tag {
  font-size: 0.65rem;
  opacity: 0.6;
  vertical-align: super;
  margin-left: 2px;
  font-weight: normal;
  letter-spacing: 0.5px;
}

.nav-logo circle, .nav-logo path {
  transition: all var(--transition-normal) ease;
}

.navbar-brand:hover .nav-logo circle {
  stroke: var(--accent-teal);
  r: 9;
}

.navbar-brand:hover .nav-logo path {
  stroke: var(--primary-blue);
  stroke-width: 1.8;
}

.navbar .nav-link {
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0 0.2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid transparent;
}

.navbar .nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link:hover::before {
  opacity: 1;
}

.validation-link {
  color: var(--validation-green) !important;
}

.crowe-logic-btn {
  color: var(--accent-teal) !important;
  border: 1px solid rgba(0, 230, 204, 0.3);
  border-radius: 0.75rem;
  margin-right: 0.5rem;
  padding: 0.6rem 1.2rem !important;
  background-color: rgba(0, 230, 204, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 230, 204, 0.1);
  position: relative;
  overflow: hidden;
}

.crowe-logic-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 230, 204, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crowe-logic-btn:hover {
  background-color: rgba(0, 230, 204, 0.15) !important;
  border-color: rgba(0, 230, 204, 0.5);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(0, 230, 204, 0.15),
    0 0 0 1px rgba(0, 230, 204, 0.3);
}

.crowe-logic-btn:hover::before {
  opacity: 1;
}

/* ===== Cards ===== */
.card {
  background: rgba(18, 30, 51, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(58, 110, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 2rem;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(58, 110, 255, 0.08),
    transparent 70%
  );
  z-index: -1;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 230, 204, 0.2);
  border-color: rgba(0, 230, 204, 0.3);
  transition: all 0.3s ease;
}

.card:hover::after {
  opacity: 1;
  animation: reflectionSweep 2s ease-in-out;
}

@keyframes reflectionSweep {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Cosmic dust particles inside cards */
.card .cosmic-dust {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.card .dust-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  animation: floatDust 8s infinite ease-in-out;
}

@keyframes floatDust {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) translateX(10px);
  }
}

.card-header {
  background: rgba(58, 110, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(58, 110, 255, 0.15);
  padding: 1.25rem 1.5rem;
  position: relative;
  z-index: 2;
}

.card-header::after {
  content: '';
  position: absolute;
  height: 2px;
  bottom: -1px;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, 
    rgba(0, 230, 204, 0.8) 0%, 
    rgba(58, 110, 255, 0.3) 50%, 
    transparent 100%);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover .card-header::after {
  transform: scaleX(1);
}

.card-body {
  padding: 1.75rem;
  position: relative;
  z-index: 2;
}

/* Research card specific */
.research-card .card-title {
  font-size: 1.2rem;
  font-weight: 500;
}

.research-card .authors {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.research-card .abstract {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 1rem 0;
}

.research-card .source-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background-color: rgba(0, 230, 204, 0.15);
  color: var(--accent-teal);
  border-radius: 4px;
  display: inline-block;
}

/* ===== Enhanced Futuristic Buttons ===== */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.5rem 1.25rem;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

.btn::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  z-index: -1;
  opacity: 0;
}

.btn:active::after {
  transform: translate(-50%, -50%) scale(20);
  opacity: 0.3;
  transition: 0s;
}

/* Primary button with glow */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: rgba(58, 110, 255, 0.4);
  box-shadow: 0 4px 15px rgba(58, 110, 255, 0.15);
}

.btn-primary:hover {
  background-color: #2754e6;
  border-color: rgba(58, 110, 255, 0.6);
  box-shadow: 0 6px 20px rgba(58, 110, 255, 0.25), 0 0 0 0.5px rgba(58, 110, 255, 0.8);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(58, 110, 255, 0.2);
}

/* Outline primary with glow */
.btn-outline-primary {
  color: var(--primary-blue);
  border: 1px solid rgba(58, 110, 255, 0.4);
  background-color: rgba(58, 110, 255, 0.05);
  box-shadow: 0 2px 10px rgba(58, 110, 255, 0.05);
}

.btn-outline-primary:hover {
  background-color: rgba(58, 110, 255, 0.15);
  border-color: rgba(58, 110, 255, 0.6);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(58, 110, 255, 0.15), 0 0 0 0.5px rgba(58, 110, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-primary:active {
  background-color: rgba(58, 110, 255, 0.2);
  transform: translateY(1px);
}

/* Accent button with glow */
.btn-accent {
  background-color: var(--accent-teal);
  border-color: rgba(0, 230, 204, 0.4);
  color: #121e33;
  box-shadow: 0 4px 15px rgba(0, 230, 204, 0.15);
}

.btn-accent:hover {
  background-color: #00d1ba;
  border-color: rgba(0, 230, 204, 0.6);
  color: #121e33;
  box-shadow: 0 6px 20px rgba(0, 230, 204, 0.25), 0 0 0 0.5px rgba(0, 230, 204, 0.8);
  transform: translateY(-2px);
}

.btn-accent:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 230, 204, 0.2);
}

/* Outline accent with glow */
.btn-outline-accent {
  color: var(--accent-teal);
  border: 1px solid rgba(0, 230, 204, 0.4);
  background-color: rgba(0, 230, 204, 0.05);
  box-shadow: 0 2px 10px rgba(0, 230, 204, 0.05);
}

.btn-outline-accent:hover {
  background-color: rgba(0, 230, 204, 0.15);
  border-color: rgba(0, 230, 204, 0.6);
  color: var(--accent-teal);
  box-shadow: 0 4px 15px rgba(0, 230, 204, 0.15), 0 0 0 0.5px rgba(0, 230, 204, 0.5);
  transform: translateY(-2px);
}

.btn-outline-accent:active {
  background-color: rgba(0, 230, 204, 0.2);
  transform: translateY(1px);
}

/* ===== Forms ===== */
.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #0070f3;
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.25);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

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

/* ===== Badges & Tags ===== */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 4px;
}

.badge-arxiv {
  background-color: #b31b1b;
}

.badge-pubmed {
  background-color: #336699;
}

.badge-nasa {
  background-color: #0b3d91;
}

.badge-crossref {
  background-color: #5f4b8b;
}

.badge-doaj {
  background-color: #f8b425;
  color: #333;
}

.validation-badge {
  background-color: var(--validation-green);
  color: white;
}

.topic-tag {
  font-size: 0.75rem;
  background-color: rgba(58, 110, 255, 0.15);
  color: var(--primary-blue);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* ===== Footer ===== */
.footer {
  background-color: rgba(10, 17, 31, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(58, 110, 255, 0.15);
  color: var(--text-secondary);
  padding: 2rem 0 1.5rem;
}

/* Mini Triple Ring Quantum Flow Logo in footer */
.cosmic-logo-mini {
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  display: inline-block;
}

/* Mini Rings */
.mini-quantum-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  opacity: 0.85;
}

.mini-quantum-ring.r1 {
  width: 20px;
  height: 20px;
  border-width: 1px;
  border-color: rgba(58, 110, 255, 0.8);
  box-shadow: 0 0 4px rgba(58, 110, 255, 0.3);
}

.mini-quantum-ring.r2 {
  width: 14px;
  height: 14px;
  border-width: 1px;
  border-color: rgba(0, 230, 204, 0.8);
  box-shadow: 0 0 3px rgba(0, 230, 204, 0.3);
}

.mini-quantum-ring.r3 {
  width: 8px;
  height: 8px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Mini Neurons */
.mini-quantum-neuron {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 2px rgba(58, 110, 255, 0.6);
}

.mini-quantum-neuron.n1 {
  top: 40%;
  left: 70%;
}

.mini-quantum-neuron.n2 {
  top: 30%;
  left: 35%;
  width: 2px;
  height: 2px;
}

.mini-quantum-neuron.n3 {
  top: 65%;
  left: 50%;
  width: 2px;
  height: 2px;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
}

.footer a:hover {
  color: var(--text-primary);
}

.powered-by {
  opacity: 0.7;
}

.crowe-tag {
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent-teal);
}

.version-info {
  opacity: 0.5;
}

/* ===== Utilities ===== */
.text-primary-color {
  color: var(--primary-blue) !important;
}

.text-accent-color {
  color: var(--accent-teal) !important;
}

.bg-primary-color {
  background-color: var(--primary-blue) !important;
}

.bg-accent-color {
  background-color: var(--accent-teal) !important;
}

.border-primary-color {
  border-color: var(--primary-blue) !important;
}

.border-accent-color {
  border-color: var(--accent-teal) !important;
}

/* ===== Profile Page ===== */
.profile-header {
  background-color: var(--medium-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(58, 110, 255, 0.1);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 500;
}

.research-focus-tag {
  background-color: rgba(0, 230, 204, 0.15);
  color: var(--accent-teal);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  font-size: 0.85rem;
}

/* ===== Research Item Cards ===== */
.research-item {
  background-color: rgba(18, 30, 51, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(58, 110, 255, 0.1);
  transition: all var(--transition-normal) ease;
  position: relative;
  overflow: hidden;
}

.research-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.research-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 230, 204, 0.15);
  border-color: rgba(58, 110, 255, 0.3);
}

.research-item:hover::after {
  opacity: 1;
  animation: reflectionSweep 2s ease-in-out;
}

.research-item-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.research-item-authors {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.research-item-abstract {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

/* ===== Blockchain Validation ===== */
.validation-stats {
  background-color: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 200, 150, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

.validation-stat-item {
  text-align: center;
  padding: 1rem;
}

.validation-stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--validation-green);
  margin-bottom: 0.5rem;
}

.validation-stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.blockchain-info {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
  word-break: break-all;
  background-color: rgba(10, 17, 31, 0.5);
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== ElevenLabs Crowe Logic Assistant ===== */
.crowe-assistant-card {
  background: linear-gradient(135deg, rgba(0, 230, 204, 0.05) 0%, rgba(58, 110, 255, 0.05) 100%);
  border: 1px solid rgba(0, 230, 204, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.crowe-assistant-header {
  background: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-blue) 100%);
  padding: 1.5rem;
  color: white;
  position: relative;
}

.assistant-widget-container {
  min-height: 500px;
  background-color: rgba(10, 17, 31, 0.5);
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
  .navbar .nav-link {
    padding: 0.5rem;
  }
  
  .profile-header {
    padding: 1.5rem;
  }
  
  .research-item {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .card-body {
    padding: 1.25rem;
  }
  
  .validation-stat-number {
    font-size: 1.75rem;
  }
  
  .validation-stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand .logo-text {
    font-size: 1.1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .research-item {
    padding: 1rem;
  }
}

/* ===== Cosmic Animations ===== */
@keyframes supernova {
  0% { 
    transform: scale(0);
    opacity: 1;
  }
  25% { 
    transform: scale(1.5);
    opacity: 1;
  }
  50% { 
    transform: scale(2);
    opacity: 0.8;
  }
  100% { 
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes galaxyPulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes nebulaFloat {
  0% { transform: translate(0, 0); filter: blur(15px); }
  50% { transform: translate(20px, -10px); filter: blur(20px); }
  100% { transform: translate(-10px, 15px); filter: blur(18px); }
}

@keyframes shootingStar {
  0% {
    width: 0;
    height: 0;
    opacity: 0.3;
    transform: rotate(45deg) translateX(0);
  }
  10% {
    width: 100px;
    height: 3px;
    opacity: 1;
  }
  20%, 100% {
    width: 0;
    height: 0;
    opacity: 0;
    transform: rotate(45deg) translateX(1000px);
  }
}

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

@keyframes energyRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
}

@keyframes energyParticleFloat {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-10px) translateX(10px); }
}

@keyframes energyBeamRotate {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

@keyframes quantumParticleMove {
  0% { transform: translate(0, 0); }
  25% { transform: translate(10px, -10px); }
  50% { transform: translate(-10px, -10px); }
  75% { transform: translate(-10px, 10px); }
  100% { transform: translate(0, 0); }
}

@keyframes quantumWavePulse {
  0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes neuronPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.8; }
}

@keyframes dataPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}

@keyframes dataPacketDown {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes dataPacketUp {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

@keyframes dataNodePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; box-shadow: 0 0 0 rgba(58, 110, 255, 0); }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; box-shadow: 0 0 10px rgba(58, 110, 255, 0.3); }
}

/* Command Center Styles */
.command-center {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.command-center:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 204, 0.3);
}

.command-center::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.command-center-header {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.command-center-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(0, 230, 204, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 230, 204, 0.2);
}

.command-center-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.command-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.command-button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.command-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.command-button.primary {
  background: linear-gradient(135deg, 
    rgba(0, 112, 243, 0.8) 0%, 
    rgba(0, 86, 190, 0.8) 100%);
  border-color: rgba(0, 112, 243, 0.4);
}

.command-button.primary:hover {
  background: linear-gradient(135deg, 
    rgba(0, 130, 255, 0.9) 0%, 
    rgba(0, 100, 210, 0.9) 100%);
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.5);
}

.command-search {
  width: 100%;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.command-search-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem 0.75rem 3rem;
  width: 100%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.command-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.command-search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #0070f3;
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.25);
  outline: none;
}

.command-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

/* Card Cosmic Event Styles */
.card-cosmic-event {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}

/* Mini Galaxy */
.mini-galaxy {
  background: radial-gradient(ellipse at center, 
    rgba(100, 150, 255, 0.1) 0%, 
    rgba(70, 90, 180, 0.05) 40%, 
    transparent 70%);
}

/* Quantum Particles */
.card-quantum-particle {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(100, 150, 255, 0.4);
}

/* Neural Network */
.card-neuron {
  background-color: rgba(58, 110, 255, 0.5);
  box-shadow: 0 0 5px rgba(58, 110, 255, 0.3);
}

.card-neural-connection {
  background-color: rgba(58, 110, 255, 0.2);
}

/* Data Flow Streams */
.card-data-stream {
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 230, 204, 0.15) 50%, 
    transparent 100%);
}

.card-data-packet {
  border-radius: 50%;
}

.card-data-node {
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(58, 110, 255, 0.3);
}