
/* 基础样式 */
body {
    font-family: 'Roboto Mono', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0F2027, #2C5364);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #FFC300;
    text-shadow: 0 0 5px rgba(255, 195, 0, 0.8);
}

p, li {
    font-size: 1em;
    color: #D3D3D3;
}

a {
    color: #FFC300;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(45deg, #6A1B9A, #2C5364);
    color: #fff;
    position: relative;
}

.header h1 {
    font-size: 3em;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

.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/cover;
    opacity: 0.2;
    z-index: -1;
}

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

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

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

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

code {
    color: #FFC300;
    font-size: 0.9em;
}

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: rgba(255, 195, 0, 0.2);
}

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

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

    h1 {
        font-size: 2em;
    }

    pre {
        font-size: 0.8em;
    }
}

