/* Animated RADIO pill — black + grey/white glow (MUSO GIGS) */
.mg-radio-btn,
.nav-links .mg-radio-btn,
a.mg-radio-btn {
    display: inline-flex !important;
    align-items: center;
    align-self: center;
    min-width: 148px;
    padding: 0.3rem 0.8rem 0.3rem 0.3rem !important;
    border: none !important;
    border-radius: 999px !important;
    background: #2a2a2a !important;
    color: #e8e8e8 !important;
    font-family: "Poppins", system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    overflow: visible;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.mg-radio-btn:hover,
.mg-radio-btn:focus,
.nav-links .mg-radio-btn:hover,
.nav-links .mg-radio-btn:focus {
    background: #333 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.mg-radio-glow-play {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    border-radius: 50%;
    background-color: #2a2a2a !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    isolation: isolate;
}

.mg-radio-play-icon {
    position: relative;
    z-index: 2;
    margin-left: 2px;
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    fill: #fff;
    color: #fff;
}

.mg-radio-glow-play::before,
.mg-radio-glow-play::after,
.mg-radio-play-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%) scale(1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    animation: mg-radio-glow-ripple 4.8s linear infinite;
}

.mg-radio-glow-play::before {
    content: "";
    animation-delay: 0s;
}

.mg-radio-glow-play::after {
    content: "";
    animation-delay: 1.6s;
}

.mg-radio-play-glow {
    animation-delay: 3.2s;
}

.mg-radio-label {
    display: block;
    height: 2.35rem;
    margin-left: 1.28rem;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    line-height: 2.35rem;
    font-family: "Poppins", system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    color: #e8e8e8 !important;
    text-transform: uppercase !important;
}

.mg-radio-btn:hover .mg-radio-label,
.mg-radio-btn:focus .mg-radio-label {
    color: #fff !important;
}

@keyframes mg-radio-glow-ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(232, 232, 232, 0);
    }
    6% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.22;
        box-shadow: 0 0 14px 9px rgba(200, 200, 200, 0.18);
    }
    18% {
        transform: translate(-50%, -50%) scale(1.06);
        opacity: 0.5;
        box-shadow:
            0 0 18px 11px rgba(220, 220, 220, 0.28),
            0 0 0 12px rgba(180, 180, 180, 0.12);
    }
    45% {
        transform: translate(-50%, -50%) scale(1.35);
        opacity: 0.44;
        box-shadow:
            0 0 22px 14px rgba(210, 210, 210, 0.22),
            0 0 0 20px rgba(170, 170, 170, 0.1);
    }
    72% {
        transform: translate(-50%, -50%) scale(1.75);
        opacity: 0.22;
        box-shadow:
            0 0 26px 17px rgba(200, 200, 200, 0.14),
            0 0 0 26px rgba(160, 160, 160, 0.07);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.15);
        opacity: 0;
        box-shadow:
            0 0 28px 20px rgba(232, 232, 232, 0.08),
            0 0 0 32px rgba(200, 200, 200, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mg-radio-glow-play::before,
    .mg-radio-glow-play::after,
    .mg-radio-play-glow {
        animation: none;
    }
}
