
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #1E1E3C);
    color: #D3D3D3;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: white;
}
a {
    text-decoration: none;
    color: #4B0082;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #FFA500;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
header .logo {
    font-size: 24px;
    color: white;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
header nav ul li a {
    font-size: 16px;
}
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png'), linear-gradient(135deg, #1E1E3C, #4B0082);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
.hero p {
    font-size: 20px;
    margin-top: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-10px);
}
.code-block {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #00FF00;
    margin: 10px 0;
}
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
}
.particle-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: move 5s infinite;
    pointer-events: none;
}
@keyframes move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

