/* GLOBAL THEME */
:root {
  --cyan-neon: #2dd4bf;
  --blue-neon: #38bdf8;
  --bg-black: #010308;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-black);
  overflow-x: hidden;
  color: #f1f5f9;
}

/* CANVAS BACKGROUND (Tepat di paling belakang layer: z-index: -2) */
#data-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* GRADASI OVERLAY BACKGROUND (z-index: -1) */
.cyber-overlay {
  position: fixed;
  top: 0; left: 0; 
  width: 100vw; height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.15) 0%, rgba(1, 3, 8, 0.95) 85%);
  z-index: -1;
  pointer-events: none;
}

/* GLASSMORPHISM & NEON GLOW */
.glass-header {
  background: rgba(1, 3, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* KARTU DEFAULT (Latar belakang lebih padat agar teks jelas terbaca) */
.glass-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}

/* EFEK ZOOM & GLOW SAAT KURSOR MENDEKAT */
.glass-card:hover {
  border-color: #67e8f9;
  box-shadow: 0 0 35px rgba(45, 212, 191, 0.6), inset 0 0 15px rgba(56, 189, 248, 0.2);
  z-index: 30;
}

.text-glow {
  text-shadow: 0 0 15px rgba(45, 212, 191, 0.8), 0 0 30px rgba(56, 189, 248, 0.5);
}

/* LIGHT SWEEP EFFECT */
.light-sweep::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.4), transparent);
  transform: skewX(-25deg);
  animation: sweep 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes sweep {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* ANIMATIONS */
.animate-spin-slow {
  animation: spin 15s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* NAV LINKS */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}
.nav-link::before {
  content: '';
  position: absolute; width: 0; height: 2px;
  bottom: 0; left: 0;
  background: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-neon);
  transition: width 0.3s ease;
}
.nav-link:hover::before, .nav-link.active::before {
  width: 100%;
}
