
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #002f5d, #6f00ff, #00ffdb);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    overflow-x: hidden;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}
header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
nav ul li {
    position: relative;
}
nav ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
    padding: 0.5rem;
}
nav ul li a:hover {
    color: #00ffdb;
}
nav ul li ul {
    position: absolute;
    top: 2.5rem;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    display: none;
    border-radius: 8px;
}
nav ul li:hover ul {
    display: block;
}
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}
.hero h1 {
    font-size: 3rem;
    color: #00ffdb;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin-bottom: 2rem;
}
.hero button {
    background-color: #6f00ff;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero button:hover {
    background-color: #00ffdb;
    transform: scale(1.1);
}
.sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.section {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}
.section:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
}
.section h2 {
    color: #00ffdb;
    margin-bottom: 1rem;
}
.section p {
    color: #ffffff;
    margin-bottom: 1rem;
}
.section pre {
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}
.section pre code {
    color: #00ffdb;
    font-family: 'Courier New', Courier, monospace;
}
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.footer p {
    color: #ffffff;
    margin: 0;
}
.aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    background-image: url('https://images.gptkong.com/demo/sample1.png'),
                      url('https://images.gptkong.com/demo/sample2.png'),
                      url('https://images.gptkong.com/demo/sample3.png');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: top left, bottom right, center;
    background-size: 320px 320px, 320px 320px, 320px 320px;
    animation: auroraMove 20s linear infinite;
}
@keyframes auroraMove {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}
.message {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.9rem;
    z-index: 3;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    nav ul li ul {
        position: static;
        background: rgba(0, 0, 0, 0.9);
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .sections {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1024px) {
    .sections {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .sections {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1440px) {
    .sections {
        grid-template-columns: repeat(4, 1fr);
    }
}

