/* ============================================
   MagicStreams Radio Player – player.css v3
   Transparent · Centered · Elementor-ready
   ============================================ */

/* ── Wrapper: fully transparent, no box ─────── */
.msr-wrapper {
    font-family: 'Open Sans Condensed', sans-serif;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    background-color: transparent;
    background-image: none;
    border: none !important;
    box-shadow: none !important;
    width: 100%;
    color: #ffffff;
}

/* ── Play button ────────────────────────────── */
.msr-btn-wrap {
    margin: 0 0 22px;
    line-height: 1;
}

.msr-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.80);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.22s, border-color 0.22s, transform 0.16s, box-shadow 0.22s;
    outline: none;
}

.msr-play-btn:hover {
    background: rgba(255,255,255,0.10);
    border-color: #ffffff;
    transform: scale(1.07);
    box-shadow: 0 0 24px rgba(255,255,255,0.18);
}

.msr-play-btn:active { transform: scale(0.96); }

.msr-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    display: block;
}

.msr-play-btn .msr-icon-play { margin-left: 4px; }
.msr-play-btn .hidden { display: none !important; }

.msr-play-btn.playing {
    border-color: rgba(255,255,255,0.85);
    animation: krpPulse 2.4s ease-in-out infinite;
}

@keyframes krpPulse {
    0%,100% { box-shadow: 0 0 0 5px rgba(230,51,51,0.22), 0 0 32px rgba(230,51,51,0.18); }
    50%      { box-shadow: 0 0 0 10px rgba(230,51,51,0.08), 0 0 48px rgba(230,51,51,0.10); }
}

/* ── Station name ───────────────────────────── */
.msr-station-name {
    font-family: 'Arial', cursive;
    font-size: clamp(2.8rem, 9vw, 5.5rem);
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.01em;
    margin: 0 0 4px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* ── Subtitle ───────────────────────────────── */
.msr-subtitle {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: none;
    color: rgba(255,255,255,0.90);
    margin: 0 0 4px;
}

/* ── Tagline ────────────────────────────────── */
.msr-tagline {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.04em;
    margin: 0 0 26px;
}

/* ── Separator: · · ·←· · · Παίζει Τώρα · · ·→· · · */
.msr-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

/* ── "Παίζει Τώρα" label ────────────────────── */
.msr-np-label {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: none;
    color: rgba(255,255,255,0.60);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.msr-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #cc2222;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 1;
    /* σταθερά κόκκινη όταν δεν παίζει */
}

.msr-dot.live {
    animation: krpBlink 1.2s ease-in-out infinite;
}

@keyframes krpBlink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.1; }
}

/* ── Song title ─────────────────────────────── */
.msr-np-title {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: clamp(1.1rem, 4vw, 1.75rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
    min-height: 1.5em;
    max-width: 600px;
    margin: 0 auto;
    /* default: nowrap (auto + marquee mode) */
    overflow: hidden;
    white-space: nowrap;
}

/* static mode: αναδίπλωση, χωρίς κόψιμο */
.msr-np-title.msr-static {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
}

/* marquee animation */
.msr-np-title.msr-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: krpMarquee 16s linear infinite;
}

@keyframes krpMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 480px) {
    .msr-play-btn    { width: 66px; height: 66px; }
    .msr-station-name { font-size: 2.6rem; }
    .msr-np-title    { font-size: 1rem; }
}

/* ── Volume control ─────────────────────────── */
.msr-vol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    opacity: 0.65;
    transition: opacity 0.22s;
}

.msr-vol:hover { opacity: 1; }

.msr-vol-icon {
    flex-shrink: 0;
    line-height: 0;
    cursor: pointer;
}

.msr-vol-icon svg {
    width: 16px;
    height: 16px;
    fill: rgba(255,255,255,0.80);
    display: block;
    transition: fill 0.2s;
}

.msr-vol-icon:hover svg { fill: currentColor; }

/* Slider track */
.msr-vol-slider {
    --msr-vol-color: #ffffff;
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--msr-vol-color) 80%,
        rgba(255,255,255,0.18) 80%
    );
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 2px;
}

/* Slider thumb */
.msr-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--msr-vol-color);
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.35);
    transition: transform 0.15s;
}

.msr-vol-slider::-webkit-slider-thumb:hover { transform: scale(1.25); }

.msr-vol-slider::-moz-range-thumb {
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--msr-vol-color);
    border: none;
    cursor: pointer;
}
