/* Light Rays Background Effect */
.light-rays-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.light-ray {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 255, 255, 0.1) 20%,
    rgba(0, 255, 255, 0.3) 50%,
    rgba(0, 255, 255, 0.1) 80%,
    transparent 100%
  );
  animation: lightRayMove 8s linear infinite;
  opacity: 0;
}

.light-ray:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.light-ray:nth-child(2) {
  left: 30%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.light-ray:nth-child(3) {
  left: 50%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.light-ray:nth-child(4) {
  left: 70%;
  animation-delay: 1s;
  animation-duration: 11s;
}

.light-ray:nth-child(5) {
  left: 90%;
  animation-delay: 3s;
  animation-duration: 13s;
}

@keyframes lightRayMove {
  0% {
    opacity: 0;
    transform: translateY(-100%) scaleY(0);
  }
  10% {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
  }
  90% {
    opacity: 1;
    transform: translateY(50%) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100%) scaleY(0);
  }
}

/* Only show for modern theme */
[data-theme="moderni"] .light-rays-container {
  display: block;
}

[data-theme]:not([data-theme="moderni"]) .light-rays-container {
  display: none;
}
