/* 🎄 Thème de Noël — généré. Pour le retirer: restaurer public/ depuis git ou la sauvegarde .zip. */
:root {
  --xm-red: #c81d25;
  --xm-green: #1f8a5b;
  --xm-gold: #f4b942;
  --xm-bg: #050d0a;
}

html, body { background-color: var(--xm-bg); }
body {
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(31, 138, 91, .22), transparent 60%),
    radial-gradient(ellipse at 8% 112%, rgba(200, 29, 37, .15), transparent 55%);
  background-attachment: fixed;
}
::selection { background: var(--xm-red); color: #fff; }
* { scrollbar-color: #c81d25 #0b1a12; }

/* Titres: police de Noël + lueur dorée (le texte courant garde sa police pour rester lisible) */
h1, .display-5, #pageTitle, .nav-title {
  font-family: 'Mountains of Christmas', 'Segoe UI', cursive;
  font-weight: 700;
  letter-spacing: .03em;
}
h1, .display-5, #pageTitle {
  text-shadow: 0 0 14px rgba(244, 185, 66, .5), 0 0 34px rgba(200, 29, 37, .25);
}
.nav-title { text-shadow: 0 0 10px rgba(244, 185, 66, .6); line-height: 1.1; font-size: 1.3rem; }

#main-navbar {
  border-bottom-color: rgba(244, 185, 66, .4) !important;
  box-shadow: 0 6px 26px rgba(200, 29, 37, .16) !important;
}

/* Titres en dégradé (texte transparent + background-clip): halo + dégradé blanc -> or */
.bg-clip-text {
  text-shadow: none !important;
  background-image: linear-gradient(90deg, #ffffff, #ffe7a3 45%, #f4b942) !important;
  filter: drop-shadow(0 0 12px rgba(244, 185, 66, .5));
}

/* ---- Décors (ajoutés par christmas.js): jamais cliquables, toujours sous les fenêtres de chargement ---- */
#xm-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }

/* Guirlande lumineuse: fil + deux jeux d'ampoules qui clignotent en alternance (fond SVG répété, aucun nœud DOM par ampoule) */
#xm-garland { position: fixed; top: 0; left: 0; right: 0; height: 40px; z-index: 60; pointer-events: none; }
#xm-garland > div { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 240px 40px; }
.xm-setA { animation: xmBlinkA 1.6s ease-in-out infinite; }
.xm-setB { animation: xmBlinkB 1.6s ease-in-out infinite; }

/* Neige qui tombe */
.xm-flake {
  position: absolute; top: -14px; width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; opacity: var(--o, .8); filter: blur(var(--b, 0px));
  animation: xmFall var(--d) linear var(--delay) infinite; will-change: transform;
}
/* Neige au sol */
.xm-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='30' viewBox='0 0 160 30'%3E%3Cpath d='M0 30V16Q20 3 40 16T80 16T120 16T160 16V30Z' fill='white' fill-opacity='.22'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 160px 30px;
}

.xm-deco { position: absolute; bottom: 14px; line-height: 1; }
.xm-tree { left: 12px; font-size: 42px; animation: xmGlow 3s ease-in-out infinite; }
.xm-gift { left: 64px; font-size: 28px; bottom: 12px; }
.xm-snowman { right: 14px; font-size: 42px; animation: xmBob 5s ease-in-out infinite; }

