
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #0F2027, #2C5364);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(90deg, #1A73E8, #4285F4);
    color: #ffffff;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
}

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

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

.card:hover {
    transform: translateY(-10px);
}

pre {
    background: #000000;
    color: #03DAC6;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

button {
    background-color: #00BFFF;
    border: none;
    padding: 10px 20px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

button:hover {
    background-color: #007ACC;
}

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

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

th {
    background: #007ACC;
}

.parallax {
    height: 400px;
    background-image: url('https://images.gptkong.com/demo/sample2.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

    pre {
        font-size: 14px;
    }
}

