/* ============================================
   草榴视频 - 原创样式表
   配色：电竞橙 #FF6B00 / 深海藏蓝 #1B2A4A / 极光白 #F8FAFF / 赛场灰 #2D3748
   风格：排球少年 - 运动感、速度线、动态阴影
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --hq-orange: #FF6B00;
  --hq-orange-light: #FF8A33;
  --hq-navy: #1B2A4A;
  --hq-navy-deep: #0F1B33;
  --hq-white: #F8FAFF;
  --hq-gray: #2D3748;
  --hq-gray-light: #E2E8F0;
  --hq-accent: #FFD166;
  --hq-success: #06D6A0;
  --hq-shadow: 0 8px 32px rgba(27,42,74,0.12);
  --hq-shadow-hover: 0 12px 48px rgba(255,107,0,0.2);
  --hq-radius: 12px;
  --hq-transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  background: var(--hq-white);
  color: var(--hq-gray);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--hq-orange); text-decoration: none; transition: var(--hq-transition); }
a:hover { color: var(--hq-orange-light); }

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

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

/* === 导航栏 === */
.hq-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27,42,74,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--hq-orange);
  padding: 0 24px;
  transition: var(--hq-transition);
}

.hq-navbar.scrolled {
  background: rgba(15,27,51,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hq-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

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

.hq-logo-wrap img { width: 40px; height: 40px; border-radius: 8px; }

.hq-logo-text {
  font-size: 1.35rem; font-weight: 800; color: #fff;
  letter-spacing: 1px;
}

.hq-logo-text span { color: var(--hq-orange); }

.hq-nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }

.hq-nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  position: relative; transition: var(--hq-transition);
}

.hq-nav-links a:hover,
.hq-nav-links a.active {
  color: #fff; background: rgba(255,107,0,0.15);
}

.hq-nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--hq-orange);
  border-radius: 2px; transition: var(--hq-transition);
}

.hq-nav-links a:hover::after,
.hq-nav-links a.active::after { width: 60%; }

/* 搜索框 */
.hq-search-box {
  position: relative; margin-left: 12px;
}

.hq-search-box input {
  width: 180px; padding: 8px 36px 8px 14px;
  border: 2px solid rgba(255,255,255,0.2); border-radius: 20px;
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 0.85rem; outline: none; transition: var(--hq-transition);
}

.hq-search-box input:focus {
  border-color: var(--hq-orange); width: 220px;
  background: rgba(255,255,255,0.12);
}

.hq-search-box input::placeholder { color: rgba(255,255,255,0.5); }

.hq-search-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.6);
  cursor: pointer; font-size: 1rem;
}

.hq-search-drop {
  display: none; position: absolute; top: 110%; left: 0; right: 0;
  background: var(--hq-navy); border-radius: 10px;
  padding: 12px; box-shadow: var(--hq-shadow);
  color: rgba(255,255,255,0.8); font-size: 0.85rem;
}

.hq-search-drop.show { display: block; }

/* 汉堡菜单 */
.hq-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; z-index: 1001;
}

.hq-hamburger span {
  width: 26px; height: 3px; background: #fff;
  border-radius: 2px; transition: var(--hq-transition);
}

.hq-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hq-hamburger.open span:nth-child(2) { opacity: 0; }
.hq-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.hq-mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(15,27,51,0.98); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}

.hq-mobile-menu.show { display: flex; }

.hq-mobile-menu a {
  color: #fff; font-size: 1.2rem; font-weight: 600;
  padding: 12px 40px; border-radius: 10px;
}

.hq-mobile-menu a:hover { background: rgba(255,107,0,0.2); }

/* === Hero区域 === */
.hq-hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--hq-navy-deep) 0%, var(--hq-navy) 50%, #2A1A4A 100%);
  overflow: hidden; margin-top: 68px;
}

.hq-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hq-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--hq-navy-deep) 100%);
}

.hq-hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 40px 20px; max-width: 800px;
}

