* { box-sizing: border-box; margin:0; padding:0; font-family: 'Arial', sans-serif; }

body {
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: backgroundShift 10s infinite alternate;
}

@keyframes backgroundShift {
    0% {background-position:0% 50%;}
    100% {background-position:100% 50%;}
}

.container {
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    width: 350px;
    position: relative;
    text-align: center;
}

.logo {
    width: 300px;
    height: 100px;
    margin: 0 auto 0px;
    background: url('/principal/img/logoTheOchoWorld.webp') no-repeat center/contain;
    animation: floatLogo 3s ease-in-out infinite alternate;
}

@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(-3deg); }
    100% { transform: translateY(-15px) rotate(3deg); }
}

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    box-shadow: 0 0 10px #ff4e50;
    transform: scale(1.05);
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(45deg,#36d1dc,#5b86e5);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
}

button:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0; top:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {opacity:0;}
    to {opacity:1;}
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity:0; }
    100% { transform: scale(1); opacity:1; }
}
