/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    min-height:100vh;
    color:#fff;
    overflow-x:hidden;

    background:
    radial-gradient(circle at top,
    rgba(255,215,0,.18),
    transparent 30%),

    radial-gradient(circle at bottom,
    rgba(0,255,120,.12),
    transparent 40%),

    linear-gradient(
    180deg,
    #02130b 0%,
    #05311c 40%,
    #02130b 100%);
}

/* =========================
   LUZ DO ESTÁDIO
========================= */

body::before{
    content:"";

    position:fixed;

    top:-250px;
    left:50%;

    width:800px;
    height:800px;

    transform:translateX(-50%);

    background:
    radial-gradient(
    circle,
    rgba(255,255,255,.10),
    transparent 70%);

    pointer-events:none;

    animation:luz 8s ease-in-out infinite;
}

@keyframes luz{

    0%{
        opacity:.4;
        transform:translateX(-50%) scale(1);
    }

    50%{
        opacity:1;
        transform:translateX(-50%) scale(1.15);
    }

    100%{
        opacity:.4;
        transform:translateX(-50%) scale(1);
    }

}

/* =========================
   HERO
========================= */

.hero{
    padding:20px 15px 50px;
}

.container{
    max-width:550px;
    margin:auto;

    background:
    rgba(255,255,255,.08);

    backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:28px;

    padding:28px 22px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.45);
}

/* =========================
   TITULOS
========================= */

h1{
    text-align:center;
    font-size:2rem;
    font-weight:900;
    text-transform:uppercase;

    margin-bottom:10px;

    color:#fff;
}

h2{
    text-align:center;
    font-size:1rem;
    line-height:1.6;

    color:#d9f4df;

    margin-bottom:20px;
}

.subtitle{
    text-align:center;
    color:#c7d8cb;
    margin-bottom:25px;
}

/* =========================
   REGRAS
========================= */

.rules{

    background:
    linear-gradient(
    135deg,
    rgba(255,215,0,.10),
    rgba(255,255,255,.04));

    border:1px solid rgba(255,215,0,.15);

    border-radius:18px;

    padding:18px;

    margin-bottom:25px;
}

.rules h3{
    color:#ffd700;
    text-align:center;
    margin-bottom:12px;
}

.rules ul{
    list-style:none;
}

.rules li{
    line-height:1.6;
    margin-bottom:10px;
}

/* =========================
   FORMULÁRIO
========================= */

.campo{
    margin-bottom:18px;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#e7f3ea;
}

input{

    width:100%;

    height:58px;

    padding:0 15px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.15);

    background:
    rgba(255,255,255,.08);

    color:white;

    font-size:16px;

    outline:none;

    transition:.3s;
}

input::placeholder{
    color:#9eb2a2;
}

input:focus{

    border-color:#ffd700;

    box-shadow:
    0 0 20px rgba(255,215,0,.25);
}

/* =========================
   PLACAR
========================= */

.placar{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin:30px 0;
}

.time{
    text-align:center;
}

.time img{

    width:90px;
    height:90px;

    object-fit:cover;

    border-radius:50%;

    background:white;

    border:4px solid rgba(255,255,255,.15);

    margin-bottom:12px;
}

.time h4{
    margin-bottom:12px;
}

/* PLACAR GIGANTE */

.time input{

    width:90px;
    height:90px;

    text-align:center;

    font-size:42px;

    font-weight:900;

    border-radius:22px;

    padding:0;

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.12),
    rgba(255,255,255,.05));

    color:white;
}

/* Remove setas do Chrome */

.time input::-webkit-outer-spin-button,
.time input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

/* Remove setas Firefox */

.time input[type=number]{
    appearance: textfield;
}

/* X */

.versus{

    font-size:2rem;

    font-weight:900;

    color:#ffd700;

    margin-top:35px;
}

/* =========================
   TELEFONE
========================= */

.telefone{
    display:flex;
    gap:8px;
    margin-bottom:20px;
}

.fixo{
    width:75px;
    text-align:center;
}

#ddd{
    width:80px;
    text-align:center;
}

#celular{
    flex:1;
}

/* =========================
   BOTÃO
========================= */

button{

    width:100%;

    height:65px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    font-size:1.05rem;

    font-weight:800;

    color:#04200d;

    background:
    linear-gradient(
    135deg,
    #ffe600,
    #ffd000,
    #ffb700);

    box-shadow:
    0 10px 30px rgba(255,215,0,.35);

    transition:.3s;

    margin-top:10px;
}

button:hover{

    transform:translateY(-3px);

    box-shadow:
    0 18px 40px rgba(255,215,0,.45);
}

button:active{
    transform:scale(.98);
}

/* =========================
   LOADING
========================= */

#loadingSection, #cadastradocomsucesso, #jacadastrado {

    display:flex;

    position:fixed;

    inset:0;

    background:
    rgba(0,0,0,.92);

    z-index:9999;

    justify-content:center;
    align-items:center;
}

.loading-card{
    text-align:center;
    padding:30px;
}

.loading-card h2{
    margin-top:20px;
    margin-bottom:10px;
}

.loading-card p{
    color:#d0d0d0;
}

/* =========================
   BOLA GIRANDO
========================= */

.bola{

    width:90px;
    height:90px;

    border-radius:50%;

    background-image:url("https://upload.wikimedia.org/wikipedia/commons/d/d3/Soccerball.svg");

    background-size:cover;

    animation:girar 1s linear infinite;
}

@keyframes girar{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:480px){

    h1{
        font-size:1.7rem;
    }

    h2{
        font-size:.95rem;
    }

    .time img{
        width:75px;
        height:75px;
    }

    .time input{
        width:80px;
        height:80px;
        font-size:38px;
    }

    .versus{
        font-size:1.5rem;
    }

}
/* =========================
   BOLA DO TÍTULO PRINCIPAL
========================= */

.bola-titulo{

    display:inline-block;

    animation:girar 1s linear infinite;

    margin-right:10px;

}

/* =========================
   RODAPÉ FIXO
========================= */

.rodape-planilhas{

    position:fixed;

    bottom:0;
    left:0;

    width:100%;

    padding:12px 15px;

    background:
    rgba(0,0,0,.92);

    backdrop-filter:blur(10px);

    border-top:
    1px solid rgba(255,215,0,.25);

    text-align:center;

    font-size:.82rem;

    line-height:1.4;

    color:#ffffff;

    z-index:999;

}

.rodape-planilhas strong{

    color:#ffd700;

}