
/* 基础样式与布局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background: linear-gradient(45deg, #121212, #000000);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
a {
    color: #ff6ec7;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #6a11cb;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}
.section:nth-child(even) {
    background: linear-gradient(135deg, #0074D9, #6a11cb);
}
.section:nth-child(odd) {
    background: linear-gradient(135deg, #121212, #000000);
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
header nav a {
    margin: 0 15px;
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
button {
    background: transparent;
    border: 2px solid #ff6ec7;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    border-color: #6a11cb;
    transform: scale(1.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
}
code {
    color: #ff6ec7;
    font-size: 14px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: center;
}
@media (max-width: 768px) {
    header nav a {
        font-size: 14px;
        margin: 0 10px;
    }
    .section {
        padding: 20px 10px;
    }
    pre {
        font-size: 12px;
    }
}

