/* ======== ANIMATIONS ======== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Gamification Cinematic Overlay */
.cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.cinematic-overlay.hidden {
    display: none;
}

.cinematic-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cinematic-content {
    text-align: center;
    color: white;
    transform: scale(0.5) translateY(100px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cinematic-overlay.active .cinematic-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.cinematic-badge {
    width: 250px;
    height: 250px;
    margin: 30px auto;
    filter: drop-shadow(0 0 30px var(--primary-color));
    animation: floating 3s ease-in-out infinite, pulse-glow 2s infinite alternate;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cinematic-title {
    font-size: 2rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cinematic-chakra-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 10px 0;
    background: linear-gradient(45deg, var(--primary-light), white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cinematic-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 20px var(--primary-color)); }
    100% { filter: drop-shadow(0 0 50px var(--primary-color)); }
}
