@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400&family=Raleway:wght@400;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}
p{
    line-height: 1.5;
}
.box{
    z-index: 5;
    border-radius: 10px;
    max-width: 500px;
    background: rgb(8 8 7 / 70%);
    border: solid 2px #c39f59;
    box-shadow: #00000091 7px 6px 11px;
    backdrop-filter: blur(3px);
    padding: 20px;
    margin: auto;
    position: relative;
}

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

.welcome-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.welcome-container {
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    z-index: 1;
    background: rgb(8 8 7 / 70%);
    border: solid 2px #c39f59;
    box-shadow: #00000091 7px 6px 11px;
    backdrop-filter: blur(3px);
}

h1, h2, h3, h4 {
    font-family: "Libre Baskerville";
    font-weight: 300;
    color: #c39f59;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    color: #e3e5e7;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.5em;
}

button {
    background-color: #c39f59;
    color: #0A0A0A;
    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;
    font-family: 'Raleway';
}

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

form {
    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: 'Raleway', sans-serif;
}

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

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #1C1C1C;
    padding: 12px;
    margin: 5px 0;
    border-radius: 5px;
}
label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    color: #F5F5F5;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: left;
}
label:hover{
 background:#0303038a;
    padding-left:5px;
}

input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #c39f59;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

input[type="radio"]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #c39f59;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"]:checked + span {
    font-weight: bold;
    color: #c39f59;
}
#contador-palpite {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #c39f59;
    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;
}

#contador-palpite.completo {
    color: #cbd0ff !important;
}

button[name="confirmarPalpites"] {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    transition: 0.3s;
}

button[name="confirmarPalpites"].ativo {
    background-color: #c39f59;
    color: #0A0A0A;
    cursor: pointer;
    opacity: 1;
    pointer-events: all;
}
@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: rgb(8 8 7 / 70%);
    border: solid 2px #c39f59;
    box-shadow: #00000091 7px 6px 11px;
    backdrop-filter: blur(3px);
    border-radius: 10px;
    padding: 20px;
    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: #c39f59;
}

button:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

.mensagem-feedback {
    background-color: #e0d992;
    color: #0A0A0A;
    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;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confete, .brilho {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

.confete {
    background-image: url('img/confetes.png');
    z-index: 2;
    margin-top: 90px;
    width:90vw;
    left:5vw;
}

.brilho {
    background-image: url('img/brilhos.png');
    z-index: -2;
    width: 110vw;
    height: 110vh;
    left: -5vw;
}
.confete, .brilho {
    transition: transform 0.3s ease-out;
}
.confete {
    transform: translateZ(-1px) scale(2);
}
.casal{position: fixed;left: 0;bottom: 0;max-width: 15vw;max-height: 100vh;z-index: 2;}
.logo{position: relative;z-index: 10;object-fit: contain;bottom: 0px;width: 680px;max-width: 100vw;}