/**
 * Loading Overlay - Shared Styles
 * 
 * Full-screen loading spinner with customizable icon and text.
 * Phase 27.3 - Consolidated from memory, whack, gems games.
 */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

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

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    font-size: 4rem;
    animation: loading-spin 1s linear infinite;
}

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

.loading-text {
    margin-top: 20px;
    font-size: 1.3rem;
    color: var(--loading-accent, #00d4ff);
    text-align: center;
    max-width: 80%;
}

.loading-text.error {
    color: #ff6b6b;
}

