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

body {
    background: linear-gradient(135deg, #4A00E0, #0000FF);
    color: #FFFFFF;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    text-align: center;
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #FF007F;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

h2, h3, h4 {
    color: #00FFA3;
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
    padding-left: 20px;
}

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

li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #FF007F;
    border-radius: 50%;
}

pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #FF69B4;
    font-size: 0.9rem;
}

.button {
    display: inline-block;
    background-color: #FF007F;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

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

.parallax {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    height: 50vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 40px;
}

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

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

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

    section {
        padding: 15px;
    }

    pre {
        font-size: 0.8rem;
    }
}

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

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