/* ======= Importação de Fontes ======= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Roboto+Condensed:wght@400;700&display=swap');

/* ======= Estilo Global ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}
.box{
    z-index: 2;
    background: #070301d9;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    margin: auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    background: #0A0A0A;
    color: #F5F5F5;
    background: url('img/bg.jpg') no-repeat center center/cover;
    min-height: 100vh;
}

/* ====== Estilizando a Tela de Boas-Vindas ====== */
.welcome-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.welcome-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    z-index: 1;
}

/* ======= Títulos ======= */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #D4AF37; /* Dourado */
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.5em;
}

/* ======= Botões ======= */
button {
    background-color: #D4AF37; /* Dourado */
    color: #0A0A0A; /* Contraste elegante */
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    transition: 0.3s ease-in-out;
}

button:hover {
    background-color: #B8860B;
    transform: scale(1.05);
}

/* ======= Formulários ======= */
form {
    background-color: #0e0e0e59;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    margin: auto;
}

input, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Roboto Condensed', sans-serif;
}

input:focus, select:focus {
    outline: 2px solid #D4AF37;
}

/* ======= Listas e Itens ======= */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #1C1C1C;
    padding: 12px;
    margin: 5px 0;
    border-radius: 5px;
}
/* ====== Estilizando os Radio Buttons ====== */
label {
    display: flex;
    align-items: center; /* Alinha o radio e o texto na mesma linha */
    gap: 10px; /* Espaçamento entre o radio e o texto */
    font-size: 1.2em;
    color: #F5F5F5; /* Texto branco padrão */
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: left;
}

/* Escondendo o radio padrão */
input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #D4AF37; /* Borda dourada */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

/* Criando o efeito visual do radio */
input[type="radio"]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #D4AF37; /* Dourado quando selecionado */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Destacando o texto da opção selecionada */
input[type="radio"]:checked + span {
    font-weight: bold;
    color: #D4AF37; /* Dourado */
}
/* ====== Caixa Flutuante do Contador ====== */
#contador-palpite {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #D4AF37; /* Dourado */
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Quando todas as categorias forem preenchidas */
#contador-palpite.completo {
    color: #00FF00 !important; /* Verde quando 23/23 */
}

/* Botão desativado */
button[name="confirmarPalpites"] {
    background-color: #555; /* Cinza escuro quando desativado */
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    transition: 0.3s;
}

/* Quando os palpites estiverem completos, o botão fica ativo */
button[name="confirmarPalpites"].ativo {
    background-color: #D4AF37; /* Dourado */
    color: #0A0A0A; /* Preto */
    cursor: pointer;
    opacity: 1;
    pointer-events: all;
}


/* ======= Responsividade ======= */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    form {
        width: 100%;
    }
    .logo {
        bottom: -40px!important;
        margin: -10px!important;
    }    
    .casal {
    
    max-width: 70vw!important;
    max-height: 30vh!important;
}
    
}

.regulamento-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.regulamento-container {
    width: 80%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    z-index:1
}

.regulamento-box {
    background: #1C1C1C;
    padding: 15px;
    max-height: 300px;
    overflow-y: scroll;
    border-radius: 5px;
    text-align: left;
}

.termos {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #D4AF37;
}

/* ====== Botão Desativado ====== */
button:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ====== Estilizando a Caixa de Feedback ====== */
.mensagem-feedback {
    background-color: #B8860B; /* Dourado escuro */
    color: #0A0A0A; /* Preto */
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    animation: fadeIn 0.5s ease-in-out;
}

/* Efeito de animação para feedback */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confete, .brilho {
    position: fixed; /* Fixa as divs na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Coloca as divs atrás do conteúdo */
    pointer-events: none; /* Permite interação com elementos abaixo */
    background-size: cover; /* Ajusta a imagem ao tamanho da div */
}

.confete {
    background-image: url('img/confetes.png');
    z-index: 2; /* Camada inferior */
}

.brilho {
    background-image: url('img/brilhos.png');
     /* Efeito de sobreposição */
    z-index: -2; /* Camada superior */
    width: 100vw;
    height: 100vh;
}
.confete, .brilho {
    transition: transform 0.3s ease-out;
}
.confete {
    transform: translateZ(-1px) scale(2); /* Efeito 3D */
}
.casal{position: fixed;left: 0;bottom: 0;max-width: 30vw;max-height: 50vh;}
.logo{position: relative;z-index: -1;object-fit: contain;bottom: -110px;width: 690px;max-width: 100vw;}