
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #6A5ACD, #4B0082);
    color: #ffffff;
    line-height: 1.6;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(75, 0, 130, 0.6);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}
header nav {
    display: flex;
    gap: 30px;
}
header nav a {
    color: #00FF7F;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}
header nav a:hover {
    color: #FFFFFF;
    transform: scale(1.1);
}
.container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
h1, h2, h3, h4 {
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
p {
    font-size: 16px;
    color: #E0E0E0;
}
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}
code {
    color: #00FF7F;
    font-family: 'Courier New', Courier, monospace;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table, th, td {
    border: 1px solid #00FF7F;
}
th, td {
    padding: 12px;
    text-align: left;
}
th {
    background: rgba(75, 0, 130, 0.8);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    filter: opacity(0.8);
    transition: transform 0.3s ease, filter 0.3s ease;
}
img:hover {
    transform: scale(1.05);
    filter: opacity(1);
}
.button {
    background-color: rgba(75, 0, 130, 0.8);
    border: 2px solid #4B0082;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.button:hover {
    background-color: rgba(75, 0, 130, 1);
    transform: scale(1.05);
}
.dynamic-background {
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center fixed;
    background-size: cover;
    filter: blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
@media (max-width: 1440px) {
    .container {
        max-width: 1024px;
    }
}
@media (max-width: 1200px) {
    .container {
        max-width: 768px;
    }
}
@media (max-width: 1024px) {
    header nav {
        gap: 20px;
    }
    h1 {
        font-size: 2em;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    nav a {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }
    nav a {
        font-size: 14px;
    }
}
@media (max-width: 320px) {
    p {
        font-size: 14px;
    }
    .button {
        padding: 8px 16px;
        font-size: 14px;
    }
}
/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.container {
    animation: fadeIn 1s ease-in;
}
/* 分隔线 */
.separator {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}
/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}
.card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.3);
}
/* 模块化布局 */
.module {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.module-item {
    flex: 1 1 calc(33% - 20px);
    background: rgba(75, 0, 130, 0.6);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.module-item:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .module-item {
        flex: 1 1 100%;
    }
}

