
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: radial-gradient(circle, #0A192F, #00E7FF);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    color: #8C54FF;
}

p {
    font-size: 1rem;
    color: #e0e0e0;
}

a {
    color: #FF6B35;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #FFA500;
}

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

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

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.button {
    background-color: #8C54FF;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.1);
}

code {
    background: #0A192F;
    padding: 5px;
    border-radius: 5px;
    color: #00E7FF;
    font-size: 0.9rem;
}

pre {
    background: #1c1c1c;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

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

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #8C54FF;
}

th {
    background-color: #00E7FF;
    color: #0A192F;
}

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

    pre {
        font-size: 0.8rem;
    }
}

/* 背景粒子效果 */
.particle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('https://images.gptkong.com/demo/sample1.png'), 
                url('https://images.gptkong.com/demo/sample2.png'),
                radial-gradient(circle, #0A192F, #00E7FF);
    background-size: contain, contain, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, center, center;
}

