/* Background System */

.background-system {
  position: fixed;
  inset: 0;
  z-index: -10;
  background: var(--base-black);
  overflow: hidden;
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.background-system::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 58, 58, 0.3) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: float-1 25s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42, 42, 42, 0.4) 0%, transparent 70%);
  top: 50%;
  right: -100px;
  animation: float-2 30s ease-in-out infinite;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 34, 34, 0.3) 0%, transparent 70%);
  bottom: -150px;
  left: 30%;
  animation: float-3 20s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(50px, 100px); }
  66% { transform: translate(-30px, 50px); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-80px, -60px); }
  66% { transform: translate(40px, 80px); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, -80px); }
}

.dither-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* Subtle dot/circle texture for depth - minimal elevation */
.dither-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(80, 80, 80, 0.06) 0%, transparent 8%),
    radial-gradient(circle at 88% 75%, rgba(60, 60, 60, 0.05) 0%, transparent 6%),
    radial-gradient(circle at 50% 95%, rgba(70, 70, 70, 0.04) 0%, transparent 5%);
  background-size: 100% 100%;
  pointer-events: none;
}
