/* Neural Hub Dashboard Styles */
/* Garneta System Control Center */

:root {
  --neural-bg: #0b1f24;
  --neural-surface: #102a31;
  --neural-surface-2: #142f38;
  --neural-cyan: #24f0c7;
  --neural-cyan-glow: rgba(36, 240, 199, 0.4);
  --neural-mint: #8df7df;
  --neural-orange: #ff7043;
  --neural-orange-glow: rgba(255, 112, 67, 0.4);
  --neural-text: #e8fbff;
  --neural-text-soft: #8fb4bd;
  --neural-line: rgba(141, 247, 223, 0.16);
  --neural-glass: rgba(16, 42, 49, 0.85);
  --neural-glass-border: rgba(141, 247, 223, 0.2);
}

/* Dashboard Container */
.neural-dashboard {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Minimalist Dashboard - Logo Super Besar */
.neural-dashboard-minimal {
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
}

.neural-dashboard-minimal .smart-search-hub {
  max-width: 350px;
  margin-bottom: 0;
  position: relative;
}

.dashboard-hint {
  font-size: 13px;
  color: var(--neural-text-soft);
  opacity: 0.7;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 1px;
}

/* Neural Search Dropdown */
.neural-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--neural-glass);
  border: 1px solid var(--neural-glass-border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  animation: dropdown-appear 0.3s ease;
}

.neural-search-dropdown.hidden {
  display: none;
}

@keyframes dropdown-appear {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.neural-search-results {
  padding: 8px;
}

.neural-search-section {
  margin-bottom: 12px;
}

.neural-search-section:last-child {
  margin-bottom: 0;
}

.neural-search-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--neural-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--neural-line);
  margin-bottom: 8px;
}

.neural-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.neural-search-item:hover {
  background: rgba(36, 240, 199, 0.1);
  border-color: rgba(36, 240, 199, 0.3);
}

.neural-search-item-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 240, 199, 0.1);
  border-radius: 8px;
}

.neural-search-item-info {
  flex: 1;
  min-width: 0;
}

.neural-search-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--neural-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neural-search-item-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--neural-text-soft);
}

.neural-search-item-category {
  background: rgba(36, 240, 199, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.neural-search-item-stock {
  padding: 2px 6px;
  border-radius: 4px;
}

.neural-search-item-stock.stock-low {
  background: rgba(255, 112, 67, 0.2);
  color: var(--neural-orange);
}

.neural-search-item-stock.stock-medium {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.neural-search-item-stock.stock-high {
  background: rgba(36, 240, 199, 0.2);
  color: var(--neural-cyan);
}

.neural-search-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--neural-cyan);
  white-space: nowrap;
}

.neural-search-empty {
  padding: 24px;
  text-align: center;
  color: var(--neural-text-soft);
}

.neural-search-empty span {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.neural-search-empty p {
  font-size: 13px;
}

/* Logo G Center - SUPER BESAR memenuhi halaman */
.logo-g-center {
  position: relative;
  width: min(50vw, 50vh);
  height: min(50vw, 50vh);
  max-width: 500px;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  margin-bottom: 24px;
}

/* Layer 1: Outer Ring */
.logo-g-ring-outer {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  border-radius: 50%;
  border: 1px dashed rgba(36, 240, 199, 0.4);
  animation: rotate-ring 20s linear infinite;
  pointer-events: none;
}

/* Layer 4: Scan Line */
.logo-g-scanline {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--neural-cyan);
  box-shadow: 0 0 10px var(--neural-cyan), 0 0 20px var(--neural-cyan);
  animation: scan-line 3s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
  border-radius: 2px;
}

/* Layer 5: Particle Container */
.logo-g-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

/* Animations */
@keyframes aura-breath {
  0%, 100% { 
    opacity: 0.6; 
    transform: scale(1); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.2); 
  }
}

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

@keyframes rotate-ring-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes scan-line {
  0% { 
    top: 0; 
    opacity: 0;
  }
  10% { 
    opacity: 0.8;
  }
  90% { 
    opacity: 0.8;
  }
  100% { 
    top: 100%; 
    opacity: 0;
  }
}

