/* BagMedia — gaya kustom portal (dipakai semua halaman).
   Semua <style> inline di HEADER/BG dipindah ke sini supaya
   CSP bisa memakai style-src 'self' tanpa 'unsafe-inline'. */

#network-canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #0f172a;
    color: #f8fafc;
    background-image: radial-gradient(circle at top right, #1e293b, #0f172a);
    min-height: 100vh;
}

.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- OTP Specific Styles --- */
.code-font { font-family: 'JetBrains Mono', monospace; }

.drop-zone {
    border: 2px dashed rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}
.drop-zone.active {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

input, textarea {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}
input:focus, textarea:focus {
    border-color: #3b82f6 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transition: all 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-transfer {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    transition: all 0.2s;
}
.btn-upgrade {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #d8b4fe;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease-out forwards; }

/* delay animasi (dulu pakai style="" inline) */
.bm-delay-1 { animation-delay: 0.1s; }
.bm-delay-2 { animation-delay: 0.3s; }

.nav-link { position: relative; }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background-color: #60a5fa; transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
