/* 首页动效：星星、流星、标题、按钮、平台图标 - 全局生效 */

/* 星星闪烁 */
.landing .stars .star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: landing-twinkle var(--duration, 2.5s) ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes landing-twinkle {
  0%, 100% { opacity: var(--min-opacity, 0.3); transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 流星 */
.landing ~ .comet,
body .comet {
  position: fixed !important;
  width: 120px;
  height: 3px;
  z-index: 99;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, transparent 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* 标题浮动 + 发光 */
.landing .title-3d {
  animation: landing-float-title 4s ease-in-out infinite;
}
@keyframes landing-float-title {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-15px) rotateX(5deg); }
}
.landing .title-3d span {
  animation: landing-glow-text 3s ease-in-out infinite;
}
@keyframes landing-glow-text {
  0%, 100% { text-shadow: 0 0 10px rgba(0,212,255,0.5); }
  50% { text-shadow: 0 0 30px rgba(255,45,149,0.8); }
}

/* 副标题脉冲 */
.landing .subtitle-space {
  animation: landing-pulse-glow 2s ease-in-out infinite;
}
@keyframes landing-pulse-glow {
  0%, 100% { opacity: 0.7; text-shadow: 0 0 10px #00d4ff; }
  50% { opacity: 1; text-shadow: 0 0 30px #00d4ff; }
}

/* 按钮波纹 */
.landing .warp-effect {
  animation: landing-warp-drive 1.5s ease-out infinite;
}
@keyframes landing-warp-drive {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 300px; height: 300px; opacity: 0; }
}

/* 平台图标：立体水波纹（双层环+立体光晕）+ 波纹间碰撞效果 */
.landing .orbit-platform {
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  overflow: visible;
}
/* 立体水波纹 - 内环（先动） */
.landing .orbit-platform::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.5);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.3),
    inset 0 0 15px rgba(0,212,255,0.08),
    0 0 20px rgba(0,212,255,0.15);
  animation: orbit-ripple-inner 2s ease-out infinite;
  pointer-events: none;
}
/* 立体水波纹 - 外环（主波，带厚度与景深） */
.landing .orbit-platform::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid rgba(0,212,255,0.9);
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(0,212,255,0.25),
    0 0 0 4px rgba(0,212,255,0.1),
    0 0 15px rgba(0,212,255,0.35),
    0 0 30px rgba(255,45,149,0.15),
    inset 0 0 20px rgba(0,212,255,0.06);
  animation: orbit-pulse-ripple 2s ease-out infinite;
  pointer-events: none;
}
@keyframes orbit-ripple-inner {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes orbit-pulse-ripple {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}
/* 中心碰撞光点（波纹交汇瞬间） */
.landing .orbit-platforms {
  position: relative;
}
.landing .orbit-platforms::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.95) 0%, rgba(255,45,149,0.5) 35%, transparent 65%);
  box-shadow: 0 0 40px rgba(0,212,255,0.7), 0 0 80px rgba(255,45,149,0.4);
  pointer-events: none;
  z-index: 0;
  animation: orbit-collision 2s ease-out infinite;
}
@keyframes orbit-collision {
  0%, 48% { transform: scale(0.2); opacity: 0; }
  58% { transform: scale(0.6); opacity: 0.5; }
  72% { transform: scale(1); opacity: 1; }
  85% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}
/* 碰撞扩散环：波纹相撞后产生的同心圆扩散（立体环） */
.landing .orbit-collision-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.6),
    0 0 0 3px rgba(0,212,255,0.2),
    0 0 25px rgba(0,212,255,0.4),
    inset 0 0 15px rgba(0,212,255,0.1);
  pointer-events: none;
  z-index: 0;
  animation: orbit-collision-ring 2s ease-out infinite;
}
@keyframes orbit-collision-ring {
  0%, 52% { transform: scale(0.3); opacity: 0; border-color: rgba(0,212,255,0); }
  62% { transform: scale(0.6); opacity: 0.8; border-color: rgba(0,212,255,0.8); }
  75% { transform: scale(1); opacity: 1; border-color: rgba(255,45,149,0.4); }
  90% { transform: scale(1.5); opacity: 0.3; border-color: rgba(0,212,255,0.1); }
  100% { transform: scale(1.8); opacity: 0; border-color: rgba(0,212,255,0); }
}
.landing .orbit-platform:hover {
  background: rgba(0,212,255,0.25);
  border-color: #00d4ff;
  transform: translateY(-12px) scale(1.08);
  box-shadow: 0 12px 35px rgba(0,212,255,0.4);
}
.landing .orbit-platform:hover::before,
.landing .orbit-platform:hover::after {
  animation-duration: 1.2s;
}

/* 底部卡片 hover */
.landing .feature-space {
  transition: all 0.5s ease;
}
.landing .feature-space:hover {
  transform: translateY(-15px);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
