
/* 全局样式 */
:root {
    --deep-blue: #0A192F;
    --light-blue: #64FFDA;
    --purple: #8A2BE2;
    --orange: #FF6F61;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: var(--orange);
    margin-top: 2rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--orange);
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    color: var(--white);
}

code {
    font-family: 'Roboto Mono', monospace;
    color: var(--orange);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    background: linear-gradient(135deg, var(--deep-blue), var(--purple));
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header h1 {
    font-size: 3rem;
    z-index: 2;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10%);
    transform: rotate(45deg);
    animation: moveGradient 10s infinite linear;
}

@keyframes moveGradient {
    from { transform: translateX(-50%) rotate(45deg); }
    to { transform: translateX(0) rotate(45deg); }
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

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

.hero-section {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    pre {
        font-size: 0.8rem;
    }
}

