
/* 全局样式与配色 */
body {
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
    background: linear-gradient(135deg, #121212, #2c3e50);
    color: #f5deb3;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni', serif;
    color: #d4af37;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
a {
    color: #00ff7f;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00fa9a;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.highlight {
    color: #00ff7f;
    font-weight: bold;
}
.image-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.image-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #d4af37;
    transition: transform 0.3s ease;
}
.image-box img:hover {
    transform: scale(1.1);
}
.button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #121212;
    font-size: 16px;
    font-weight: bold;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}
.button:hover::before {
    width: 200px;
    height: 200px;
}
.code-block {
    background: #1e1e1e;
    color: #00ff7f;
    padding: 15px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .image-box img {
        width: 100px;
        height: 100px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
}

