/* Liquid Glass Orbs CSS */
.liquid-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid transparent;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 16px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: url(#liquid-filter);
  -webkit-backdrop-filter: url(#liquid-filter);
  transform: translate(-50%, -50%);
  transition: box-shadow 0.3s ease;
  z-index: 1;
  cursor: pointer;
}

.liquid-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}

.liquid-orb:hover {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 16px 32px rgba(0, 0, 0, 0.6);
}

/* Orb positions and animations */
#orb1 {
  left: 30%;
  top: 35%;
  animation: float1 8s infinite ease-in-out;
}

#orb2 {
  left: 50%;
  top: 25%;
  animation: float2 10s infinite ease-in-out;
}

#orb3 {
  left: 65%;
  top: 45%;
  animation: float3 12s infinite ease-in-out;
}

#orb4 {
  left: 40%;
  top: 60%;
  animation: float4 9s infinite ease-in-out;
}

/* Floating animations */
@keyframes float1 {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -60%); }
}

@keyframes float2 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-60%, -50%) scale(1.05); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-40%, -55%) rotate(5deg); }
}

@keyframes float4 {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-45%, -40%); }
}

/* Different sizes for variety */
#orb2 { width: 200px; height: 200px; }
#orb3 { width: 160px; height: 160px; }
#orb4 { width: 220px; height: 220px; }

/* For mobile devices */
@media screen and (max-width: 768px) {
  .liquid-orb {
    width: 140px;
    height: 140px;
  }
  
  #orb2 { width: 160px; height: 160px; }
  #orb3 { width: 120px; height: 120px; }
  #orb4 { width: 170px; height: 170px; }
}