.hq-hero h1 {
  font-size: 3.2rem; font-weight: 900; color: #fff;
  margin-bottom: 16px; line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hq-hero h1 span { color: var(--hq-orange); }

.hq-hero-sub {
  font-size: 1.25rem; color: rgba(255,255,255,0.85);
  margin-bottom: 32px; font-weight: 400;
}

.hq-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }

.hq-hero-tags span {
  background: rgba(255,107,0,0.15); color: var(--hq-orange-light);
  padding: 6px 18px; border-radius: 20px; font-size: 0.9rem;
  border: 1px solid rgba(255,107,0,0.3);
}

.hq-btn {
  display: inline-block; padding: 14px 36px;
  background: linear-gradient(135deg, var(--hq-orange), var(--hq-orange-light));
  color: #fff; font-size: 1.05rem; font-weight: 700;
  border-radius: 30px; border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(255,107,0,0.35);
  transition: var(--hq-transition);
}

.hq-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(255,107,0,0.5);
  color: #fff;
}

.hq-btn-outline {
  background: transparent;
  border: 2px solid var(--hq-orange);
  color: var(--hq-orange);
  box-shadow: none;
  margin-left: 12px;
}

.hq-btn-outline:hover {
  background: var(--hq-orange);
  color: #fff;
}

/* === 通用Section === */
.hq-section {
  padding: 80px 0;
}

.hq-section-alt {
  background: linear-gradient(180deg, #F0F4FA 0%, var(--hq-white) 100%);
}

.hq-section-dark {
  background: linear-gradient(135deg, var(--hq-navy-deep), var(--hq-navy));
  color: #fff;
}

.hq-section-title {
  text-align: center; margin-bottom: 50px;
}

.hq-section-title h2 {
  font-size: 2.2rem; font-weight: 800; color: var(--hq-navy);
  margin-bottom: 12px; position: relative; display: inline-block;
}

.hq-section-title h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: var(--hq-orange); border-radius: 2px;
}

.hq-section-dark .hq-section-title h2 { color: #fff; }

.hq-section-title p {
  font-size: 1.05rem; color: #718096; margin-top: 16px;
}

.hq-section-dark .hq-section-title p { color: rgba(255,255,255,0.7); }

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

.hq-video-card {
  background: #fff; border-radius: var(--hq-radius);
  overflow: hidden; box-shadow: var(--hq-shadow);
  transition: var(--hq-transition);
  position: relative;
}

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

.hq-video-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
}

.hq-video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--hq-transition);
}

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

.hq-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px; height: 64px;
  background: rgba(255,107,0,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--hq-transition);
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}

.hq-play-btn::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.hq-video-card:hover .hq-play-btn {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}

.hq-video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75); color: #fff;
  padding: 2px 8px; border-radius: 4px; font-size: 0.8rem;
}

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

.hq-video-info h3 {
  font-size: 1rem; font-weight: 700; color: var(--hq-navy);
  margin-bottom: 8px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.hq-video-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.82rem; color: #A0AEC0;
}

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

.hq-video-tag {
  display: inline-block; background: rgba(255,107,0,0.1);
  color: var(--hq-orange); padding: 2px 10px; border-radius: 12px;
  font-size: 0.78rem; margin-top: 8px;
}

/* 分类标签筛选 */
.hq-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }

.hq-tab {
  padding: 8px 22px; border-radius: 20px;
  background: var(--hq-gray-light); color: var(--hq-gray);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--hq-transition);
}

.hq-tab:hover, .hq-tab.active {
  background: var(--hq-orange); color: #fff;
}

/* === 特色模块 === */
.hq-features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hq-feature-card {
  background: #fff; border-radius: var(--hq-radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--hq-shadow); transition: var(--hq-transition);
  border-top: 4px solid transparent;
}

.hq-feature-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--hq-orange);
  box-shadow: var(--hq-shadow-hover);
}

.hq-feature-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(27,42,74,0.05));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

