/* Logo styling */
.navbar-brand.aa-logo-img {
    padding: 0 15px;
    display: flex;
    align-items: center;
    margin: 0;
    height: 100%;
}

.navbar-brand.aa-logo-img img {
    height: 110px !important;
    width: auto !important;
    object-fit: scale-down;
    max-width: none;
    object-position: left center;
    transform: scale(0.9);
}

/* Navbar adjustments */
.navbar-header {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Hide text-based logo when image logo is present */
.aa-logo {
    display: none !important;
}

/* Responsive logo size for mobile */
@media (max-width: 768px) {
    .navbar-brand.aa-logo-img img {
        height: 80px !important;
        transform: scale(0.85);
    }
    .navbar-brand.aa-logo-img {
        padding: 0 10px;
    }
}

/* Sparkle animation */
.sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #DAA520 20%, rgba(218,165,32,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    animation: sparkleAnim 0.6s ease-out forwards;
}

@keyframes sparkleAnim {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(2) rotate(180deg);
        opacity: 0;
    }
}
