
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #8BC34A, #673AB7);
    color: #fff;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h1, h2, h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    color: #FFC107;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
a {
    color: #FFEB3B;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #FF9800;
}
.container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #4CAF50, #03A9F4);
    border-radius: 15px;
    margin-bottom: 20px;
}
header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
header p {
    font-size: 1.2em;
    color: #fff;
}
.section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}
.section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    z-index: -1;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
pre {
    background: #212121;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
code {
    color: #FFEB3B;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #4CAF50;
    color: white;
}
td {
    background-color: #f9f9f9;
    color: #333;
}
ul {
    list-style-type: disc;
    padding-left: 20px;
}
button {
    background-color: #FFC107;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
    background-color: #FF9800;
}
footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #673AB7, #8BC34A);
    margin-top: 20px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    .container {
        grid-template-columns: 1fr;
    }
    pre {
        font-size: 0.8em;
    }
}

