
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Merriweather', serif;
    color: #ffffff;
    background: linear-gradient(135deg, #2c2f47, #6a3093);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 0 10px #39ff14;
    margin-bottom: 20px;
}
p, table, pre {
    margin-bottom: 20px;
}
a {
    color: #39ff14;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff7f50;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 网格系统布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1440px;
}
.grid-item {
    background-color: rgba(44, 47, 71, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 色彩方案与渐变效果 */
.header {
    background: linear-gradient(45deg, #6a3093, #39ff14);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}
.button {
    background-color: #6a3093;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* 动画与动态效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('https://images.gptkong.com/demo/sample1.png'), url('https://images.gptkong.com/demo/sample2.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

/* 表格与代码块样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid #39ff14;
    padding: 10px;
    text-align: center;
}
th {
    background-color: #39ff14;
    color: #2c2f47;
}
pre {
    background-color: rgba(44, 47, 71, 0.8);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    color: #39ff14;
    font-family: 'Roboto Mono', monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
    h1 {
        font-size: 2rem;
    }
    pre {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
    h1 {
        font-size: 1.8rem;
    }
    pre {
        font-size: 0.8rem;
    }
}

