/* ============================================
   国产自拍 - 游戏解说视频社区
   CSS 样式表 - 电竞科技风格设计
   ============================================ */

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: #e0e6ed;
  background: #0a0e1a;
  min-height: 100vh;
}

/* 容器与布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

/* 头部导航 */
header {
  background: linear-gradient(180deg, #0d1225 0%, rgba(13,18,37,0.95) 100%);
  border-bottom: 1px solid rgba(0, 198, 255, 0.2);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

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

.logo-wrap img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

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

nav a {
  color: #b8c5d6;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

nav a:hover,
nav a.active {
  color: #00c6ff;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* 搜索框 */
.search-bar {
  display: flex;
  gap: 0;
  margin: 12px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-bar input {
  flex: 1;
  padding: 10px 18px;
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-right: none;
  border-radius: 25px 0 0 25px;
  background: rgba(13, 18, 37, 0.8);
  color: #e0e6ed;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: #00c6ff;
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.2);
}

.search-bar button {
  padding: 10px 22px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 0 25px 25px 0;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-bar button:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
}

/* Banner 英雄区域 */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.85), rgba(0, 114, 255, 0.3));
  z-index: 1;
}

.hero-banner img.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 198, 255, 0.5);
  line-height: 1.2;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #00c6ff, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  color: #b8c5d6;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 198, 255, 0.3);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 198, 255, 0.5);
}

/* 模块标题 */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 60px 0 15px;
  color: #fff;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: #7a8ba3;
  margin-bottom: 40px;
}

/* 模块容器 */
.module {
  background: linear-gradient(135deg, #111827, #1a2332);
  border: 1px solid rgba(0, 198, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
  transition: all 0.3s ease;
}

.module:hover {
  border-color: rgba(0, 198, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 198, 255, 0.08);
}

/* 卡片样式 */
.card {
  background: linear-gradient(145deg, #141c2e, #1a2540);
  border: 1px solid rgba(0, 198, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 198, 255, 0.12);
}

.card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.ohrum {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 198, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.card:hover .ohrum {
  opacity: 1;
}

.ohrum::after {
  content: '▶';
  color: #fff;
  font-size: 20px;
  margin-left: 3px;
}

.card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #e0e6ed;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: 13px;
  color: #7a8ba3;
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5a6b80;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 198, 255, 0.1);
}

.r1b272g {
  display: flex;
  gap: 12px;
}

/* 视频卡片 - H5 Video */
.e42ac {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #0d1225;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 198, 255, 0.15);
}

.e42ac video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ifedhdzw {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.e42ac:hover .ifedhdzw {
  opacity: 1;
}

.wij8etol {
  width: 68px;
  height: 68px;
  background: rgba(0, 198, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.5);
}

.e42ac:hover .wij8etol {
  transform: scale(1.1);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 198, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #00c6ff;
  border: 2px solid #00c6ff;
}

.btn-secondary:hover {
  background: rgba(0, 198, 255, 0.1);
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 198, 255, 0.12);
  color: #00c6ff;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
  border: 1px solid rgba(0, 198, 255, 0.2);
}

/* 专家卡片 */
.klctn {
  background: linear-gradient(145deg, #141c2e, #1a2540);
  border: 1px solid rgba(0, 198, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.klctn:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 12px 35px rgba(0, 198, 255, 0.1);
}

.sn0zuu31 {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.eq8529r8 {
  padding: 20px;
}

.sy14gz {
  font-size: 18px;
  font-weight: 700;
  color: #e0e6ed;
  margin-bottom: 5px;
}

.ige8h {
  font-size: 13px;
  color: #00c6ff;
  font-weight: 600;
  margin-bottom: 10px;
}

.4eupje5k {
  font-size: 13px;
  color: #7a8ba3;
  margin-bottom: 15px;
  line-height: 1.5;
}

.c1d9fp0j {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.c1d9fp0j a {
  flex: 1;
  padding: 8px 12px;
  background: rgba(0, 198, 255, 0.1);
  color: #00c6ff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 198, 255, 0.2);
}

.c1d9fp0j a:hover {
  background: rgba(0, 198, 255, 0.2);
}

/* FAQ 样式 */
.faq-item {
  background: linear-gradient(145deg, #141c2e, #1a2540);
  border: 1px solid rgba(0, 198, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #e0e6ed;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 198, 255, 0.05);
  color: #00c6ff;
}

.faq-toggle {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #00c6ff;
}

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #7a8ba3;
  line-height: 1.7;
}

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

/* 用户评论 */
.mol5qh {
  background: linear-gradient(145deg, #141c2e, #1a2540);
  border: 1px solid rgba(0, 198, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  border-left: 3px solid #00c6ff;
}

.e7cmg1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.jxc7s {
  font-weight: 700;
  color: #e0e6ed;
}

.q165u {
  color: #ff6b35;
  font-size: 14px;
}

.vk014q8 {
  color: #7a8ba3;
  line-height: 1.7;
  font-size: 14px;
}

.atolo9 {
  font-size: 12px;
  color: #5a6b80;
  margin-top: 10px;
}

/* 页脚 */
footer {
  background: linear-gradient(180deg, #0a0e1a, #060810);
  border-top: 1px solid rgba(0, 198, 255, 0.1);
  color: #7a8ba3;
  padding: 50px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #00c6ff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #7a8ba3;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-section a:hover {
  color: #00c6ff;
}

.86j7cu72 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.j3fy4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.6p2v5wo {
  width: 90px;
  height: 90px;
  background: #1a2540;
  border: 1px solid rgba(0, 198, 255, 0.2);
  padding: 5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #7a8ba3;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 198, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #5a6b80;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #7a8ba3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00c6ff;
}

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

.9fkvpmx {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  color: white;
  font-size: 18px;
}

.oh9fzc { background: #09b83e; }
.mhnjj { background: #e6162d; }
.qg1zf7la { background: #161823; border: 1px solid #444; }
.z4bga { background: #00a1d6; }

.9fkvpmx:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 15px; }
  .hero-banner { min-height: 400px; }
  .section-title { font-size: 26px; }
  nav ul { gap: 15px; }
  .grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 10px; }
  .search-bar { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero-banner { min-height: 350px; }
  .hero-content h1 { font-size: 24px; }
  .hero-content p { font-size: 14px; }
  .section-title { font-size: 22px; }
  nav ul { flex-direction: column; gap: 8px; text-align: center; }
  .module { padding: 20px; }
  .hero-btn { padding: 12px 25px; font-size: 14px; }
}

/* 懒加载占位 */
.68n2zbm {
  background: linear-gradient(90deg, #141c2e 25%, #1a2540 50%, #141c2e 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 滚动返回顶部 */
.eqkjjb9z {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 198, 255, 0.4);
  transition: all 0.3s ease;
  font-size: 20px;
}

.eqkjjb9z:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.6);
}
