/* ==========================================================================
   1. 全局配置 (Variables & Reset)
   ========================================================================== */
:root {
    --bg-dark: #0F0F0F; --bg-card: #161616; --text-main: #E0E0E0; --text-muted: #888888;
    --gold-primary: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.gradient-text { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }

/* ==========================================================================
   2. 头部与导航 (Header & Nav)
   ========================================================================== */
header { position: fixed; top: 0; width: 100%; background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid #2a2a2a; }
.nav-box { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 26px; font-weight: 800; font-family: serif; letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--text-main); align-items: center; }
.nav-links a:hover { color: var(--gold-primary); }
.nav-btn { background: var(--gold-gradient); color: #000; padding: 8px 24px; border-radius: 30px; font-weight: bold; font-size: 14px; box-shadow: 0 4px 10px rgba(180, 140, 40, 0.2); }
.mobile-menu-toggle { display: none; font-size: 24px; color: var(--gold-primary); cursor: pointer; padding: 10px; }
.desktop-only { display: block; }
@media (max-width: 900px) {
    .mobile-menu-toggle { display: block; } .desktop-only { display: none; }
    .nav-links.mobile-nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background-color: rgba(15, 15, 15, 0.98); border-bottom: 1px solid #333; flex-direction: column; padding: 20px 0; gap: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
    .nav-links.mobile-nav.active { display: flex; animation: slideDown 0.3s ease-out; }
    .nav-links.mobile-nav a { display: block; width: 100%; text-align: center; padding: 15px 0; border-bottom: 1px solid #222; color: #ccc; font-size: 16px; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
}

/* ==========================================================================
   3. 首屏 (Hero)
   ========================================================================== */
.hero { padding-top: 160px; padding-bottom: 100px; text-align: center; position: relative; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), url('../images/banner.png') no-repeat center center; background-size: cover; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.8rem); margin-bottom: 20px; font-weight: 800; line-height: 1.2; text-shadow: 0 4px 10px rgba(0,0,0,0.8); }
.hero p { color: #ccc; font-size: 1.1rem; max-width: 640px; margin: 0 auto 50px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.version-info { font-size: 12px; margin-top: 20px; color: #888; }
.cta-group { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.btn-download { width: 220px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: bold; font-size: 17px; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.btn-ios { background: var(--gold-gradient); color: #111; box-shadow: var(--gold-glow); }
.btn-android { background: rgba(0,0,0,0.6); border: 2px solid var(--gold-primary); color: var(--gold-primary); }
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25); }

/* ==========================================================================
   4. 通用板块与视觉模块
   ========================================================================== */
section { padding: 70px 0; border-bottom: 1px solid #1a1a1a; }
.section-title { font-size: 2.2rem; margin-bottom: 15px; text-align: center; color: #fff; font-weight: bold; }
.title-line { width: 60px; height: 4px; background: var(--gold-primary); margin: 0 auto 50px; border-radius: 2px; }
.content-box { background: var(--bg-card); padding: 50px; border-radius: 16px; border: 1px solid #252525; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.content-box p { margin-bottom: 25px; text-indent: 2em; text-align: justify; color: #ccc; }
.content-box strong { color: var(--gold-primary); font-weight: 600; }
.copy-ant-btn{margin-bottom: 10px;}
.visual-section { background: #111; }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.concept-card { background: transparent; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease; }
.concept-card:hover { transform: translateY(-10px); }
.img-wrapper { width: 100%; height: 240px; overflow: hidden; border-radius: 12px; position: relative; background: #1a1a1a; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; opacity: 0.9; }
.concept-card:hover .img-wrapper img { transform: scale(1.1); opacity: 1; }
.card-text { padding: 25px 10px; text-align: center; }
.card-text h3 { color: #eee; font-size: 1.3rem; margin-bottom: 10px; }
.card-text p { color: #777; font-size: 0.95rem; }

/* ==========================================================================
   5. 资讯中心 (News Hub)
   ========================================================================== */
#news-hub { background-color: #0F0F0F; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { display: block; background: linear-gradient(145deg, #1a1a1a, #111); border: 1px solid #2a2a2a; border-radius: 12px; padding: 30px; transition: all 0.3s ease; text-decoration: none; position: relative; overflow: hidden; }
.news-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.news-card.active { border-color: #444; background: linear-gradient(145deg, #202020, #161616); }
.n-icon { font-size: 40px; margin-bottom: 20px; }
.n-content h3 { color: #E0E0E0; font-size: 18px; margin-bottom: 10px; font-weight: bold; }
.news-card:hover h3 { color: var(--gold-primary); }
.n-content p { color: #888; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.n-link { color: var(--gold-primary); font-size: 14px; font-weight: bold; opacity: 0.8; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   6. 俱乐部联盟 (Club Alliance) - ✅ 已修复移动端兼容性
   ========================================================================== */
#club-alliance { background-color: var(--bg-dark); }
/* PC端默认布局 */
.club-container { display: flex; align-items: center; gap: 50px; }
.club-info { flex: 1; }
.club-info h3 { font-size: 2rem; margin-bottom: 20px; color: #fff; }
.club-info p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; }
/* 数据统计 */
.club-stats { display: flex; gap: 40px; margin-bottom: 30px; }
.stat-item { text-align: left; white-space: nowrap; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1.2; font-family: Impact, sans-serif; }
.stat-desc { color: #888; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
/* 图片区域 - PC端带3D */
.club-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.club-img-wrapper { width: 100%; max-width: 500px; height: auto; border-radius: 20px; overflow: hidden; border: 2px solid #333; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: perspective(1000px) rotateY(-10deg); transition: transform 0.5s ease, border-color 0.3s ease; }
.club-img-wrapper:hover { transform: perspective(1000px) rotateY(0deg) scale(1.02); border-color: var(--gold-primary); }

/* --- 📱 平板与移动端适配 (小于 992px) --- */
@media (max-width: 992px) {
    .club-container { flex-direction: column; text-align: center; gap: 30px; }
    .club-info { padding: 0 10px; }
    .club-stats { justify-content: center; gap: 30px; }
    .stat-item { text-align: center; }
    .club-info .btn-download { margin: 30px auto 0; }
    /* ⚠️ 彻底移除3D和悬停效果 */
    .club-img-wrapper, .club-img-wrapper:hover { transform: none !important; max-width: 90%; margin: 20px auto 0; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-color: #333 !important; }
}
/* --- 📱 小屏手机适配 (小于 768px) --- */
@media (max-width: 768px) {
    .club-info h3 { font-size: 1.6rem; }
    .club-stats { flex-wrap: wrap; gap: 20px 30px; } /* 允许数据换行 */
    .stat-num { font-size: 2rem; }
    .stat-desc { font-size: 0.8rem; }
}

/* ==========================================================================
   7. 教程、FAQ、联系我们
   ========================================================================== */
.tutorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; }
.step-list { counter-reset: step; margin-top: 20px; }
.step-item { position: relative; padding-left: 50px; margin-bottom: 25px; }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; background: var(--gold-primary); color: #000; border-radius: 50%; text-align: center; line-height: 32px; font-weight: bold; font-size: 14px; }
.step-head { color: #fff; font-weight: bold; margin-bottom: 5px; font-size: 1.05rem; }
.step-body { color: #888; font-size: 0.95rem; }

.faq-box { background: transparent; border: none; box-shadow: none; padding: 0; }
.faq-item { margin-bottom: 30px; border-left: 3px solid #333; padding-left: 20px; transition: 0.3s; }
.faq-item:hover { border-left-color: var(--gold-primary); }
.faq-q { font-weight: bold; color: var(--gold-primary); margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { text-indent: 0; margin-bottom: 0; font-size: 0.95rem; line-height: 1.6; }

#contact { background: #0a0a0a; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.contact-card { background: linear-gradient(145deg, #161616, #111); border: 1px solid #2a2a2a; border-radius: 12px; padding: 30px 20px; display: flex; align-items: center; transition: all 0.3s ease; cursor: pointer; }
.contact-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1); }
.c-icon { font-size: 40px; margin-right: 20px; width: 60px; height: 60px; background: #1f1f1f; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.c-info { flex: 1; }
.c-info h4 { color: #fff; font-size: 16px; margin-bottom: 5px; font-weight: normal; opacity: 0.8; }
.c-detail { font-size: 20px; font-weight: bold; letter-spacing: 1px; font-family: Consolas, Monaco, monospace; color: var(--gold-primary); margin-bottom: 0; }
.c-tip { display: block; font-size: 12px; color: #666; margin-top: 8px; font-weight: normal; opacity: 0.8; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 20px; } .contact-card { padding: 20px; } .c-detail { font-size: 18px; word-break: break-all; } }

/* ==========================================================================
   8. 底部与弹窗 (Footer & Modal) - ✅ 已全面优化移动端布局
   ========================================================================== */
.modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-box { background: linear-gradient(145deg, #1a1a1a, #0f0f0f); border: 1px solid var(--gold-primary); width: 90%; max-width: 400px; padding: 30px 20px; border-radius: 12px; text-align: center; position: relative; box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); animation: popupFadeIn 0.3s ease-out; }
@keyframes popupFadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 10px; right: 15px; color: #888; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.modal-close:hover { color: var(--gold-primary); }
.modal-icon { font-size: 40px; margin-bottom: 15px; }
.modal-title { color: var(--gold-primary); font-size: 20px; margin-bottom: 15px; }
.modal-text { color: #ccc; font-size: 16px; line-height: 1.6; }
.modal-text2{ color: #ccc; font-size: 16px; line-height: 1.6; margin-bottom: 25px; }
.modal-confirm-btn { display: inline-block; background: var(--gold-gradient); color: #000; padding: 10px 40px; border-radius: 25px; font-weight: bold; font-size: 16px; cursor: pointer; transition: 0.3s; width: 80%; }
.modal-confirm-btn:hover { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); transform: translateY(-2px); }

/* --- 页脚温馨提示 (Footer Disclaimer) --- */
.footer-disclaimer {
    background-color: #0a0a0a;
    padding: 20px 0 30px; /* 增加底部间距，与版权信息拉开距离 */
}
.disclaimer-content {
    max-width: 900px; margin: 0 auto; font-size: 12px; color: #555; line-height: 1.8; text-align: justify;
}
@media (max-width: 768px) { .disclaimer-content { padding: 0 20px; } }

/* --- 页脚版权信息 (Footer Copyright) --- */
footer {
    padding: 20px 0 80px; /* 减小上下间距，更紧凑 */
    background: #0a0a0a;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4; /* 减小行高，移动端换行更美观 */
}
@media (max-width: 768px) {
    footer {
        font-size: 0.8rem; /* 移动端字体稍小 */
        padding-bottom: 90px; /* 为底部悬浮条留出空间 */
    }
}

/* --- 底部悬浮条 (Sticky Footer) --- */
.sticky-footer { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(20, 20, 20, 0.98); padding: 12px 20px; border-top: 1px solid #333; z-index: 999; justify-content: space-between; align-items: center; backdrop-filter: blur(5px); }
.footer-brand { color: #fff; font-weight: bold; display: flex; align-items: center; }
.brand-name { font-family: serif; margin-right: 10px; color: var(--gold-primary); }
.sticky-btn { background: var(--gold-gradient); color: #000; padding: 6px 18px; border-radius: 20px; font-size: 14px; font-weight: bold; }
@media (max-width: 768px) { .sticky-footer { display: flex; } .hero h1 { font-size: 2rem; } .nav-btn { display: none; } }