@import url("style.css");

/* =====================================
   CONTAINER GERAL
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #131313;
}

.cadastro-container {
    width: 100%;
    min-height: 100vh;
    background: #131313;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* =====================================
   CARD CENTRAL
===================================== */
.cadastro {
    width: 100%;
    max-width: 600px;
    background: rgba(30, 30, 30, 0.92);
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

/* Efeito dourado suave atrás */
.cadastro::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: #bb8031;
    filter: blur(140px);
    opacity: 0.35;
    z-index: -1;
    animation: moveGold 6s infinite alternate ease-in-out;
}

@keyframes moveGold {
    from { transform: translate(0, 0); }
    to   { transform: translate(-40px, 40px); }
}

/* =====================================
   TÍTULO
===================================== */
.cadastro h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}

/* =====================================
   INPUTS
===================================== */
.input {
    width: 100%;
    padding: 14px;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    margin-bottom: 18px;
    transition: 0.3s ease;
}

/* Duas colunas por linha */
.input-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Inputs ocupam toda a linha */
.input-full {
    grid-column: 1 / 3;
}

/* Mobile: vira tudo 1 coluna */
@media (max-width: 600px) {
    .input-duo {
        grid-template-columns: 1fr !important;
    }

    .input-full {
        grid-column: 1 / 2 !important;
    }
}



/* =====================================
   LINKS
===================================== */
.cadastro p {
    color: #c5c5c5;
    margin: 10px 0;
}

.cadastro a {
    color: #bb8031;
    text-decoration: none;
    font-weight: 500;
}

.cadastro a:hover {
    text-decoration: underline;
}

/* =====================================
   BOTÃO DE CADASTRO
===================================== */
.btn-cadastro {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: #bb8031;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    color: #131313;
    transition: 0.3s ease;
    margin-top: 10px;
}

.btn-cadastro:hover {
    background: #d9a15a;
    transform: scale(1.03);
    box-shadow: 0 0 15px #bb8031;
}

/* =====================================
   RESPONSIVIDADE
===================================== */
@media (max-width: 600px) {
    
    .cadastro {
        padding: 30px;
    }

    .cadastro h2 {
        font-size: 28px;
    }

    .input-duo {
        flex-direction: column;
    }
}