/* Christmas season on top of site.css. Static: no animation of its own, only the opening fade
   that site.css already uses. Season off = remove the <link> to this file and the <p class="season">
   line from index.html, and swap the two Ballers Island photos in the features (and their alt texts)
   for captures without snow. All photos are real in-game screenshots of Christmas Ballers Island. */

:root { --pine: #1d6b43; --snow: #e8eef5; }

/* hero: the park at dusk behind the crest, darkened so the crest and buttons stay readable, with
   a little snow in that band (one dot per layer and row); below it the hero stays black */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .5) 0 1.2px, transparent 1.8px) 0 0 / 173px 30vw repeat-x,
    radial-gradient(circle at 70% 27%, rgba(255, 255, 255, .4) 0 1px, transparent 1.6px) 0 0 / 229px 30vw repeat-x,
    radial-gradient(circle at 45% 41%, rgba(255, 255, 255, .35) 0 1.5px, transparent 2.1px) 0 0 / 307px 30vw repeat-x,
    radial-gradient(circle at 85% 55%, rgba(255, 255, 255, .3) 0 .9px, transparent 1.4px) 0 0 / 131px 30vw repeat-x,
    radial-gradient(circle at 35% 68%, rgba(255, 255, 255, .3) 0 1.2px, transparent 1.8px) 0 0 / 197px 30vw repeat-x,
    radial-gradient(circle at 60% 82%, rgba(255, 255, 255, .25) 0 1px, transparent 1.6px) 0 0 / 151px 30vw repeat-x,
    linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .72) 18vw, var(--pure) 30vw) 0 0 / 100% 33vw no-repeat,
    url(img/features/hero-christmas-1920.webp) center top / 100% auto no-repeat,
    var(--pure);
}
/* a string of lights along the top edge */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 22px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 3.5px 5px at 14px 12px, var(--red) 92%, transparent) 0 0 / 112px 22px repeat-x,
    radial-gradient(ellipse 3.5px 5px at 42px 15px, var(--gold) 92%, transparent) 0 0 / 112px 22px repeat-x,
    radial-gradient(ellipse 3.5px 5px at 70px 12px, #2fa36a 92%, transparent) 0 0 / 112px 22px repeat-x,
    radial-gradient(ellipse 3.5px 5px at 98px 15px, var(--snow) 92%, transparent) 0 0 / 112px 22px repeat-x,
    linear-gradient(#3a3a3a, #3a3a3a) 0 6px / 100% 1px no-repeat;
}

.season {
  margin: clamp(16px, 2.6vh, 24px) 0 0;
  color: var(--gold);
  font: 700 12.5px/1.4 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.season + .claim { margin-top: 8px; }

/* small seasonal touches below the hero */
.spot { border-top-color: var(--pine); }
.foot-inner { border-top-color: var(--pine); }

.intro .season { animation: fadeIn .5s var(--ease-out) 900ms both; }

@media (max-width: 560px) {
  .hero {
    background:
      radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .5) 0 1.2px, transparent 1.8px) 0 0 / 173px 300px repeat-x,
      radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .4) 0 1px, transparent 1.6px) 0 0 / 129px 300px repeat-x,
      radial-gradient(circle at 40% 52%, rgba(255, 255, 255, .35) 0 1.5px, transparent 2.1px) 0 0 / 157px 300px repeat-x,
      radial-gradient(circle at 80% 74%, rgba(255, 255, 255, .3) 0 .9px, transparent 1.4px) 0 0 / 111px 300px repeat-x,
      linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .78) 180px, var(--pure) 300px) 0 0 / 100% 330px no-repeat,
      url(img/features/hero-christmas-1000.webp) center top / auto 320px no-repeat,
      var(--pure);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro .season { animation: none !important; }
}
