/* --- 全局黑金风格定义 --- */
:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-main: #e0e0e0;
    --text-sub: #888888;
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #b8860b 100%);
    --gold-text-gradient: linear-gradient(45deg, #d4af37, #f3e5ab);
    --gold-border: 1px solid rgba(212, 175, 55, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 通用容器 */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- 头部导航 (PC端样式) --- */
header { padding: 15px 0; border-bottom: 1px solid rgba(212, 175, 55, 0.1); background: rgba(13, 13, 13, 0.95); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.nav-box { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 900; background: var(--gold-text-gradient); -webkit-background-clip: text; color: transparent; letter-spacing: 1px; display: flex; align-items: center; }

.nav-links { display: flex; align-items: center; }
.nav-links a { margin-left: 25px; font-size: 14px; color: var(--text-main); display: inline-flex; align-items: center; font-weight: 500; position: relative; }
.nav-links a svg { width: 16px; height: 16px; margin-right: 6px; fill: var(--gold-primary); opacity: 0.8; transition: 0.3s; }
.nav-links a:hover { color: var(--gold-primary); }
.nav-links a:hover svg { opacity: 1; transform: scale(1.1); }

/* --- Hero 首屏区域 --- */
.hero { 
    text-align: center; padding: 120px 0 100px; 
    position: relative; overflow: hidden;
    background: 
        linear-gradient(to bottom, rgba(13,13,13,0.5), rgba(13,13,13,0.95), rgba(13,13,13,1)),
        url('../images/banner.png') center center / cover no-repeat;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}
h1 { font-size: 3.2rem; margin-bottom: 25px; color: #fff; text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8); font-weight: 800; position: relative; z-index: 2; }
.hero p { color: var(--text-main); font-size: 1.2rem; margin-bottom: 45px; opacity: 0.95; text-shadow: 0 2px 10px rgba(0,0,0,0.8); position: relative; z-index: 2; }

/* 按钮样式 */
.btn-group { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; position: relative; z-index: 2; }
.btn { padding: 16px 45px; border-radius: 50px; font-weight: bold; font-size: 17px; min-width: 220px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.btn svg { margin-right: 10px; width: 20px; height: 20px; }
.btn-gold { background: var(--gold-gradient); color: #000; box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.5); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline { border: 2px solid var(--gold-primary); color: var(--gold-primary); background: rgba(212, 175, 55, 0.05); }
.btn-gold:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.7); }
.btn-outline:hover { background: var(--gold-primary); color: #000; box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.3); transform: translateY(-5px); }

/* --- 内容板块通用样式 --- */
section { padding: 80px 0; border-bottom: 1px solid #1a1a1a; position: relative; scroll-margin-top: 80px; /* 防止点击导航遮挡标题 */ }
h2 { font-size: 2rem; color: var(--gold-primary); margin-bottom: 40px; text-align: center; position: relative; font-weight: 700; }
h2::after { content: '♠'; display: block; width: 40px; height: 40px; line-height: 40px; background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #000; margin: 20px auto 0; border-radius: 50%; font-size: 1.2rem; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }

.content-card { background: var(--card-bg); padding: 50px; border-radius: 16px; border: var(--gold-border); box-shadow: 0 20px 40px rgba(0,0,0,0.4); position: relative; overflow: hidden; }
.content-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 50%); pointer-events: none; }

/* --- 安装步骤可视化 --- */
.step-list { counter-reset: step-counter; list-style: none; padding-left: 10px; }
.step-list li { position: relative; margin-bottom: 25px; padding-left: 50px; color: #ccc; font-size: 1.05rem; }
.step-list li::before {
    counter-increment: step-counter; content: counter(step-counter);
    position: absolute; left: 0; top: -2px; width: 32px; height: 32px;
    line-height: 32px; text-align: center; background: var(--gold-gradient);
    color: #000; font-weight: bold; border-radius: 50%; box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}
.step-list li strong { color: var(--gold-light); }
.guide-intro { font-size: 1.1rem; margin-bottom: 30px; color: #fff; text-align: center; }

/* --- 核心优势 (图片版) --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; margin-top: 50px; }
.feature-item { text-align: center; background: rgba(255,255,255,0.03); padding: 30px; border-radius: 12px; transition: 0.4s; border: 1px solid rgba(255,255,255,0.05); }
.feature-item:hover { border-color: var(--gold-primary); transform: translateY(-10px); background: rgba(212, 175, 55, 0.05); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }

.feature-img-box { 
    width: 100%; height: 180px; overflow: hidden; border-radius: 8px; 
    border: 1px solid rgba(212, 175, 55, 0.2); margin-bottom: 25px; position: relative; background: #111; 
}
.feature-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; position: relative; z-index: 1; }
.feature-item:hover .feature-img-box img { transform: scale(1.08); }
.feature-item h3 { font-size: 1.3rem; color: #fff; margin-bottom: 15px; font-weight: bold; }
.feature-item p { font-size: 0.95rem; color: #999; line-height: 1.7; }

/* --- 俱乐部模块 --- */
.club-section { background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%); }
.club-bg-deco {
    position: absolute; top: 50%; right: -10%; transform: translateY(-50%) rotate(15deg);
    width: 400px; height: 400px; border-radius: 40px;
    border: 2px solid rgba(212, 175, 55, 0.08); background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}
.club-bg-deco::before { content: '♠'; font-size: 200px; color: rgba(212, 175, 55, 0.02); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.club-premium-box {
    position: relative; z-index: 1; background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 16px; padding: 60px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: space-between; gap: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.club-info h3 { font-size: 2rem; margin-bottom: 25px; background: var(--gold-text-gradient); -webkit-background-clip: text; color: transparent; font-weight: 800; }
.club-cta { flex-shrink: 0; text-align: center; padding: 40px; border-left: 2px solid rgba(212, 175, 55, 0.1); }

/* --- 俱乐部列表样式优化 (新) --- */
.club-features-list {
    margin-top: 10px;
}

.club-features-list li {
    margin-bottom: 25px; /* 增加间距 */
    color: #ddd;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start; /* 关键：让图标始终对齐顶部 */
}

.club-icon {
    width: 22px; 
    height: 22px;
    fill: var(--gold-primary);
    margin-right: 15px;
    flex-shrink: 0; /* 禁止图标被压缩 */
    margin-top: 3px; /* 微调图标位置，使其对齐首行文字 */
}

/* 文字包裹容器 */
.club-text {
    display: flex;
    flex-direction: column; /* 默认上下排列 (标题上，描述下) */
}

.club-text strong {
    color: #fff;
    margin-bottom: 4px; /* 标题和描述之间留点缝隙 */
    font-size: 1.1rem;
    line-height: 1.2;
}

.club-text span {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Z-Blog 资讯列表模块 --- */
.news-module { background: #080808; padding: 60px 0; border-top: 1px solid #1a1a1a; }
.news-list { max-width: 850px; margin: 0 auto; background: #111; border-radius: 10px; padding: 10px 30px; border: 1px solid #222; }
.news-item { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding: 18px 0; align-items: center; transition: 0.3s; }
.news-item:hover { padding-left: 10px; background: rgba(255,255,255,0.02); }
.news-item:last-child { border-bottom: none; }
.news-title { color: #e0e0e0; font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 20px; font-weight: 500; }
.news-title:hover { color: var(--gold-primary); }
.news-tag { background: rgba(212, 175, 55, 0.1); color: var(--gold-primary); padding: 3px 8px; font-size: 12px; border-radius: 4px; margin-right: 12px; border: 1px solid rgba(212, 175, 55, 0.2); }
.news-date { color: #777; font-size: 13px; font-family: monospace; }
.more-news { text-align: center; margin-top: 40px; }
.more-news a { color: var(--gold-primary); font-size: 15px; padding: 10px 30px; border: 1px solid var(--gold-primary); border-radius: 30px; transition: 0.3s; }
.more-news a:hover { background: var(--gold-primary); color: #000; }

/* --- 底部 --- */
footer { padding: 60px 0 100px; text-align: center; font-size: 13px; color: #666; background: #0a0a0a; border-top: 1px solid #151515; }

/* --- 移动端底部悬浮条 --- */
.sticky-footer { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(20,20,20,0.98); padding: 15px 20px; display: none; border-top: 1px solid rgba(212, 175, 55, 0.2); z-index: 999; backdrop-filter: blur(10px); box-shadow: 0 -5px 20px rgba(0,0,0,0.5); }
.sticky-btn { display: flex; align-items: center; justify-content: center; width: 100%; background: var(--gold-gradient); color: #000; text-align: center; padding: 14px; border-radius: 50px; font-weight: 900; font-size: 16px; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
.sticky-btn svg { width: 20px; height: 20px; margin-right: 8px; }

/* --- 汉堡菜单按钮 (PC端隐藏) --- */
.mobile-menu-btn { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; cursor: pointer; z-index: 102; }
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--gold-primary); border-radius: 2px; transition: 0.3s; transform-origin: center; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- 响应式适配与移动端导航优化 --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; line-height: 1.2; }
    
    /* 1. 头部布局重构 - 左右结构 */
    header .nav-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 15px 20px; }
    .logo { margin-bottom: 0; font-size: 22px; }
    .mobile-menu-btn { display: flex; } /* 显示汉堡按钮 */
    
    /* 2. 移动端下拉菜单样式 */
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%; 
        background: rgba(15, 15, 15, 0.98); 
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; align-items: flex-start;
        padding: 20px 20px 30px;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid var(--gold-primary);
        box-shadow: 0 10px 40px rgba(0,0,0,0.8);
        
        /* 动画状态 */
        opacity: 0; visibility: hidden; transform: translateY(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: 0; overflow: hidden; height: auto;
    }
    
    /* 激活状态 */
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }

    /* 3. 菜单项样式重置 */
    .nav-links a { 
        margin: 0 0 12px 0; width: 100%; padding: 14px 20px;
        font-size: 15px; color: #ccc; font-weight: 600;
        background: rgba(255,255,255,0.03); 
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 10px; justify-content: flex-start;
    }
    .nav-links a:last-child { margin-bottom: 0; }
    
    /* 触摸反馈 */
    .nav-links a:hover, .nav-links a:active { 
        background: var(--gold-gradient); color: #000; 
        border-color: transparent; transform: translateX(5px);
    }
    
    /* 图标适配 */
    .nav-links a svg { margin-right: 15px; width: 18px; height: 18px; fill: currentColor; opacity: 1; }

    /* 其他移动端适配 */
    .hero { padding: 70px 0 50px; }
    .sticky-footer { display: block; }
    .btn-group .btn { width: 100%; padding: 15px; }
    section { padding: 50px 0; }
    .club-premium-box { flex-direction: column; padding: 35px; gap: 30px; }
    .club-cta { border-left: none; border-top: 1px solid rgba(212, 175, 55, 0.2); padding: 30px 0 0 0; width: 100%; }
    .club-bg-deco { display: none; }

    /* 俱乐部文字移动端优化 */
    .club-features-list li {
        align-items: flex-start; 
    }
    .club-text strong {
        font-size: 1rem;
        color: var(--gold-light); 
    }
    .club-text span {
        font-size: 0.9rem;
        color: #999;
    }
}