/**
 * Template Style: Royal Sapphire Blossom (floral-blue-blossom)
 * Nuansa Bunga Biru & Gold Elegan
 */

@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Montserrat:wght@400;500;600;700&display=swap');

.font-script { font-family: 'Italianno', cursive; }
.font-serif { font-family: 'Playfair Display', Georgia, 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: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

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

@keyframes fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(50vh) rotate(180deg) translateX(25px); opacity: 0.9; }
    100% { transform: translateY(105vh) rotate(360deg) translateX(-20px); 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: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.5);
}

/* Custom Blue Flower Ornaments & Accents */
.blue-floral-card {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
}

.blue-floral-glow {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}
