
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1A1A40, #000000);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    color: #39FF14;
    font-weight: bold;
}
p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}
a {
    color: #39FF14;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 10px #39FF14;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 背景效果 */
.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent),
                linear-gradient(135deg, #1A1A40, #000000);
    animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
/* 图片装饰 */
.image-decor {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #39FF14;
}
code {
    font-size: 0.9rem;
}
/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: rgba(0, 0, 0, 0.2);
    color: #39FF14;
}
tr:hover {
    background: rgba(255, 255, 255, 0.05);
}
/* 动画效果 */
.button {
    background: #39FF14;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #39FF14;
}
.menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.menu.open {
    max-height: 500px;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    pre {
        font-size: 0.8rem;
    }
    th, td {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    p {
        font-size: 0.9rem;
    }
}

