
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a2a, #1e1e2d);
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffcc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    gap: 20px;
}
header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #1e1e2d, #0a0a2a);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
header h1 {
    font-size: 2.5rem;
    margin: 0;
}
header p {
    font-size: 1.2rem;
    color: #00ffcc;
}
.card {
    background: #1e1e2d;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-10px);
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}
.card-content {
    padding: 20px;
    text-align: center;
}
.card-title {
    font-size: 1.5rem;
    color: #00ffcc;
    margin-bottom: 10px;
}
.card-description {
    font-size: 1rem;
    color: #cccccc;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .card-title {
        font-size: 1.2rem;
    }
}
code {
    background: #001f3f;
    color: #00ffcc;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}
pre {
    background: #001f3f;
    color: #00ffcc;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #00ffcc;
    padding: 10px;
    text-align: left;
}
th {
    background: #001f3f;
}
button {
    background: #00ffcc;
    color: #0a0a2a;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.05);
    background: #00ccaa;
}
.example-section {
    background: linear-gradient(135deg, #1e1e2d, #0a0a2a);
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 40px;
}
.example-title {
    font-size: 2rem;
    color: #00ffcc;
    text-align: center;
    margin-bottom: 20px;
}

