
/* 通用样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #0A1F3C, #000000);
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(10, 31, 60, 0.8);
    border-bottom: 2px solid #6E44FF;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #39FF14;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(110, 68, 255, 0.9);
    padding: 10px 0;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #39FF14;
    transform: scale(1.1);
}

.section {
    padding: 60px 20px;
    position: relative;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #FF9F1C;
}

.section p {
    font-size: 1em;
    margin-bottom: 20px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #39FF14;
}

pre {
    background: rgba(255, 159, 28, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #39FF14;
    font-family: 'Courier New', Courier, monospace;
}

.button {
    background-color: #6E44FF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background-color: #39FF14;
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(10, 31, 60, 0.8);
    border-top: 2px solid #6E44FF;
}

.footer-text {
    font-size: 0.9em;
    color: #FFFFFF;
}

/* 视差效果 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
}

.layer1 {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}

.layer2 {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

.layer3 {
    background-image: url('https://images.gptkong.com/demo/sample3.png');
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 1200px) {
    nav a {
        margin: 0 10px;
        font-size: 0.95em;
    }

    .section {
        padding: 50px 15px;
    }
}

@media (max-width: 1024px) {
    header h1 {
        font-size: 2em;
    }

    nav a {
        font-size: 0.9em;
    }

    .button {
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
        font-size: 1em;
    }

    .section h2 {
        font-size: 1.8em;
    }

    .container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    nav a {
        margin: 8px 0;
        font-size: 0.9em;
    }

    .section h2 {
        font-size: 1.6em;
    }

    .button {
        padding: 7px 14px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.5em;
    }

    nav a {
        margin: 6px 0;
        font-size: 0.85em;
    }

    .section h2 {
        font-size: 1.4em;
    }

    .button {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: rotate 5s linear infinite;
}

/* 代码块样式 */
pre {
    background: rgba(255, 159, 28, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #39FF14;
    font-family: 'Courier New', Courier, monospace;
}

/* 按钮样式 */
.button {
    background-color: #6E44FF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.button:hover {
    background-color: #39FF14;
    transform: scale(1.1);
}

