
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #e0f7fa, #c8e6c9);
    color: #333;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 20px;
}
a {
    color: #ff8f00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff6f00;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    flex: 1 1 calc(50% - 20px);
    transition: transform 0.3s ease;
}
.section:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    .section {
        flex: 1 1 100%;
    }
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #f5f5f5;
    color: #333;
}
pre {
    background: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', Courier, monospace;
    background: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
}
.button {
    display: inline-block;
    background: #ffab00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 1s ease-out;
}
@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}
.note {
    background: #fff3e0;
    color: #e65100;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

