
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Source Han Sans SC', sans-serif;
    background: linear-gradient(135deg, #0A0A23, #1C1C3B);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #FFC107;
    text-align: left;
    margin-bottom: 15px;
}
p, li {
    font-size: 16px;
    color: #E0E0E0;
    margin-bottom: 15px;
}
a {
    color: #FFC107;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF9800;
}
pre {
    background-color: #1C1C3B;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    font-family: 'Roboto Mono', monospace;
    color: #FFC107;
    background-color: #1C1C3B;
    padding: 2px 5px;
    border-radius: 4px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.grid-item {
    background: linear-gradient(135deg, #1C1C3B, #2C2C4B);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.line-art {
    width: 80px;
    height: 80px;
    border: 2px solid #FFC107;
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
}
.line-art::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px dashed #FFC107;
    border-radius: 50%;
}
.hover-effect {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.hover-effect:hover {
    transform: scale(1.05);
    background-color: #FFC107;
    color: #0A0A23;
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    h1, h2, h3, h4 {
        font-size: 1.5rem;
    }
    p, li {
        font-size: 14px;
    }
}
@media (min-width: 1024px) {
    body {
        padding: 40px;
    }
    .grid-item {
        padding: 30px;
    }
}

