
/* 页面基础样式 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0F172A 0%, #6366F1 100%);
    color: #E5E7EB;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: bold;
    color: #FFB02E;
    margin-top: 2rem;
}

p {
    font-size: 16px;
    color: #E5E7EB;
    margin-bottom: 1rem;
}

a {
    color: #34D399;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFB02E;
}

/* 容器与网格布局 */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.module {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    background-color: rgba(15, 23, 42, 0.8);
    color: #E5E7EB;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-10px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .module {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .module {
        width: 100%;
    }
}

/* 动画效果 */
.earth {
    width: 100px;
    height: 100px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
    background-size: cover;
    animation: rotate 10s infinite linear;
    margin: 20px auto;
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.button {
    background-color: #6366F1;
    color: #E5E7EB;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

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

/* 代码块样式 */
pre {
    background-color: #0F172A;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #34D399;
    margin: 20px 0;
}

code {
    font-family: 'Courier New', monospace;
    color: #FFB02E;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 14px;
    color: #FFB02E;
    margin-top: 20px;
}

