
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0D1B2A, #1B263B, #415A77);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 60px 0;
    background: radial-gradient(circle, rgba(255,87,34,0.8), transparent);
    animation: aurora-move 15s linear infinite;
}

header h1 {
    font-family: 'Futura', sans-serif;
    font-size: 48px;
    color: #FFC300;
    margin: 0;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FFC300;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav a:hover::after {
    width: 100%;
}

/* 主内容区 */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.left-column {
    flex: 2;
    min-width: 300px;
}

.right-column {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.right-column h3 {
    color: #FFC300;
    margin-top: 0;
}

.right-column p {
    color: #FFFFFF;
}

.cta-button {
    background-color: #FFC300;
    color: #FFFFFF;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #FF8C00;
}

/* 文章展示区 */
.article-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
}

.article-section h2 {
    font-family: 'Futura', sans-serif;
    color: #FFC300;
    margin-bottom: 20px;
}

.article-section p {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 15px;
}

.article-section h3 {
    color: #FFC300;
    margin-top: 25px;
    margin-bottom: 10px;
}

.article-section pre {
    background: #1E1E1E;
    padding: 15px;
    border-radius: 5px;
    overflow: auto;
    margin-bottom: 20px;
}

.article-section code {
    font-family: 'Futura', sans-serif;
    color: #FFC300;
}

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

.article-section table th, 
.article-section table td {
    border: 1px solid #FFC300;
    padding: 10px;
    text-align: left;
}

.article-section table th {
    background-color: #415A77;
}

.article-section img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

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

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    .article-section {
        padding: 20px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 24px;
    }

    nav a {
        font-size: 16px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 动画关键帧 */
@keyframes aurora-move {
    0% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
    50% { background: radial-gradient(circle, rgb(128, 0, 128), transparent); }
    100% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
}

/* 链接样式 */
a {
    color: #1E90FF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

