
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #4caf50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #1de9b6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f3443, #34e89e);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.header h1 {
    font-size: 2rem;
}
.nav {
    display: flex;
    gap: 15px;
}
.nav a {
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}
.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.hero {
    position: relative;
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, 
                linear-gradient(135deg, #0f3443, #34e89e);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(30deg);
    animation: move 10s infinite linear;
}
@keyframes move {
    0% { transform: translateX(-50%) rotate(30deg); }
    100% { transform: translateX(0) rotate(30deg); }
}
.hero h2 {
    font-size: 2.5rem;
    z-index: 2;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.module {
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
}
.module img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.module h3 {
    color: #bb86fc;
    margin-bottom: 10px;
}
.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
}
.code-block code {
    display: block;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}

