:root { 
    --bg-deep: #050505; 
    --bg-card: #0a0b10; 
    --neon-cyan: #00f3ff; 
    --neon-pink: #ff0055; 
    --vip-gold: #ffb700;
    --text-main: #e0e0e0; 
    --text-muted: #666; 
    --border-color: #1a1c23;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; }
body { background-color: var(--bg-deep); color: var(--text-main); overflow-x: hidden; }
body.category, body.article, body.list { padding-top: 70px; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--neon-cyan); }

/* 顶部赛博导航 */
.navbar { position: fixed; top: 0; width: 100%; height: 70px; background: rgba(5, 5, 5, 0.85); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; padding: 0 50px; z-index: 100; border-bottom: 1px solid var(--border-color); box-shadow: 0 0 20px rgba(0, 243, 255, 0.1); }
.logo a { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: 3px; text-shadow: 0 0 10px var(--neon-cyan), 2px 2px 0px var(--neon-pink); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin-left: 30px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: bold; font-size: 15px; transition: 0.3s; text-transform: uppercase; }
.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }

/* 顶部导航搜索 */
.header-search form { display: flex; align-items: center; background: rgba(0,0,0,0.5); border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; }
.header-search input { background: transparent; border: none; padding: 8px 15px; color: var(--neon-cyan); outline: none; width: 150px; font-size: 14px; transition: 0.3s; }
.header-search input:focus { width: 200px; background: rgba(0, 243, 255, 0.05); }
.header-search button { background: transparent; border: none; padding: 8px 12px; color: var(--text-muted); cursor: pointer; transition: 0.3s; }
.header-search button:hover { color: var(--neon-cyan); }

