/* assets/css/style.css */

/* Sembunyikan Kursor Bawaan di Desktop (Kecuali di dalam iframe) */
@media (min-width: 768px) {
    body, a, button {
        cursor: none !important; 
    }
}

/* Titik Tengah Kursor */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* Lingkaran Luar Kursor (Follower) */
.custom-cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1), 
                height 0.3s cubic-bezier(0.19, 1, 0.22, 1), 
                background-color 0.3s ease,
                backdrop-filter 0.3s ease;
}

/* PERBAIKAN: Efek Kursor Saat Menyentuh Link/Tombol */
.cursor-hover {
    width: 60px; /* Diperkecil sedikit agar tidak terlalu menutupi */
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05); /* Lebih transparan */
    backdrop-filter: blur(2px); /* Blur dikurangi drastis agar teks tetap terbaca */
    border-color: rgba(255, 255, 255, 0.5); /* Border sedikit ditebalkan saat hover */
}

/* Animasi Cahaya Gradien (Bergerak Mengambang) */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(40px, -60px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 15s infinite alternate ease-in-out;
}
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* PERBAIKAN: Memastikan overlay teks tidak menghalangi klik ke iframe */
.portfolio-text-overlay {
    pointer-events: none; 
}