/* Velora Logo Styles */

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

/* Logo hover effects */
.logo:hover .logo-svg {
    filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.5));
}

/* Footer brand adjustments */
.footer-brand .velora-logo {
    margin-bottom: 1rem;
    justify-content: flex-start;
}

/* Loading animation for logo */
.logo-loading {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Logo with badge */
.logo-badge {
    position: relative;
}

.logo-badge::after {
    content: 'BETA';
    position: absolute;
    top: -5px;
    right: -20px;
    background: var(--gradient-cosmic);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .hero-logo .logo-svg {
        width: 80px !important;
        height: 80px !important;
    }

    .footer-brand .logo-svg {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Logo variations */
.logo-minimal .logo-text {
    display: none;
}

.logo-horizontal {
    flex-direction: row;
}

.logo-vertical {
    flex-direction: column;
    text-align: center;
}

.logo-vertical .logo-text {
    margin-top: 0.5rem;
}

/* Special effects */
.logo-glow {
    filter: drop-shadow(0 0 30px rgba(199, 125, 255, 0.4));
}

.logo-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

/* Dark mode specific */
.dark .logo-svg {
    filter: brightness(1);
}

.dark .logo:hover .logo-svg {
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(108, 99, 255, 0.5));
}

/* Light mode specific */
.light .logo-svg {
    filter: brightness(0.9);
}

.light .logo:hover .logo-svg {
    filter: brightness(1) drop-shadow(0 0 20px rgba(75, 63, 114, 0.3));
}

/* Logo in different contexts */
.card .velora-logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.nav .logo {
    flex-shrink: 0;
}

/* Animated constellation effect */
.logo-animated .constellation-stars circle {
    animation: twinkle 3s ease-in-out infinite;
    animation-delay: calc(var(--star-index) * 0.2s);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Logo with background */
.logo-with-bg {
    padding: 1rem;
    background: var(--color-bg-card);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Logo shimmer effect */
.logo-shimmer .logo-text {
    background: linear-gradient(
        90deg,
        var(--cosmic-violet) 0%,
        var(--stellar-magenta) 25%,
        var(--nebula-pink) 50%,
        var(--stellar-magenta) 75%,
        var(--cosmic-violet) 100%
    );
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}