
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #704214, #228B22);
    color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Bodoni', serif;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #eaeaea;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.button {
    background-color: #6A5ACD;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.button:hover {
    transform: scale(1.1);
    background-color: #FFD700;
}

.code-block {
    background: #2d2d2d;
    color: #6A5ACD;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.table-container {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #6A5ACD;
    color: white;
}

tr:nth-child(even) {
    background-color: #333;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    h1, h2, h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

.image-retro {
    filter: sepia(80%) contrast(1.2) saturate(1.3);
}

.decoration {
    grid-column: 1;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    border-radius: 10px;
    height: 300px;
}

.chart {
    grid-column: 2;
    background: url('https://images.gptkong.com/demo/sample2.png') no-repeat center/cover;
    border-radius: 10px;
    height: 300px;
}

