/**
 * Template Style: Cahaya Ayat Suci (anim-islam-surah)
 */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Amiri:wght@400;700&display=swap');

.font-script { font-family: 'Alex Brush', cursive; }
.font-arabic { font-family: 'Amiri', serif; }

#cover-overlay {
    transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.9s ease-in-out;
}

.cover-open-animate {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.animate-spin-slow {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-toggle-btn.playing {
    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.floating-particle {
    position: absolute;
    top: -40px;
    opacity: 0.6;
    animation: fall linear infinite;
    user-select: none;
}

@keyframes fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(50vh) rotate(180deg); opacity: 0.8; }
    100% { transform: translateY(105vh) rotate(360deg); opacity: 0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-link.active {
    background-color: #0d9488;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.4);
}
