
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0a0a2a, #1c1c47);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #00f0ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}

p, li, td, th {
    color: #e0e0ff;
    font-size: 1rem;
}

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

header {
    position: relative;
    height: 100vh;
    background: url("https://images.gptkong.com/demo/sample1.png") no-repeat center/cover, linear-gradient(135deg, #1c1c47, #0a0a2a);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.9);
}

header h1 {
    font-size: 3rem;
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section {
    background: linear-gradient(135deg, #0a0a2a, #1c1c47);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.button {
    background: linear-gradient(to right, #007bff, #6f42c1);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: linear-gradient(to right, #6f42c1, #007bff);
}

pre {
    background: #000033;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #00f0ff;
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.5);
}

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

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}

th {
    background: linear-gradient(135deg, #007bff, #6f42c1);
    color: #ffffff;
}

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

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

    pre {
        font-size: 0.8rem;
    }

    .container {
        padding: 10px;
    }
}

/* 动态粒子背景效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #00f0ff;
    border-radius: 50%;
    animation: float 5s infinite ease-in-out;
}

/* 图片装饰 */
.decorative-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.fade-in-text {
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

