/* ====== INTRO OVERLAY ====== */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

#intro-overlay.fade-out {
    opacity: 0;
}

#intro-overlay.hidden {
    display: none !important;
}

#intro-text {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.35rem;
    color: rgba(200, 210, 240, 0);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    animation: introTextFade 3.5s ease forwards;
    text-shadow: 0 0 20px rgba(120, 160, 255, 0.3);
}

@keyframes introTextFade {
    0% {
        color: rgba(200, 210, 240, 0);
    }

    25% {
        color: rgba(200, 210, 240, 0.85);
    }

    75% {
        color: rgba(200, 210, 240, 0.85);
    }

    100% {
        color: rgba(200, 210, 240, 0);
    }
}

/* ====== SKIP BUTTON ====== */
#skip-intro {
    position: fixed;
    bottom: 28px;
    right: 32px;
    z-index: 600;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(200, 210, 240, 0.7);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    padding: 8px 20px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: skipFadeIn 1s 1s ease forwards;
}

#skip-intro:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(200, 210, 240, 1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.04);
}

@keyframes skipFadeIn {
    to {
        opacity: 1;
    }
}

/* ====== BETELGEUSE CTA ====== */
#betelgeuse-cta {
    position: fixed;
    z-index: 100;
    pointer-events: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.88rem;
    color: rgba(255, 180, 100, 0.95);
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(255, 136, 76, 0.4);
    opacity: 0;
    transition: opacity 0.6s ease;
}

#betelgeuse-cta.visible {
    opacity: 1;
}

#betelgeuse-cta .cta-char {
    display: inline-block;
    opacity: 0;
    animation: ctaCharReveal 0.04s ease forwards;
}

@keyframes ctaCharReveal {
    to {
        opacity: 1;
    }
}