
/* 基础样式与全局设置 */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #2C3E50, #6C5CE7);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeInBackground 2s ease-in-out;
}
@keyframes fadeInBackground {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

a {
    color: #A29BFE;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 卡片式设计 */
.card {
    width: calc(33.33% - 20px);
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #A29BFE, #6C5CE7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: skewX(-15deg);
    animation: shimmerEffect 3s infinite alternate;
}
@keyframes shimmerEffect {
    from { transform: skewX(-15deg) translateX(-100%); }
    to { transform: skewX(-15deg) translateX(100%); }
}

.card img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.card img:hover {
    transform: rotate(360deg);
}

.card p {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.8;
}

/* 文章展示区域 */
.article-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}
.article-section pre {
    background: #2C3E50;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.4;
}
.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article-section th, .article-section td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

/* 动画与背景效果 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #A29BFE, #2C3E50);
    z-index: -2;
    pointer-events: none;
}

