
/* 页面整体样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4c6ef5, #8e44ad);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #ff9f43;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
p {
    font-size: 1rem;
    color: #f5f5f5;
    margin-bottom: 1.2rem;
}
a {
    color: #ff9f43;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #ff6f61;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to bottom, #2c3e50, #34495e);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.header p {
    font-size: 1.2rem;
    color: #ecf0f1;
}
.section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px 0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.code-block {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background: rgba(255, 255, 255, 0.1);
    color: #ff9f43;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
.hidden-menu {
    display: none;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    table {
        font-size: 0.9rem;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-effect {
    animation: fadeIn 1s ease-in-out;
}

