/* 高科技动画效果 */

/* 渐变滚动背景 */
.gradient-animate {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 霓虹发光效果 */
.neon-text {
  color: #fff;
  text-shadow: 
    0 0 5px #fff, 
    0 0 10px #fff, 
    0 0 15px #0073e6,
    0 0 20px #0073e6, 
    0 0 25px #0073e6;
  animation: neon-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  from {
    text-shadow: 
      0 0 5px #fff, 
      0 0 10px #fff, 
      0 0 15px #0073e6,
      0 0 20px #0073e6, 
      0 0 25px #0073e6;
  }
  to {
    text-shadow: 
      0 0 5px #fff, 
      0 0 10px #fff, 
      0 0 15px #00c3ff,
      0 0 20px #00c3ff, 
      0 0 25px #00c3ff,
      0 0 30px #00c3ff;
  }
}

/* 浮动效果 */
.float-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 科技扫描线 */
.scan-effect {
  position: relative;
  overflow: hidden;
}

.scan-effect::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.2;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: scan 6s linear infinite;
}

@keyframes scan {
  0% {
    top: -150%;
  }
  100% {
    top: 150%;
  }
}

/* 打字机效果 */
.typing-effect {
  overflow: hidden;
  border-right: 3px solid #00c3ff;
  white-space: nowrap;
  margin: 0 auto;
  animation: 
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #00c3ff }
}

/* 能量波纹效果 */
.energy-ripple {
  position: relative;
}

.energy-ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(0, 195, 255, 0.2);
  transform: translate(-50%, -50%);
  animation: ripple 2s linear infinite;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* 科技圆形加载器 */
.tech-loader {
  border: 4px solid rgba(0, 195, 255, 0.1);
  border-radius: 50%;
  border-top: 4px solid #00c3ff;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 高亮扫描效果 */
.highlight-scan {
  position: relative;
  overflow: hidden;
}

.highlight-scan::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: highlight 3s infinite;
}

@keyframes highlight {
  0% { left: -100%; }
  100% { left: 200%; }
} 