/* 91 - 游戏解说视频社区 原创样式表 */
/* 配色方案：深蓝底 + 金色强调 + 电光蓝辅助 */

:root {
  --primary-dark: #0a0e1a;
  --primary-blue: #0d1b3e;
  --accent-gold: #c8a64b;
  --accent-blue: #1e90ff;
  --electric-blue: #00d4ff;
  --text-light: #e8eaf0;
  --text-muted: #8b9dc3;
  --card-bg: rgba(13, 27, 62, 0.85);
  --border-gold: rgba(200, 166, 75, 0.4);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 50%, #0d1b3e 100%);
  --shadow-gold: 0 4px 20px rgba(200, 166, 75, 0.15);
  --shadow-blue: 0 4px 20px rgba(30, 144, 255, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent-blue); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--electric-blue); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 顶部导航 === */
.site-header {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.site-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.main-nav a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--accent-gold); }
.main-nav a:hover::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === 搜索框 === */
.search-bar {
  background: var(--primary-blue);
  border-bottom: 1px solid rgba(200, 166, 75, 0.2);
  padding: 10px 0;
}

.search-bar .container {
  display: flex;
  justify-content: center;
}

.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.search-wrapper input {
  width: 100%;
  padding: 10px 44px 10px 18px;
  border-radius: 24px;
  border: 1px solid var(--border-gold);
  background: rgba(10, 14, 26, 0.8);
  color: var(--text-light);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-wrapper input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(200, 166, 75, 0.3);
}

.search-wrapper input::placeholder { color: var(--text-muted); }

.search-wrapper button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-gold);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: var(--primary-dark);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.search-wrapper button:hover { background: #dbb85c; }

/* === Hero Banner === */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-banner .pqx6hxh2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,26,0.3) 0%, rgba(10,14,26,0.8) 100%);
  z-index: 2;
}

.hero-banner .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 20px;
}

.hero-banner h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(200, 166, 75, 0.5);
}

.hero-banner .hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.hero-banner .fuj1jl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-banner .fuj1jl span {
  background: rgba(200, 166, 75, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
}

/* === 通用模块标题 === */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.section-heading h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* === 视频卡片网格 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid rgba(200, 166, 75, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.video-card .thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .thumb img { transform: scale(1.05); }

.video-card .2aanqx {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: rgba(200, 166, 75, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.video-card:hover .2aanqx {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-card .2aanqx::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary-dark);
  margin-left: 3px;
}

.video-card .card-info {
  padding: 16px;
}

.video-card .card-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card .card-info .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.video-card .card-info .meta span { display: flex; align-items: center; gap: 4px; }

.video-card .u82odyq {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(200, 166, 75, 0.9);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 4;
}

/* === 分类模块 === */
.category-section {
  padding: 40px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.category-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.category-card h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.category-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === 专家展示 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.expert-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.expert-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.expert-card h3 { font-size: 1.1rem; color: var(--accent-gold); margin-bottom: 4px; }
.expert-card .title { font-size: 0.85rem; color: var(--accent-blue); margin-bottom: 10px; }
.expert-card .bio { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }

.expert-card .actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.expert-card .actions a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  transition: background 0.3s, color 0.3s;
}

.expert-card .actions a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* === FAQ 模块 === */
.faq-section { padding: 40px 0 60px; }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(200, 166, 75, 0.2);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card-bg);
}

.faq-item .faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-light);
  transition: background 0.3s;
}

.faq-item .faq-question:hover { background: rgba(200, 166, 75, 0.05); }

.faq-item .faq-question .arrow {
  transition: transform 0.3s;
  color: var(--accent-gold);
}

.faq-item.active .faq-question .arrow { transform: rotate(180deg); }

.faq-item .faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 20px 16px;
  max-height: 300px;
}

/* === 用户评论 === */
.reviews-section { padding: 40px 0 60px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: 12px;
  padding: 22px;
  transition: transform 0.3s;
}

.review-card:hover { transform: translateY(-3px); }

.review-card .review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--electric-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.review-card .review-name { font-weight: 600; color: var(--text-light); font-size: 0.9rem; }
.review-card .review-date { font-size: 0.75rem; color: var(--text-muted); }

.review-card .stars {
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.review-card .review-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === 页脚 === */
.site-footer {
  background: rgba(10, 14, 26, 0.98);
  border-top: 1px solid var(--border-gold);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col p, .footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
  display: block;
}

.footer-col a:hover { color: var(--accent-gold); }

.footer-bottom {
  border-top: 1px solid rgba(200, 166, 75, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom .y8p07oq {
  margin-top: 6px;
  color: var(--accent-gold);
}

/* === 面包屑 === */
.breadcrumb {
  padding: 12px 0;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
  font-size: 0.85rem;
}

.breadcrumb li { color: var(--text-muted); }
.breadcrumb li a { color: var(--accent-blue); }
.breadcrumb li a:hover { color: var(--accent-gold); }
.breadcrumb .separator { margin: 0 8px; color: var(--text-muted); }

/* === 合作品牌墙 === */
.h38v6h {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 30px 0 50px;
}

.bdtgo4ds {
  background: var(--card-bg);
  border: 1px solid rgba(200, 166, 75, 0.2);
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: border-color 0.3s, transform 0.3s;
}

.bdtgo4ds:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 24px;
}

.contact-card h3 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 2;
}

/* === 社交分享 === */
.k6ib46 {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.k6ib46 a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-gold);
  transition: background 0.3s, transform 0.3s;
}

.k6ib46 a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: scale(1.1);
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .main-nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border-gold);
  }
  .main-nav.active ul {
    flex-direction: column;
    gap: 16px;
  }
  .hero-banner { min-height: 320px; }
  .hero-banner h1 { font-size: 1.6rem; }
  .video-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .hero-banner .hero-desc { font-size: 0.9rem; }
  .header-inner { padding: 10px 14px; }
}
