/* =====================================================
   SECTION TRANSITION
===================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.active {
    animation: fadeUp 0.9s ease forwards;
}

/* =====================================================
   PULSE (COUNTDOWN / STATUS)
===================================================== */
@keyframes pulseSoft {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

#seconds {
    animation: pulseSoft 1s infinite;
}

/* =====================================================
   HEART FLOAT (MINI GAME)
===================================================== */
@keyframes floatHeart {
    from {
        transform: translateY(0) scale(0.8);
        opacity: 1;
    }
    to {
        transform: translateY(-140px) scale(1.6);
        opacity: 0;
    }
}

.game-heart {
    animation: floatHeart 2.5s ease forwards;
}

/* =====================================================
   TEPUK TANGAN
===================================================== */
@keyframes clapBurst {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-120px) scale(1.4);
        opacity: 0;
    }
}

.clap-particle {
    animation: clapBurst 1.6s ease forwards;
}

/* =====================================================
   ZONA ANEH
===================================================== */
@keyframes weirdGlow {
    0%,100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.weird-zone {
    animation: weirdGlow 2.2s infinite;
}

/* =====================================================
   FIREWORK TEXT
===================================================== */
@keyframes glowText {
    0% { text-shadow: 0 0 10px #fff; }
    50% { text-shadow: 0 0 30px currentColor; }
    100% { text-shadow: 0 0 10px #fff; }
}

.newyear-text {
    animation: glowText 2.4s infinite;
}

/* =====================================================
   SIDEBAR APPEAR
===================================================== */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

#sidebar.active {
    animation: slideIn 0.4s ease;
}
