
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle, #0D47A1, #6200EA);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #FFC107;
}

p, li {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.8;
}

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

a:hover {
    text-decoration: underline;
}

/* 卡片式布局 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: linear-gradient(135deg, #1E88E5, #6200EA);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 10px;
}

.card a {
    color: #FFC107;
    font-weight: bold;
}

.card a[rel="nofollow"] {
    pointer-events: none;
    cursor: default;
    color: #FFC107;
}

/* 非对称布局 */
.asymmetric-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
}

.asymmetric-content {
    flex: 2;
    padding: 20px;
}

.asymmetric-decor {
    flex: 1;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    border-radius: 12px;
    height: 300px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .asymmetric-section {
        flex-direction: column;
    }

    .asymmetric-decor {
        height: 200px;
    }

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

/* 代码块样式 */
pre {
    background: #1E1E1E;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

code {
    color: #61dafb;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 提示信息 */
.tip {
    background: rgba(255, 193, 7, 0.2);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    font-size: 1rem;
    color: #FFC107;
}

