
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #786450, #2c3e50);
    color: #fff;
    line-height: 1.8;
    padding: 20px;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #ff7e5f;
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
}
a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #feb47b;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
code, pre {
    font-family: 'Consolas', monospace;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    color: #dcdcdc;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    border: 1px solid #ffffff;
    text-align: left;
}
th {
    background-color: #ff7e5f;
    color: #ffffff;
}
td {
    background-color: rgba(255, 255, 255, 0.1);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.asymmetric-element {
    grid-column: span 2;
}
.retro-illustration {
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}
.retro-illustration:hover {
    transform: scale(1.05);
}
.background-texture {
    background-image: url('https://images.gptkong.com/demo/sample1.png'), 
                      repeating-linear-gradient(45deg, #ffffff, #dcdcdc 2px, #ffffff 4px);
    background-size: cover;
    background-blend-mode: multiply;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}
.button {
    display: inline-block;
    background-color: #00aaff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #feb47b;
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    code, pre {
        font-size: 0.9rem;
    }
}

