/* Animated Logo Styles */

.animated-logo-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-wrapper {
    position: relative;
    z-index: 1;
}

.animated-logo {
    width: 100%;
    height: auto;
    display: block;
}

.accent-bar {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #845EF7, #BE4BDB, #DA77F2);
    border-radius: 2px;
    margin: 20px auto 0;
    opacity: 0;
}

/* Animation states */
body.logo-animating .animated-logo-container {
    opacity: 1;
}

body.logo-complete #logo-text {
    animation: fillText 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

body.logo-complete .accent-bar {
    animation: expandBar 0.8s ease-out forwards;
    animation-delay: 1.5s;
}

@keyframes fillText {
    to {
        fill: url(#logo-gradient);
        stroke-width: 0;
    }
}

@keyframes expandBar {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 80%;
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .animated-logo-container {
        max-width: 320px;
        padding: 30px 15px;
    }

    #logo-text {
        font-size: 36px;
    }
}
