
/* 基础样式与页面布局 */
body {
    margin: 0;
    font-family: 'Roboto Mono', sans-serif;
    background: linear-gradient(135deg, #000033, #330066);
    color: #ffffff;
    line-height: 1.7;
    padding: 20px;
    overflow-x: hidden;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}
.header {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 4px 8px rgba(0, 0, 255, 0.5);
}
.section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 255, 0.4);
}
h2, h3 {
    color: #9400D3;
    margin-top: 0;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(148, 0, 211, 0.5);
}
p {
    font-size: 1rem;
    color: #dcdcdc;
}
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #00ff00;
}
code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ffff;
}
.button {
    background: linear-gradient(45deg, #4B0082, #9400D3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(75, 0, 130, 0.5);
}
.button:hover {
    background: linear-gradient(45deg, #9400D3, #4B0082);
    box-shadow: 0 6px 15px rgba(148, 0, 211, 0.6);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: rgba(148, 0, 211, 0.2);
    font-weight: bold;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    pre {
        font-size: 0.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}

