/* assets/css/mantenimiento.css */

body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Cambiado para permitir que crezca */
    font-family: 'Montserrat', sans-serif;
    background-color: #0b1116; /* Fondo ultra oscuro */
    color: #ffffff;
    /* Cambiado: permite scroll vertical pero esconde el horizontal */
    overflow-x: hidden; 
    overflow-y: auto;
}

/* Luces Ambientales Animadas */
.bg-overlay {
    position: fixed; /* Cambiado a fixed para que el fondo no se corte al scrolear */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a2530 0%, #060a0d 100%);
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(91, 127, 157, 0.15); /* Azul Piastrelini */
    border-radius: 50%;
    filter: blur(120px);
    animation: drift 25s infinite alternate ease-in-out;
}

.bg-overlay::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(192, 16, 23, 0.12); /* Rojo Piastrelini */
    border-radius: 50%;
    filter: blur(120px);
    animation: drift 20s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(15%, 15%); }
}

/* Contenedor Principal */
.mantenimiento-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Cambiado para adaptarse al celular */
    padding: 20px;
    box-sizing: border-box; /* Asegura que el padding no rompa el ancho */
    z-index: 1;
    position: relative;
}

/* Efecto Vidrio (Glassmorphism) */
.glass-card {
    background: rgba(20, 25, 32, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.logo-wow {
    max-width: 220px;
    margin-bottom: 35px;
    border-radius: 10px;
}

.title-wow {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    line-height: 1.2;
}

.highlight {
    color: #c01017; /* Rojo Marca */
}

.subtitle-wow {
    font-size: 15px;
    font-weight: 300;
    color: #9fb3c8;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Redes Sociales */
.social-wow {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-wow a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-wow a:hover {
    background: #c01017;
    transform: translateY(-5px);
    border-color: #c01017;
    box-shadow: 0 10px 20px rgba(192, 16, 23, 0.4);
}

/* Zona Secreta */
.secret-zone {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.btn-lock {
    background: transparent;
    border: none;
    color: #5B7F9D;
    cursor: pointer;
    opacity: 0.4;
    transition: 0.3s;
    padding: 10px;
}

.btn-lock:hover {
    opacity: 1;
    color: #ffffff;
    transform: scale(1.1);
}

/* Formulario */
.form-secreto {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-secreto:not(.hidden) {
    max-height: 300px;
    opacity: 1;
    margin-top: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.form-secreto input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 15px;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    /* ESTA ES LA CLAVE PARA EVITAR EL ZOOM EN MOVILES: 16px */
    font-size: 16px; 
    outline: none;
    transition: 0.3s;
    text-align: center;
}

.form-secreto input:focus {
    border-color: #5B7F9D;
    box-shadow: 0 0 15px rgba(91, 127, 157, 0.3);
}

.form-secreto input::placeholder {
    color: #666;
    letter-spacing: 1px;
}

.form-secreto button {
    width: 100%;
    background: #5B7F9D;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    font-size: 13px;
}

.form-secreto button:hover {
    background: #4a6a84;
    box-shadow: 0 5px 15px rgba(91, 127, 157, 0.4);
}

.error-msg {
    color: #ff4757;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    display: none;
}

/* =========================================
   REGLAS PARA CELULARES (DISEÑO RESPONSIVO)
   ========================================= */
@media (max-width: 600px) {
    .glass-card {
        padding: 40px 25px; /* Achicamos los costados */
        border-radius: 15px;
    }

    .title-wow {
        font-size: 24px; /* Letra un poco más chica para que entre bien */
    }

    .subtitle-wow {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .logo-wow {
        max-width: 170px;
        margin-bottom: 25px;
    }
}