/* 全局滚动条样式 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 6px;
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* 确保页面可滚动 */
html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    overflow-y: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* 背景动画基础样式 */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.bg-animation span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: move 25s linear infinite;
    bottom: -150px;
}

.bg-animation span:nth-child(1) { 
    left: 25%; 
    width: 80px; 
    height: 80px; 
    animation-delay: 0s; 
    background: rgba(255, 255, 255, 0.3);
}
.bg-animation span:nth-child(2) { 
    left: 10%; 
    width: 20px; 
    height: 20px; 
    animation-delay: 2s; 
    animation-duration: 12s; 
    background: rgba(255, 255, 255, 0.2);
}
.bg-animation span:nth-child(3) { 
    left: 70%; 
    width: 20px; 
    height: 20px; 
    animation-delay: 4s; 
    background: rgba(255, 255, 255, 0.25);
}
.bg-animation span:nth-child(4) { 
    left: 40%; 
    width: 60px; 
    height: 60px; 
    animation-delay: 0s; 
    animation-duration: 18s; 
    background: rgba(255, 255, 255, 0.3);
}
.bg-animation span:nth-child(5) { 
    left: 65%; 
    width: 20px; 
    height: 20px; 
    animation-delay: 0s; 
    background: rgba(255, 255, 255, 0.2);
}
.bg-animation span:nth-child(6) { 
    left: 75%; 
    width: 110px; 
    height: 110px; 
    animation-delay: 3s; 
    background: rgba(255, 255, 255, 0.35);
}
.bg-animation span:nth-child(7) { 
    left: 35%; 
    width: 150px; 
    height: 150px; 
    animation-delay: 7s; 
    background: rgba(255, 255, 255, 0.3);
}
.bg-animation span:nth-child(8) { 
    left: 50%; 
    width: 25px; 
    height: 25px; 
    animation-delay: 15s; 
    animation-duration: 45s; 
    background: rgba(255, 255, 255, 0.25);
}
.bg-animation span:nth-child(9) { 
    left: 20%; 
    width: 15px; 
    height: 15px; 
    animation-delay: 2s; 
    animation-duration: 35s; 
    background: rgba(255, 255, 255, 0.2);
}
.bg-animation span:nth-child(10) { 
    left: 85%; 
    width: 150px; 
    height: 150px; 
    animation-delay: 0s; 
    animation-duration: 11s; 
    background: rgba(255, 255, 255, 0.3);
}

@keyframes move {
    0% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 1; 
        border-radius: 0; 
    }
    100% { 
        transform: translateY(-100vh) rotate(720deg); 
        opacity: 0; 
        border-radius: 50%; 
    }
}

/* 几何背景基础样式 */
.geometric-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

.geo-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 0s;
}

.geo-shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #f9ca24, #f0932b);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-delay: 5s;
}

.geo-shape:nth-child(3) {
    top: 30%;
    left: 70%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    animation-delay: 10s;
}

.geo-shape:nth-child(4) {
    top: 70%;
    left: 20%;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #00b894, #00cec9);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
    }
    66% { 
        transform: translateY(10px) rotate(240deg); 
    }
}

/* 返回按钮 */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    font-family: 'Noto Sans SC', sans-serif;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .geo-shape {
        opacity: 0.05;
    }
    
    .bg-animation span {
        opacity: 0.15;
    }
}
