
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0A1F44, #B2B2B2);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-weight: bold;
    color: #9C59D1;
}
p {
    font-size: 1rem;
    color: #E0E0E0;
}
a {
    color: #39FF14;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 8px #39FF14;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(10, 31, 68, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #39FF14;
}
.nav {
    display: flex;
    gap: 15px;
}
.nav a {
    font-size: 16px;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #39FF14;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav a:hover::after {
    transform: scaleX(1);
}
.hero {
    position: relative;
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    background-blend-mode: multiply;
    background-color: rgba(10, 31, 68, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    text-shadow: 0 0 10px #9C59D1;
}
.modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.module {
    background: rgba(178, 178, 178, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.module img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}
.code-block {
    background: rgba(10, 31, 68, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    color: #39FF14;
    margin: 20px 0;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.footer {
    background: #0A1F44;
    color: #B2B2B2;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.footer p {
    margin: 0;
    font-size: 14px;
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .nav {
        flex-direction: column;
        align-items: center;
    }
    .modules {
        grid-template-columns: 1fr;
    }
}

