@import url('/themes/default/assets/css/widgets/azuracast.css');

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 8% 16%, rgba(168,85,247,.24), transparent 34%),
        radial-gradient(circle at 92% 74%, rgba(255,46,85,.16), transparent 30%),
        linear-gradient(135deg, #160b25 0%, #09050f 55%, #12070f 100%);
    border: 1px solid rgba(211,162,255,.18);
    border-radius: 20px;
    box-shadow:
        0 24px 64px rgba(0,0,0,.40),
        0 0 38px rgba(168,85,247,.08),
        inset 0 1px 0 rgba(255,255,255,.05);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -30%;
    width: 18%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.055), transparent);
    animation: ct-scan 8s linear infinite;
    pointer-events: none;
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-cover {
    border: 1px solid rgba(255,255,255,.12);
    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 24px rgba(168,85,247,.12);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-play {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #c026ff 52%, #ff2e55);
    border: 1px solid rgba(255,255,255,.26);
    box-shadow:
        0 10px 28px rgba(124,58,237,.32),
        0 0 0 6px rgba(168,85,247,.08),
        0 0 26px rgba(255,46,85,.16);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-play:hover {
    filter: brightness(1.12) saturate(1.1);
    box-shadow:
        0 12px 32px rgba(124,58,237,.42),
        0 0 0 7px rgba(168,85,247,.10),
        0 0 36px rgba(255,46,85,.24);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-label {
    color: #d8a7ff;
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -.025em;
    text-shadow: 0 0 18px rgba(168,85,247,.15);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-artist,
.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-status,
.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-station {
    color: #aaa0b9;
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-on-air {
    color: #ff5a73;
    text-shadow: 0 0 10px rgba(255,46,85,.55);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-on-air i {
    color: #ff2e55;
    box-shadow: 0 0 12px rgba(255,46,85,.80);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-footer {
    border-color: rgba(255,255,255,.08);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-mute,
.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-detach {
    color: #cfc6db;
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-mute:hover,
.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-detach:hover {
    color: #fff;
    background: rgba(168,85,247,.12);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-volume-range {
    accent-color: #c026ff;
}

/* ==========================================================
   CHATITALY NEON v2.2 — Spazio Italy featured radio
   ========================================================== */
.ct-neon-theme .mv-azuracast-widget {
    gap: 12px;
}

.ct-neon-theme .mv-azuracast-header {
    position: relative;
    padding: 0 0 10px;
    border-bottom-color: rgba(255,255,255,.075);
}

.ct-neon-theme .mv-azuracast-header h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: clamp(18px, 1.65vw, 22px);
    font-weight: 950;
    letter-spacing: -.035em;
    text-shadow: 0 0 20px rgba(168,85,247,.18);
}

.ct-neon-theme .mv-azuracast-header h3::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #ff2e55;
    box-shadow:
        0 0 8px rgba(255,46,85,.95),
        0 0 18px rgba(255,46,85,.62);
    animation: ct-radio-live-pulse 1.7s ease-in-out infinite;
}

@keyframes ct-radio-live-pulse {
    0%, 100% { transform: scale(.92); opacity: .78; }
    50% { transform: scale(1.14); opacity: 1; }
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck {
    border-color: rgba(211,162,255,.25);
    box-shadow:
        0 20px 58px rgba(0,0,0,.44),
        0 0 46px rgba(168,85,247,.11),
        0 0 26px rgba(255,46,85,.055),
        inset 0 1px 0 rgba(255,255,255,.055);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-deck-title {
    font-size: clamp(16px, 1.5vw, 20px);
    text-shadow:
        0 0 16px rgba(168,85,247,.22),
        0 0 30px rgba(255,46,85,.05);
}

.ct-neon-theme .mv-azuracast-history h4 {
    color: #e9d5ff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ct-neon-theme .mv-azuracast-history-item {
    transition: background .16s ease, transform .16s ease;
}

.ct-neon-theme .mv-azuracast-history-item:hover {
    transform: translateX(3px);
    background: linear-gradient(90deg, rgba(168,85,247,.06), transparent 72%);
}

@media (prefers-reduced-motion: reduce) {
    .ct-neon-theme .mv-azuracast-header h3::before {
        animation: none !important;
    }
}

/* ==========================================================
   CHATITALY NEON v2.2.1 — FIX PLAY BUTTON POSITION
   Il play e' assoluto e centrato con translate(-50%, -50%).
   Gli hover globali dei button non devono sovrascrivere quel transform.
   ========================================================== */
.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-play {
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.ct-neon-theme .mv-azuracast-style-modern .mv-azuracast-play:active {
    transform: translate(-50%, -50%) scale(.97);
}
