/**
 * 模板 056 · 蓝天云海 (Cloud Sea & Azure Sky Theme)
 * 纯净苍穹、高空流云、高维透光与大气流线视觉系统
 */

/* 蓝天云海专属色彩体系 */
:root {
  --sky-deep: #07111E;
  --sky-space: #0B1C33;
  --sky-navy: #0F284B;
  --sky-azure: #0284C7;
  --sky-cyan: #38BDF8;
  --sky-light: #BAE6FD;
  --sky-mist: rgba(240, 249, 255, 0.08);
  --sky-cloud-glass: rgba(15, 40, 75, 0.65);
  --sky-cloud-border: rgba(56, 189, 248, 0.24);
  --sunbeam-glow: rgba(56, 189, 248, 0.15);
}

/* 高空流云背景容器 */
.cloud-sea-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* 大气高光与天穹漫射 */
.sky-sunbeam {
  position: absolute;
  top: -150px;
  right: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  animation: sunbeamPulse 12s ease-in-out infinite alternate;
}

.sky-ambient-glow {
  position: absolute;
  top: 30%;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* 分层流云视觉 */
.cloud-layer {
  position: absolute;
  width: 200%;
  height: 380px;
  bottom: 0;
  left: 0;
  background-repeat: repeat-x;
  background-size: 1200px auto;
  opacity: 0.45;
  transform: translate3d(0, 0, 0);
}

.cloud-layer-1 {
  background-image: radial-gradient(ellipse at 50% 120%, rgba(56, 189, 248, 0.25) 0%, rgba(15, 40, 75, 0.3) 40%, transparent 75%);
  animation: cloudFloatSlow 60s linear infinite;
  height: 300px;
  bottom: 0;
}

.cloud-layer-2 {
  background-image: radial-gradient(ellipse at 60% 130%, rgba(186, 230, 253, 0.18) 0%, rgba(11, 28, 51, 0.4) 50%, transparent 80%);
  animation: cloudFloatReverse 80s linear infinite;
  height: 240px;
  bottom: -40px;
  opacity: 0.35;
}

/* 云雾微粒浮标 */
.floating-cloud-puff {
  position: absolute;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.15) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
  animation: puffFloat 16s ease-in-out infinite alternate;
}

.puff-1 { width: 340px; height: 180px; top: 18%; left: 10%; }
.puff-2 { width: 420px; height: 220px; top: 45%; right: 5%; animation-delay: -5s; }
.puff-3 { width: 280px; height: 150px; bottom: 20%; left: 25%; animation-delay: -9s; }

/* 关键帧动画 */
@keyframes sunbeamPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.15) translate(20px, 15px); opacity: 1; }
  100% { transform: scale(0.95) translate(-15px, 10px); opacity: 0.75; }
}

@keyframes cloudFloatSlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes cloudFloatReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes puffFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
  100% { transform: translateY(15px) scale(0.96); }
}

/* 无障碍偏好：减少动效 */
@media (prefers-reduced-motion: reduce) {
  .sky-sunbeam,
  .cloud-layer,
  .floating-cloud-puff {
    animation: none !important;
  }
}
