/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Container principal */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 60px;
}

.logo {
    width: 350px;
    max-width: 80vw;
    height: auto;
    animation: blink 3s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

@keyframes blink {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.3; 
    }
}

/* Container da barra de carregamento */
.loading-container {
    width: 400px;
    max-width: 90vw;
}

/* Barra de carregamento */
.loading-bar {
    position: relative;
    width: 100%;
    height: 50px;
    background: rgba(15, 15, 15, 0.8);
    border: 2px solid #4a8422;
    border-radius: 25px;
    box-shadow: 
        0 0 20px rgba(74, 132, 34, 0.4),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Preenchimento da barra (1%) */
.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 1%;
    height: 100%;
    background: linear-gradient(90deg, #4a8422, #6fa644);
    border-radius: 23px;
    box-shadow: 0 0 15px rgba(74, 132, 34, 0.6);
}

/* Texto "Carregando" */
.loading-text {
    position: relative;
    z-index: 2;
    color: #4a8422;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(74, 132, 34, 0.8);
    margin-right: 10px;
}

/* Porcentagem */
.loading-percentage {
    position: relative;
    z-index: 2;
    color: #6fa644;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(111, 166, 68, 0.8);
}

/* Responsividade */
@media (max-width: 600px) {
    .logo {
        width: 280px;
    }
    
    .loading-container {
        width: 320px;
    }
    
    .loading-bar {
        height: 45px;
    }
    
    .loading-text {
        font-size: 1.1rem;
    }
    
    .loading-percentage {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .logo {
        width: 240px;
    }
    
    .loading-container {
        width: 280px;
    }
    
    .loading-bar {
        height: 40px;
    }
    
    .loading-text {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .loading-percentage {
        font-size: 0.9rem;
    }
}