:root {
  --cn-red: #a7191f;
  --cn-gold: #e8c36a;
  --cn-lime: #a8ef27;
  --cn-night: #091017;
}

.cn-holiday-banner {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px clamp(18px, 5vw, 80px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(232,195,106,.18), transparent 25%),
    linear-gradient(115deg, #071019 0%, #10212b 48%, #401015 100%);
  border-bottom: 1px solid rgba(232,195,106,.55);
  box-shadow: inset 0 -18px 45px rgba(0,0,0,.25);
}

.cn-holiday-banner::before,
.cn-holiday-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cn-holiday-banner::before {
  opacity: .28;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #fff 0 1.3px, transparent 2px);
  background-size: 42px 42px, 67px 67px;
  background-position: 0 0, 19px 11px;
}

.cn-holiday-banner::after {
  background: linear-gradient(90deg, rgba(168,239,39,.08), transparent 30%, transparent 70%, rgba(232,195,106,.1));
}

.cn-holiday-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 5px;
  max-width: 920px;
  padding: 8px 19px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}

.cn-holiday-copy strong {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.cn-holiday-copy > span:last-child {
  color: #eef3f7;
  font-size: clamp(.78rem, 1.4vw, 1rem);
}

.cn-holiday-kicker {
  color: var(--cn-lime) !important;
  font-size: .73rem !important;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cn-tree,
.cn-santa,
.cn-fireworks {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

.cn-tree {
  left: clamp(-45px, -2vw, 8px);
  bottom: -46px;
  width: clamp(145px, 17vw, 255px);
}

.cn-santa {
  right: clamp(-85px, -3vw, -12px);
  bottom: -22px;
  width: clamp(300px, 33vw, 610px);
}

.cn-snow {
  position: fixed;
  inset: 0;
  z-index: 9998;
  overflow: hidden;
  pointer-events: none;
}

.cn-snow i {
  position: absolute;
  top: -8vh;
  left: calc((var(--i) * 47) % 101 * 1%);
  color: rgba(255,255,255,.78);
  font-style: normal;
  font-size: calc(9px + (var(--i) % 5) * 3px);
  text-shadow: 0 0 8px rgba(255,255,255,.7);
  animation: cn-snowfall calc(9s + (var(--i) % 7) * 1.35s) linear infinite;
  animation-delay: calc(var(--i) * -.72s);
}

@keyframes cn-snowfall {
  0% { transform: translate3d(0,-10vh,0) rotate(0deg); opacity: 0; }
  8% { opacity: .8; }
  55% { transform: translate3d(calc((var(--i) % 2) * 34px - 17px),50vh,0) rotate(190deg); }
  100% { transform: translate3d(calc((var(--i) % 3) * 26px - 26px),112vh,0) rotate(390deg); opacity: .18; }
}

.cn-new-year-banner {
  min-height: 135px;
  background:
    radial-gradient(circle at 12% 20%, rgba(232,195,106,.3), transparent 21%),
    radial-gradient(circle at 88% 20%, rgba(168,239,39,.14), transparent 24%),
    linear-gradient(120deg, #050810, #111d2a 58%, #2c1835);
}

.cn-fireworks {
  right: 1%;
  bottom: -28%;
  width: clamp(260px, 35vw, 620px);
  opacity: .95;
}

@media (max-width: 860px) {
  .cn-holiday-banner { min-height: 132px; padding: 18px 10px; }
  .cn-holiday-copy { padding: 5px 4px; max-width: 76%; }
  .cn-tree { left: -54px; width: 155px; opacity: .78; }
  .cn-santa { right: -105px; width: 305px; opacity: .7; }
}

@media (max-width: 520px) {
  .cn-holiday-banner { min-height: 145px; }
  .cn-holiday-copy { max-width: 94%; }
  .cn-holiday-copy strong { font-size: 1.25rem; }
  .cn-tree { left: -72px; opacity: .42; }
  .cn-santa { right: -125px; opacity: .35; }
  .cn-snow i:nth-child(2n) { display: none; }
}

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

