/* Aplicando a fonte Nunito (arredondada) ao corpo */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #44AB4E; /* TOM DE VERDE DO FUNDO */
    overflow: hidden; 
}

/* ------------------------------------- */
/* ESTILOS DA SPLASH SCREEN */
/* ------------------------------------- */
.splash-screen {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #44AB4E; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white; 
    z-index: 9999; 
    transition: opacity 0.5s ease-out; 
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    max-width: 250px; 
    height: auto;
}

.loading-indicator {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px; 
}

.loading-indicator .fa-circle-notch {
    font-size: 1.5em;
}

/* ------------------------------------- */
/* ESTILOS DO MODAL DE PARABÉNS */
/* ------------------------------------- */
.modal-hidden {
    display: none; 
}

.background-green {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Container do Modal (Pop-up) */
.modal-container {
    width: 100%;
    max-width: 400px; 
    background-color: #f0fff5; /* Branco levemente esverdeado */
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Seção para a imagem do laço no topo */
.laco-header {
    width: 100%;
    height: 150px; 
    background-image: url('../images/laco.webp'); 
    background-size: cover; 
    background-position: center top; 
    background-repeat: no-repeat;
    border-top-left-radius: 10px; 
    border-top-right-radius: 10px;
    position: relative; 
    z-index: 1; 
}

/* Conteúdo de Texto dentro do Modal */
.text-content {
    padding: 30px 20px 20px; 
    padding-top: 20px; 
}

h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.subtitle, .license-text, .action-text {
    font-size: 1.1em;
    color: #555;
    margin-top: 0;
}

/* Valor do Prêmio em destaque */
.prize-value {
    font-size: 3em;
    font-weight: 700;
    color: #44AB4E; 
    margin: 10px 0;
}

.action-text {
    margin-bottom: 25px;
}

/* Botão "Começar" */
.start-button {
    background-color: #5CBC59; 
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s;
    width: 80%; 
    display: block;
    margin-left: auto;
    margin-right: auto;

    /* ANIMAÇÃO DE PULSAÇÃO AQUI */
    animation: pulse 1.5s infinite; 
}

.start-button:hover {
    background-color: #4a9e48; 
    animation: none; /* Para parar a pulsação no hover */
}

/* Definição da Animação de Pulsação */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 188, 89, 0.7); /* Cor do botão com transparência */
    }
    70% {
        transform: scale(1.05); /* Aumenta um pouco */
        box-shadow: 0 0 0 15px rgba(92, 188, 89, 0); /* Sombra que se expande e some */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 188, 89, 0);
    }
}


/* Ajustes responsivos para telas menores */
@media (max-width: 600px) {
    .background-green {
        align-items: flex-start;
        padding-top: 50px;
    }
    
    .modal-container {
        margin-top: 0;
    }

    .laco-header {
        height: 100px; 
    }
    
    .logo img {
        max-width: 200px; 
    }
}