@keyframes xmFall {
  0%   { transform: translate3d(0, -4vh, 0); }
  100% { transform: translate3d(var(--x, 30px), 106vh, 0); }
}
@keyframes xmBlinkA { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }
@keyframes xmBlinkB { 0%, 100% { opacity: .28; } 50% { opacity: 1; } }
@keyframes xmGlow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(244, 185, 66, .45)); } 50% { filter: drop-shadow(0 0 14px rgba(244, 185, 66, .95)); } }
@keyframes xmBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 640px) {
  .xm-gift, .xm-snowman { display: none; }
  .xm-tree { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  #xm-layer *, #xm-garland * { animation: none !important; }
  .xm-flake { display: none; }
}

/* ===== Classes Tailwind remappées (94) ===== */
.accent-purple-500{accent-color:#10b981 !important}
.bg-blue-200{background-color:#a7f3d0 !important}
.bg-blue-500\/20{background-color:rgb(16 185 129 / 0.2) !important}
.bg-blue-600{background-color:#059669 !important}
.bg-blue-600\/20{background-color:rgb(5 150 105 / 0.2) !important}
.bg-blue-600\/30{background-color:rgb(5 150 105 / 0.3) !important}
.bg-blue-900\/30{background-color:rgb(6 78 59 / 0.3) !important}
.bg-indigo-900\/40{background-color:rgb(127 29 29 / 0.4) !important}
.bg-purple-500\/20{background-color:rgb(239 68 68 / 0.2) !important}
.bg-purple-600{background-color:#dc2626 !important}
.bg-violet-300\/40{background-color:rgb(252 165 165 / 0.4) !important}
.border-blue-400{border-color:#34d399 !important}
.border-blue-400\/30{border-color:rgb(52 211 153 / 0.3) !important}
.border-blue-500\/30{border-color:rgb(16 185 129 / 0.3) !important}
.border-blue-500\/40{border-color:rgb(16 185 129 / 0.4) !important}
.border-blue-500\/50{border-color:rgb(16 185 129 / 0.5) !important}
.border-blue-500\/60{border-color:rgb(16 185 129 / 0.6) !important}
.border-blue-600{border-color:#059669 !important}
.border-indigo-400\/30{border-color:rgb(52 211 153 / 0.3) !important}
.border-indigo-500{border-color:#10b981 !important}
.border-purple-400\/30{border-color:rgb(52 211 153 / 0.3) !important}
.border-purple-400\/50{border-color:rgb(52 211 153 / 0.5) !important}
.border-purple-500{border-color:#10b981 !important}
.border-purple-500\/20{border-color:rgb(16 185 129 / 0.2) !important}
.border-purple-500\/30{border-color:rgb(16 185 129 / 0.3) !important}
.border-purple-500\/40{border-color:rgb(16 185 129 / 0.4) !important}
.border-purple-500\/50{border-color:rgb(16 185 129 / 0.5) !important}
.border-purple-500\/60{border-color:rgb(16 185 129 / 0.6) !important}
.border-t-purple-500{border-top-color:#10b981 !important}
.border-violet-600{border-color:#059669 !important}
.focus\:border-purple-400:focus{border-color:#34d399 !important}
.focus\:border-purple-500:focus{border-color:#10b981 !important}
.focus\:ring-purple-500:focus{--tw-ring-color:#10b981 !important}
.focus\:ring-purple-500\/30:focus{--tw-ring-color:rgb(16 185 129 / 0.3) !important}
.from-blue-400{--tw-gradient-from:#34d399 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(52 211 153 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-blue-500{--tw-gradient-from:#10b981 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(16 185 129 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-blue-600{--tw-gradient-from:#059669 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(5 150 105 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-blue-600\/30{--tw-gradient-from:rgb(5 150 105 / 0.3) var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(5 150 105 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-indigo-500{--tw-gradient-from:#ef4444 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(239 68 68 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-indigo-600{--tw-gradient-from:#dc2626 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(220 38 38 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-pink-500{--tw-gradient-from:#ef4444 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(239 68 68 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-purple-600{--tw-gradient-from:#dc2626 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(220 38 38 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.from-violet-600{--tw-gradient-from:#dc2626 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(220 38 38 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.group:hover .group-hover\:text-purple-200{color:#fde68a !important}
.hover\:bg-blue-500\/30:hover{background-color:rgb(16 185 129 / 0.3) !important}
.hover\:bg-blue-600\/30:hover{background-color:rgb(5 150 105 / 0.3) !important}
.hover\:bg-blue-600\/50:hover{background-color:rgb(5 150 105 / 0.5) !important}
.hover\:bg-purple-700:hover{background-color:#b91c1c !important}
.hover\:border-purple-300\/80:hover{border-color:rgb(110 231 183 / 0.8) !important}
.hover\:border-purple-500:hover{border-color:#10b981 !important}
.hover\:border-purple-500\/60:hover{border-color:rgb(16 185 129 / 0.6) !important}
.hover\:from-blue-500:hover{--tw-gradient-from:#10b981 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(16 185 129 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.hover\:from-blue-700:hover{--tw-gradient-from:#047857 var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(4 120 87 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.hover\:from-purple-700:hover{--tw-gradient-from:#b91c1c var(--tw-gradient-from-position) !important;--tw-gradient-to:rgb(185 28 28 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.hover\:shadow-purple-500\/30:hover{--tw-shadow-color:rgb(239 68 68 / 0.3) !important;--tw-shadow:var(--tw-shadow-colored) !important}
.hover\:shadow-purple-500\/50:hover{--tw-shadow-color:rgb(239 68 68 / 0.5) !important;--tw-shadow:var(--tw-shadow-colored) !important}
.hover\:text-blue-200:hover{color:#a7f3d0 !important}
.hover\:text-blue-300:hover{color:#6ee7b7 !important}
.hover\:text-purple-200:hover{color:#fde68a !important}
.hover\:text-purple-300:hover{color:#fcd34d !important}
.hover\:to-blue-800:hover{--tw-gradient-to:#065f46 var(--tw-gradient-to-position) !important}
.hover\:to-blue-900:hover{--tw-gradient-to:#064e3b var(--tw-gradient-to-position) !important}
.hover\:to-purple-600:hover{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position) !important}
.peer:checked ~ .peer-checked\:bg-purple-600{background-color:#059669 !important}
.peer:focus ~ .peer-focus\:ring-purple-800{--tw-ring-color:#065f46 !important}
.ring-purple-500\/30{--tw-ring-color:rgb(16 185 129 / 0.3) !important}
.text-blue-100{color:#d1fae5 !important}
.text-blue-200{color:#a7f3d0 !important}
.text-blue-300{color:#6ee7b7 !important}
.text-blue-400{color:#34d399 !important}
.text-blue-400\/80{color:rgb(52 211 153 / 0.8) !important}
.text-blue-800{color:#065f46 !important}
.text-cyan-400{color:#34d399 !important}
.text-indigo-100{color:#fef3c7 !important}
.text-indigo-200{color:#fde68a !important}
.text-indigo-400{color:#fbbf24 !important}
.text-pink-400{color:#f87171 !important}
.text-purple-100{color:#fef3c7 !important}
.text-purple-200{color:#fde68a !important}
.text-purple-300{color:#fcd34d !important}
.text-purple-400{color:#fbbf24 !important}
.text-purple-600{color:#d97706 !important}
.text-violet-200{color:#fde68a !important}
.text-violet-600{color:#d97706 !important}
.to-blue-500{--tw-gradient-to:#10b981 var(--tw-gradient-to-position) !important}
.to-blue-700{--tw-gradient-to:#047857 var(--tw-gradient-to-position) !important}
.to-blue-800{--tw-gradient-to:#065f46 var(--tw-gradient-to-position) !important}
.to-blue-900\/20{--tw-gradient-to:rgb(6 78 59 / 0.2) var(--tw-gradient-to-position) !important}
.to-indigo-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position) !important}
.to-indigo-800{--tw-gradient-to:#991b1b var(--tw-gradient-to-position) !important}
.to-purple-500{--tw-gradient-to:#ef4444 var(--tw-gradient-to-position) !important}
.to-purple-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position) !important}
.to-purple-800{--tw-gradient-to:#991b1b var(--tw-gradient-to-position) !important}
.to-purple-900{--tw-gradient-to:#7f1d1d var(--tw-gradient-to-position) !important}
