
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #000046, #1CB5E0);
    color: #fff;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.header {
    height: 100vh;
    background: url("https://images.gptkong.com/demo/sample1.png") no-repeat center/cover, linear-gradient(135deg, #000046, #1CB5E0);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.header h1 {
    font-size: 48px;
    color: #FFC107;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.header p {
    font-size: 20px;
    color: #fff;
    margin-top: 10px;
}
.module {
    padding: 50px 0;
    background: linear-gradient(to right, #000046, #1CB5E0);
    border-bottom: 1px solid #fff;
    position: relative;
}
.module:nth-child(even) {
    background: linear-gradient(to left, #000046, #1CB5E0);
}
.module h2 {
    font-size: 36px;
    color: #FFC107;
    margin-bottom: 20px;
}
.module p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
}
.module img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}
.module .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.module .grid-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.module .grid-item:hover {
    transform: scale(1.05);
}
.code-block {
    background: #000;
    color: #00FF00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #fff;
    padding: 10px;
    text-align: center;
}
table th {
    background: #FFC107;
    color: #000;
}
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 36px;
    }
    .module h2 {
        font-size: 28px;
    }
    .module p {
        font-size: 16px;
    }
    .code-block {
        font-size: 12px;
    }
}

