
/* 基础样式与全局设置 */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #282828 0%, #1e3c3c 100%);
    color: #EEDD82;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', serif;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
a {
    color: #00BFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    text-shadow: 0 0 10px #00BFFF, 0 0 20px #00BFFF;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
pre {
    background: #222;
    color: #00BFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9em;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
.button {
    background: #282828;
    color: #FFD700;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}
.button:hover {
    animation: neon-glow 1s infinite alternate;
}
@keyframes neon-glow {
    from {
        text-shadow: 0 0 5px #00BFFF, 0 0 10px #00BFFF;
    }
    to {
        text-shadow: 0 0 20px #00BFFF, 0 0 30px #00BFFF;
    }
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    pre {
        font-size: 0.8em;
    }
}

