body{
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(270deg, #e1a809c4, #040404, #040200, #ce9103d2);
    background-size: 400% 400%;

    animation: moverFondo 10s ease infinite;
    font-size: 14px;
    overflow-x: hidden;
    color: #d0ae04;
}

@keyframes moverFondo {
    0% {
    background-position: 10% 30%;
    }
    30%{
    background-position: 50% 50%;
    }
    50% {
    background-position: 80% 50%;
    }
    90% {
    background-position: 50% 50%;
    }
    100% {
    background-position: 10% 30%;
    }
}

.caja1{

    width: 300px;
    
    background-color: #040200;
    padding: 30px;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 70px auto;
    border-color: solid 1px #e8700e ;
    box-shadow: 0px 0px 10px #e8ae0e, inset 1px 1px 10px #e8ae0e;
    
    
}


.error-msg {
    color: #ff3333;
    font-size: 12px;
    display: none;
    margin-top: -5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.input-error {
    border: 1.5px solid #ff3333 !important;
}

/* Asegura que el overlay se centre en pantalla si se activa */
.overlay {
    display: none; /* El JS lo cambia a 'flex' al abrir */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.linki{
    margin-top: 8px;
    color: #e8ae0e;
    text-align: center;
    display: block;
}

input{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: transparent;
    border-bottom: #e8ae0e80 1px solid;
    color : #d0ae04;
}

.acepto_terminos{
    color : #ded6b1c6;
    margin-top: 15px;
    display: flex;
    align-items: center  ;
    gap: 8px;
}

.palomita{
    width: 15px;
    height: 15px;
    border: 1px solid #e8ae0e80;
    border-radius: 3px;
    accent-color: #040200;
    cursor: pointer;

}

input[type="checkbox"]{
    
    background-color: transparent;
    position: relative;
    Cursor: pointer;
    background: #040200;
    box-shadow: 0 0 5px #e8ae0e80;
}


button{
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #e8ae0ead;
    color: #040200;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;

}

.encabezado{
    text-align: center;
    margin-bottom: 20px;
    padding: 5px;
    padding: auto;
    color: #e8ae0e;
    font-size: 1.5em;
    text-transform: uppercase;
    box-shadow:  0 0 10px #e8ae0e;
    border-radius: 9px;
}
/* =========================================
FONDO OSCURO / BORROSO
========================================= */

.overlay{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    backdrop-filter: blur(5px);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 1000;
}



.modal{

    width: 350px;

   background: linear-gradient(270deg, #e1a809c4, #d8bf62, #f3c624, #ce9103d2);

    padding: 30px;

    border-radius: 20px;
    color : #040200;
    text-align: center;

    animation: aparecerModal 0.3s ease;
}

/* TITULO */

.modal h2{

    margin-bottom: 15px;

    color: red;
    box-shadow: 0 0 10px red;
}


/* TEXTO */

.modal p{

    margin-bottom: 20px;
}


/* BOTON */

.modal button{

    padding: 10px 20px;

    border: #d8bf62 solid 1px;

    border-radius: 10px;
    color: #d0ae04;
    cursor: pointer;
    background-color: #040200;
    box-shadow: 0 0 10px #e8ae0e;
}



@keyframes aparecerModal{

    from{

        opacity: 0;

        transform: scale(0.8);

    }

    to{

        opacity: 1;

        transform: scale(1);

    }
}