
/* =========================================
   Banner 动态背景动画
   ========================================= */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* 确保在内容之下 */
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6; /* 提高不透明度，从 0.4 -> 0.6 */
    filter: blur(80px); /* 增加模糊半径，使光晕更柔和但范围更大 */
    mix-blend-mode: screen; /* 使用滤色混合模式，使光效更亮 */
}

/* 形状 1: 左上角蓝色光晕 - 加大尺寸 */
.shape-1 {
    top: -20%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,255,255,0.5) 0%, rgba(0,0,255,0) 70%);
    animation: float1 10s ease-in-out infinite alternate;
}

/* 形状 2: 右下角紫色/红色光晕 - 加大尺寸 */
.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255,0,150,0.4) 0%, rgba(255,0,0,0) 70%);
    animation: float2 12s ease-in-out infinite alternate;
}

/* 形状 3: 中间偏上白色高光 - 增强亮度 */
.shape-3 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    animation: pulse 6s ease-in-out infinite;
}

/* 动画定义 */
@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(10deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -30px) scale(1.1); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.3; }
}

@media (max-width: 768px) {
    /* 移动端减弱动画和尺寸，优化性能 */
    .shape {
        filter: blur(30px);
    }
    .shape-1 { width: 200px; height: 200px; }
    .shape-2 { width: 250px; height: 250px; }
    .shape-3 { display: none; }
}
