/* 动态背景样式 - 通用版本 */
:root {
    --bg-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 页面基础样式 */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* 背景渐变动画 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 页面加载动画 - 移除进场动画 */
.main-container {
    opacity: 1;
    transform: translateY(0);
}

/* 页面加载完成后的状态 */
body.page-loaded .main-container {
    animation: none;
    opacity: 1;
    transform: translateY(0);
}

/* 背景装饰 */
.dynamic-bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    animation: float 15s infinite linear;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.bg-circle-1 {
    width: 250px;
    height: 250px;
    top: 5%;
    left: -125px;
    animation-duration: 20s;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.2));
}

.bg-circle-2 {
    width: 180px;
    height: 180px;
    top: 50%;
    right: -90px;
    animation-duration: 25s;
    animation-delay: -8s;
    background: linear-gradient(45deg, rgba(240, 147, 251, 0.3), rgba(245, 87, 108, 0.2));
}

.bg-circle-3 {
    width: 350px;
    height: 350px;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    animation-duration: 30s;
    animation-delay: -15s;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.3), rgba(102, 126, 234, 0.2));
}

.bg-circle-4 {
    width: 140px;
    height: 140px;
    top: 25%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: -3s;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.2), rgba(165, 42, 42, 0.15));
}

.bg-circle-5 {
    width: 100px;
    height: 100px;
    top: 65%;
    left: 10%;
    animation-duration: 18s;
    animation-delay: -12s;
    background: linear-gradient(45deg, rgba(118, 75, 162, 0.25), rgba(102, 126, 234, 0.15));
}

.bg-circle-6 {
    width: 280px;
    height: 280px;
    top: 2%;
    right: 5%;
    animation-duration: 35s;
    animation-delay: -20s;
    background: linear-gradient(45deg, rgba(245, 87, 108, 0.2), rgba(240, 147, 251, 0.15));
}

.bg-circle-7 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 5%;
    animation-duration: 16s;
    animation-delay: -5s;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.3), rgba(118, 75, 162, 0.2));
}

.bg-circle-8 {
    width: 200px;
    height: 200px;
    top: 85%;
    right: 20%;
    animation-duration: 28s;
    animation-delay: -18s;
    background: linear-gradient(45deg, rgba(240, 147, 251, 0.25), rgba(79, 172, 254, 0.15));
}

.bg-circle-9 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 25%;
    animation-duration: 24s;
    animation-delay: -10s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(245, 87, 108, 0.15));
}

/* 浮动动画 */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    20% {
        transform: translateY(-15px) rotate(72deg) scale(1.05);
        opacity: 0.6;
    }
    40% {
        transform: translateY(-30px) rotate(144deg) scale(0.95);
        opacity: 0.3;
    }
    60% {
        transform: translateY(-20px) rotate(216deg) scale(1.1);
        opacity: 0.7;
    }
    80% {
        transform: translateY(-10px) rotate(288deg) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
        opacity: 0.4;
    }
}

/* 内容区域样式增强 */
.content-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    transition: var(--bg-transition);
    animation: cardFloat 6s ease-in-out infinite;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 卡片浮动动画 */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .bg-circle-1 {
        width: 150px;
        height: 150px;
        left: -75px;
    }
    
    .bg-circle-2 {
        width: 120px;
        height: 120px;
        right: -60px;
    }
    
    .bg-circle-3 {
        width: 200px;
        height: 200px;
    }
    
    .bg-circle-4 {
        width: 100px;
        height: 100px;
    }
    
    .bg-circle-5 {
        width: 80px;
        height: 80px;
    }
    
    .bg-circle-6 {
        width: 180px;
        height: 180px;
    }
    
    .bg-circle-7 {
        width: 50px;
        height: 50px;
    }
    
    .bg-circle-8 {
        width: 120px;
        height: 120px;
    }
    
    .bg-circle-9 {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .bg-circle-1 {
        width: 100px;
        height: 100px;
        left: -50px;
    }
    
    .bg-circle-2 {
        width: 80px;
        height: 80px;
        right: -40px;
    }
    
    .bg-circle-3 {
        width: 150px;
        height: 150px;
    }
    
    .bg-circle-4 {
        width: 70px;
        height: 70px;
    }
    
    .bg-circle-5 {
        width: 60px;
        height: 60px;
    }
    
    .bg-circle-6 {
        width: 120px;
        height: 120px;
    }
    
    .bg-circle-7 {
        width: 40px;
        height: 40px;
    }
    
    .bg-circle-8 {
        width: 80px;
        height: 80px;
    }
    
    .bg-circle-9 {
        width: 60px;
        height: 60px;
    }
} 