/* Intro Overlay Styles */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 99999;
    /* Highest possible z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 1s ease-out;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Gradient Zoom Effect Container */
.intro-gradient-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    background: radial-gradient(circle at center,
            rgba(100, 200, 255, 0.6) 0%,
            rgba(66, 126, 234, 0.6) 20%,
            rgba(22, 51, 94, 0.8) 40%,
            rgba(15, 23, 42, 0.9) 70%,
            #000 100%);
    pointer-events: none;
}

/* Animation Classes */
.animate-zoom-in {
    animation: zoomGradient 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes zoomGradient {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: scale(5);
    }
}

.intro-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}