/* LOADING ANIMATION - CRYSTAL BALL THEME */
#loading-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    min-height: 300px;
    text-align: center;
}

.spinner {
    font-size: 12rem;
    animation: magicCrystal 3s infinite ease-in-out;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
    display: inline-block;
    line-height: 1;
    margin-bottom: 3rem;
}

@keyframes magicCrystal {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(-3deg);
        filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.4));
    }
    50% {
        transform: translateY(-40px) scale(1.1) rotate(3deg);
        filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.7));
    }
}

#loading-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    animation: pulseText 2s infinite ease-in-out;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .spinner { font-size: 4rem; }
    #loading-text { font-size: 1.2rem; }
}
