/* 现代设计统一样式 - 适用于所有页面 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1a1f2e;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 动态背景效果 */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 25%, #1a1f2e 50%, #2d3748 75%, #1a1f2e 100%);
    background-size: 400% 400%;
    z-index: -2;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 浮动球体效果 */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, rgba(0, 245, 255, 0.05) 50%, transparent 100%);
    animation: float 20s infinite linear;
}

.orb:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.orb:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.orb:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 50%;
    animation-delay: -20s;
    animation-duration: 28s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.3;
    }
}

/* 主容器 - Glassmorphism效果 */
.main-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(0, 245, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    animation: containerGlow 4s ease-in-out infinite alternate;
}

@keyframes containerGlow {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(0, 245, 255, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(0, 245, 255, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* 页面标题 - 渐变文字效果 */
.page-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffe44d, #00f5ff, #ff6b6b, #4ecdc4, #ffe44d);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 内容区域 - Glassmorphism效果 */
.content-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section:hover {
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.1),
                0 0 0 1px rgba(0, 245, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 卡片样式 - Glassmorphism效果 */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.2),
                0 0 0 1px rgba(0, 245, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* 按钮样式 - Shimmer效果 */
.glass-button {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.glass-button:hover::before {
    left: 100%;
}

.glass-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, #7c6ce8, #b2abfe);
}

/* 页脚导航 */
.footer-nav-bar {
    width: 100%;
    background: rgba(35, 39, 47, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,245,255,0.08);
    padding: 1.2rem 0 0.7rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-nav-links a {
    color: #b0eaff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav-links a:hover {
    color: #00f5ff;
    text-decoration: underline;
}

.footer-nav-links a.active {
    color: #00f5ff;
    font-weight: bold;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem 0.5rem;
        margin-top: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .glass-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0.5rem 0.3rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 1rem;
    }

    .glass-card {
        padding: 0.8rem;
    }
}
