/* Verso Travel Radio – зимна / коледна тема.
   Зарежда се само когато в config.php е 'theme' => 'winter' (или 'auto' от 1 декември до 1 януари).
   Тук се сменят само цветовете и украсата – подредбата е същата като в app.css. */

.theme-winter{
  --cream:#F2F7FC; --soft:#E8F1FA; --line:#CCDAE7; --line2:#E0EAF3;
  --sun:#F3C64B; --sun-d:#E2AE2A;            /* злато */
  --coral:#E0334A; --coral-t:#B01F33;        /* коледно червено */
  --teal:#1C8A5B; --teal-t:#146B46;          /* елхово зелено */
  --sky:#5AAAE8; --violet:#7B6FD9;
  --peach:#FCE4E7; --mint:#DFF2E8;
  --ice:#DCEEFC; --ice-d:#B9DBF4; --pine:#123B2E;
}
.theme-winter body,body.theme-winter{
  background:
    radial-gradient(1200px 500px at 85% -10%,rgba(185,219,244,.55),transparent 70%),
    radial-gradient(900px 400px at 0% 0%,rgba(224,51,74,.06),transparent 70%),
    var(--cream);
}

/* Главният блок: леден вместо жълт + гирлянд с примигващи лампички по горния ръб */
.theme-winter .hero{background:linear-gradient(165deg,var(--ice) 0%,#CBE4F8 55%,var(--ice-d) 100%);position:relative;padding-top:68px}
.theme-winter .hero > *{position:relative;z-index:1}
.theme-winter .hero > .garland{position:absolute;left:40px;right:40px;top:0;height:44px;z-index:2;pointer-events:none;overflow:visible}
.garland svg{display:block;width:100%;height:44px;overflow:visible}
.garland .wire{fill:none;stroke:#1E4D3B;stroke-width:2;stroke-linecap:round}
.garland .cap{fill:#2F5A47}
.garland .bulb{transform-box:fill-box;transform-origin:center}
.garland .b-red{fill:#E0334A;--glow:rgba(224,51,74,.85)}
.garland .b-gold{fill:#F3C64B;--glow:rgba(243,198,75,.95)}
.garland .b-green{fill:#22A86B;--glow:rgba(34,168,107,.85)}
.garland .b-blue{fill:#4C9BE8;--glow:rgba(76,155,232,.9)}
.garland .bulb{animation:vtr-blink 1.8s ease-in-out infinite}
.garland .b-gold{animation-duration:2.3s}.garland .b-green{animation-duration:1.5s}.garland .b-blue{animation-duration:2.7s}
@keyframes vtr-blink{
  0%,100%{opacity:1;filter:drop-shadow(0 0 5px var(--glow)) drop-shadow(0 0 10px var(--glow))}
  50%{opacity:.35;filter:none}
}

.theme-winter .cover::after{border-color:rgba(255,255,255,.45)}
.theme-winter .live-badge{background:var(--pine)}
.theme-winter .live-badge i{background:#FF6B7D}
.theme-winter .play-btn{background:var(--coral);box-shadow:0 10px 24px rgba(224,51,74,.35)}
.theme-winter .play-btn:hover{background:var(--coral-t)}
.theme-winter .bar{background:rgba(255,255,255,.7)}
.theme-winter .bar i{background:var(--coral)}
.theme-winter [data-like]{background:#fff;color:var(--coral-t)}
.theme-winter .slogan em,.theme-winter h2 em{color:var(--coral-t)}

/* Лого с коледна шапка */
.theme-winter .brand{position:relative}
.theme-winter .brand .xmas-hat{position:absolute;left:-2px;top:-17px;width:38px;height:27px;transform:rotate(-8deg);transform-origin:16px 22px;pointer-events:none;filter:drop-shadow(0 1px 1px rgba(26,26,34,.18))}

/* Мобилен плейър и меню */
.theme-winter .mini{background:linear-gradient(120deg,var(--ice),var(--ice-d))}
.theme-winter .mini-play{background:var(--coral)}
.theme-winter .tabbar{background:var(--pine)}
.theme-winter .tabbar a.on{color:var(--sun)}
.theme-winter .menu-box.sun{background:var(--ice)}

/* Статистика – зимни цветове */
.theme-winter .stat.teal{background:var(--teal)}
.theme-winter .stat.sky{background:var(--sky)}
.theme-winter .stat.coral{background:var(--coral)}
.theme-winter .stat.ink{background:var(--pine)}

/* Бутон за спиране на снега */
.snow-toggle{position:fixed;right:16px;bottom:16px;z-index:45;height:40px;padding:0 14px;border-radius:20px;border:1px solid var(--line);
  background:rgba(255,255,255,.92);color:var(--ink);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:8px;
  box-shadow:0 6px 18px rgba(26,26,34,.12);backdrop-filter:blur(6px)}
.snow-toggle svg{width:18px;height:18px;stroke:#5AAAE8;fill:none;stroke-width:2;stroke-linecap:round}
.snow-toggle[aria-pressed=false]{opacity:.75}
#snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:44}

@media (max-width:720px){
  .theme-winter .hero{padding-top:52px}
  .theme-winter .hero > .garland{left:26px;right:26px}
  .snow-toggle{bottom:auto;top:calc(14px + env(safe-area-inset-top));right:68px;height:36px;width:36px;padding:0;justify-content:center;z-index:60}
  .snow-toggle span{display:none}
}
@media (prefers-reduced-motion:reduce){.garland .bulb{animation:none;filter:drop-shadow(0 0 4px var(--glow))}}
.theme-winter .site-header{background:rgba(242,247,252,.92)}
