/* ==========================================================================
   1. HELIX & JOOMLA RESET (Forces full-screen black background)
   ========================================================================== */
html, body, #sp-main-body, .body-innerwrapper {
    background-color: #000 !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100% !important;
    width: 100% !important;
}

/* Hide Helix UI elements that might clutter the coming soon page */
#sp-header, #sp-footer, .sp-coming-soon-page footer, #sp-bottom {
    display: none !important;
}

/* ==========================================================================
   2. UVNEXUS HEADER + SWEEP MOTION
   ========================================================================== */
.uvnexus-header {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 9999;
    pointer-events: none;
    animation: uvnexusSweep 6s ease-in-out infinite;
}

@keyframes uvnexusSweep {
    0%   { transform: translateX(-50%) translateX(-100px); }
    50%  { transform: translateX(-50%) translateX(100px); }
    100% { transform: translateX(-50%) translateX(-100px); }
}

.uvnexus-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #8a2be2;
    display: block;
    text-transform: uppercase;
}

/* ==========================================================================
   3. UNDERBAR + SHINE + PULSE
   ========================================================================== */
.uvnexus-glow {
    display: block;
    width: 220px;
    height: 6px;
    margin: 10px auto 0 auto;
    background: #8a2be2;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px #8a2be2, 0 0 40px #8a2be2;
    animation: uvBarPulse 3s ease-in-out infinite;
}

.uvnexus-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    filter: blur(6px);
    animation: uvSweep 3.5s ease-in-out infinite;
}

@keyframes uvSweep {
    0% { left: -40%; }
    50% { left: 110%; }
    100% { left: -40%; }
}

@keyframes uvBarPulse {
    0%, 100% { box-shadow: 0 0 20px #8a2be2, 0 0 40px #8a2be2; }
    50%      { box-shadow: 0 0 35px #8a2be2, 0 0 70px #8a2be2; }
}

/* ==========================================================================
   4. CONTENT DROP-IN & PRINTED SHEET
   ========================================================================== */
.coming-soon-content {
    position: relative;
    opacity: 0;
    transform: translateY(-120px);
    animation: dropInPrint 1.8s ease-out forwards;
    animation-delay: 1s;
    text-align: center;
    color: #fff;
    z-index: 10;
}

@keyframes dropInPrint {
    0%   { opacity: 0; transform: translateY(-120px); }
    40%  { opacity: 1; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.printed-sheet {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%) translateY(-200px);
    opacity: 0;
    z-index: 5;

    /* Drop + Glow start at the same moment */
    animation: sheetDrop 3.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    animation-delay: 1.2s;
}

.printed-sheet img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;

    /* Glow begins DURING the drop */
    will-change: filter;
    filter: drop-shadow(0 0 25px #8a2be2);
    animation: uvPulseGlow 4s ease-in-out infinite;
    animation-delay: 1.2s; /* PERFECT sync with sheetDrop */
}

@keyframes sheetDrop {
    0%   { opacity: 0; transform: translateX(-50%) translateY(-200px); }
    40%  { opacity: 1; }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes uvPulseGlow {
    0%, 100% { filter: drop-shadow(0 0 25px #8a2be2) drop-shadow(0 0 5px #ffffff44); }
    50%      { filter: drop-shadow(0 0 45px #8a2be2) drop-shadow(0 0 15px #ffffff77); }
}

/* ==========================================================================
   5. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    .uvnexus-text { font-size: 36px; letter-spacing: 2px; }
    .uvnexus-glow { width: 140px; }
    .uvnexus-header { top: 20px; }
    .printed-sheet img { max-width: 85vw; }

    @keyframes uvnexusSweep {
        0%, 100% { transform: translateX(-50%) translateX(-30px); }
        50%      { transform: translateX(-50%) translateX(30px); }
    }
}