
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1A2F, #1E2D3D);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    font-style: italic;
    margin-top: 2rem;
}

p {
    font-size: 1rem;
    margin: 1rem 0;
}

a {
    color: #FFD700;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* 容器布局 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

/* 图片装饰 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 按钮样式 */
button {
    background: linear-gradient(45deg, #FFD700, #FFC107);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: linear-gradient(90deg, #FFD700, #FFC107);
    color: #0A1A2F;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    pre {
        font-size: 0.8rem;
    }
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 1.2rem;
    margin: 20px 0;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

