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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff9a56 0%, #FF9900 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 主要内容区域 */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 800px;
}

.doc-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.doc-card h2 {
    color: #FF9900;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.doc-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a56 0%, #FF9900 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

/* 文档页面样式 */
.doc-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.doc-content h1 {
    color: #FF9900;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
}

.doc-content h2 {
    color: #333;
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 10px;
}

.doc-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.doc-content ol, .doc-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.doc-content li {
    margin-bottom: 8px;
}

.back-btn {
    display: inline-block;
    background: #FF9900;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #e55a2b;
}

/* 页脚样式 */
footer {
    text-align: center;
    color: white;
    margin-top: 40px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .doc-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .doc-card {
        padding: 30px 20px;
    }
    
    .doc-content {
        padding: 20px;
    }
    
    .doc-content h1 {
        font-size: 2rem;
    }
} 