/* public/css/style.css */

/* =========================================
   1. GLOBAL RESET & BACKGROUND (DARK THEME)
   ========================================= */
html, body {
    background-color: #0f172a !important; /* Slate 900 */
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: #e2e8f0; /* Teks default: Putih Abu */
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Fix untuk Particles JS agar tidak menimpa background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent !important; /* Transparan agar gradient body terlihat */
}

/* =========================================
   2. UTILITY CLASSES (COMPONENT)
   ========================================= */

/* Efek Teks Neon / Glow */
.text-shadow-glow {
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Card Glassmorphism (Umum) */
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Animasi Fade Up */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp .8s ease-out forwards; }

/* Gradient Text (Ungu ke Pink) */
.text-gradient {
    background: linear-gradient(to right, #6366f1, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   3. OVERRIDE WARNA TEXT UNTUK HALAMAN LAMA
   ========================================= */
/* Memastikan heading lama yang hitam jadi putih */
h1, h2, h3, h4, h5, h6 {
    color: #f8fafc !important; /* Slate 50 */
}

/* Memastikan paragraf lama yang abu gelap jadi abu terang */
p {
    color: #cbd5e1; /* Slate 300 */
}

/* Link Hover */
a:hover {
    color: #6366f1; /* Indigo 500 */
    transition: color 0.3s ease;
}