/* Fireflies - updated: bluer, brighter, offset orbits (paste at end of CSS) */

.firefly-container {
  position: relative;
  display: inline-block;
  overflow: visible;
}

/* image over the fireflies */
.firefly-container img {
  position: relative;
  z-index: 40;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* firefly holder (absolute placement controlled by JS) */
.firefly {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 30;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

/* THE DOT - strong blue glow */
.firefly .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(180,235,255,1) 0%,
    rgba(120,200,255,0.95) 20%,
    rgba(60,150,255,0.6) 45%,
    rgba(20,80,200,0.18) 70%,
    transparent 100%);
  filter: blur(7px);
  box-shadow:
    0 0 18px rgba(100,190,255,0.9),
    0 0 36px rgba(70,160,255,0.45);
  transform-origin: center;
  opacity: 1;
}

/* size variations */
.firefly.small .dot { width: 6px; height:6px; filter: blur(5px); box-shadow: 0 0 10px rgba(100,190,255,0.8); }
.firefly.big .dot   { width: 18px; height:18px; filter: blur(9px); box-shadow: 0 0 26px rgba(100,190,255,1), 0 0 48px rgba(70,160,255,0.5); }

/* reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .firefly { transition: none !important; animation: none !important; }
}
