
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #121212, #1e1e3f);
    color: #ffffff;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

p {
    font-weight: normal;
    font-size: 16px;
    text-align: justify;
}

a {
    color: #39ff14;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.card {
    background: linear-gradient(135deg, #1c1c1c, #3a3a5f);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(124, 0, 255, 0.1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

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

/* 按钮样式 */
.cta-button {
    display: inline-block;
    background-color: #39ff14;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin: 20px auto;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2bff00;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
.quantum-particle {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* 文章样式 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.article-container pre {
    background: #1c1c1c;
    color: #39ff14;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

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

.article-container th, .article-container td {
    border: 1px solid #3a3a5f;
    padding: 10px;
    text-align: center;
}

.article-container th {
    background: #3a3a5f;
}

/* 提示信息 */
.info-box {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #ccc;
}

