/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #ff4500;
    --dark-bg: #0a0500;
    --card-bg: rgba(20, 10, 0, 0.9);
    --border-color: rgba(212, 175, 55, 0.3);
    --text-primary: #f5deb3;
    --text-secondary: #cd853f;
    --text-highlight: #ffd700;
}

body {
    font-family: 'Noto Serif SC', serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: url('images/news_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
}

/* ===== 动态背景 ===== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ff4500, transparent),
        radial-gradient(2px 2px at 60px 70px, #d4af37, transparent),
        radial-gradient(1px 1px at 50px 50px, #ff8c00, transparent);
    background-size: 200px 200px;
    animation: particles 30s linear infinite;
    opacity: 0.3;
}

@keyframes particles {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 5, 0, 0.85), rgba(20, 10, 0, 0.8));
}

.bg-fire {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: radial-gradient(ellipse at bottom, rgba(255, 69, 0, 0.1), transparent 70%);
    filter: blur(40px);
    animation: fireGlow 4s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ===== 远古头部 ===== */
.ancient-header {
    background: linear-gradient(180deg, rgba(30, 15, 0, 0.95), rgba(20, 10, 0, 0.9));
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-mark .server-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    font-family: 'ZCOOL KuaiLe', cursive;
}

.main-title h1 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-highlight), var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    text-align: center;
}

.title-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-top: -0.5rem;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.online-num {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.online-num b {
    color: var(--text-highlight);
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.2rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== 魔法导航 ===== */
.magic-nav {
    background: rgba(30, 15, 0, 0.9);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 76px;
    z-index: 999;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: 'ZCOOL KuaiLe', cursive;
}

.nav-item i {
    width: 18px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--text-highlight);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.nav-item:hover i {
    color: var(--primary-color);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 69, 0, 0.2));
    color: var(--text-highlight);
    border-color: var(--border-color);
}

.nav-item.active i {
    color: var(--primary-color);
}

.nav-item.download {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #000;
    border-color: var(--primary-color);
}

.nav-item.download i {
    color: #000;
}

.nav-item.download:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

/* ===== 英雄Banner ===== */
.hero-banner {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 69, 0, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-area .main-logo {
    max-width: 500px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
}

.burn-text {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff4500, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
    animation: burn 3s ease-in-out infinite;
}

@keyframes burn {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.slogan-sub {
    font-size: 1.3rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'ZCOOL KuaiLe', cursive;
}

.btn-fire {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-fire:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.btn-dark {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-dark:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.banner-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.fire-effect {
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 69, 0, 0.1), transparent 70%);
    filter: blur(30px);
}

.fire-effect.left {
    left: 0;
    animation: fireLeft 4s ease-in-out infinite;
}

.fire-effect.right {
    right: 0;
    animation: fireRight 4s ease-in-out infinite;
}

@keyframes fireLeft {
    0%, 100% { opacity: 0.3; transform: translateX(-10%); }
    50% { opacity: 0.6; transform: translateX(0); }
}

@keyframes fireRight {
    0%, 100% { opacity: 0.3; transform: translateX(10%); }
    50% { opacity: 0.6; transform: translateX(0); }
}

/* ===== 主内容区域 ===== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.content-section {
    display: none;
    margin-bottom: 4rem;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(30, 15, 0, 0.9), rgba(20, 10, 0, 0.8));
    border: 2px solid var(--border-color);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.title-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.section-title h2 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-highlight), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex: 1;
}

.title-decoration {
    height: 3px;
    flex: 1;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* ===== 全屏图片列表 ===== */
.full-image-list {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.full-image {
  width: auto;
  height: auto;
  max-width: none;
  /* 居中核心样式 */
  display: block; /* 必须：块级元素才能用 margin 居中 */
  margin: 0 auto; /* 水平居中 */
  /* 可选：上下间距，按需调整 */
  margin: 10px auto; 
}

.full-image:hover {
    transform: scale(1.02);
    z-index: 10;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* ===== 下载区域 ===== */
.download-area {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.download-card {
    background: rgba(30, 15, 0, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.8s ease;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #000;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.download-card h3 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.8rem;
    color: var(--text-highlight);
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.download-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dl-link {
    padding: 0.6rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'ZCOOL KuaiLe', cursive;
}

.dl-link:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* ===== 充值公告 ===== */
.recharge-notice {
    background: rgba(30, 15, 0, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 69, 0, 0.1));
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.5rem;
    color: var(--text-highlight);
}

.notice-title i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.rate-info {
    text-align: center;
}

.rate {
    display: block;
    font-size: 2.5rem;
    font-family: 'ZCOOL KuaiLe', cursive;
    color: var(--text-highlight);
    margin-bottom: 0.5rem;
}

.rate b {
    color: var(--accent-color);
}

.desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.recharge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'ZCOOL KuaiLe', cursive;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.recharge-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* ===== FAQ区域 ===== */
.faq-list {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.faq-q i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-q h4 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.3rem;
    color: var(--text-highlight);
}

.faq-a p {
    color: var(--text-secondary);
    padding-left: 2rem;
    line-height: 1.8;
}

/* ===== 远古页脚 ===== */
.ancient-footer {
    background: linear-gradient(180deg, rgba(20, 10, 0, 0.9), rgba(10, 5, 0, 0.95));
    border-top: 2px solid var(--border-color);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
    font-family: 'ZCOOL KuaiLe', cursive;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    opacity: 0.7;
    font-size: 0.8rem;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-title h1 {
        font-size: 2rem;
    }
    
    .magic-nav {
        top: 124px;
    }
    
    .burn-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem 0.5rem;
    }
    
    .server-mark, .server-info {
        display: none;
    }
    
    .magic-nav {
        top: 82px;
        padding: 0.5rem;
    }
    
    .nav-container {
        padding: 0;
        gap: 0.2rem;
    }
    
    .nav-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .nav-item span {
        display: none;
    }
    
    .hero-banner {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }
    
    .burn-text {
        font-size: 2rem;
    }
    
    .slogan-sub {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .main-container {
        padding: 0 1rem 2rem;
    }
    
    .section-title {
        padding: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .title-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
    }
}
