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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

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

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

/* 主要内容样式 */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* 按钮样式 */
button {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #5a67d8;
}

button:active {
    transform: scale(0.98);
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    color: #666;
    background-color: #eaeaea;
}

/* 响应式设计 */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    button {
        width: 100%;
    }
}