
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0A1A2F, #1ABC9C);
    color: white;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #8E44AD;
    margin-top: 20px;
}

.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: auto;
}

.left-section {
    background-color: rgba(10, 26, 47, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.right-section {
    background-color: rgba(26, 188, 156, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.button {
    background-color: #3498DB;
    border: none;
    color: white;
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px 0;
}

.button:hover {
    box-shadow: 0 0 15px #3498DB;
    transform: scale(1.1);
}

.sidebar {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 250px;
    background-color: rgba(10, 26, 47, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar a {
    display: block;
    color: #1ABC9C;
    text-decoration: none;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #3498DB;
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #8E44AD;
}

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

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

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

    .sidebar {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
}

/* 渐变文本效果 */
.gradient-text {
    background: linear-gradient(to right, #8E44AD, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

/* 视差滚动效果 */
.parallax {
    background-image: url('https://images.gptkong.com/demo/sample5.png');
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 40px 0;
    border-radius: 10px;
}

/* 响应式表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
}

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

th {
    background-color: rgba(10, 26, 47, 0.9);
}

/* 提示信息样式 */
.tip {
    background-color: rgba(26, 188, 156, 0.9);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
    font-style: italic;
}

