
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0A1F44, #6C5CE7);
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: 'Neon Glow', cursive;
    text-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14;
}
a {
    color: #39FF14;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 5px #39FF14, 0 0 10px #39FF14;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 头部区域 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #0A1F44, #2B486E);
}
.logo {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14;
}
.nav {
    display: flex;
    gap: 20px;
}
.nav a {
    font-size: 16px;
}
/* 主体内容 */
.section {
    margin: 40px 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(10, 31, 68, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
h2 {
    margin-top: 0;
}
p {
    font-size: 16px;
    color: #e0e0e0;
}
ul, ol {
    padding-left: 20px;
}
li {
    margin-bottom: 10px;
}
code {
    display: block;
    background: #0A1F44;
    color: #39FF14;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}
pre code {
    white-space: pre-wrap;
    word-break: break-word;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    border: 1px solid #39FF14;
    text-align: left;
}
th {
    background: #6C5CE7;
}
td {
    background: #2B486E;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
/* 动画效果 */
.button-hover {
    position: relative;
    padding: 10px 20px;
    background: #6C5CE7;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
}
.button-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(57, 255, 20, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}
.button-hover:hover::after {
    width: 200px;
    height: 200px;
}
/* 响应式布局 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 10px;
    }
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    code {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 18px;
    }
    img {
        width: 100%;
    }
}

