/* =========================================
   BASE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Fondo estilo mansión Luigi */
    background: radial-gradient(
        circle at top,
        #0b1b14,
        #050a08,
        #020403
    );

    overflow: hidden;
}

/* =========================================
   EFECTO ATMOSFÉRICO (niebla ligera)
========================================= */

body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: url("https://www.transparenttextures.com/patterns/foggy-birds.png");
    opacity: 0.05;
    animation: fogMove 60s linear infinite;
    pointer-events: none;
}

@keyframes fogMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-200px, -200px); }
}

/* =========================================
   CONTENEDOR
========================================= */

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.login-box {
    width: 360px;
    padding: 30px;

    background: rgba(10, 25, 18, 0.75);
    border: 1px solid rgba(120, 255, 180, 0.25);
    border-radius: 12px;

    box-shadow:
        0 0 20px rgba(0, 255, 120, 0.15),
        inset 0 0 10px rgba(0, 255, 120, 0.05);

    backdrop-filter: blur(10px);
    text-align: center;

    position: relative;
}

/* borde “fantasma” suave */
.login-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 255, 140, 0.1);
    pointer-events: none;
}

/* =========================================
   TEXTOS
========================================= */

.login-box h2 {
    color: #7CFFB2;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0,255,120,0.3);
}

.login-box p {
    color: #b7ffd7;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* =========================================
   INPUTS
========================================= */

.input-box {
    text-align: left;
    margin-bottom: 15px;
}

.input-box label {
    display: block;
    font-size: 12px;
    color: #9fffc8;
    margin-bottom: 5px;
}

.input-box input {
    width: 100%;
    padding: 10px;

    border: 1px solid rgba(120, 255, 180, 0.2);
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.4);
    color: #d7ffe8;

    outline: none;
    transition: 0.3s;
}

.input-box input:focus {
    border-color: #7CFFB2;
    box-shadow: 0 0 10px rgba(0,255,140,0.3);
}

/* =========================================
   BOTÓN
========================================= */

.btn-login {
    width: 100%;
    padding: 10px;

    margin-top: 10px;

    background: linear-gradient(90deg, #0f3, #0a8);
    border: none;
    border-radius: 8px;

    color: #001a10;
    font-weight: bold;
    cursor: pointer;

    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,255,120,0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0,255,120,0.4);
}

/* =========================================
   LINKS
========================================= */

.extra-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.extra-links a {
    font-size: 12px;
    color: #8fffc0;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.extra-links a:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0,255,120,0.3);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 420px) {
    .login-box {
        width: 90%;
        padding: 20px;
    }
}