/*
 * AMC Secure official logo — shield-edge glow only.
 * No outer ring. Glow follows the logo PNG shield border via drop-shadow.
 */

.logo-glow-ring,
.logo-glow-ring--sm,
.logo-glow-ring--md,
.logo-glow-ring--hero,
.logo-glow-ring--header {
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.logo-glow-ring::before,
.logo-glow-ring::after,
.logo-glow-ring--sm::before,
.logo-glow-ring--sm::after,
.logo-glow-ring--md::before,
.logo-glow-ring--md::after,
.logo-glow-ring--hero::before,
.logo-glow-ring--hero::after,
.logo-glow-ring--header::before,
.logo-glow-ring--header::after {
    display: none !important;
    content: none !important;
    animation: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

.logo-glow-ring img,
.logo-glow-ring--sm img,
.logo-glow-ring--md img,
.logo-glow-ring--hero img,
.logo-glow-ring--header img,
.market-brand .logo-glow-ring img,
body:not(.admin-body) .market-header .logo-glow-ring img,
body.global-homepage .global-hero-visual .logo-glow-ring--hero img,
body:not(.admin-body) .global-homepage .global-hero-visual .logo-glow-ring--hero img,
.footer-brandline .logo-glow-ring--sm img,
.footer-compact .logo-glow-ring--sm img,
.hero-art .logo-glow-ring--hero img,
body.auth-body .logo-glow-ring img {
    position: relative;
    z-index: 1;
    display: block;
    object-fit: contain;
    animation: logoShieldBorderGlow 2.2s ease-in-out infinite !important;
}

.logo-glow-ring--hero img,
body.global-homepage .global-hero-visual .logo-glow-ring--hero img,
body:not(.admin-body) .global-homepage .global-hero-visual .logo-glow-ring--hero img,
.hero-art .logo-glow-ring--hero img,
body.global-homepage .logo-glow-ring--hero img {
    animation-duration: 2.6s !important;
}

@keyframes logoShieldBorderGlow {
    0%,
    100% {
        filter:
            drop-shadow(0 0 1px rgba(18, 168, 107, 1))
            drop-shadow(0 0 3px rgba(18, 168, 107, 0.92))
            drop-shadow(0 0 8px rgba(11, 78, 162, 0.62))
            drop-shadow(0 0 14px rgba(18, 168, 107, 0.34));
    }

    20% {
        filter:
            drop-shadow(0 0 1px rgba(11, 78, 162, 1))
            drop-shadow(0 0 4px rgba(59, 130, 246, 0.9))
            drop-shadow(0 0 10px rgba(147, 197, 253, 0.68))
            drop-shadow(0 0 16px rgba(11, 78, 162, 0.38));
    }

    40% {
        filter:
            drop-shadow(0 0 2px rgba(34, 197, 94, 1))
            drop-shadow(0 0 5px rgba(199, 255, 53, 0.92))
            drop-shadow(0 0 12px rgba(18, 168, 107, 0.72))
            drop-shadow(0 0 18px rgba(34, 197, 94, 0.4));
    }

    60% {
        filter:
            drop-shadow(0 0 2px rgba(139, 92, 246, 1))
            drop-shadow(0 0 5px rgba(167, 139, 250, 0.9))
            drop-shadow(0 0 12px rgba(59, 130, 246, 0.66))
            drop-shadow(0 0 18px rgba(139, 92, 246, 0.36));
    }

    80% {
        filter:
            drop-shadow(0 0 1px rgba(245, 158, 11, 1))
            drop-shadow(0 0 4px rgba(251, 191, 36, 0.9))
            drop-shadow(0 0 10px rgba(18, 168, 107, 0.64))
            drop-shadow(0 0 16px rgba(11, 78, 162, 0.34));
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-glow-ring img,
    .logo-glow-ring--hero img {
        animation: none !important;
        filter: drop-shadow(0 0 4px rgba(18, 168, 107, 0.45)) !important;
    }
}
