*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #09aaf5, #184dfd);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Animación de fondo suave */
body::before{
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #0cdaf5, #57fcfc, #35f796);
    animation: fondoAnimado 8s infinite linear;
    z-index: -1;
    opacity: 0.4;
}

@keyframes fondoAnimado{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

.container{
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: aparecer 0.8s ease;
    transition: transform 0.3s ease;
}

.container:hover{
    transform: translateY(-5px);
}

h1{
    text-align: center;
    color: #04e8af;
    margin-bottom: 5px;
}

h2{
    text-align: center;
    margin-bottom: 20px;
    font-weight: normal;
    color: #555;
}

label{
    font-weight: bold;
    display: block;
    margin-top: 15px;
    font-size: 14px;
}

input, select{
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: 0.3s;
    font-size: 14px;
}

input:focus, select:focus{
    border-color: #04bae8;
    outline: none;
    box-shadow: 0 0 8px rgba(232,93,4,0.3);
}

button{
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    background: linear-gradient(135deg, #04d9e8, #54ffe2);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
}

button:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Animación entrada */
@keyframes aparecer{
    from{
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 📱 Ajustes específicos para teléfonos pequeños */
@media (max-width: 480px){
    .container{
        padding: 20px;
        border-radius: 15px;
    }

    h1{
        font-size: 20px;
    }

    h2{
        font-size: 14px;
    }

    button{
        font-size: 14px;
    }
}