/* Ambiance de fêtes (26 nov. -> 2 janv.). Activée par public/js/core/festive.js (classe html.festive). */

html.festive {
  --accent: #dc2626;
  --accent-soft: #ef4444;
  --accent-glow: rgba(220, 38, 38, .28);
  --accent-bg: rgba(220, 38, 38, .12);
  --shadow-glow: 0 12px 40px rgba(220, 38, 38, .25);
}

.festive-banner {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 45%, #14532d 100%);
  color: #fff;
}
.festive-banner[hidden] { display: none; }
.festive-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-size: 16px;
  text-align: center;
}
.festive-banner-text strong { color: #fde68a; }
.festive-banner-cta {
  background: #fbbf24;
  color: #1c1917;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.festive-banner-cta:hover { background: #fde68a; color: #1c1917; }
.festive-garland {
  height: 12px;
  background: repeating-linear-gradient(90deg, #fbbf24 0 14px, #22c55e 14px 28px, #ef4444 28px 42px, #60a5fa 42px 56px);
  background-size: 56px 12px;
  animation: festive-lights 1.6s linear infinite;
}
@keyframes festive-lights { to { background-position: 56px 0; } }

.festive-snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.festive-flake {
  position: absolute;
  top: -20px;
  color: #fff;
  opacity: .75;
  animation-name: festive-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes festive-fall {
  from { transform: translateY(0) translateX(0); }
  50% { transform: translateY(55vh) translateX(18px); }
  to { transform: translateY(110vh) translateX(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .festive-garland { animation: none; }
  .festive-snow { display: none; }
}
