
/* 基础样式与背景设计 */
body {
    background: linear-gradient(135deg, #000046, #1cb5e0, #000046);
    color: white;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
header {
    text-align: center;
    padding: 40px 0;
    background: rgba(0, 0, 70, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
header h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #1cb5e0, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
section {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
section:hover {
    transform: translateY(-5px);
}
h2, h3 {
    font-weight: bold;
    color: #1cb5e0;
    margin-bottom: 15px;
}
p {
    font-size: 1rem;
    color: #dcdcdc;
    line-height: 1.8;
}
pre {
    background: rgba(0, 0, 70, 0.8);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background: rgba(0, 0, 70, 0.8);
    color: #1cb5e0;
}
td {
    color: #dcdcdc;
}
button {
    background: #1cb5e0;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    background: #00ff88;
    transform: scale(1.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    section {
        padding: 20px;
    }
    pre {
        font-size: 0.8rem;
    }
}