/* Logo Image with 3D Transform */
.logo-g-image {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 40px rgba(36, 240, 199, 0.5));
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { 
    transform: translateY(0) rotateY(0deg); 
  }
  25% { 
    transform: translateY(-10px) rotateY(5deg); 
  }
  50% { 
    transform: translateY(0) rotateY(0deg); 
  }
  75% { 
    transform: translateY(10px) rotateY(-5deg); 
  }
}

/* Animation Presets */
.logo-g-center.anim-glow {
  animation: glow-effect 3s ease-in-out infinite;
}

@keyframes glow-effect {
  0%, 100% { 
    box-shadow: 0 0 40px rgba(36,240,199,0.4), inset 0 0 30px rgba(36,240,199,0.1); 
    filter: drop-shadow(0 0 40px rgba(36,240,199,0.5));
  }
  50% { 
    box-shadow: 0 0 80px rgba(36,240,199,0.8), inset 0 0 40px rgba(36,240,199,0.2); 
    filter: drop-shadow(0 0 80px rgba(36,240,199,0.8));
  }
}

.logo-g-center.anim-rotate {
  animation: rotate-360 6s linear infinite;
}

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

.logo-g-center.anim-pulse {
  animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.15);
    opacity: 0.8;
  }
}

.logo-g-center.anim-glitch {
  animation: glitch-effect 2s ease-in-out infinite;
}

@keyframes glitch-effect {
  0% { 
    transform: translate(0, 0);
    filter: hue-rotate(0deg);
  }
  20% { 
    transform: translate(-3px, 3px);
    filter: hue-rotate(90deg);
  }
  40% { 
    transform: translate(3px, -3px);
    filter: hue-rotate(180deg);
  }
  60% { 
    transform: translate(-3px, -3px);
    filter: hue-rotate(270deg);
  }
  80% { 
    transform: translate(3px, 3px);
    filter: hue-rotate(360deg);
  }
  100% { 
    transform: translate(0, 0);
    filter: hue-rotate(0deg);
  }
}

.logo-g-center.anim-rainbow {
  animation: rainbow-glow 4s linear infinite;
}

@keyframes rainbow-glow {
  0% { 
    filter: drop-shadow(0 0 30px hsl(0, 100%, 50%));
    box-shadow: 0 0 40px hsl(0, 100%, 50%);
  }
  16.67% { 
    filter: drop-shadow(0 0 30px hsl(60, 100%, 50%));
    box-shadow: 0 0 40px hsl(60, 100%, 50%);
  }
  33.33% { 
    filter: drop-shadow(0 0 30px hsl(120, 100%, 50%));
    box-shadow: 0 0 40px hsl(120, 100%, 50%);
  }
  50% { 
    filter: drop-shadow(0 0 30px hsl(180, 100%, 50%));
    box-shadow: 0 0 40px hsl(180, 100%, 50%);
  }
  66.67% { 
    filter: drop-shadow(0 0 30px hsl(240, 100%, 50%));
    box-shadow: 0 0 40px hsl(240, 100%, 50%);
  }
  83.33% { 
    filter: drop-shadow(0 0 30px hsl(300, 100%, 50%));
    box-shadow: 0 0 40px hsl(300, 100%, 50%);
  }
  100% { 
    filter: drop-shadow(0 0 30px hsl(0, 100%, 50%));
    box-shadow: 0 0 40px hsl(0, 100%, 50%);
  }
}

