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

/* 头部样式 */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #00FF7F;
    text-transform: uppercase;
}

.header nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.header nav a:hover {
    color: #00FF7F;
}

.header nav a[rel="nofollow"]::after {
    content: "";
}

/* 主内容区 */
.main {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    margin: 50px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
}

.section h2, .section h3 {
    color: #00FF7F;
}

.section p, .section li {
    color: #E0E0E0;
}

.section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.code-block {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00FF7F;
    margin: 20px 0;
}

.code-block pre {
    margin: 0;
}

.article-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: background 0.5s ease;
}

.article-section:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.article-section table, .article-section th, .article-section td {
    border: 1px solid #00FF7F;
}

.article-section th, .article-section td {
    padding: 10px;
    text-align: left;
}

.article-section th {
    background: rgba(0, 255, 127, 0.3);
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-gallery img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #E0E0E0;
    position: relative;
}

/* 动画效果 */
@keyframes aurora-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-background {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .header {
        padding: 15px 30px;
    }
    .header .logo {
        font-size: 20px;
    }
    .header nav a {
        margin-left: 15px;
    }
    .section {
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .header {
        padding: 10px 20px;
    }
    .main {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1024px) {
    .image-gallery {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }
    .header nav {
        margin-top: 10px;
    }
    .image-gallery img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header .logo {
        font-size: 18px;
    }
    .section {
        padding: 20px;
    }
}

@media (max-width: 320px) {
    .header {
        padding: 5px 10px;
    }
    .header .logo {
        font-size: 16px;
    }
    .header nav a {
        margin-left: 10px;
        font-size: 14px;
    }
    .section {
        padding: 15px;
    }
    .code-block {
        padding: 15px;
    }
}

/* 按钮样式 */
.button {
    padding: 10px 20px;
    background: linear-gradient(45deg, #00FF7F, #FF4500);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #FF4500, #00FF7F);
}

/* 提示信息 */
.reference-note {
    text-align: center;
    font-size: 18px;
    color: #FFD700;
    margin: 20px 0;
}

