body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #050508; /* Deep cosmic void */
    font-family: 'Outfit', sans-serif;
}

#fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050508;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s ease-in-out;
}

#fade-overlay.active {
    opacity: 1;
    pointer-events: all;
}

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

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#tagline {
    position: absolute;
    bottom: 15%;
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.5rem;
    opacity: 0; /* Hidden initially, GSAP will fade it in */
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(100, 150, 255, 0.8);
}
/* RESPONSIVE SCALING */
@media screen and (max-width: 768px) {
    #tagline {
        font-size: 0.9rem;
        letter-spacing: 0.2rem;
        bottom: 20%;
    }
}

@media screen and (max-width: 480px) {
    #tagline {
        font-size: 0.7rem;
        letter-spacing: 0.1rem;
    }
}
