
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3443);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #68b0ab;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
}
a {
    color: #ffaa00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffcc00;
}
.container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: scale(1.05);
}
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 10%);
    transform: rotate(45deg);
    animation: moveGradient 5s infinite linear;
}
@keyframes moveGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    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(0, 0, 0, 0.2);
    font-weight: bold;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}

