* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: radial-gradient(circle at 50% 10%, #991b1b 0%, #450a0a 45%, #0b1329 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* CANVASES FESTIFS EN ARRIÈRE-PLAN ET PREMIER PLAN */
#snow-canvas, #confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#snow-canvas {
  z-index: 1;
}

#confetti-canvas {
  z-index: 9999;
}

/* GUIRLANDE LUMINEUSE DE NOËL */
.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: fixed;
  z-index: 20;
  top: -12px;
  left: 0;
  width: 100%;
  padding: 0;
  pointer-events: none;
  margin: 0;
  display: flex;
  justify-content: space-around;
}

.lightrope li {
  position: relative;
  list-style: none;
  margin: 0 12px;
  padding: 0;
  display: block;
  width: 10px;
  height: 22px;
  border-radius: 50%;
  top: 15px;
  background: #00f7a5;
  box-shadow: 0px 4px 20px 3px #00f7a5;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

.lightrope li:nth-child(2n+1) {
  background: #00d4ff;
  box-shadow: 0px 4px 20px 3px #00d4ff;
  animation-name: flash-blue;
  animation-duration: 0.8s;
}

.lightrope li:nth-child(4n+2) {
  background: #fbbf24;
  box-shadow: 0px 4px 22px 3px #fbbf24;
  animation-name: flash-gold;
  animation-duration: 1.1s;
}

.lightrope li:nth-child(3n+1) {
  background: #f43f5e;
  box-shadow: 0px 4px 22px 3px #f43f5e;
  animation-name: flash-red;
  animation-duration: 1.4s;
}

.lightrope li:before {
  content: "";
  position: absolute;
  background: #222;
  width: 8px;
  height: 7px;
  border-radius: 2px;
  top: -4px;
  left: 1px;
}

@keyframes flash-green { 0%, 100% { background: #00f7a5; box-shadow: 0 2px 18px 4px #00f7a5; } 50% { background: rgba(0, 247, 165, 0.4); } }
@keyframes flash-blue { 0%, 100% { background: #00d4ff; box-shadow: 0 2px 18px 4px #00d4ff; } 50% { background: rgba(0, 212, 255, 0.4); } }
@keyframes flash-gold { 0%, 100% { background: #fbbf24; box-shadow: 0 2px 18px 4px #fbbf24; } 50% { background: rgba(251, 191, 36, 0.4); } }
@keyframes flash-red { 0%, 100% { background: #f43f5e; box-shadow: 0 2px 18px 4px #f43f5e; } 50% { background: rgba(244, 63, 94, 0.4); } }

/* CONTENEUR PRINCIPAL PLEINE LARGEUR */
.app-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 40px 20px;
}

@media (max-width: 768px) {
  .app-layout {
    padding: 16px 12px 32px 12px;
  }
}
