/* Intro Animation */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    overflow: hidden;
}

.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.intro-logo {
    width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0;
    transform: scale(0.5);
    animation: logoEntrance 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-line {
    width: 0;
    height: 2px;
    background: var(--primary-light);
    margin: 20px auto;
    animation: lineGrow 0.8s ease-out 1s forwards;
}

.intro-text {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeUp 0.8s ease-out 1.5s forwards;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.intro-hashtag {
    color: var(--primary-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeUp 0.8s ease-out 2s forwards;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Background particles or effect */
.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lineGrow {
    0% {
        width: 0;
    }

    100% {
        width: 150px;
    }
}

@keyframes textFadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}