/* ============================================
   探花 - 游戏解说视频社区 原创样式表
   域名: sxrLwv.cn
   配色: 深海蓝 #0B1426 | 电竞橙 #FF6B35 | 科技青 #00D4FF | 暗金 #FFB800
   ============================================ */

/* === 基础重置与全局 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; background: #0B1426; color: #E8ECF1; line-height: 1.7; overflow-x: hidden; }
a { color: #00D4FF; text-decoration: none; transition: color .25s; }
a:hover { color: #FF6B35; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #FFFFFF; }

/* === 容器 === */
.tx-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* === 顶部导航 === */
.tx-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(11,20,38,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,212,255,.15); transition: background .3s; }
.tx-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.tx-logo { display: flex; align-items: center; gap: 10px; }
.tx-logo img { height: 42px; width: auto; }
.tx-logo-text { font-size: 22px; font-weight: 800; background: linear-gradient(135deg, #FF6B35, #FFB800); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tx-nav { display: flex; align-items: center; gap: 6px; }
.tx-nav a { padding: 8px 16px; font-size: 15px; color: #C0C8D4; border-radius: 6px; transition: all .25s; position: relative; }
.tx-nav a:hover, .tx-nav a.active { color: #FF6B35; background: rgba(255,107,53,.08); }
.tx-nav a::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #FF6B35; transition: width .25s; border-radius: 1px; }
.tx-nav a:hover::after, .tx-nav a.active::after { width: 60%; }
.tx-menu-btn { display: none; background: none; border: none; color: #E8ECF1; font-size: 26px; cursor: pointer; padding: 6px; }

/* === 搜索栏 === */
.tx-search-bar { background: rgba(11,20,38,.85); border-bottom: 1px solid rgba(0,212,255,.1); padding: 12px 0; margin-top: 68px; }
.tx-search-wrap { display: flex; max-width: 640px; margin: 0 auto; }
.tx-search-wrap input { flex: 1; padding: 10px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(0,212,255,.2); border-right: none; border-radius: 8px 0 0 8px; color: #E8ECF1; font-size: 15px; outline: none; transition: border-color .25s; }
.tx-search-wrap input:focus { border-color: #FF6B35; }
.tx-search-wrap input::placeholder { color: #6B7A8D; }
.tx-search-wrap button { padding: 10px 24px; background: linear-gradient(135deg, #FF6B35, #E55A2B); border: none; border-radius: 0 8px 8px 0; color: #fff; font-size: 15px; cursor: pointer; transition: opacity .25s; }
.tx-search-wrap button:hover { opacity: .85; }

/* === Hero Banner === */
.tx-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; margin-top: 0; }
.tx-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tx-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,20,38,.88) 0%, rgba(11,20,38,.55) 50%, rgba(255,107,53,.15) 100%); }
.tx-hero-content { position: relative; z-index: 2; max-width: 680px; padding: 60px 0; }
.tx-hero h1 { font-size: 42px; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.tx-hero h1 span { color: #FF6B35; }
.tx-hero .tx-hero-desc { font-size: 17px; color: #B8C4D2; margin-bottom: 28px; line-height: 1.8; }
.tx-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tx-hero-tags span { padding: 5px 14px; background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.25); border-radius: 20px; font-size: 13px; color: #00D4FF; }
.tx-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.tx-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; background: linear-gradient(135deg, #FF6B35, #E55A2B); color: #fff; font-size: 16px; font-weight: 600; border-radius: 8px; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.tx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,107,53,.35); color: #fff; }
.tx-btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; background: transparent; color: #00D4FF; font-size: 16px; font-weight: 600; border-radius: 8px; border: 2px solid #00D4FF; cursor: pointer; transition: all .2s; }
.tx-btn-outline:hover { background: rgba(0,212,255,.1); transform: translateY(-2px); color: #00D4FF; }

/* === 通用区块 === */
.tx-section { padding: 70px 0; }
.tx-section-alt { background: rgba(255,255,255,.02); }
.tx-section-title { text-align: center; margin-bottom: 50px; }
.tx-section-title h2 { font-size: 32px; margin-bottom: 12px; }
.tx-section-title h2 span { color: #FF6B35; }
.tx-section-title p { color: #8A96A6; font-size: 16px; max-width: 600px; margin: 0 auto; }
.tx-section-title .tx-line { width: 60px; height: 3px; background: linear-gradient(90deg, #FF6B35, #00D4FF); margin: 14px auto 0; border-radius: 2px; }

/* === 视频卡片网格 === */
.tx-video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tx-video-card { background: rgba(255,255,255,.04); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); transition: transform .3s, box-shadow .3s; position: relative; }
.tx-video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,.4); }
.tx-video-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.tx-video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tx-video-card:hover .tx-video-thumb img { transform: scale(1.08); }
.tx-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s; cursor: pointer; }
.tx-video-card:hover .tx-play-btn { opacity: 1; }
.tx-play-btn svg { width: 56px; height: 56px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.tx-video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.tx-video-info { padding: 14px; }
.tx-video-info h3 { font-size: 15px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.tx-video-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #6B7A8D; }
.tx-video-meta span { display: flex; align-items: center; gap: 4px; }

/* === 服务/功能卡片 === */
.tx-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tx-service-card { background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 32px 26px; text-align: center; transition: all .3s; }
.tx-service-card:hover { transform: translateY(-5px); border-color: rgba(255,107,53,.3); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.tx-service-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: linear-gradient(135deg, rgba(255,107,53,.15), rgba(0,212,255,.1)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.tx-service-card h3 { font-size: 19px; margin-bottom: 10px; }
.tx-service-card p { font-size: 14px; color: #8A96A6; line-height: 1.7; }

/* === 娱乐专区横排 === */
.tx-entertain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tx-entertain-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; }
.tx-entertain-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tx-entertain-card:hover img { transform: scale(1.1); }
.tx-entertain-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,20,38,.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.tx-entertain-overlay h4 { font-size: 17px; margin-bottom: 6px; }
.tx-entertain-overlay p { font-size: 13px; color: #B8C4D2; }

/* === AI赋能区 === */
.tx-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tx-ai-card { background: linear-gradient(145deg, rgba(0,212,255,.06), rgba(255,184,0,.04)); border: 1px solid rgba(0,212,255,.12); border-radius: 14px; padding: 30px 24px; transition: all .3s; }
.tx-ai-card:hover { border-color: rgba(0,212,255,.35); box-shadow: 0 0 25px rgba(0,212,255,.1); }
.tx-ai-card h3 { font-size: 18px; margin-bottom: 10px; color: #00D4FF; }
.tx-ai-card p { font-size: 14px; color: #8A96A6; line-height: 1.7; }

/* === 社区频道 === */
.tx-community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tx-community-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: all .3s; }
.tx-community-card:hover { border-color: rgba(255,184,0,.3); background: rgba(255,184,0,.04); }
.tx-community-icon { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, #FFB800, #FF6B35); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.tx-community-card h4 { font-size: 16px; margin-bottom: 6px; }
.tx-community-card p { font-size: 13px; color: #8A96A6; }

/* === 专家团队 === */
.tx-expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tx-expert-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; overflow: hidden; text-align: center; transition: all .3s; }
.tx-expert-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.tx-expert-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tx-expert-info { padding: 18px; }
.tx-expert-info h4 { font-size: 17px; margin-bottom: 4px; }
.tx-expert-info .tx-expert-role { font-size: 13px; color: #FF6B35; margin-bottom: 8px; }
.tx-expert-info p { font-size: 13px; color: #8A96A6; line-height: 1.6; }
.tx-expert-links { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.tx-expert-links a { padding: 5px 14px; font-size: 12px; border: 1px solid rgba(0,212,255,.3); border-radius: 20px; color: #00D4FF; transition: all .2s; }
.tx-expert-links a:hover { background: rgba(0,212,255,.1); }

/* === 合作品牌墙 === */
.tx-brand-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 20px 0; }
.tx-brand-item { width: 140px; height: 70px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #6B7A8D; font-weight: 600; transition: all .3s; }
.tx-brand-item:hover { border-color: rgba(255,107,53,.3); color: #FF6B35; }

/* === How-To指南 === */
.tx-howto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.tx-howto-step { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 28px 22px; text-align: center; position: relative; counter-increment: step; }
.tx-howto-step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: linear-gradient(135deg, #FF6B35, #E55A2B); border-radius: 50%; font-size: 20px; font-weight: 700; color: #fff; margin: 0 auto 16px; }
.tx-howto-step h4 { font-size: 16px; margin-bottom: 8px; }
.tx-howto-step p { font-size: 13px; color: #8A96A6; }

/* === FAQ === */
.tx-faq-list { max-width: 800px; margin: 0 auto; }
.tx-faq-item { border: 1px solid rgba(255,255,255,.06); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: rgba(255,255,255,.02); }
.tx-faq-q { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; color: #E8ECF1; transition: background .2s; }
.tx-faq-q:hover { background: rgba(255,107,53,.05); }
.tx-faq-q .tx-faq-arrow { font-size: 20px; color: #FF6B35; transition: transform .3s; }
.tx-faq-item.active .tx-faq-arrow { transform: rotate(180deg); }
.tx-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.tx-faq-a-inner { padding: 0 22px 18px; font-size: 14px; color: #8A96A6; line-height: 1.8; }

/* === 用户评价 === */
.tx-review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tx-review-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 24px; }
.tx-review-stars { color: #FFB800; font-size: 16px; margin-bottom: 10px; }
.tx-review-card p { font-size: 14px; color: #B8C4D2; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.tx-review-author { display: flex; align-items: center; gap: 10px; }
.tx-review-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #FF6B35, #00D4FF); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; font-weight: 700; }
.tx-review-name { font-size: 14px; font-weight: 600; }
.tx-review-date { font-size: 12px; color: #6B7A8D; }

/* === 联系我们 === */
.tx-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tx-contact-info { display: flex; flex-direction: column; gap: 18px; }
.tx-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.tx-contact-icon { width: 42px; height: 42px; background: rgba(255,107,53,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #FF6B35; flex-shrink: 0; }
.tx-contact-item h4 { font-size: 15px; margin-bottom: 3px; }
.tx-contact-item p { font-size: 14px; color: #8A96A6; }
.tx-qrcode-group { display: flex; gap: 24px; }
.tx-qrcode-box { text-align: center; }
.tx-qrcode-box img { width: 140px; height: 140px; border-radius: 10px; margin-bottom: 8px; }
.tx-qrcode-box p { font-size: 13px; color: #8A96A6; }

/* === 社交分享 === */
.tx-share-bar { display: flex; justify-content: center; gap: 16px; padding: 30px 0; }
.tx-share-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.tx-share-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.tx-share-wechat { background: #07C160; }
.tx-share-weibo { background: #E6162D; }
.tx-share-douyin { background: #161823; border: 1px solid #333; }
.tx-share-bilibili { background: #FB7299; }

/* === 页脚 === */
.tx-footer { background: rgba(5,10,20,.95); border-top: 1px solid rgba(0,212,255,.1); padding: 50px 0 0; }
.tx-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.tx-footer-brand { }
.tx-footer-brand .tx-logo { margin-bottom: 14px; }
.tx-footer-brand p { font-size: 14px; color: #6B7A8D; line-height: 1.7; }
.tx-footer-col h4 { font-size: 16px; margin-bottom: 16px; color: #E8ECF1; }
.tx-footer-col a { display: block; font-size: 14px; color: #6B7A8D; padding: 4px 0; transition: color .2s; }
.tx-footer-col a:hover { color: #FF6B35; }
.tx-footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; text-align: center; font-size: 13px; color: #4A5568; }

/* === 面包屑 === */
.tx-breadcrumb { padding: 16px 0; font-size: 14px; color: #6B7A8D; }
.tx-breadcrumb a { color: #00D4FF; }
.tx-breadcrumb span { margin: 0 8px; }

/* === 内页通用 === */
.tx-page-hero { padding: 100px 0 50px; background: linear-gradient(135deg, rgba(11,20,38,.95), rgba(255,107,53,.08)); text-align: center; }
.tx-page-hero h1 { font-size: 36px; margin-bottom: 14px; }
.tx-page-hero p { font-size: 16px; color: #8A96A6; max-width: 600px; margin: 0 auto; }

/* === 数据统计条 === */
.tx-stats-bar { display: flex; justify-content: center; gap: 50px; padding: 30px 0; }
.tx-stat-item { text-align: center; }
.tx-stat-num { font-size: 36px; font-weight: 800; background: linear-gradient(135deg, #FF6B35, #FFB800); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tx-stat-label { font-size: 14px; color: #6B7A8D; margin-top: 4px; }

/* === 懒加载占位 === */
.tx-lazy { opacity: 0; transition: opacity .5s; }
.tx-lazy.loaded { opacity: 1; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .tx-video-grid { grid-template-columns: repeat(3, 1fr); }
  .tx-expert-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-review-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-howto-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tx-nav { display: none; position: fixed; top: 68px; left: 0; width: 100%; background: rgba(11,20,38,.98); flex-direction: column; padding: 20px; gap: 4px; border-bottom: 1px solid rgba(0,212,255,.15); }
  .tx-nav.active { display: flex; }
  .tx-nav a { padding: 12px 16px; width: 100%; }
  .tx-menu-btn { display: block; }
  .tx-hero h1 { font-size: 28px; }
  .tx-hero { min-height: 400px; }
  .tx-video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tx-service-grid { grid-template-columns: 1fr; }
  .tx-entertain-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-ai-grid { grid-template-columns: 1fr; }
  .tx-community-grid { grid-template-columns: 1fr; }
  .tx-expert-grid { grid-template-columns: 1fr; }
  .tx-review-grid { grid-template-columns: 1fr; }
  .tx-contact-grid { grid-template-columns: 1fr; }
  .tx-footer-grid { grid-template-columns: 1fr; }
  .tx-howto-steps { grid-template-columns: 1fr; }
  .tx-stats-bar { flex-wrap: wrap; gap: 24px; }
  .tx-section { padding: 45px 0; }
  .tx-section-title h2 { font-size: 24px; }
}
@media (max-width: 480px) {
  .tx-video-grid { grid-template-columns: 1fr; }
  .tx-entertain-grid { grid-template-columns: 1fr; }
  .tx-hero-btns { flex-direction: column; }
}
