/* Canvas layers */
#rain-canvas,
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Fog layers */
.fog-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.fog-1 {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(26, 30, 40, 0.1) 20%,
    transparent 40%,
    rgba(26, 30, 40, 0.15) 60%,
    transparent 80%
  );
  animation: fog-drift 30s linear infinite;
}

.fog-2 {
  background: linear-gradient(
    270deg,
    transparent 0%,
    rgba(26, 30, 40, 0.08) 30%,
    transparent 50%,
    rgba(26, 30, 40, 0.12) 70%,
    transparent 100%
  );
  animation: fog-drift 45s linear infinite reverse;
  opacity: 0.7;
}

.fog-3 {
  background: linear-gradient(
    90deg,
    transparent 10%,
    rgba(10, 12, 16, 0.2) 30%,
    transparent 60%,
    rgba(10, 12, 16, 0.1) 85%
  );
  animation: fog-drift 60s linear infinite;
  opacity: 0.5;
}

@keyframes fog-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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