.hq-feature-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--hq-navy);
  margin-bottom: 8px;
}

.hq-feature-card p {
  font-size: 0.9rem; color: #718096; line-height: 1.6;
}

/* === 专家展示 === */
.hq-experts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hq-expert-card {
  background: #fff; border-radius: var(--hq-radius);
  padding: 32px; text-align: center;
  box-shadow: var(--hq-shadow); transition: var(--hq-transition);
}

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

.hq-expert-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 16px; overflow: hidden;
  border: 4px solid var(--hq-orange);
}

.hq-expert-avatar img { width: 100%; height: 100%; object-fit: cover; }

.hq-expert-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--hq-navy); margin-bottom: 4px; }
.hq-expert-role { font-size: 0.88rem; color: var(--hq-orange); font-weight: 600; margin-bottom: 10px; }
.hq-expert-desc { font-size: 0.88rem; color: #718096; line-height: 1.6; margin-bottom: 16px; }

.hq-expert-btns { display: flex; gap: 10px; justify-content: center; }
.hq-expert-btns a {
  padding: 6px 18px; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
}

/* === 合作品牌 === */
.hq-partners-wall {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center; align-items: center;
}

.hq-partner-item {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 20px 32px;
  color: rgba(255,255,255,0.7); font-weight: 600; font-size: 1rem;
  transition: var(--hq-transition);
}

.hq-partner-item:hover {
  background: rgba(255,107,0,0.15); border-color: var(--hq-orange);
  color: var(--hq-orange);
}

/* === FAQ === */
.hq-faq-list { max-width: 800px; margin: 0 auto; }

.hq-faq-item {
  background: #fff; border-radius: var(--hq-radius);
  margin-bottom: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.hq-faq-question {
  padding: 18px 24px; font-weight: 700; color: var(--hq-navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: var(--hq-transition);
}

.hq-faq-question:hover { color: var(--hq-orange); }

.hq-faq-question::after {
  content: '+'; font-size: 1.4rem; font-weight: 300;
  color: var(--hq-orange); transition: var(--hq-transition);
}

.hq-faq-item.open .hq-faq-question::after { content: '-'; }

.hq-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px; color: #718096; font-size: 0.95rem; line-height: 1.7;
}

.hq-faq-item.open .hq-faq-answer {
  max-height: 300px; padding: 0 24px 18px;
}

/* === 用户评论 === */
.hq-reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hq-review-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--hq-radius); padding: 24px;
  transition: var(--hq-transition);
}

.hq-review-card:hover { border-color: var(--hq-orange); }

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

.hq-review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hq-orange), var(--hq-accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
}

.hq-review-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.hq-review-date { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.hq-review-stars { color: var(--hq-accent); font-size: 0.9rem; margin-bottom: 8px; }
.hq-review-text { color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.7; }

/* === 联系我们 === */
.hq-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}

.hq-contact-card {
  background: #fff; border-radius: var(--hq-radius);
  padding: 32px; box-shadow: var(--hq-shadow);
}

.hq-contact-card h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--hq-navy);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--hq-gray-light);
}

.hq-contact-item {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 0.95rem; color: #4A5568;
}

.hq-contact-item strong { color: var(--hq-navy); min-width: 70px; }

.hq-qr-wrap {
  display: flex; gap: 24px; justify-content: center; margin-top: 20px;
}

.hq-qr-item { text-align: center; }
.hq-qr-item img { width: 140px; height: 140px; border-radius: 10px; margin-bottom: 8px; }
.hq-qr-item p { font-size: 0.85rem; color: #718096; font-weight: 600; }

/* === 页脚 === */
.hq-footer {
  background: var(--hq-navy-deep); color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.hq-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}

.hq-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hq-footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.hq-footer-brand span { color: #fff; font-size: 1.2rem; font-weight: 800; }

.hq-footer h4 {
  color: #fff; font-size: 1rem; font-weight: 700;
  margin-bottom: 16px; position: relative; padding-bottom: 10px;
}

.hq-footer h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 3px; background: var(--hq-orange); border-radius: 2px;
}

.hq-footer-links { list-style: none; }
.hq-footer-links li { margin-bottom: 8px; }
.hq-footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.hq-footer-links a:hover { color: var(--hq-orange); }

.hq-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; text-align: center;
  font-size: 0.85rem;
}

