
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', 'Lato', sans-serif;
    background: linear-gradient(135deg, #2C3E50, #4CA1AF);
    color: #ffffff;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff9100;
}

.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.6), transparent);
    animation: aurora-move 15s linear infinite;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero-content .cta-button {
    background-color: #ff9100;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.hero-content .cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 10px rgba(0,0,0,0.2);
}

.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.module {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-10px);
}

.module h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.module p {
    font-size: 14px;
    color: #ffffff;
}

.article-section {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.article-section h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.article-section pre {
    background: #2C3E50;
    padding: 20px;
    border-radius: 5px;
    overflow: auto;
}

.article-section code {
    color: #ff9100;
    font-family: 'Courier New', Courier, monospace;
}

.footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.footer a {
    color: #ff9100;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes aurora-move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
    100% { transform: translate(0, 0); }
}

@media (max-width: 1440px) {
    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 15px 20px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
}

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

@media (max-width: 320px) {
    header {
        padding: 10px 15px;
    }
    .hero-content h1 {
        font-size: 20px;
    }
    .hero-content p {
        font-size: 14px;
    }
}