/* 巨幕搜索区 (首页) */
.hero { margin-top: 70px; height: 450px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(circle at center, #111827 0%, var(--bg-deep) 100%); position: relative; border-bottom: 1px solid var(--neon-cyan); padding: 0 20px; }
.hero::after { content: ''; position: absolute; bottom: 0; width: 100%; height: 2px; background: var(--neon-cyan); box-shadow: 0 0 15px var(--neon-cyan); }
.hero-title { font-size: 50px; font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 20px rgba(0, 243, 255, 0.5); text-align: center; }
.hero-subtitle { color: var(--text-main); font-size: 16px; margin-bottom: 30px; letter-spacing: 2px; text-shadow: 0 0 5px rgba(0, 243, 255, 0.3); text-align: center; }

/* 搜索系统 */
.search-box { display: flex; width: 60%; max-width: 800px; background: rgba(0,0,0,0.6); border: 2px solid var(--border-color); box-shadow: inset 0 0 10px rgba(0,0,0,0.8); transition: 0.3s; }
.search-box:focus-within { border-color: var(--neon-cyan); box-shadow: 0 0 30px rgba(0, 243, 255, 0.3), inset 0 0 15px rgba(0, 243, 255, 0.2); }
.search-select { background: #111; color: var(--text-main); border: none; border-right: 2px solid var(--border-color); padding: 0 20px; font-size: 16px; font-weight: bold; outline: none; cursor: pointer; transition: 0.3s; }
.search-select:hover { color: var(--neon-cyan); }
.search-input { flex: 1; padding: 20px 30px; font-size: 18px; background: transparent; border: none; color: var(--neon-cyan); font-weight: bold; outline: none; }
.search-input::placeholder { color: #444; }

/* 横幅广告位 */
.ad-banner-wrap { width: 100%; max-width: 1600px; margin: 40px auto 0 auto; padding: 0 40px; }
.ad-banner-wrap img { max-width: 100%; height: auto; display: block; border: 1px solid var(--border-color); }

/* 容器与网格 */
.container { max-width: 1600px; margin: 0 auto; padding: 60px 40px; }
.section-title { font-size: 28px; font-weight: bold; color: #fff; margin-bottom: 40px; border-left: 6px solid var(--neon-pink); padding-left: 15px; text-shadow: 0 0 10px rgba(255, 0, 85, 0.5); }

.grid-4x4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card { background: var(--bg-card); border: 1px solid var(--border-color); text-decoration: none; display: block; transition: all 0.3s ease; position: relative; overflow: hidden; border-radius: 4px; }
.card:hover { transform: translateY(-10px); border-color: var(--neon-cyan); box-shadow: 0 15px 30px rgba(0, 243, 255, 0.15); }
/* 彻底拔除假字，强化背景自适应居中 */
.card-img { width: 100%; aspect-ratio: 16 / 9; background: #111; display: flex; justify-content: center; align-items: center; color: #333; font-weight: bold; font-size: 14px; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.badge { position: absolute; top: 10px; right: 10px; background: var(--neon-pink); color: #fff; padding: 4px 8px; font-size: 12px; font-weight: bold; box-shadow: 0 0 10px var(--neon-pink); z-index: 2; }
.card-info { padding: 20px; }
.card-title { font-size: 18px; color: #fff; font-weight: bold; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: 0.3s; }
.card:hover .card-title { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }

/* 修复后的卡片分类按钮：阻止冒泡并实现左下角点击效果 */
.card-cat-btn { display: inline-block; background: rgba(0, 243, 255, 0.1); color: var(--neon-cyan); padding: 3px 8px; font-size: 12px; border: 1px solid rgba(0, 243, 255, 0.2); border-radius: 3px; cursor: pointer; transition: 0.3s; position: relative; z-index: 10; }
.card-cat-btn:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 10px rgba(0, 243, 255, 0.5); }

/* 翻页系统 */
.pagination { display: flex; justify-content: center; margin-top: 60px; gap: 10px; flex-wrap: wrap; }
.page-btn { padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); text-decoration: none; font-weight: bold; transition: 0.3s; margin-bottom: 10px; }
.page-btn:hover, .page-btn.active { background: rgba(0, 243, 255, 0.1); border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }

/* 顶部筛选控制台 (列表页) */
.filter-console { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; margin-bottom: 40px; position: relative; margin-top: 20px; }
.filter-console::before { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent); }
.dynamic-title { font-size: 20px; color: #fff; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px dashed #333; }
.dynamic-title span { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); font-weight: bold; }
.filter-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.filter-label { font-weight: bold; color: var(--text-muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.cat-btn { padding: 10px 25px; background: #111; border: 1px solid #333; color: #aaa; cursor: pointer; transition: 0.3s; font-size: 15px; font-weight: bold; text-decoration: none; display: inline-block; }
.cat-btn:hover { background: rgba(0, 243, 255, 0.05); border-color: var(--neon-cyan); color: #fff; }
.cat-btn.active { background: rgba(0, 243, 255, 0.1); border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }

/* 主体图文内容 (详情页) */
.content-wrapper { max-width: 1600px; margin: 0 auto; padding: 40px; display: flex; gap: 40px; align-items: flex-start; }
.main-article { flex: 7; background: var(--bg-card); border: 1px solid var(--border-color); position: relative; min-width: 0; }
.main-article::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan)); }
.article-header { padding: 40px 40px 20px 40px; border-bottom: 1px dashed #333; }
.mod-title { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 20px; text-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }
.mod-meta { display: flex; gap: 30px; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; }
.mod-meta span strong { color: var(--neon-cyan); }
/* 彻底拔除内容页兜底的假字，强化背景自适应居中 */
.hero-cover { width: 100%; aspect-ratio: 21 / 9; background: #111; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-color); background-size: cover; background-position: center; background-repeat: no-repeat; }
.article-body { padding: 40px; line-height: 1.8; font-size: 16px; color: #ccc; overflow-wrap: break-word; }
.article-body h2 { color: #fff; font-size: 22px; margin: 40px 0 20px 0; padding-left: 15px; border-left: 5px solid var(--neon-pink); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 20px; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 20px 0; border: 1px solid var(--border-color); }

/* 侧边栏及下载面板 */
.sidebar { flex: 3; position: sticky; top: 110px; display: flex; flex-direction: column; gap: 30px; min-width: 300px; }
.download-console { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; position: relative; }
.console-title { font-size: 18px; color: #fff; font-weight: bold; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; text-align: center; }
.btn-group { display: flex; flex-direction: column; gap: 15px; }
.btn-vip { display: flex; flex-direction: column; align-items: center; padding: 20px; background: linear-gradient(45deg, rgba(255, 0, 85, 0.2), rgba(255, 183, 0, 0.2)); border: 2px solid var(--vip-gold); color: var(--vip-gold); text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: 1px; transition: 0.3s; position: relative; overflow: hidden; box-shadow: 0 0 20px rgba(255, 183, 0, 0.2); text-align: center; }
.btn-vip::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: sweep 3s infinite; }
@keyframes sweep { 0% { left: -100%; } 100% { left: 200%; } }
.btn-vip:hover { background: var(--vip-gold); color: #000; box-shadow: 0 0 40px var(--vip-gold); transform: scale(1.02); }
.vip-subtext { font-size: 12px; font-weight: normal; margin-top: 5px; opacity: 0.9; }
.btn-regular { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #0f1115; border: 1px solid #333; color: #aaa; text-decoration: none; font-weight: bold; font-size: 15px; transition: 0.3s; }
.btn-regular:hover { border-color: var(--neon-cyan); color: #fff; background: rgba(0, 243, 255, 0.05); }
.btn-regular .speed-tag { font-size: 12px; background: #222; padding: 2px 6px; color: #888; }
.btn-free { display: block; text-align: center; padding: 15px; background: #050505; border: 1px dashed #222; color: #555; text-decoration: none; font-size: 13px; transition: 0.3s; margin-top: 10px; }
.btn-free:hover { color: #888; border-color: #444; }
.file-info { margin-top: 25px; padding-top: 20px; border-top: 1px dashed #333; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 13px; }
.sidebar-widget { background: var(--bg-card); border: 1px solid var(--border-color); padding: 25px; }
.widget-title { font-size: 16px; color: #fff; font-weight: bold; margin-bottom: 20px; border-left: 3px solid var(--neon-cyan); padding-left: 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
/* 修复重名碰撞，隔离为 .tc-tag */
.tc-tag { padding: 5px 12px; background: #111; color: var(--neon-cyan); border: 1px solid rgba(0, 243, 255, 0.2); font-size: 13px; cursor: pointer; transition: 0.3s; text-decoration: none; }
.tc-tag:hover { background: var(--neon-cyan); color: #000; }
.rec-item { display: flex; gap: 15px; margin-bottom: 15px; text-decoration: none; transition: 0.3s; }
.rec-item:hover { transform: translateX(5px); }
.rec-item:hover .rec-title { color: var(--neon-cyan); }
.rec-thumb { width: 80px; height: 45px; background: #222; flex-shrink: 0; }
.rec-title { font-size: 14px; color: #ccc; margin-bottom: 5px; font-weight: bold; transition: 0.3s; }
.rec-meta { font-size: 12px; color: #666; }

/* 评论系统 */
.comments-area { padding: 40px; border-top: 1px dashed #333; }
.comments-title { font-size: 22px; color: #fff; margin-bottom: 30px; border-left: 5px solid var(--neon-cyan); padding-left: 15px; text-transform: uppercase; }
.cmt-list { list-style: none; padding: 0; margin: 0; }
.cmt-box { margin-bottom: 40px; }
.cmt-input { width: 100%; background: #111; border: 1px solid #333; color: var(--text-main); padding: 15px; font-size: 14px; margin-bottom: 15px; outline: none; transition: 0.3s; resize: vertical; min-height: 100px; }
.cmt-input:focus { border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.1); }
.cmt-row { display: flex; gap: 15px; margin-bottom: 15px; }
.cmt-row input { flex: 1; background: #111; border: 1px solid #333; color: var(--text-main); padding: 12px; outline: none; transition: 0.3s; }
.cmt-row input:focus { border-color: var(--neon-pink); }
.cmt-btn { background: #111; color: var(--neon-cyan); border: 1px solid rgba(0, 243, 255, 0.2); padding: 12px 30px; cursor: pointer; font-weight: bold; transition: 0.3s; display: inline-block; }
.cmt-btn:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }
.cmt-item { border-bottom: 1px dashed #333; padding: 20px 0; }
.cmt-meta { font-size: 13px; color: var(--neon-pink); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.cmt-meta .author { display: flex; align-items: center; gap: 10px; }
.cmt-meta .author img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-color); }
.cmt-meta .author a { font-weight: bold; color: var(--text-main); font-size: 15px; text-decoration: none; }
.cmt-content { color: #ccc; font-size: 14px; line-height: 1.6; padding-left: 42px; }
.cmt-reply-btn { color: var(--neon-cyan); text-decoration: none; margin-left: 10px; cursor: pointer; }

/* 底部脚注 */
.cyber-footer { background: var(--bg-deep); border-top: 1px solid var(--border-color); padding: 40px 20px; margin-top: 60px; text-align: center; }
.cyber-footer p { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.cyber-footer a { color: var(--neon-cyan); text-decoration: none; transition: 0.3s; }
.cyber-footer a:hover { text-shadow: 0 0 8px var(--neon-cyan); }

/* 悬浮滚动按钮 */
.scroll-tools { position: fixed; right: 30px; bottom: 30px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.scroll-tools a { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; background: rgba(5,5,5,0.8); border: 1px solid var(--border-color); color: var(--neon-cyan); text-decoration: none; font-size: 20px; transition: 0.3s; backdrop-filter: blur(5px); }
.scroll-tools a:hover { background: rgba(0,243,255,0.1); border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0,243,255,0.3); }

/* 404页面 */
body.error-page { overflow: hidden; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0; }
.error-code { font-size: 150px; font-weight: 900; color: transparent; -webkit-text-stroke: 2px var(--neon-pink); text-shadow: 0 0 30px rgba(255,0,85,0.4); margin-bottom: 20px; letter-spacing: 10px; }
.error-text { font-size: 24px; color: var(--neon-cyan); letter-spacing: 3px; margin-bottom: 40px; text-transform: uppercase; }
.back-btn { padding: 15px 40px; background: transparent; border: 2px solid var(--neon-cyan); color: var(--neon-cyan); text-decoration: none; font-size: 18px; font-weight: bold; transition: 0.3s; box-shadow: inset 0 0 10px rgba(0,243,255,0.2); }
.back-btn:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 30px rgba(0,243,255,0.5); }

/* ================= 移动端自适应 (Google SEO 规范) ================= */
@media (max-width: 1024px) {
    .grid-4x4 { grid-template-columns: repeat(2, 1fr); }
    .content-wrapper { flex-direction: column; }
    .sidebar { width: 100%; top: 0; min-width: auto; }
    .hero-title { font-size: 36px; }
    .search-box { width: 90%; flex-direction: column; }
    .search-select { border-right: none; border-bottom: 1px solid var(--border-color); padding: 15px; text-align: center; }
}

@media (max-width: 768px) {
    .grid-4x4 { grid-template-columns: 1fr; }
    .navbar { padding: 15px 20px; flex-direction: column; height: auto; gap: 15px; position: relative; }
    .nav-links { flex-direction: column; gap: 15px; width: 100%; }
    .nav-links ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .nav-links li { margin-left: 0; }
    .header-search form { width: 100%; }
    .header-search input { width: 100%; }
    body.category, body.article, body.list, body.index { padding-top: 0; }
    .hero { margin-top: 0; height: auto; padding: 60px 20px; }
    .hero-title { font-size: 28px; }
    .container { padding: 30px 20px; }
    .ad-banner-wrap { padding: 0 20px; }
    .content-wrapper { padding: 20px; }
    .article-header { padding: 20px; }
    .mod-title { font-size: 24px; }
    .article-body { padding: 20px; font-size: 15px; }
    .btn-regular { flex-direction: column; gap: 10px; text-align: center; }
    .scroll-tools { right: 15px; bottom: 15px; }
    .scroll-tools a { width: 40px; height: 40px; font-size: 16px; }
    .error-code { font-size: 100px; }
    .error-text { font-size: 18px; }
    .back-btn { padding: 12px 30px; font-size: 16px; }

    /* 2026 Google SEO: 移动端触控防惩罚矩阵 (强制扩大物理点击热区) */
    .card-cat-btn, .pack-tag, .tc-tag { padding: 8px 14px; font-size: 14px; margin-bottom: 10px; display: inline-block; min-height: 32px; line-height: 1.2; }
    .page-btn, .scroll-tools a { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; font-size: 16px; }
    .user-icon { width: 44px; height: 44px; }
    .nav-links a { padding: 12px 15px; display: block; }
}

/* ================= P2 & P3: 游戏门户与合集专属样式 ================= */
/* 游戏大厅 (games.php) */
.hero-banner { text-align: center; padding: 80px 20px 40px 20px; background: radial-gradient(circle at top, #111827 0%, var(--bg-deep) 100%); border-bottom: 1px solid #111; margin-top: 70px; }
.hero-banner h1 { font-size: 46px; color: #fff; text-transform: uppercase; letter-spacing: 5px; text-shadow: 0 0 20px rgba(0, 243, 255, 0.5); margin-bottom: 15px; }
.hero-banner p { color: var(--text-muted); font-size: 18px; }
.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 35px; }
.game-card { display: block; background: var(--bg-card); border: 1px solid var(--border-color); text-decoration: none; transition: 0.4s; position: relative; overflow: hidden; }
.game-card:hover { transform: translateY(-15px) scale(1.02); border-color: var(--neon-cyan); box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2); z-index: 2; }
/* 彻底拔除假字，强化背景自适应 */
.poster { width: 100%; aspect-ratio: 2 / 3; background: #111; display: flex; justify-content: center; align-items: center; color: #333; font-weight: bold; font-size: 16px; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.game-info { padding: 20px; text-align: center; background: linear-gradient(0deg, var(--bg-card) 60%, transparent); position: absolute; bottom: 0; width: 100%; transition: 0.3s; }
.game-title { font-size: 20px; color: #fff; font-weight: bold; margin-bottom: 5px; text-shadow: 0 2px 5px #000; }
.game-count { font-size: 13px; color: var(--neon-cyan); background: rgba(0,0,0,0.8); display: inline-block; padding: 3px 10px; border: 1px solid rgba(0,243,255,0.3); }
.game-card:hover .game-info { background: var(--bg-card); }

/* 游戏详情聚合页 (hub.php) */
.breadcrumb { max-width: 1600px; margin: 30px auto 0 auto; padding: 0 40px; font-size: 14px; color: #666; }
.breadcrumb a { color: #888; text-decoration: none; margin: 0 8px; }
.breadcrumb a:first-child { margin-left: 0; }
.breadcrumb a:hover { color: var(--neon-cyan); }
.breadcrumb span { color: var(--neon-cyan); margin-left: 8px; }
.game-hero { margin-top: 20px; height: 400px; background: linear-gradient(180deg, rgba(26,26,46,0.9) 0%, var(--bg-deep) 100%); background-size: cover; background-position: center; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 60px 0; border-bottom: 1px solid var(--border-color); }
.hero-content { max-width: 1600px; margin: 0 auto; padding: 0 40px; width: 100%; }
.game-title-main { font-size: 56px; font-weight: 900; color: #fff; margin-bottom: 15px; text-shadow: 0 0 30px rgba(0, 243, 255, 0.5); letter-spacing: 2px; }
.game-desc { font-size: 16px; color: #aaa; max-width: 600px; line-height: 1.6; margin-bottom: 25px; }
.game-stats-bar { display: flex; gap: 40px; font-size: 14px; }
.stat-item { display: flex; align-items: center; gap: 8px; }
.stat-num { color: var(--neon-cyan); font-weight: bold; font-size: 18px; }
.stat-label { color: #666; text-transform: uppercase; letter-spacing: 1px; }
.hub-section { max-width: 1600px; margin: 0 auto; padding: 50px 40px; border-bottom: 1px solid #1a1c23; }
.hub-section:last-child { border-bottom: none; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.section-title-group { display: flex; align-items: baseline; gap: 15px; }
.section-title { font-size: 22px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 2px; }
.section-subtitle { font-size: 13px; color: #666; }
.btn-view-all { padding: 10px 25px; border: 1px solid #333; color: #666; text-decoration: none; font-size: 13px; transition: 0.3s; display: flex; align-items: center; gap: 8px; border-radius: 4px; }
.btn-view-all:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0, 243, 255, 0.05); }

/* 合集列表页网格 (modpacks.php) */
.header-title { padding: 40px 40px 20px 40px; max-width: 1600px; margin: 0 auto; border-bottom: 2px solid #222; margin-bottom: 30px; margin-top: 70px; }
.header-title h1 { font-size: 32px; color: var(--vip-gold); text-shadow: 0 0 15px rgba(255, 183, 0, 0.3); margin-bottom: 8px; }
.header-title p { color: #888; font-size: 15px; line-height: 1.6; }
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pack-card { background: var(--bg-card); border: 1px solid var(--border-color); display: flex; flex-direction: column; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; border-radius: 8px; }
.pack-card:hover { transform: translateY(-5px); border-color: var(--vip-gold); box-shadow: 0 15px 30px rgba(255, 183, 0, 0.15); background: #11131a; }
.pack-cover-wrap { position: relative; width: 100%; padding-bottom: 75%; background: #111; overflow: hidden; border-bottom: 1px solid var(--border-color); }
/* 从原本写废的 object-fit，统一还原为标准的自适应背景图 */
.pack-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 0.5s ease; }
.pack-card:hover .pack-cover { transform: scale(1.05); }
.pack-badge { position: absolute; top: 12px; right: 12px; background: var(--neon-pink); color: #fff; padding: 4px 12px; font-size: 11px; font-weight: bold; border-radius: 4px; box-shadow: 0 0 10px rgba(255, 0, 85, 0.5); z-index: 5; text-transform: uppercase; letter-spacing: 1px; }
.pack-badge.gold { background: var(--vip-gold); color: #000; box-shadow: 0 0 10px rgba(255, 183, 0, 0.5); }
.pack-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pack-title { font-size: 17px; color: #fff; font-weight: bold; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.pack-desc { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pack-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #222; }
.pack-tag { background: rgba(255, 183, 0, 0.1); color: var(--vip-gold); padding: 3px 10px; font-size: 11px; border: 1px solid rgba(255, 183, 0, 0.3); border-radius: 4px; font-weight: bold; }
.pack-size { color: #888; font-size: 12px; font-weight: bold; }

/* 合集详情页 (modpack_detail.php) */
.hero-section { width: 100vw; height: 70vh; min-height: 500px; background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; margin-top: 70px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.6; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.8) 70%, var(--bg-deep) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 1000px; }
.badge-premium { display: inline-block; background: var(--vip-gold); color: #000; padding: 8px 24px; font-size: 14px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; border-radius: 30px; box-shadow: 0 0 20px rgba(255, 183, 0, 0.4); }
.modpack-title { font-size: 52px; font-weight: 900; color: #fff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.modpack-subtitle { font-size: 20px; color: #bbb; max-width: 700px; margin: 0 auto 30px auto; line-height: 1.6; }
.lightbox-gallery { max-width: 1200px; margin: -50px auto 40px auto; padding: 0 40px; position: relative; z-index: 10; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; background: var(--bg-card); }
.gallery-item:hover { transform: translateY(-3px); border-color: var(--vip-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.download-hub { background: rgba(10, 11, 16, 0.9); backdrop-filter: blur(15px); border: 2px solid var(--vip-gold); padding: 40px; max-width: 900px; margin: 0 auto 60px auto; position: relative; z-index: 10; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 183, 0, 0.1); border-radius: 12px; }
.btn-massive { display: block; width: 100%; padding: 24px; background: linear-gradient(90deg, #d4af37, #ffb700, #d4af37); background-size: 200% auto; color: #000; font-size: 24px; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; border: none; transition: 0.5s; animation: gradientMove 3s linear infinite; box-shadow: 0 0 40px rgba(255, 183, 0, 0.5); margin-bottom: 20px; border-radius: 8px; cursor: pointer; }
@keyframes gradientMove { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.btn-massive:hover { transform: scale(1.02); box-shadow: 0 0 60px rgba(255, 183, 0, 0.8); color: #fff; }
.backup-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.backup-links a { color: #888; font-size: 14px; text-decoration: none; border: 1px solid #333; padding: 10px 20px; transition: 0.3s; border-radius: 6px; background: rgba(255,255,255,0.02); }
.backup-links a:hover { color: #fff; border-color: var(--vip-gold); background: rgba(255, 183, 0, 0.05); }
.content-wrapper-pack { max-width: 1200px; margin: 0 auto; padding: 0 40px 60px 40px; display: grid; grid-template-columns: 1fr 350px; gap: 40px; }
.main-content { background: #0f1117; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; min-height: 400px; }
.zbp-content h2 { font-size: 26px; color: #fff; border-left: 4px solid var(--vip-gold); padding-left: 16px; margin: 30px 0 20px 0; font-weight: 700; }
.zbp-content h3 { font-size: 20px; color: var(--vip-gold); margin: 25px 0 15px 0; font-weight: 600; }
.zbp-content p { color: #aaa; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.zbp-content ul, .zbp-content ol { margin: 15px 0; padding-left: 25px; color: #aaa; line-height: 1.8; }
.zbp-content blockquote { border-left: 3px solid var(--vip-gold); background: rgba(255, 183, 0, 0.05); padding: 20px; margin: 20px 0; border-radius: 0 8px 8px 0; color: #ccc; }
.zbp-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; border: 1px solid var(--border-color); }
.info-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
.info-card h3 { font-size: 16px; color: var(--vip-gold); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.info-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #222; margin-bottom: 12px; }
.info-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.info-label { color: #666; font-size: 14px; }
.info-value { color: #fff; font-weight: 600; font-size: 14px; }
.info-value.highlight { color: var(--vip-gold); font-size: 18px; }

/* 详情页内联导航 & MOD分页组件 */
.titancore-pack-wrap .tab-nav { display: flex; gap: 20px; border-bottom: 2px solid #222; margin-bottom: 30px; }
.titancore-pack-wrap .tab-btn-js { padding: 10px 0; font-size: 18px; font-weight: bold; color: #888; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: 0.3s; }
.titancore-pack-wrap .tab-btn-js:hover { color: #ccc; }
.titancore-pack-wrap .tab-btn-js.active { color: var(--vip-gold); border-bottom-color: var(--vip-gold); }
.titancore-pack-wrap .mod-item-js { display: flex; align-items: center; gap: 15px; padding: 15px; border: 1px solid #222; margin-bottom: 15px; border-radius: 8px; background: var(--bg-card); transition: 0.3s; text-decoration: none; }
.titancore-pack-wrap .mod-item-js:hover { border-color: var(--neon-cyan); transform: translateX(5px); }
.titancore-pack-wrap .mod-item-thumb { width: 120px; height: 68px; background: #111; border-radius: 4px; background-size: cover; background-position: center; }
.titancore-pack-wrap .mod-item-info { flex: 1; }
.titancore-pack-wrap .mod-item-title { color: #fff; font-weight: bold; font-size: 16px; margin-bottom: 5px; }
.titancore-pack-wrap .mod-item-meta { color: #666; font-size: 12px; }

@media (max-width: 1400px) { .titancore-pack-wrap .pack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { 
    .titancore-pack-wrap .pack-grid, .titancore-hub-wrap .grid-4x2 { grid-template-columns: repeat(2, 1fr); } 
    .titancore-hub-wrap .game-grid { grid-template-columns: repeat(3, 1fr); }
    .titancore-pack-wrap .content-wrapper-pack { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .titancore-hub-wrap .game-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .titancore-hub-wrap .hero-banner { margin-top: 0; }
    .titancore-hub-wrap .hero-banner h1 { font-size: 28px; }
    .titancore-hub-wrap .game-stats-bar { flex-wrap: wrap; gap: 15px; }
    .titancore-hub-wrap .hub-section { padding: 30px 20px; }
    .titancore-pack-wrap .pack-grid, .titancore-hub-wrap .grid-4x2 { grid-template-columns: 1fr; }
    .titancore-hub-wrap .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .titancore-hub-wrap .btn-view-all { align-self: flex-start; }
    .titancore-pack-wrap .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .titancore-pack-wrap .modpack-title { font-size: 32px; }
}

/* ================= P2 & P3: 安全隔离专属样式 (严禁修改命名空间) ================= */

/* --- 游戏门户 (games & hub) 专属防御锁 .titancore-hub-wrap --- */
.titancore-hub-wrap .hero-banner { text-align: center; padding: 80px 20px 40px 20px; background: radial-gradient(circle at top, #111827 0%, var(--bg-deep) 100%); border-bottom: 1px solid #111; margin-top: 70px; }
.titancore-hub-wrap .hero-banner h1 { font-size: 46px; color: #fff; text-transform: uppercase; letter-spacing: 5px; text-shadow: 0 0 20px rgba(0, 243, 255, 0.5); margin-bottom: 15px; }
.titancore-hub-wrap .hero-banner p { color: var(--text-muted); font-size: 18px; }
.titancore-hub-wrap .game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 35px; }
.titancore-hub-wrap .game-card { display: block; background: var(--bg-card); border: 1px solid var(--border-color); text-decoration: none; transition: 0.4s; position: relative; overflow: hidden; }
.titancore-hub-wrap .game-card:hover { transform: translateY(-15px) scale(1.02); border-color: var(--neon-cyan); box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2); z-index: 2; }
/* 彻底拔除假字，强化背景自适应 */
.titancore-hub-wrap .poster { width: 100%; aspect-ratio: 2 / 3; background: #111; display: flex; justify-content: center; align-items: center; color: #333; font-weight: bold; font-size: 16px; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.titancore-hub-wrap .game-info { padding: 20px; text-align: center; background: linear-gradient(0deg, var(--bg-card) 60%, transparent); position: absolute; bottom: 0; width: 100%; transition: 0.3s; }
.titancore-hub-wrap .game-title { font-size: 20px; color: #fff; font-weight: bold; margin-bottom: 5px; text-shadow: 0 2px 5px #000; }
.titancore-hub-wrap .game-count { font-size: 13px; color: var(--neon-cyan); background: rgba(0,0,0,0.8); display: inline-block; padding: 3px 10px; border: 1px solid rgba(0,243,255,0.3); }
.titancore-hub-wrap .game-card:hover .game-info { background: var(--bg-card); }
.titancore-hub-wrap .breadcrumb { max-width: 1600px; margin: 30px auto 0 auto; padding: 0 40px; font-size: 14px; color: #666; }
.titancore-hub-wrap .breadcrumb a { color: #888; text-decoration: none; margin: 0 8px; }
.titancore-hub-wrap .breadcrumb a:first-child { margin-left: 0; }
.titancore-hub-wrap .breadcrumb a:hover { color: var(--neon-cyan); }
.titancore-hub-wrap .breadcrumb span { color: var(--neon-cyan); margin-left: 8px; }
.titancore-hub-wrap .game-hero { margin-top: 20px; height: 400px; background: linear-gradient(180deg, rgba(26,26,46,0.9) 0%, var(--bg-deep) 100%); background-size: cover; background-position: center; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 60px 0; border-bottom: 1px solid var(--border-color); }
.titancore-hub-wrap .hero-content { max-width: 1600px; margin: 0 auto; padding: 0 40px; width: 100%; }
.titancore-hub-wrap .game-title-main { font-size: 56px; font-weight: 900; color: #fff; margin-bottom: 15px; text-shadow: 0 0 30px rgba(0, 243, 255, 0.5); letter-spacing: 2px; }
.titancore-hub-wrap .game-desc { font-size: 16px; color: #aaa; max-width: 600px; line-height: 1.6; margin-bottom: 25px; }
.titancore-hub-wrap .game-stats-bar { display: flex; gap: 40px; font-size: 14px; }
.titancore-hub-wrap .stat-item { display: flex; align-items: center; gap: 8px; }
.titancore-hub-wrap .stat-num { color: var(--neon-cyan); font-weight: bold; font-size: 18px; }
.titancore-hub-wrap .stat-label { color: #666; text-transform: uppercase; letter-spacing: 1px; }
.titancore-hub-wrap .hub-section { max-width: 1600px; margin: 0 auto; padding: 50px 40px; border-bottom: 1px solid #1a1c23; }
.titancore-hub-wrap .hub-section:last-child { border-bottom: none; }
.titancore-hub-wrap .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.titancore-hub-wrap .section-title-group { display: flex; align-items: baseline; gap: 15px; }
.titancore-hub-wrap .section-title { font-size: 22px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 2px; }
.titancore-hub-wrap .section-subtitle { font-size: 13px; color: #666; }
.titancore-hub-wrap .btn-view-all { padding: 10px 25px; border: 1px solid #333; color: #666; text-decoration: none; font-size: 13px; transition: 0.3s; display: flex; align-items: center; gap: 8px; border-radius: 4px; }
.titancore-hub-wrap .btn-view-all:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0, 243, 255, 0.05); }

/* --- 合集聚合 (modpacks & modpack_detail) 专属防御锁 .titancore-pack-wrap --- */
.titancore-pack-wrap .header-title { padding: 40px 40px 20px 40px; max-width: 1600px; margin: 0 auto; border-bottom: 2px solid #222; margin-bottom: 30px; margin-top: 70px; }
.titancore-pack-wrap .header-title h1 { font-size: 32px; color: var(--vip-gold); text-shadow: 0 0 15px rgba(255, 183, 0, 0.3); margin-bottom: 8px; }
.titancore-pack-wrap .header-title p { color: #888; font-size: 15px; line-height: 1.6; }
.titancore-pack-wrap .pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.titancore-pack-wrap .pack-card { background: var(--bg-card); border: 1px solid var(--border-color); display: flex; flex-direction: column; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; border-radius: 8px; }
.titancore-pack-wrap .pack-card:hover { transform: translateY(-5px); border-color: var(--vip-gold); box-shadow: 0 15px 30px rgba(255, 183, 0, 0.15); background: #11131a; }
.titancore-pack-wrap .pack-cover-wrap { position: relative; width: 100%; padding-bottom: 75%; background: #111; overflow: hidden; border-bottom: 1px solid var(--border-color); }
/* 从原本写废的 object-fit，统一还原为标准的自适应背景图 */
.titancore-pack-wrap .pack-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 0.5s ease; }
.titancore-pack-wrap .pack-card:hover .pack-cover { transform: scale(1.05); }
.titancore-pack-wrap .pack-badge { position: absolute; top: 12px; right: 12px; background: var(--neon-pink); color: #fff; padding: 4px 12px; font-size: 11px; font-weight: bold; border-radius: 4px; box-shadow: 0 0 10px rgba(255, 0, 85, 0.5); z-index: 5; text-transform: uppercase; letter-spacing: 1px; }
.titancore-pack-wrap .pack-badge.gold { background: var(--vip-gold); color: #000; box-shadow: 0 0 10px rgba(255, 183, 0, 0.5); }
.titancore-pack-wrap .pack-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.titancore-pack-wrap .pack-title { font-size: 17px; color: #fff; font-weight: bold; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.titancore-pack-wrap .pack-desc { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.titancore-pack-wrap .pack-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #222; }
.titancore-pack-wrap .pack-tag { background: rgba(255, 183, 0, 0.1); color: var(--vip-gold); padding: 3px 10px; font-size: 11px; border: 1px solid rgba(255, 183, 0, 0.3); border-radius: 4px; font-weight: bold; }
.titancore-pack-wrap .pack-size { color: #888; font-size: 12px; font-weight: bold; }
.titancore-pack-wrap .hero-section { width: 100vw; height: 70vh; min-height: 500px; background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; margin-top: 70px; }
.titancore-pack-wrap .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.6; }
.titancore-pack-wrap .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.8) 70%, var(--bg-deep) 100%); }
.titancore-pack-wrap .hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 1000px; }
.titancore-pack-wrap .badge-premium { display: inline-block; background: var(--vip-gold); color: #000; padding: 8px 24px; font-size: 14px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; border-radius: 30px; box-shadow: 0 0 20px rgba(255, 183, 0, 0.4); }
.titancore-pack-wrap .modpack-title { font-size: 52px; font-weight: 900; color: #fff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.titancore-pack-wrap .modpack-subtitle { font-size: 20px; color: #bbb; max-width: 700px; margin: 0 auto 30px auto; line-height: 1.6; }
.titancore-pack-wrap .lightbox-gallery { max-width: 1200px; margin: -50px auto 40px auto; padding: 0 40px; position: relative; z-index: 10; }
.titancore-pack-wrap .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.titancore-pack-wrap .gallery-item { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; background: var(--bg-card); }
.titancore-pack-wrap .gallery-item:hover { transform: translateY(-3px); border-color: var(--vip-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.titancore-pack-wrap .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.titancore-pack-wrap .gallery-item:hover img { transform: scale(1.1); }
.titancore-pack-wrap .download-hub { background: rgba(10, 11, 16, 0.9); backdrop-filter: blur(15px); border: 2px solid var(--vip-gold); padding: 40px; max-width: 900px; margin: 0 auto 60px auto; position: relative; z-index: 10; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 183, 0, 0.1); border-radius: 12px; }
.titancore-pack-wrap .btn-massive { display: block; width: 100%; padding: 24px; background: linear-gradient(90deg, #d4af37, #ffb700, #d4af37); background-size: 200% auto; color: #000; font-size: 24px; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; border: none; transition: 0.5s; animation: gradientMove 3s linear infinite; box-shadow: 0 0 40px rgba(255, 183, 0, 0.5); margin-bottom: 20px; border-radius: 8px; cursor: pointer; }
.titancore-pack-wrap .btn-massive:hover { transform: scale(1.02); box-shadow: 0 0 60px rgba(255, 183, 0, 0.8); color: #fff; }
.titancore-pack-wrap .backup-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.titancore-pack-wrap .backup-links a { color: #888; font-size: 14px; text-decoration: none; border: 1px solid #333; padding: 10px 20px; transition: 0.3s; border-radius: 6px; background: rgba(255,255,255,0.02); }
.titancore-pack-wrap .backup-links a:hover { color: #fff; border-color: var(--vip-gold); background: rgba(255, 183, 0, 0.05); }
.titancore-pack-wrap .content-wrapper-pack { max-width: 1200px; margin: 0 auto; padding: 0 40px 60px 40px; display: grid; grid-template-columns: 1fr 350px; gap: 40px; }
.titancore-pack-wrap .main-content { background: #0f1117; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; min-height: 400px; }
.titancore-pack-wrap .zbp-content h2 { font-size: 26px; color: #fff; border-left: 4px solid var(--vip-gold); padding-left: 16px; margin: 30px 0 20px 0; font-weight: 700; }
.titancore-pack-wrap .zbp-content h3 { font-size: 20px; color: var(--vip-gold); margin: 25px 0 15px 0; font-weight: 600; }
.titancore-pack-wrap .zbp-content p { color: #aaa; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.titancore-pack-wrap .zbp-content ul, .titancore-pack-wrap .zbp-content ol { margin: 15px 0; padding-left: 25px; color: #aaa; line-height: 1.8; }
.titancore-pack-wrap .zbp-content blockquote { border-left: 3px solid var(--vip-gold); background: rgba(255, 183, 0, 0.05); padding: 20px; margin: 20px 0; border-radius: 0 8px 8px 0; color: #ccc; }
.titancore-pack-wrap .zbp-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; border: 1px solid var(--border-color); }
.titancore-pack-wrap .info-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
.titancore-pack-wrap .info-card h3 { font-size: 16px; color: var(--vip-gold); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.titancore-pack-wrap .info-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #222; margin-bottom: 12px; }
.titancore-pack-wrap .info-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.titancore-pack-wrap .info-label { color: #666; font-size: 14px; }
.titancore-pack-wrap .info-value { color: #fff; font-weight: 600; font-size: 14px; }
.titancore-pack-wrap .info-value.highlight { color: var(--vip-gold); font-size: 18px; }

/* 详情页内联导航 & MOD分页组件 */
.titancore-pack-wrap .tab-nav { display: flex; gap: 20px; border-bottom: 2px solid #222; margin-bottom: 30px; }
.titancore-pack-wrap .tab-btn-js { padding: 10px 0; font-size: 18px; font-weight: bold; color: #888; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: 0.3s; }
.titancore-pack-wrap .tab-btn-js:hover { color: #ccc; }
.titancore-pack-wrap .tab-btn-js.active { color: var(--vip-gold); border-bottom-color: var(--vip-gold); }
.titancore-pack-wrap .mod-item-js { display: flex; align-items: center; gap: 15px; padding: 15px; border: 1px solid #222; margin-bottom: 15px; border-radius: 8px; background: var(--bg-card); transition: 0.3s; text-decoration: none; }
.titancore-pack-wrap .mod-item-js:hover { border-color: var(--neon-cyan); transform: translateX(5px); }
.titancore-pack-wrap .mod-item-thumb { width: 120px; height: 68px; background: #111; border-radius: 4px; background-size: cover; background-position: center; }
.titancore-pack-wrap .mod-item-info { flex: 1; }
.titancore-pack-wrap .mod-item-title { color: #fff; font-weight: bold; font-size: 16px; margin-bottom: 5px; }
.titancore-pack-wrap .mod-item-meta { color: #666; font-size: 12px; }

@media (max-width: 1400px) { .titancore-pack-wrap .pack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { 
    .titancore-pack-wrap .pack-grid, .titancore-hub-wrap .grid-4x2 { grid-template-columns: repeat(2, 1fr); } 
    .titancore-hub-wrap .game-grid { grid-template-columns: repeat(3, 1fr); }
    .titancore-pack-wrap .content-wrapper-pack { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .titancore-hub-wrap .game-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .titancore-hub-wrap .hero-banner { margin-top: 0; }
    .titancore-hub-wrap .hero-banner h1 { font-size: 28px; }
    .titancore-hub-wrap .game-stats-bar { flex-wrap: wrap; gap: 15px; }
    .titancore-hub-wrap .hub-section { padding: 30px 20px; }
    .titancore-pack-wrap .pack-grid, .titancore-hub-wrap .grid-4x2 { grid-template-columns: 1fr; }
    .titancore-hub-wrap .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .titancore-hub-wrap .btn-view-all { align-self: flex-start; }
    .titancore-pack-wrap .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .titancore-pack-wrap .modpack-title { font-size: 32px; }
}