/* Page Reveal Overlay — top-to-bottom liquid curtain animation */
#page-reveal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999999;
    background: radial-gradient(circle at 50% 50%, #080e22 0%, #040714 70%, #02040b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -100%, 0);
    contain: layout paint style;
    isolation: isolate;
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-top: 2px solid rgba(0, 180, 216, 0.4);
    border-bottom: 2px solid rgba(213, 11, 82, 0.4);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

html.ad2n-transition-arrival-pending #page-reveal-overlay {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#page-reveal-overlay[aria-hidden="false"] {
    will-change: transform, opacity;
}

/* Logo container inside the curtain */
#page-reveal-orbit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
}

/* Logo centered inside the curtain */
#page-reveal-logo {
    position: relative;
    width: clamp(120px, 16vw, 190px);
    height: auto;
    z-index: 2;
    will-change: opacity;
    filter: drop-shadow(0 0 20px rgba(0, 180, 216, 0.4));
}



@media (max-width: 575.98px) {
    #page-reveal-orbit {
        width: 220px;
        height: 220px;
    }
}
