
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto Mono', sans-serif;
    background: linear-gradient(135deg, #1E1E2D, #2C2C4A);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #FFA500;
    margin-top: 2rem;
}
p {
    font-size: 1rem;
    color: #C0C0C0;
    margin-bottom: 1.5rem;
}
a {
    color: #FFA500;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FFD700;
}
pre {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    color: #00FF7F;
    font-family: 'Courier New', monospace;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
th, td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #444;
}
th {
    background-color: #2C2C4A;
    color: #FFA500;
}
td {
    color: #C0C0C0;
}
button {
    background-color: #FFA500;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    background-color: #FFD700;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.parallax-layer {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(2);
    will-change: transform;
}
.foreground {
    position: relative;
    z-index: 2;
    transform: translateZ(1px) scale(0.8);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    p { font-size: 0.9rem; }
    .container { padding: 1rem; }
    pre { font-size: 0.8rem; }
}

