/* ========================================
   四虎视频 - 影视传媒与动漫社区 外部样式表
   域名: 524qsa.cn
   ======================================== */

/* === Reset & Base === */
*, *::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;
  color: #333; background: #f8f9fa; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: #6c5ce7; text-decoration: none; transition: color .3s; }
a:hover { color: #a29bfe; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; color: #2d3436; }

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.n92etfk { background: #fff; }

/* === Header === */
.keg1umw {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.jcbqua {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; max-width: 1200px; margin: 0 auto;
}
.wh6yxfvb { display: flex; align-items: center; gap: 10px; }
.wh6yxfvb img { height: 45px; width: auto; }
.wh6yxfvb h1 {
  font-size: 22px; color: #e94560; margin: 0;
  background: linear-gradient(90deg, #e94560, #f39c12);
  -webkit-background-clip: text; -webkit-text-color: transparent;
  background-clip: text; color: transparent;
}
.wh6yxfvb .subtitle { font-size: 12px; color: #a0a0b0; display: block; }
.zzoea {
  font-size: 22px; font-weight: 700; display: block;
  background: linear-gradient(90deg, #e94560, #f39c12);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
}

/* === Navigation === */
.h674g ul { display: flex; gap: 6px; flex-wrap: wrap; }
.h674g a {
  color: #ddd; padding: 8px 14px; border-radius: 6px;
  font-size: 14px; transition: all .3s; white-space: nowrap;
}
.h674g a:hover, .h674g a.active {
  color: #fff; background: rgba(233,69,96,.8);
}
.q7ive6 {
  display: none; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer;
}

/* === Search Bar === */
.a6vftr4 {
  background: linear-gradient(90deg, #0f3460, #1a1a2e);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.a6vftr4 .container { display: flex; justify-content: center; }
.mgpygq {
  display: flex; max-width: 600px; width: 100%;
  border-radius: 25px; overflow: hidden;
  box-shadow: 0 2px 15px rgba(233,69,96,.2);
}
.mgpygq input {
  flex: 1; padding: 10px 20px; border: none; outline: none;
  font-size: 14px; background: rgba(255,255,255,.95); color: #333;
}
.mgpygq button {
  padding: 10px 25px; border: none; cursor: pointer;
  background: linear-gradient(90deg, #e94560, #f39c12);
  color: #fff; font-size: 14px; font-weight: 600;
  transition: opacity .3s;
}
.mgpygq button:hover { opacity: .9; }

/* === Hero Slider === */
.dyk3yxi1 {
  position: relative; overflow: hidden;
  height: 500px; background: #1a1a2e;
}
.v77ub {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease-in-out;
  background-size: cover; background-position: center;
}
.v77ub.active { opacity: 1; }
.a1ic3x {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 100%);
  display: flex; align-items: center;
}
.kfbh2 { padding: 0 60px; max-width: 600px; }
.kfbh2 h2 {
  font-size: 36px; color: #fff; margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,.5);
}
.kfbh2 p { color: #ddd; font-size: 16px; margin-bottom: 20px; }
.pjrhxy17 {
  display: inline-block; padding: 12px 30px;
  background: linear-gradient(90deg, #e94560, #f39c12);
  color: #fff; border-radius: 25px; font-weight: 600;
  transition: transform .3s, box-shadow .3s; border: none; cursor: pointer;
}
.pjrhxy17:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(233,69,96,.4);
  color: #fff;
}
.htwi746 {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 10px; z-index: 10;
}
.htwi746 span {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .3s;
}
.htwi746 span.active { background: #e94560; }

/* === Section Title === */
.kbzstsk {
  text-align: center; margin-bottom: 40px;
}
.kbzstsk h2 {
  font-size: 28px; position: relative; display: inline-block;
  padding-bottom: 12px;
}
.kbzstsk h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px;
  background: linear-gradient(90deg, #e94560, #f39c12);
  border-radius: 2px;
}
.kbzstsk p { color: #666; margin-top: 10px; font-size: 15px; }

/* === Video Cards Grid === */
.isgw7z {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.qsb2r859 {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.qsb2r859:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.w3oyg {
  position: relative; padding-top: 56.25%; overflow: hidden;
  background: #1a1a2e;
}
.w3oyg img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s;
}
.qsb2r859:hover .w3oyg img { transform: scale(1.05); }
.sge22ir {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(233,69,96,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, opacity .3s; opacity: 0;
}
.sge22ir::after {
  content: ''; width: 0; height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.qsb2r859:hover .sge22ir {
  transform: translate(-50%, -50%) scale(1); opacity: 1;
}
.o3xx5 { padding: 15px; }
.o3xx5 h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.drm89 {
  display: flex; gap: 12px; font-size: 12px; color: #999;
  flex-wrap: wrap;
}
.drm89 span { display: flex; align-items: center; gap: 4px; }
.ows99 { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.ows99 span {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: #f0f0f5; color: #666;
}

/* === Feature Grid === */
.c7dtub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.y9hsv {
  background: #fff; border-radius: 12px; padding: 30px;
  text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.06);
  transition: transform .3s;
}
.y9hsv:hover { transform: translateY(-5px); }
.kiczwqe {
  width: 70px; height: 70px; margin: 0 auto 15px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(233,69,96,.1), rgba(108,92,231,.1));
}
.y9hsv h4 { font-size: 17px; margin-bottom: 8px; }
.y9hsv p { font-size: 13px; color: #666; }

/* === Expert Section === */
.iyob3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.ysu3d {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
  text-align: center; padding-bottom: 20px;
}
.ysu3d img {
  width: 100%; height: 200px; object-fit: cover;
}
.ysu3d h4 { font-size: 16px; margin: 15px 0 5px; }
.ysu3d .role { font-size: 13px; color: #e94560; margin-bottom: 8px; }
.ysu3d p { font-size: 13px; color: #666; padding: 0 15px; }
.iaa94g { margin-top: 8px; font-size: 12px; }
.iaa94g a { color: #6c5ce7; margin: 0 6px; }
.iaa94g a:hover { color: #e94560; }
.m2unos9 { margin-top: 12px; display: flex; justify-content: center; gap: 8px; }
.j1u3va {
  padding: 6px 16px; border-radius: 20px; font-size: 12px;
  border: 1px solid #e94560; color: #e94560; background: transparent;
  cursor: pointer; transition: all .3s;
}
.j1u3va:hover { background: #e94560; color: #fff; }

/* === Brand Wall === */
.skgi45t {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 30px; align-items: center;
}
.skgi45t .cll4f4 {
  width: 120px; height: 60px; background: #f5f5f5;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; color: #999;
  font-weight: 600; transition: all .3s;
}
.skgi45t .cll4f4:hover {
  background: #e94560; color: #fff;
  box-shadow: 0 4px 15px rgba(233,69,96,.3);
}

/* === How-To Section === */
.mxowou5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px; counter-reset: step;
}
.emlqync {
  background: #fff; border-radius: 12px; padding: 25px;
  text-align: center; position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
}
.emlqync::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #e94560, #f39c12);
  color: #fff; font-weight: 700; font-size: 18px;
  margin: 0 auto 15px;
}
.emlqync h4, .emlqync h5 { font-size: 15px; margin-bottom: 8px; }
.emlqync p { font-size: 13px; color: #666; }

/* === FAQ Section === */
.wdqd7 { max-width: 800px; margin: 0 auto; }
.zxegth {
  background: #fff; border-radius: 10px; margin-bottom: 12px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.giam22fk {
  padding: 18px 20px; cursor: pointer; font-weight: 600;
  font-size: 15px; display: flex; justify-content: space-between;
  align-items: center; transition: background .3s;
}
.giam22fk:hover { background: #f8f9fa; }
.giam22fk .arrow {
  transition: transform .3s; font-size: 12px; color: #999;
}
.zxegth.open .giam22fk .arrow { transform: rotate(180deg); }
.g6h7l7a9 {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
  padding: 0 20px;
}
.zxegth.open .g6h7l7a9 { max-height: 300px; padding: 0 20px 18px; }
.g6h7l7a9 p { font-size: 14px; color: #555; line-height: 1.8; }

/* === Reviews === */
.tnpnd {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.egfrwf3 {
  background: #fff; border-radius: 12px; padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
}
.r4g9i3p { color: #f39c12; margin-bottom: 10px; font-size: 14px; }
.ubm19t { font-size: 14px; color: #555; margin-bottom: 12px; font-style: italic; }
.d7gl8k { font-size: 13px; color: #999; }
.d7gl8k strong { color: #333; }

/* === Contact Section === */
.jcn0x3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.tnjid7j {
  background: #fff; border-radius: 12px; padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
}
.tnjid7j h4, .tnjid7j h5 { font-size: 16px; margin-bottom: 12px; color: #e94560; }
.tnjid7j p { font-size: 14px; color: #555; margin-bottom: 6px; }

/* === Social Share === */
.n5cni8o2 {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-top: 20px;
}
.myzgk1s {
  padding: 8px 20px; border-radius: 20px; font-size: 13px;
  border: none; cursor: pointer; color: #fff; transition: opacity .3s;
}
.myzgk1s:hover { opacity: .85; }
.k3l6d { background: #07c160; }
.e46clpa { background: #e6162d; }
.bya8nz { background: #161823; }
.fc776g { background: #00a1d6; }

/* === Article Meta === */
.f8mjg {
  display: flex; gap: 15px; flex-wrap: wrap;
  font-size: 13px; color: #999; margin-bottom: 15px;
  padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}
.f8mjg span { display: flex; align-items: center; gap: 4px; }

/* === Footer === */
.a29s2e {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #aaa; padding: 40px 0 20px;
}
.okyp0wm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
.d3q7vlls h4, .d3q7vlls h6 { color: #fff; font-size: 16px; margin-bottom: 15px; }
.d3q7vlls p, .d3q7vlls a { font-size: 13px; color: #999; display: block; margin-bottom: 6px; }
.d3q7vlls a:hover { color: #e94560; }
.tgv5u { display: flex; gap: 20px; margin-top: 10px; }
.tgv5u img { width: 100px; height: 100px; border-radius: 8px; }
.xw9yhr {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; text-align: center; font-size: 13px;
}
.xw9yhr .xhfytwo { color: #e94560; }

/* === Breadcrumb === */
.breadcrumb {
  padding: 12px 0; font-size: 13px; color: #999;
}
.breadcrumb a { color: #6c5ce7; }
.breadcrumb span { margin: 0 6px; }

/* === Inner Page === */
.nt078 {
  height: 300px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center;
  justify-content: center;
}
.nt078::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.nt078 h2 {
  position: relative; z-index: 1; color: #fff;
  font-size: 32px; text-shadow: 2px 2px 10px rgba(0,0,0,.5);
}
.ot1odu { padding: 40px 0; }
.ot1odu article { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 24px; }
.ot1odu article h3 { font-size: 20px; margin-bottom: 15px; color: #2d3436; }
.ot1odu article p { font-size: 15px; color: #555; margin-bottom: 12px; }

/* === Sidebar === */
.hndqm43 { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.sidebar .widget {
  background: #fff; border-radius: 12px; padding: 20px;
  margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,.06);
}
.sidebar .widget h4 {
  font-size: 15px; margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid #e94560;
}
.sidebar .widget ul li { padding: 6px 0; font-size: 13px; }
.sidebar .widget ul li a { color: #555; }
.sidebar .widget ul li a:hover { color: #e94560; }

/* === MCP Frontend Mock === */
.bgbr0 {
  background: linear-gradient(135deg, #1a1a2e, #2d3436);
  border-radius: 12px; padding: 20px; color: #fff;
  margin-top: 20px;
}
.bgbr0 h4, .bgbr0 h6 { font-size: 14px; margin-bottom: 10px; color: #e94560; }
.bgbr0 .jku4l2e {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #4cd137;
}
.bgbr0 .jku4l2e::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #4cd137; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
.bgbr0 .y7flg { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.bgbr0 .ql2kj {
  padding: 5px 12px; border-radius: 15px; font-size: 11px;
  background: rgba(255,255,255,.1); color: #ddd; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; transition: all .3s;
}
.bgbr0 .ql2kj:hover { background: #e94560; border-color: #e94560; }

/* === Responsive === */
@media (max-width: 768px) {
  .jcbqua { flex-wrap: wrap; }
  .h674g { display: none; width: 100%; }
  .h674g.open { display: block; }
  .h674g ul { flex-direction: column; padding: 10px 0; }
  .h674g a { display: block; padding: 10px 15px; }
  .q7ive6 { display: block; }
  .dyk3yxi1 { height: 300px; }
  .kfbh2 { padding: 0 20px; }
  .kfbh2 h2 { font-size: 22px; }
  .hndqm43 { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .isgw7z { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .section { padding: 40px 0; }
  .kbzstsk h2 { font-size: 22px; }
  .okyp0wm { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dyk3yxi1 { height: 220px; }
  .kfbh2 h2 { font-size: 18px; }
  .kfbh2 p { font-size: 13px; }
  .isgw7z { grid-template-columns: 1fr; }
  .c7dtub { grid-template-columns: 1fr; }
  .iyob3 { grid-template-columns: 1fr; }
  .tnpnd { grid-template-columns: 1fr; }
  .jcn0x3 { grid-template-columns: 1fr; }
}

/* === Lazy Load === */
img[data-src] { opacity: 0; transition: opacity .5s; }
img[data-src].loaded { opacity: 1; }

/* === Animation === */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Section Title h3/h4/h5 support === */
.kbzstsk h3, .kbzstsk h4, .kbzstsk h5, .kbzstsk h6 {
  font-size: 28px; position: relative; display: inline-block;
  padding-bottom: 12px;
}
.kbzstsk h3::after, .kbzstsk h4::after, .kbzstsk h5::after, .kbzstsk h6::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px;
  background: linear-gradient(90deg, #e94560, #f39c12);
  border-radius: 2px;
}
