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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

/* 主体内容样式 */
.main-content {
    flex: 1;
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.content-wrapper h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.content-wrapper > p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-section, .contact-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.info-section h3, .contact-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.info-section li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-section p {
    color: #555;
    font-size: 1rem;
}

/* 底部样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 1.5rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.icp-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.icp-info a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #3498db;
    text-decoration: underline;
}

.separator {
    color: #7f8c8d;
    margin: 0 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .icp-info {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 1.5rem 0.5rem;
    }
    
    .content-wrapper {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .info-section, .contact-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 链接悬停效果 */
a {
    transition: all 0.3s ease;
}

/* 卡片悬停效果 */
.content-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
