/* ==========================================================================
   DiegoFX Studio - HOJA DE ESTILOS DE MANTENIMIENTO
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    cursor: auto;
}

body {
    height: 100vh;
    color: white;
    background-color: #000000;
    overflow: hidden;
    position: relative;
}

/* --- CURSOR PERSONALIZADO --- */
.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px 2px rgba(0, 85, 255, 0.6);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* ==========================================================================
   FONDO ANIMADO GLOBAL (AURORA & ORBES)
   ========================================================================== */
.aurora-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: contrast(120%) brightness(110%);
    background-color: #000000;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.orb-wrapper {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: auroraMorph 7s infinite alternate ease-in-out;
    z-index: 1;
}

.aurora-orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: wiggle 10s infinite ease-in-out;
}

.wrap-1 {
    width: 60vw;
    height: 60vh;
    top: -15%;
    left: -5%;
}

.orb-1 {
    background: #011d53;
}

.wrap-2 {
    width: 45vw;
    height: 45vh;
    bottom: -10%;
    right: -10%;
    animation-delay: -2s;
}

.orb-2 {
    background: #011d53;
    animation-delay: -3s;
}

.wrap-3 {
    width: 50vw;
    height: 50vh;
    top: 30%;
    left: 25%;
    animation-delay: -4s;
    opacity: 0.4;
}

.orb-3 {
    background: #002060;
    animation-delay: -5s;
}

@keyframes auroraMorph {
    0% {
        transform: translate(0, 0) scale(1);
        border-radius: 50%;
    }

    33% {
        transform: translate(5vw, 5vh) scale(1.2, 0.8);
        border-radius: 40% 60% 50% 50%;
    }

    66% {
        transform: translate(-5vw, -5vh) scale(0.8, 1.2);
        border-radius: 60% 40% 30% 70%;
    }

    100% {
        transform: translate(2vw, -2vh) scale(1.1, 0.9);
        border-radius: 50% 50% 60% 40%;
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-20px, 15px);
    }

    50% {
        transform: translate(15px, -20px);
    }

    75% {
        transform: translate(-15px, 20px);
    }
}

/* ==========================================================================
   PÁGINA DE MANTENIMIENTO / PRÓXIMAMENTE
   ========================================================================== */
.maintenance-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 100;
    width: 90%;
    max-width: 1400px;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 820px;
    animation: logoEnter 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.maintenance-logo {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 85, 255, 0.5));
}

/* Efecto de destello de luz (Light Sweep) adaptado a la silueta del logo con tono azul de marca */
.logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(110deg,
            rgba(0, 85, 255, 0) 15%,
            rgba(0, 162, 255, 0.6) 35%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(0, 162, 255, 0.6) 65%,
            rgba(0, 85, 255, 0) 85%);
    background-size: 350px 100%;
    background-repeat: no-repeat;
    background-position: -350px 0;
    pointer-events: none;
    mix-blend-mode: screen;

    /* Enmascara el destello de forma segura usando propiedades longhand */
    -webkit-mask-image: url('img/logo-dfx.png');
    mask-image: url('img/logo-dfx.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    animation: lightSweep 6s infinite linear;
    animation-delay: 1.8s;
}

.maintenance-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgb(252, 250, 250);
    letter-spacing: 14px;
    text-transform: uppercase;
    margin-top: 35px;
    padding-left: 14px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.char {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5);
    filter: blur(12px);
    animation: charFadeIn 2.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes logoEnter {
    0% {
        opacity: 0;
        transform: scale(0.75);
        filter: blur(15px) drop-shadow(0 0 0 rgba(0, 85, 255, 0));
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) drop-shadow(0 0 35px rgba(0, 85, 255, 0.5));
    }
}

@keyframes charFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(12px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lightSweep {
    0% {
        background-position: -350px 0;
    }

    30% {
        background-position: calc(100% + 350px) 0;
    }

    100% {
        background-position: calc(100% + 350px) 0;
    }
}

/* --- FOOTER GLASSMORPHISM --- */
.glass-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 85, 255, 0.15);
    z-index: 10;
}

.glass-footer p {
    color: #888;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
}