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

body {
    font-family: "Inter", sans-serif;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

[data-bs-theme="dark"] body {
    background-color: #121519;
}

/* loading config*/
.loading-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

footer{
    display: flex;
    flex-direction: column;
}

.logo {
    width: 100%;
    max-width: 200px;
    margin-bottom: 2rem;
}

.logo img {
    width: 60%;
    height: auto;
    object-fit: contain;
}

.loading-gif {
    width: 120%;
    max-width: 400px;
    aspect-ratio: 1/1;
    /* Mantém proporção quadrada */
    margin-bottom: 2rem;
    background-image: url('../loading/loanding.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.loading-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    /* Responsivo */
    color: #6f788b;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .loading-text {
    color: #fff;
    opacity: 0.8;
}

.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #0d6efd;
    border-radius: 2px;
    width: 0%;
    animation: progressAnimation 15s linear forwards;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Fade out animation */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

 /* Player de música minimalista - CANTO SUPERIOR DIREITO */
        .music-player {
            position: fixed;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.7);
            padding: 8px 12px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 8px;
            backdrop-filter: blur(5px);
            z-index: 1000;
            transition: opacity 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        
        .music-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .play-btn, .mute-btn {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .play-btn:hover, .mute-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }
        
        .volume-slider {
            width: 70px;
            -webkit-appearance: none;
            height: 4px;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.2);
            outline: none;
            transition: width 0.3s ease;
        }
        
        .volume-slider:hover {
            width: 90px;
        }
        
        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #fdbb2d;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .volume-slider::-webkit-slider-thumb:hover {
            background: #ffcc44;
            transform: scale(1.2);
        }
        
        /* Efeito de fade para o player durante o redirecionamento */
        .fade-out ~ .music-player {
            opacity: 0;
            pointer-events: none;
        }