
/* 全局样式 */
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #000428, #004e92);
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
a {
    color: #00ff99;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #00cc77;
}
p {
    margin-bottom: 1.5rem;
}
pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Roboto Mono', monospace;
    color: #00ff99;
}

/* 卡片布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* 特殊元素样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}
th {
    background-color: rgba(255, 255, 255, 0.1);
}
svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
    width: 50px;
    height: 50px;
    margin: 10px auto;
    display: block;
}

/* 提示文字样式 */
.tip {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 2rem;
}

