/* ===== 玩物社区 游戏解说主题 - 原创CSS ===== */
/* 色彩方案：电竞蓝 #00D4FF + 深紫 #7B2FFF + 暗色背景 #0A0E1A */
:root {
  --primary: #00D4FF;
  --primary-dark: #0099CC;
  --accent: #7B2FFF;
  --accent-light: #A855F7;
  --bg-dark: #0A0E1A;
  --bg-card: #111827;
  --bg-card-hover: #1F2937;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border: #1E293B;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --gradient-main: linear-gradient(135deg, #00D4FF 0%, #7B2FFF 100%);
  --gradient-card: linear-gradient(180deg, rgba(0,212,255,0.05) 0%, rgba(123,47,255,0.05) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: var(--bg-dark); color: var(--text-main); line-height: 1.7; min-height: 100vh; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 36px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.3s; text-decoration: none; }
.btn-primary { background: var(--gradient-main); color: #fff; box-shadow: 0 4px 15px rgba(0,212,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,255,0.4); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-ghost:hover { background: rgba(0,212,255,0.1); color: var(--primary); }

/* 顶部通知栏 */
.4hrw0m { background: linear-gradient(90deg, rgba(0,212,255,0.1), rgba(123,47,255,0.1)); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 13px; color: var(--text-muted); }
.4hrw0m-inner { display: flex; justify-content: space-between; align-items: center; }
.4hrw0m a { color: var(--text-muted); margin-left: 16px; }
.4hrw0m a:hover { color: var(--primary); }

/* 主导航 */
.site-header { background: rgba(10,14,26,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo-link { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-favicon { width: 28px; height: 28px; border-radius: 6px; }
.logo-img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-muted); font-weight: 500; transition: all 0.2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(0,212,255,0.08); }
.nav-live { position: relative; }
.5r5n2 { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); margin-right: 4px; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* 搜索框 */
.header-search { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 4px 4px 4px 16px; width: 260px; transition: border-color 0.3s; }
.header-search:focus-within { border-color: var(--primary); }
.search-input { background: transparent; border: none; outline: none; color: var(--text-main); font-size: 13px; width: 100%; }
.search-input::placeholder { color: var(--text-dim); }
.search-btn { background: var(--gradient-main); border: none; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.search-btn svg { width: 14px; height: 14px; color: #fff; }

/* 头部操作区 */
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-main); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.2x6jq { display: none; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 12px 20px; }
.2x6jq.show { display: block; }
.2x6jq-link { display: block; padding: 10px 0; color: var(--text-muted); font-size: 15px; border-bottom: 1px solid var(--border); }
.2x6jq-link:last-child { border-bottom: none; }

/* Hero Banner */
.hero-banner { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 50%, rgba(10,14,26,0.3) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 600px; padding: 40px 0; }
.hero-content h1 { font-size: 38px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.hero-content h1 .brand-highlight { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.8; }
.hero-stats { display: flex; gap: 32px; margin-top: 24px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 700; color: var(--primary); }
.hero-stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* 视频卡片网格 */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; cursor: pointer; }
.video-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 30px rgba(0,212,255,0.15); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s; }
.video-card:hover .play-overlay { opacity: 1; }
.play-btn-circle { width: 56px; height: 56px; border-radius: 50%; background: rgba(0,212,255,0.9); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,212,255,0.4); }
.play-btn-circle svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 4px; }
.video-info { padding: 14px 16px; }
.video-title { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-dim); }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag { display: inline-block; background: rgba(0,212,255,0.1); color: var(--primary); font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-top: 8px; }

/* 专家卡片 */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.expert-card { background: var(--bg-card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; transition: all 0.3s; }
.expert-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(123,47,255,0.15); }
.expert-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.expert-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.expert-info .expert-role { font-size: 13px; color: var(--accent-light); margin-bottom: 8px; }
.expert-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.expert-tag { font-size: 11px; background: rgba(123,47,255,0.1); color: var(--accent-light); padding: 3px 8px; border-radius: 10px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-q:hover { background: var(--bg-card-hover); }
.faq-q::after { content: '+'; font-size: 20px; color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.open .faq-a { padding: 0 20px 16px; max-height: 300px; }
.faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* 用户评论 */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }
.review-name { font-size: 14px; font-weight: 600; }
.review-date { font-size: 12px; color: var(--text-dim); }
.review-stars { color: var(--warning); font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* 合作品牌墙 */
.brand-wall { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; padding: 30px 0; }
.brand-wall-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 28px; font-size: 15px; font-weight: 600; color: var(--text-muted); transition: all 0.3s; }
.brand-wall-item:hover { border-color: var(--primary); color: var(--primary); }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-card h4 { font-size: 15px; margin-bottom: 10px; color: var(--primary); }
.contact-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.contact-card img { margin: 12px auto 0; border-radius: 8px; }

/* 页脚 */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--text-main); }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); padding: 4px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }
.footer-qr { display: flex; gap: 16px; }
.footer-qr img { width: 80px; height: 80px; border-radius: 6px; }
.footer-qr-label { font-size: 11px; color: var(--text-dim); text-align: center; margin-top: 4px; }

/* 内页Banner */
.inner-banner { background: linear-gradient(135deg, var(--bg-dark), var(--bg-card)); padding: 48px 0; border-bottom: 1px solid var(--border); }
.inner-banner h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.inner-banner p { color: var(--text-muted); font-size: 15px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--primary); }

/* 分类标签 */
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-tab { padding: 6px 16px; border-radius: 20px; font-size: 13px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.cat-tab:hover, .cat-tab.active { background: rgba(0,212,255,0.1); border-color: var(--primary); color: var(--primary); }

/* 回到顶部 */
.back-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; box-shadow: var(--shadow-md); }
.back-top.show { opacity: 1; visibility: visible; }
.back-top svg { width: 20px; height: 20px; fill: #fff; }

/* 响应式 */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 30px; }
}
@media (max-width: 768px) {
  .main-nav, .header-search, .header-actions .btn { display: none; }
  .mobile-menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .hero-banner { min-height: 360px; }
  .hero-content h1 { font-size: 24px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .4hrw0m { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-content h1 { font-size: 20px; }
  .video-grid { grid-template-columns: 1fr; }
}