/* === 面包屑 === */
.hq-breadcrumb {
  padding: 100px 0 20px;
  background: linear-gradient(135deg, var(--hq-navy-deep), var(--hq-navy));
}

.hq-breadcrumb-list {
  display: flex; align-items: center; gap: 8px;
  list-style: none; font-size: 0.9rem;
}

.hq-breadcrumb-list a { color: rgba(255,255,255,0.7); }
.hq-breadcrumb-list a:hover { color: var(--hq-orange); }
.hq-breadcrumb-list span { color: rgba(255,255,255,0.4); }
.hq-breadcrumb-list li:last-child { color: var(--hq-orange); }

/* === 内页标题 === */
.hq-page-hero {
  background: linear-gradient(135deg, var(--hq-navy-deep), var(--hq-navy));
  padding: 100px 0 50px; text-align: center;
}

.hq-page-hero h1 {
  font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 12px;
}

.hq-page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* === How-To指南 === */
.hq-howto-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; counter-reset: step;
}

.hq-howto-step {
  background: #fff; border-radius: var(--hq-radius);
  padding: 28px 20px; text-align: center;
  box-shadow: var(--hq-shadow); position: relative;
  counter-increment: step;
}

.hq-howto-step::before {
  content: counter(step);
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hq-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}

.hq-howto-step h4 { font-size: 1rem; font-weight: 700; color: var(--hq-navy); margin: 12px 0 8px; }
.hq-howto-step p { font-size: 0.88rem; color: #718096; }

/* === 社交分享 === */
.hq-share-bar {
  display: flex; gap: 12px; justify-content: center;
  padding: 24px 0;
}

.hq-share-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; transition: var(--hq-transition);
  cursor: pointer;
}

.hq-share-btn:hover { transform: translateY(-3px); }
.hq-share-wechat { background: #07C160; }
.hq-share-weibo { background: #E6162D; }
.hq-share-douyin { background: #111; }
.hq-share-bilibili { background: #00A1D6; }

/* === 动画 === */
.hq-fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hq-fade-in.visible {
  opacity: 1; transform: translateY(0);
}

/* === 内页内容 === */
.hq-content-section { padding: 60px 0; }

.hq-content-section h2 {
  font-size: 1.8rem; font-weight: 800; color: var(--hq-navy);
  margin-bottom: 20px;
}

.hq-content-section h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--hq-navy);
  margin: 24px 0 12px;
}

.hq-content-section p {
  margin-bottom: 16px; line-height: 1.8; color: #4A5568;
}

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

@media (max-width: 768px) {
  .hq-nav-links, .hq-search-box { display: none; }
  .hq-hamburger { display: flex; }

  .hq-hero h1 { font-size: 2rem; }
  .hq-hero-sub { font-size: 1rem; }

  .hq-video-grid { grid-template-columns: 1fr; }
  .hq-features-grid { grid-template-columns: 1fr; }
  .hq-experts-grid { grid-template-columns: 1fr; }
  .hq-reviews-grid { grid-template-columns: 1fr; }
  .hq-contact-grid { grid-template-columns: 1fr; }
  .hq-howto-steps { grid-template-columns: 1fr; }
  .hq-footer-grid { grid-template-columns: 1fr; }

  .hq-section { padding: 50px 0; }
  .hq-section-title h2 { font-size: 1.6rem; }
  .hq-page-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hq-hero { min-height: 70vh; }
  .hq-hero h1 { font-size: 1.6rem; }
  .hq-btn { padding: 12px 28px; font-size: 0.95rem; }
  .hq-video-info h3 { font-size: 0.92rem; }
}
