/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 苹果风字体 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 动态背景容器 */
body {
    background: linear-gradient(45deg, #f0f9ff, #e0f2fe, #fef3c7, #fce7f3);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* 头部 */
header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

/* 主内容 */
main {
    flex: 1;
}

/* 模块网格 */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* 模块样式 */
.module {
    text-decoration: none;
    color: inherit;
}

.module-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.module-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.module-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.module-content p {
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.8;
}

/* 底部 */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-content {
    padding: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-content p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #6e6e73;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.footer-icon {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .module-content {
        padding: 30px 20px;
    }
    
    .module-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    header {
        margin-bottom: 30px;
        padding: 20px 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .module-content {
        padding: 25px 15px;
    }
    
    .footer-content {
        padding: 20px 15px;
    }
    
    .footer-content p {
        font-size: 0.8rem;
    }
}