* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1e293b, #0f172a);
}

.loader-page {
    text-align: center;
    width: 100%;
    max-width: 480px;
    padding: 2rem;
}

.boxes {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    height: 90px;
}

.box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    animation: bounce 1.2s ease-in-out infinite;
}

.box.b2 {
    animation-delay: 0.12s;
    background: linear-gradient(135deg, #818cf8, #a855f7);
}

.box.b3 {
    animation-delay: 0.24s;
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.box.b4 {
    animation-delay: 0.36s;
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.box.b5 {
    animation-delay: 0.48s;
    background: linear-gradient(135deg, #f97316, #facc15);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-52px) scale(0.85);
        opacity: 0.55;
    }
}

.loading-text {
    margin-top: 1.6rem;
    color: #e2e8f0;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

.progress-wrap {
    margin-top: 2.5rem;
    height: 8px;
    border-radius: 50px;
    background: #334155;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #f97316);
    background-size: 200% 100%;
    animation: progress 2s ease-in-out infinite, shimmer 1.2s linear infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

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