/* ============================================
   吃瓜 - 原创样式表
   品牌：吃瓜 | 域名：hbjtudm.cn
   定位：国内影视传媒公司+动漫社区
   ============================================ */

/* === CSS变量 === */
:root {
  --primary: #1A0A2E;
  --secondary: #FF6B35;
  --accent: #7B2FF7;
  --bg-dark: #0D0D1A;
  --text-light: #E8E6F0;
  --card-bg: #1E1E3A;
  --gradient-start: #FF6B35;
  --gradient-end: #FF3CAC;
  --border-color: #2A2A4A;
  --text-muted: #9B97B0;
  --success: #2ECC71;
  --warning: #F39C12;
}

/* === 重置与基础 === */
*, *::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", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gradient-end);
}

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

ul, ol {
  list-style: none;
}

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

/* === 头部导航 === */
.site-header {
  background: linear-gradient(180deg, var(--primary) 0%, rgba(26,10,46,0.95) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

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

.o6e3k53 {
  height: 42px;
  width: auto;
}

.vzne1k {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(123,47,247,0.2);
  color: var(--secondary);
}

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

/* === 搜索框 === */
.w490ptsy {
  background: rgba(30,30,58,0.8);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.gn0acl {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--accent);
}

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

.search-btn {
  position: absolute;
  right: 6px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.search-btn:hover {
  transform: scale(1.1);
}

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

.oj2tqk {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.d0bxwtl {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13,13,26,0.3) 0%, rgba(13,13,26,0.85) 100%);
}

.doyuwqxt {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.doyuwqxt h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.doyuwqxt h1 .ik8uor {
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.doyuwqxt p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

.adwgkg {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.jieqib {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.jieqib:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.4);
  color: #fff;
}

.l44nw {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent);
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.l44nw:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* === 通用区块标题 === */
.oletv87o {
  text-align: center;
  margin-bottom: 40px;
}

.oletv87o h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.oletv87o h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  border-radius: 2px;
}

.oletv87o p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
}

/* === 区块通用 === */
.section {
  padding: 70px 0;
}

.vpy450dr {
  background: rgba(30,30,58,0.3);
}

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

.video-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 35px rgba(123,47,247,0.2);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

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

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

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13,13,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-btn-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,107,53,0.5);
  transition: transform 0.3s ease;
}

.video-card:hover .play-btn-icon {
  transform: scale(1.1);
}

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

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

.rf7jrmp {
  padding: 16px;
}

.rf7jrmp h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doza8 {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.doza8 span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.depq5 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.depq5 .oy8fmpdq {
  background: rgba(123,47,247,0.15);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
}

/* === 服务模块 === */
.uwyg1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mqgk0 {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.mqgk0:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.roe6r {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.mqgk0 h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.mqgk0 p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === 专家展示 === */
.j0cusf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bnih8l {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.bnih8l:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.jy5i2pgk {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.bnih8l h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.uuxjdfub {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.lxd9hg {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

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

.ddr7p a {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
}

.ddr7p a:hover {
  background: var(--accent);
  color: #fff;
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(123,47,247,0.1);
}

.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--secondary);
}

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

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-muted);
  line-height: 1.7;
}

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

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

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

.xu8k3kd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

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

.ysnaci {
  font-weight: 600;
  font-size: 0.95rem;
}

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

.irbzt {
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.cimdqrtd {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === 合作品牌墙 === */
.e3e4y {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.n0u0h6lv {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.n0u0h6lv:hover {
  border-color: var(--secondary);
  color: var(--text-light);
}

/* === 联系我们 === */
.fx3b18c {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.bbqi5 {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
}

.bbqi5 h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.tyd9qw {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.z7japu {
  color: var(--accent);
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
}

/* === 页脚 === */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 20px;
}

.hy1nt9 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.dsyx4t p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.y2ujv h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.y2ujv a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.y2ujv a:hover {
  color: var(--secondary);
}

.m14di {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.d8gnpt {
  text-align: center;
}

.d8gnpt img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.d8gnpt span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.s40thr11 {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.s40thr11 p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.mh0ap a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.mh0ap a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* === 面包屑 === */
.kgy2ahs {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.kgy2ahs a {
  color: var(--text-muted);
}

.kgy2ahs a:hover {
  color: var(--secondary);
}

.kgy2ahs span {
  margin: 0 8px;
  color: var(--border-color);
}

/* === 内页通用 === */
.ri4ufrov {
  background: linear-gradient(135deg, var(--primary), var(--card-bg));
  padding: 50px 0;
  text-align: center;
}

.ri4ufrov h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

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

.page-content {
  padding: 50px 0;
}

.ju1a4r {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
}

/* === 社区功能 === */
.wlgfp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 社区功能超过4个时自动换行 */
@media (min-width: 769px) {
  .wlgfp {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pxg2kan {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.pxg2kan:hover {
  border-color: var(--gradient-end);
  transform: translateY(-4px);
}

.aynkebh3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pxg2kan h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.pxg2kan p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === How-To 指南 === */
.gnf2o4 {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.afnws1 {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}

.vn703n {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 auto 14px;
}

.afnws1 h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.afnws1 p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === 分享按钮 === */
.r8l6g {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
}

.p9wes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.p9wes:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.wygajfi { background: #07C160; }
.rnqga7e { background: #E6162D; }
.sgs38v { background: #161823; border: 1px solid #333; }
.mzxbfz5 { background: #00A1D6; }

/* === 懒加载 === */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .mh2stn7 {
    grid-template-columns: repeat(2, 1fr);
  }
  .j0cusf {
    grid-template-columns: repeat(2, 1fr);
  }
  .hy1nt9 {
    grid-template-columns: repeat(2, 1fr);
  }
  .wlgfp {
    grid-template-columns: repeat(2, 1fr);
  }

  .wlgfp {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav.active,
  .main-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .doyuwqxt h1 {
    font-size: 1.8rem;
  }

  .oletv87o h2 {
    font-size: 1.5rem;
  }

  .mh2stn7 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .video-thumb {
    aspect-ratio: 16/9;
  }

  .uwyg1 {
    grid-template-columns: 1fr;
  }

  .j0cusf {
    grid-template-columns: 1fr;
  }

  .swvpb {
    grid-template-columns: 1fr;
  }

  .fx3b18c {
    grid-template-columns: 1fr;
  }

  .hy1nt9 {
    grid-template-columns: 1fr;
  }

  .s40thr11 {
    flex-direction: column;
    text-align: center;
  }

  .wlgfp {
    grid-template-columns: 1fr;
  }

  .gnf2o4 {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .doyuwqxt h1 {
    font-size: 1.5rem;
  }

  .adwgkg {
    flex-direction: column;
    align-items: center;
  }

  .d7c0senq {
    padding: 10px 16px;
  }

  .vzne1k {
    font-size: 1.2rem;
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* === 回到顶部 === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}
