/* Seasonal trim over the normal shop layout. */
:root {
  --bg: #080d13;
  --surface: #131c25;
  --line-soft: #22303a;
  --accent: #81c9ed;
}
.hero-bg {
  background: radial-gradient(ellipse at 50% 35%, #203b47 0%, #11232d 43%, var(--bg) 89%);
}
.hero-fade { height: 28%; }
.hero h1 { background: none; color: #abe3ff; }
.hero p.lead { color: #c6d8e2; margin-top: 12px; }
.hero-badge { background: #101d26; }
.shard-buy::after, .product::after, .step::after, .social::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  top: 0;
  left: 0;
  width: min(65%, 182px);
  height: 28px;
  background: url("/img/winter/snow-edge.svg") left top / 100% 100% no-repeat;
}
.product:nth-child(even)::after, .step:nth-child(even)::after,
.social:nth-child(even)::after {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}
.shard-buy::after { width: min(54%, 260px); height: 32px; }
.social { position: relative; overflow: hidden; }
.social::after { width: 36%; height: 12px; }

.winter-snow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.52) 35% 65%, #000);
}
.winter-snow::before,
.winter-snow::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--tile-height)) -12px 0;
  background-image: url("/img/winter/snowflakes.svg");
  background-size: var(--tile-width) var(--tile-height);
  animation: winter-snowfall var(--fall-time) linear infinite;
}
.winter-snow::before {
  --tile-width: 577px;
  --tile-height: 419px;
  --fall-time: 24s;
  opacity: .50;
}
.winter-snow::after {
  --tile-width: 667px;
  --tile-height: 484px;
  --fall-time: 32s;
  opacity: .32;
  background-position-x: 87px;
  animation-delay: -7s;
}
@keyframes winter-snowfall {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(9px, calc(var(--tile-height) / 2)); }
  100% { transform: translate(0, var(--tile-height)); }
}
@media (prefers-reduced-motion: reduce), print {
  .winter-snow { display: none; }
}
