/**
 * 公共动画样式
 * 用于网站各个页面的通用动画效果
 */

/* 浮动元素容器 */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* 浮动元素 */
.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatUp 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 80%;
  animation-delay: 3s;
}

.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 50%;
  animation-delay: 6s;
}

/* 浮动动画 */
@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* 渐进式动画延迟 - 用于列表项 */
.wow:nth-child(1) {
  animation-delay: 0.1s;
}

.wow:nth-child(2) {
  animation-delay: 0.2s;
}

.wow:nth-child(3) {
  animation-delay: 0.3s;
}

.wow:nth-child(4) {
  animation-delay: 0.4s;
}

.wow:nth-child(5) {
  animation-delay: 0.5s;
}