/* Animation Controls */
.logo-animation-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 16px;
  background: rgba(36,240,199,0.08);
  border: 1px solid rgba(36,240,199,0.2);
  border-radius: 12px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.anim-button {
  padding: 8px 12px;
  border: 1px solid rgba(36,240,199,0.3);
  border-radius: 8px;
  background: rgba(36,240,199,0.1);
  color: var(--neural-cyan);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.anim-button:hover {
  background: rgba(36,240,199,0.2);
  border-color: rgba(36,240,199,0.5);
  transform: translateY(-2px);
}

.anim-button.active {
  background: linear-gradient(135deg, rgba(36,240,199,0.3), rgba(36,240,199,0.1));
  border-color: rgba(36,240,199,0.8);
  box-shadow: 0 0 20px rgba(36,240,199,0.3);
}

/* Hover Effects */
.logo-g-center:hover .logo-g-image {
  filter: drop-shadow(0 0 80px rgba(36, 240, 199, 0.8));
  animation: logo-glitch 0.3s ease;
}

@keyframes logo-glitch {
  0% { transform: translate(0); filter: hue-rotate(0deg); }
  20% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
  40% { transform: translate(2px, -2px); filter: hue-rotate(180deg); }
  60% { transform: translate(-2px, -2px); filter: hue-rotate(270deg); }
  80% { transform: translate(2px, 2px); filter: hue-rotate(360deg); }
  100% { transform: translate(0); filter: hue-rotate(0deg); }
}

/* Ripple Effect Container */
.logo-g-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.logo-g-ripple::before,
.logo-g-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(36, 240, 199, 0.3);
  animation: ripple-out 3s ease-out infinite;
}

.logo-g-ripple::after {
  animation-delay: 1.5s;
}

@keyframes ripple-out {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* Particle Styles */
.logo-g-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(36, 240, 199, 0.8);
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float 5s ease-in-out infinite;
}

@keyframes particle-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx, 50px), var(--ty, -50px)) scale(0);
    opacity: 0;
  }
}

/* Hint text dihapus untuk tampilan yang lebih elegan */
.logo-g-menu-hint {
  display: none;
}

/* Neural Hub Container - Diperbesar dan Full Width */
.neural-hub-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
}

/* Layer Containers - Diperbesar */
.neural-layer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  margin-bottom: clamp(24px, 5vh, 48px);
  position: relative;
  z-index: 2;
  width: 100%;
}

.neural-layer-1 {
  gap: clamp(24px, 6vw, 72px);
}

.neural-layer-2 {
  gap: clamp(20px, 5vw, 48px);
}

.neural-layer-3 {
  gap: clamp(16px, 4vw, 32px);
  opacity: 0.7;
}

