/* assets/css/style.css
   Tema visual: Dark Blue & Cyan premium, sama seperti versi React asli. */

* { box-sizing: border-box; }

html, body { background-color: #020617; }

.custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(6,182,212,0.3); border-radius: 999px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(6,182,212,0.5); }

.bg-noise {
  background-image: url('https://grainy-gradients.vercel.app/noise.svg');
}

@keyframes spin-slow { to { transform: rotate(360deg); } }
.animate-spin-slow { animation: spin-slow 1.5s linear infinite; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fade-in 0.5s ease both; }

@keyframes slide-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-slide-up { animation: slide-up 0.6s ease both; }

@keyframes zoom-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.animate-zoom-in { animation: zoom-in 0.3s ease both; }

@keyframes pulse-slow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.animate-pulse-slow { animation: pulse-slow 3s ease-in-out infinite; }

.custom-audio-player { border-radius: 8px; }

/* Toggle switch */
.toggle-track {
  width: 28px; height: 16px; border-radius: 999px; background: #3f3f46;
  position: relative; transition: background 0.2s ease; cursor: pointer;
}
.toggle-track.active { background: #3b82f6; }
.toggle-thumb {
  position: absolute; top: 2px; left: 2px; width: 12px; height: 12px;
  border-radius: 999px; background: white; transition: transform 0.2s ease;
}
.toggle-track.active .toggle-thumb { transform: translateX(12px); }

.loader-ring {
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  border-top-color: #22d3ee;
  animation: spin-slow 1.2s linear infinite;
}

.btn-cta {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 0 20px rgba(6,182,212,0.3);
}
.btn-cta:hover { box-shadow: 0 0 40px rgba(6,182,212,0.5); }
.btn-cta:disabled { opacity: 0.3; cursor: not-allowed; }
