/* ByteJove seasonal extras. Only used when seasonal.js turns a theme on. */

/* Moving effects layer */
.bj-particles {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  pointer-events: none; /* never blocks clicks */
}

/* Banner badges */
.bj-season .launch-banner { position: relative; z-index: 3; }

/* Snow resting on the bottom edge of the banner (winter) */
.bj-snowcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  width: 100%;
  height: 16px;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}
.bj-badge {
  width: 40px;
  height: 34px;
  flex: 0 0 auto;
}
.bj-badge--flip { transform: scaleX(-1); }

/* String of lights under the header */
.bj-season .site-header { overflow: visible; }
.bj-lights {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 18px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}
.bj-lights::before { /* the wire */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-bottom: 1px solid rgba(188, 180, 206, 0.35);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.bj-bulb {
  position: relative;
  width: 7px;
  height: 11px;
  margin-top: 4px;
  border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
  background: var(--bulb);
  box-shadow: 0 0 6px var(--bulb), 0 0 14px var(--bulb);
  animation: bj-twinkle 2.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.bj-bulb::before { /* socket */
  content: "";
  position: absolute;
  top: -3px;
  left: 1.5px;
  width: 4px;
  height: 3px;
  border-radius: 1px;
  background: #4a3d5e;
}

@keyframes bj-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; box-shadow: 0 0 2px var(--bulb); }
}

@media (max-width: 700px) {
  .bj-badge { width: 32px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .bj-bulb { animation: none; }
}
