/* css/loading.css */

.preloader-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
    color: white;
    font-family: 'Cinzel', serif;
}

.preloader-content {
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.preloader-logo {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    letter-spacing: 4px;
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }

    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.loading-text {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-bar-outer {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #818cf8);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.6);
    transition: width 0.3s ease;
}

.percentage {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.loading-tips {
    margin-top: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    min-height: 1.2em;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .preloader-logo {
        font-size: 1.8rem;
    }
}