@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #0f0c29;
}

canvas#background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: rgba(0,0,0,0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 50px #00fff7, 0 0 100px #00fff7 inset;
    text-align: center;
    width: 350px;
    animation: fadeIn 1.5s ease-out;
}

.login-card h1 {
    color: #00fff7;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #00fff7;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #00fff7;
    margin-bottom: 5px;
    font-size: 14px;
    text-shadow: 0 0 8px #00fff7;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #00fff7;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 10px #00fff7;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    box-shadow: 0 0 25px #00fff7, 0 0 40px #00fff7 inset;
    background: rgba(255,255,255,0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #00fff7;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 0 30px #00fff7;
}

.btn-login:hover {
    background: #00cfcf;
    box-shadow: 0 0 40px #00fff7, 0 0 60px #00fff7 inset;
}

.footer-text {
    color: #00fff7;
    font-size: 12px;
    margin-top: 20px;
}

@keyframes fadeIn {
    0% {opacity: 0; transform: translateY(-20px);}
    100% {opacity: 1; transform: translateY(0);}
}

/* Animación shake para errores */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}
