
/* 全局样式设置 */
:root {
    --primary-color: #000c40;
    --secondary-color: #5e17eb;
    --accent-color: #39ff14;
    --neutral-color: #ffffff;
    --text-color: #dcdcdc;
    --font-family-body: 'Roboto Mono', monospace;
    --font-family-title: 'Orbitron', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family-body);
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-title);
    color: var(--neutral-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

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

a:hover {
    color: #ffcc00;
    text-shadow: 0 0 10px #ffcc00;
}

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

.header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png'), 
                url('https://images.gptkong.com/demo/sample2.png');
    background-size: 30%, 30%;
    background-repeat: no-repeat;
    background-position: 10% 50%, 90% 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero-title {
    font-size: 3rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--accent-color);
}

.section {
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.code-block {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent-color);
    white-space: pre-wrap;
    word-break: break-word;
}

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

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.1);
}

.button {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    background: var(--neutral-color);
    transform: scale(1.1);
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.5);
    color: var(--neutral-color);
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid var(--neutral-color);
}

@media (max-width: 768px) {
    .header {
        padding: 30px 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .code-block {
        font-size: 12px;
    }
}

