
/* 基础样式与页面布局 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #001f3f, #390099, #ff7eb6);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2, h3 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
h1 {
    font-size: 48px;
    background: linear-gradient(90deg, #ff7eb6, #390099);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h2 {
    font-size: 36px;
    color: #ff7eb6;
}
h3 {
    font-size: 24px;
    color: #390099;
}
p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: center;
}
th, td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: rgba(255, 255, 255, 0.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #ff7eb6, #390099);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 126, 182, 0.5);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    pre {
        font-size: 12px;
    }
}

