
/* 基础样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #2C2826, #44403C);
    color: #F9E5C7;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
}
a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #FFA500;
}
code {
    background-color: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
pre {
    background-color: #44403C;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #FFD700;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #FFD700;
    color: #2C2826;
}
td {
    background-color: #F9E5C7;
    color: #2C2826;
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2C2826;
    position: relative;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent);
    animation: rotate 10s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.header h1 {
    font-size: 2.5rem;
    margin: 0;
    z-index: 1;
    position: relative;
}
.section {
    background-color: #44403C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}
.section:hover {
    transform: translateY(-5px);
}
.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}
.image-box img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}
.image-box:hover img {
    transform: scale(1.1);
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #2C2826;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}
.button:hover {
    background-color: #FFA500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
    pre {
        font-size: 0.8em;
    }
}
.loading-bar {
    width: 100%;
    height: 10px;
    background: #444;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}
.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #FFD700;
    animation: load 2s linear infinite;
}
@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}
.gear-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    position: relative;
    margin: 0 auto;
}
.gear-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #FFD700;
}

