
/* ==============================
   RESET GENERAL
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #050914;
    color: #fff;
    overflow: hidden;
}

/* ==============================
   PANTALLA PRINCIPAL
============================== */

#maintenance {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(circle at 50% 40%, #10213c 0%, #080f20 45%, #030711 100%);

    overflow: hidden;
    z-index: 9999;
}

/* ==============================
   FONDO ANIMADO
============================== */

.background-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 217, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.035) 1px, transparent 1px);

    background-size: 45px 45px;

    mask-image: linear-gradient(to bottom, black, transparent);
}

.glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: floating 8s ease-in-out infinite alternate;
}

.glow-one {
    background: #00d9ff;
    top: -150px;
    left: -100px;
}

.glow-two {
    background: #0055ff;
    bottom: -150px;
    right: -100px;
    animation-delay: 2s;
}

@keyframes floating {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(80px, 50px);
    }
}

/* ==============================
   CONTENEDOR
============================== */

.maintenance-container {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 650px;

    text-align: center;

    padding: 35px 25px;

    animation: appear 1s ease forwards;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   LOGO
============================== */

.logo {
    margin-bottom: 30px;
}

.logo img {
    width: 105px;
    max-width: 40%;
    height: auto;
    object-fit: contain;

    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.2));
}

/* ==============================
   ICONO ANIMADO
============================== */

.icon-container {
    position: relative;

    width: 115px;
    height: 115px;

    margin: 0 auto 35px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 85px;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 217, 255, 0.08);

    border: 1px solid rgba(0, 217, 255, 0.5);

    box-shadow:
        0 0 25px rgba(0, 217, 255, 0.15),
        inset 0 0 20px rgba(0, 217, 255, 0.08);

    animation: pulse 2s infinite;
}

.icon-circle i {
    font-size: 35px;
    color: #00d9ff;
    animation: rotate 5s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.4);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ÓRBITAS */

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 50%;
}

.orbit-one {
    width: 105px;
    height: 105px;
    animation: rotate 8s linear infinite;
}

.orbit-two {
    width: 125px;
    height: 125px;
    border-style: dashed;
    animation: rotate 15s linear infinite reverse;
}

/* ==============================
   ESTADO
============================== */

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 16px;

    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 30px;

    background: rgba(0, 217, 255, 0.06);

    color: #00d9ff;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;

    margin-bottom: 25px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #00d9ff;

    box-shadow: 0 0 10px #00d9ff;

    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.2;
    }
}

/* ==============================
   TÍTULO
============================== */

h1 {
    font-size: clamp(35px, 6vw, 55px);
    line-height: 1.15;
    font-weight: 800;

    color: #fff;

    margin-bottom: 20px;

    letter-spacing: -1.5px;
}

h1 span {
    color: #00d9ff;

    text-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
}

/* ==============================
   DESCRIPCIÓN
============================== */

.description {
    max-width: 480px;

    margin: 0 auto;

    color: #aab8cc;

    font-size: 15px;
    line-height: 1.8;
}

/* ==============================
   SEPARADOR
============================== */

.separator {
    width: 65px;
    height: 3px;

    margin: 30px auto;

    background: #00d9ff;

    border-radius: 10px;

    box-shadow: 0 0 15px #00d9ff;
}

/* ==============================
   PROGRESO
============================== */

.progress-info {
    display: flex;
    justify-content: space-between;

    max-width: 400px;

    margin: 0 auto 12px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;

    color: #899bb5;
}

.progress-percent {
    color: #00d9ff;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 5px;

    margin: 0 auto;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;

    background: linear-gradient(
        90deg,
        #0077ff,
        #00d9ff
    );

    border-radius: 10px;

    box-shadow: 0 0 15px #00d9ff;

    animation: progress 3s ease-in-out infinite alternate;
}

@keyframes progress {
    from {
        width: 25%;
    }

    to {
        width: 75%;
    }
}

/* ==============================
   MENSAJE FINAL
============================== */

.footer-message {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 35px;

    color: #aab8cc;

    font-size: 13px;
}

.footer-message i {
    color: #00d9ff;
}

/* ==============================
   COPYRIGHT
============================== */

.copyright {
    margin-top: 35px;

    color: #52627a;

    font-size: 11px;
    letter-spacing: 1px;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 600px) {

    .maintenance-container {
        width: 95%;
        padding: 20px 12px;
    }

    .logo {
        margin-bottom: 25px;
    }

    .logo img {
        width: 85px;
    }

    .icon-container {
        margin-bottom: 30px;
    }

    h1 {
        font-size: 36px;
    }

    .description {
        font-size: 13px;
    }

    .status {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .progress-info {
        font-size: 8px;
    }

    .footer-message {
        font-size: 11px;
        flex-wrap: wrap;
    }

    .copyright {
        font-size: 10px;
    }
}

@media (max-height: 700px) {
    .maintenance-container {
        transform: scale(0.85);
    }

    .maintenance-container {
        animation: none;
    }
}