/* Neural Nodes - Diperbesar Signifikan dengan Neo Futuristic Style */
.neural-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vh, 20px);
  padding: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px);
  background: var(--neural-glass);
  border: 1px solid var(--neural-glass-border);
  border-radius: clamp(20px, 3vw, 32px);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  min-width: clamp(140px, 22vw, 220px);
  min-height: clamp(140px, 20vh, 200px);
  flex: 1;
  max-width: clamp(180px, 25vw, 280px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.neural-node::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, 
    rgba(36, 240, 199, 0.1) 0%, 
    transparent 50%,
    rgba(36, 240, 199, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.neural-node:hover {
  transform: translateY(-8px) scale(1.08);
  border-color: rgba(36, 240, 199, 0.5);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(36, 240, 199, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.neural-node:hover::before {
  opacity: 1;
}

.neural-node-icon {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.neural-node:hover .neural-node-icon {
  transform: scale(1.1);
}

.neural-node-label {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 600;
  color: var(--neural-text);
  text-align: center;
  letter-spacing: 0.5px;
}

.neural-node-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--neural-cyan), var(--neural-mint));
  color: var(--neural-bg);
  font-size: clamp(11px, 1.8vw, 14px);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  min-width: 28px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(36, 240, 199, 0.4);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Core Nodes - Highlighted */
.neural-node.core {
  background: linear-gradient(145deg, 
    rgba(36, 240, 199, 0.15) 0%, 
    rgba(36, 240, 199, 0.05) 100%);
  border-color: rgba(36, 240, 199, 0.4);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(36, 240, 199, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.neural-node.core:hover {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(36, 240, 199, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Super Admin Nodes */
.neural-node.super-admin {
  opacity: 0.9;
}

.neural-node.super-admin::after {
  content: 'SUPER';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--neural-orange), #ff5722);
  color: var(--neural-bg);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(255, 112, 67, 0.4);
}

/* Mobile Responsive - Nodes lebih besar di HP */
@media (max-width: 768px) {
  .neural-dashboard {
    padding: 16px;
    min-height: calc(100vh - 100px);
  }
  
  .smart-search-hub {
    max-width: 100%;
    margin-bottom: 12px;
  }
  
  .logo-g-center {
    width: clamp(80px, 30vw, 150px);
    height: clamp(80px, 30vw, 150px);
    margin-bottom: 24px;
  }
  
  .neural-hub-container {
    min-height: 60vh;
  }
  
  .neural-layer {
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .neural-layer-1 {
    gap: 16px;
  }
  
  .neural-node {
    padding: 16px 20px;
    min-width: 70px;
    flex: 1;
  }
  
  .neural-node-icon {
    font-size: 28px;
  }
  
  .neural-node-label {
    font-size: 11px;
  }
}

/* Desktop Large - Nodes lebih besar */
@media (min-width: 1200px) {
  .neural-dashboard {
    padding: 40px;
  }
  
  .neural-hub-container {
    max-width: 1200px;
  }
  
  .neural-layer {
    gap: 48px;
  }
  
  .neural-node {
    padding: 32px 48px;
    min-width: 160px;
  }
}

/* Connection Lines SVG */
.neural-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.neural-connections line {
  stroke: rgba(141, 247, 223, 0.2);
  stroke-width: 2;
  transition: all 0.3s ease;
}

.neural-connections line.active {
  stroke: rgba(36, 240, 199, 0.6);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(36, 240, 199, 0.5));
}

/* Theme Settings Styles */
.theme-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--neural-surface);
  border: 2px solid var(--neural-glass-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.theme-option:hover {
  border-color: var(--neural-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.theme-option.active {
  border-color: var(--neural-cyan);
  background: linear-gradient(145deg, var(--neural-surface), rgba(36, 240, 199, 0.05));
  box-shadow: 0 0 20px rgba(36, 240, 199, 0.15);
}

.theme-preview {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-preview-accent {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.theme-preview-surface {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 20px;
  border-radius: 4px;
}

.theme-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.theme-name {
  color: var(--neural-text);
  font-size: 15px;
}

.theme-desc {
  color: var(--neural-text-soft);
}

.theme-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: var(--neural-cyan);
  color: var(--neural-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(36, 240, 199, 0.4);
}

/* Quick Stats Panel */
.quick-stats-panel {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding: 20px 32px;
  background: var(--neural-glass);
  border: 1px solid var(--neural-glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.quick-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.quick-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neural-cyan);
}

.quick-stat-label {
  font-size: 12px;
  color: var(--neural-text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sidebar Toggle (Hidden by default) */
.sidebar-hidden .sidebar {
  transform: translateX(-100%);
}

.sidebar-hidden .main {
  margin-left: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .neural-dashboard {
    padding: 16px;
  }
  
  .logo-g-center {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }
  
  .neural-layer {
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .neural-layer-1 {
    gap: 16px;
  }
  
  .neural-node {
    padding: 12px 16px;
    min-width: 70px;
  }
  
  .neural-node-icon {
    font-size: 24px;
  }
  
  .neural-node-label {
    font-size: 11px;
  }
  
  .quick-stats-panel {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
}

/* Animation for nodes appearing */
@keyframes node-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.neural-node {
  animation: node-appear 0.5s ease forwards;
}

.neural-node:nth-child(1) { animation-delay: 0.1s; }
.neural-node:nth-child(2) { animation-delay: 0.2s; }
.neural-node:nth-child(3) { animation-delay: 0.3s; }
.neural-node:nth-child(4) { animation-delay: 0.4s; }

/* Floating Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 31, 36, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.menu-overlay-logo {
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-overlay-logo:hover {
  transform: scale(1.1);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 600px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(16, 42, 49, 0.8);
  border: 1px solid rgba(141, 247, 223, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background: rgba(36, 240, 199, 0.1);
  border-color: rgba(36, 240, 199, 0.4);
  transform: translateY(-4px);
}

.menu-item-icon {
  font-size: 28px;
}

.menu-item-label {
  font-size: 12px;
  color: var(--neural-text);
  font-weight: 600;
}

.menu-close-hint {
  font-size: 12px;
  color: var(--neural-text-soft);
  margin-top: 16px;
}
   