/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: #A855F7;
    border-radius: 50%;
    animation: drift linear infinite;
    box-shadow:
        0 0 10px rgba(99,102,241,0.45),
        0 0 20px rgba(168,85,247,0.30);
}

@keyframes drift {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* Fade In Up Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation delays for phase cards */
.phase-card:nth-child(1) { animation-delay: 0.1s; }
.phase-card:nth-child(2) { animation-delay: 0.3s; }
.phase-card:nth-child(3) { animation-delay: 0.5s; }
.phase-card:nth-child(4) { animation-delay: 0.7s; }

/* Pulse animation for CTA button */
@keyframes pulse {
    0%, 100% {
        box-shadow:
            0 6px 25px rgba(99,102,241,0.28),
            0 0 35px rgba(168,85,247,0.18);
    }

    50% {
        box-shadow:
            0 10px 35px rgba(99,102,241,0.40),
            0 0 55px rgba(236,72,153,0.28);
    }
}

.btn-gold {
    animation: pulse 3s ease-in-out infinite;
}

/* Smooth reveal for About section */
.about {
    animation: revealSection 1s ease forwards;
}

@keyframes revealSection {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero text animation */
.hero-title {
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    animation: heroFadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    animation: heroFadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* Glow effect for logo */
@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(168,85,247,0.35));
    }

    50% {
        filter:
            drop-shadow(0 0 20px rgba(99,102,241,0.40))
            drop-shadow(0 0 35px rgba(236,72,153,0.25));
    }
}

.logo-container img {
    animation: logoGlow 4s ease-in-out infinite;
}