
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A2463, #1B3A57);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', sans-serif;
    color: #FFD700;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #D3D3D3;
}

a {
    color: #FFA500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD700;
}

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

header {
    background: rgba(10, 36, 99, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar li {
    margin-left: 20px;
}

.navbar a {
    color: #FFFFFF;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #FFD700;
}

.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    animation: aurora-move 15s linear infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(10, 36, 99, 0.8), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: #4CAF50;
    color: #FFFFFF;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.section {
    padding: 100px 0;
    position: relative;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

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

.bg-3 {
    background-image: url('https://images.gptkong.com/demo/sample4.png');
}

.content {
    background: rgba(0, 0, 0, 0.6);
    padding: 50px;
    border-radius: 10px;
}

.content h2 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 32px;
}

.content p {
    font-size: 18px;
    color: #D3D3D3;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
}

pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #444;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background: #1B3A57;
    color: #FFD700;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.svg-icon {
    width: 24px;
    height: 24px;
    fill: #FFA500;
    transition: fill 0.3s ease;
}

.svg-icon:hover {
    fill: #FFD700;
}

.footer {
    background: rgba(10, 36, 99, 0.9);
    padding: 30px 0;
    text-align: center;
    color: #FFFFFF;
}

.footer a {
    color: #FFA500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFD700;
}

@keyframes aurora-move {
    0% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
    50% { background: radial-gradient(circle, rgb(34, 255, 87), transparent); }
    100% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
}

@media (max-width: 1440px) {
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 18px;
    }
    .navbar a {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .content {
        padding: 40px;
    }
    .content h2 {
        font-size: 28px;
    }
    .content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .navbar ul {
        flex-direction: column;
        margin-top: 10px;
    }
    .navbar li {
        margin: 10px 0;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 12px;
    }
    .content h2 {
        font-size: 24px;
    }
    .content p {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .navbar a {
        font-size: 14px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    pre {
        padding: 15px;
    }
}

