/* ============================================
   暗网禁区 - 影视传媒与视频社区 原创样式表
   配色：蜜桃粉 #FF6B9D + 梦幻紫 #7C3AED + 深紫黑 #1A1025
   设计：甜蜜暖色调 + 现代圆角卡片 + 渐变点缀
   ============================================ */
:root {
  --peach: #FF6B9D;
  --peach-dark: #E8457A;
  --peach-light: #FFB3CC;
  --violet: #7C3AED;
  --violet-light: #A78BFA;
  --violet-pale: #EDE9FE;
  --deep: #1A1025;
  --deep-mid: #2D1B4E;
  --deep-soft: #3D2B5E;
  --white: #FFFFFF;
  --off-white: #FDFBFF;
  --text-main: #2D1B4E;
  --text-sub: #6B5B8D;
  --text-muted: #9B8FB5;
  --bg-body: #F8F5FF;
  --bg-card: #FFFFFF;
  --bg-alt: #F3EEFF;
  --shadow-s: 0 2px 10px rgba(124,58,237,0.06);
  --shadow-m: 0 6px 24px rgba(124,58,237,0.10);
  --shadow-l: 0 12px 40px rgba(124,58,237,0.15);
  --grad-main: linear-gradient(135deg, #FF6B9D 0%, #7C3AED 100%);
  --grad-soft: linear-gradient(135deg, #FFB3CC 0%, #A78BFA 100%);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--peach); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--peach-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* === Header === */
.tx-header {
  background: var(--deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(26,16,37,0.4);
}
.tx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}
.tx-logo { display: flex; align-items: center; gap: 10px; }
.tx-logo img { height: 40px; width: auto; border-radius: 8px; }
.tx-logo span {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.tx-nav { display: flex; gap: 2px; }
.tx-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 7px 16px;
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease);
  font-weight: 500;
  white-space: nowrap;
}
.tx-nav a:hover, .tx-nav a.on {
  color: var(--white);
  background: var(--grad-main);
}
.tx-mob-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

/* === Search Bar === */
.tx-search {
  background: var(--deep-mid);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tx-search form {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: var(--deep-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(167,139,250,0.2);
}
.tx-search input {
  flex: 1;
  padding: 9px 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 0.88rem;
  outline: none;
}
.tx-search input::placeholder { color: var(--text-muted); }
.tx-search button {
  padding: 9px 22px;
  background: var(--grad-main);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.3s;
}
.tx-search button:hover { opacity: 0.85; }

/* === Hero === */
.tx-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.tx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,16,37,0.88) 0%, rgba(124,58,237,0.45) 50%, rgba(255,107,157,0.3) 100%);
}
.tx-hero-body {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 50px 24px;
  margin: 0 auto;
  text-align: center;
}
.tx-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}
.tx-hero h1 em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tx-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 26px;
  line-height: 1.8;
}
.tx-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tx-btn-glow {
  display: inline-block;
  padding: 12px 34px;
  background: var(--grad-main);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(255,107,157,0.35);
}
.tx-btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,157,0.5);
  color: var(--white);
}
.tx-btn-ghost {
  display: inline-block;
  padding: 12px 34px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}
.tx-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--peach);
  color: var(--white);
  transform: translateY(-3px);
}

/* === Section === */
.tx-sec { padding: 56px 0; }
.tx-sec-alt { background: var(--bg-alt); }
.tx-sec-dark { background: var(--deep); color: var(--white); }
.tx-sec-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}
.tx-sec-dark .tx-sec-title { color: var(--white); }
.tx-sec-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.tx-sec-dark .tx-sec-sub { color: rgba(255,255,255,0.6); }
.tx-line {
  width: 50px;
  height: 4px;
  background: var(--grad-main);
  margin: 10px auto 18px;
  border-radius: 2px;
}

/* === Video Grid === */
.tx-vid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.tx-vid-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: all 0.35s var(--ease);
  position: relative;
}
.tx-vid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
}
.tx-vid-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.tx-vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.tx-vid-card:hover .tx-vid-thumb img { transform: scale(1.06); }
.tx-vid-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,16,37,0.4);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.tx-vid-card:hover .tx-vid-play { opacity: 1; }
.tx-vid-play span {
  width: 52px;
  height: 52px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,157,0.45);
  transition: transform 0.3s var(--ease);
}
.tx-vid-card:hover .tx-vid-play span { transform: scale(1.12); }
.tx-vid-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(26,16,37,0.8);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-s);
  font-size: 0.75rem;
  font-weight: 500;
}
.tx-vid-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--grad-main);
  color: var(--white);
  padding: 2px 10px;
  border-radius: var(--radius-s);
  font-size: 0.72rem;
  font-weight: 600;
}
.tx-vid-info { padding: 14px; }
.tx-vid-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tx-vid-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tx-vid-meta span { display: flex; align-items: center; gap: 3px; }

/* === Service Cards === */
.tx-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tx-svc-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: 28px;
  box-shadow: var(--shadow-s);
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.tx-svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s;
}
.tx-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--violet-pale);
}
.tx-svc-card:hover::before { opacity: 1; }
.tx-svc-icon {
  width: 52px;
  height: 52px;
  background: var(--grad-soft);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.tx-svc-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--deep-mid); }
.tx-svc-card p { font-size: 0.88rem; color: var(--text-sub); line-height: 1.7; }

/* === Expert Cards === */
.tx-exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tx-exp-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  text-align: center;
  transition: all 0.35s var(--ease);
}
.tx-exp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tx-exp-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tx-exp-body { padding: 16px; }
.tx-exp-name { font-size: 1rem; font-weight: 700; color: var(--deep-mid); margin-bottom: 3px; }
.tx-exp-role {
  font-size: 0.8rem;
  color: var(--peach);
  margin-bottom: 8px;
  font-weight: 500;
}
.tx-exp-desc { font-size: 0.8rem; color: var(--text-sub); line-height: 1.6; margin-bottom: 12px; }
.tx-exp-btns { display: flex; gap: 8px; justify-content: center; padding-bottom: 4px; }
.tx-exp-btns a {
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.76rem;
  font-weight: 500;
  border: 1px solid var(--peach);
  color: var(--peach);
  transition: all 0.3s var(--ease);
}
.tx-exp-btns a:hover { background: var(--peach); color: var(--white); }

/* === Community Features === */
.tx-comm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tx-comm-item {
  background: var(--deep-soft);
  border-radius: var(--radius-m);
  padding: 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.tx-comm-item:hover { background: var(--deep-mid); transform: translateY(-3px); }
.tx-comm-icon { font-size: 2rem; margin-bottom: 10px; }
.tx-comm-item h5 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.tx-comm-item p { color: rgba(255,255,255,0.55); font-size: 0.82rem; }

/* === Stats === */
.tx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.tx-stat h4 {
  font-size: 2.1rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.tx-stat p { font-size: 0.88rem; color: var(--text-sub); }

/* === Reviews === */
.tx-rev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.tx-rev-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: var(--shadow-s);
  border-left: 4px solid var(--peach);
}
.tx-rev-stars { color: #FBBF24; font-size: 0.88rem; margin-bottom: 10px; }
.tx-rev-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 12px;
  font-style: italic;
}
.tx-rev-author { font-size: 0.84rem; color: var(--text-main); font-weight: 600; }
.tx-rev-date { font-size: 0.76rem; color: var(--text-muted); }

/* === FAQ === */
.tx-faq-list { max-width: 780px; margin: 0 auto; }
.tx-faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  margin-bottom: 10px;
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.tx-faq-q {
  padding: 16px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.93rem;
  transition: color 0.3s;
}
.tx-faq-q:hover { color: var(--peach); }
.tx-faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--violet);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}
.tx-faq-item.open .tx-faq-q::after { content: '−'; }
.tx-faq-a {
  padding: 0 22px 16px;
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.8;
  display: none;
}
.tx-faq-item.open .tx-faq-a { display: block; }

/* === How-To === */
.tx-howto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tx-howto-step {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.tx-howto-num {
  width: 42px;
  height: 42px;
  background: var(--grad-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.tx-howto-step h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--deep-mid); }
.tx-howto-step p { font-size: 0.82rem; color: var(--text-sub); }

/* === Brand Wall === */
.tx-brands {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.55;
}
.tx-brands span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* === Contact === */
.tx-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.tx-contact-box {
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.tx-contact-box h3 { font-size: 1.15rem; margin-bottom: 14px; color: var(--deep-mid); }
.tx-contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-sub);
}
.tx-contact-row strong { color: var(--text-main); min-width: 80px; }
.tx-qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tx-qr-item { text-align: center; }
.tx-qr-item img { width: 130px; height: 130px; margin: 0 auto 6px; border-radius: var(--radius-s); }
.tx-qr-item p { font-size: 0.8rem; color: var(--text-sub); }

/* === Share === */
.tx-share { text-align: center; padding: 28px 0; }
.tx-share-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tx-share-btn {
  padding: 9px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  color: var(--white);
}
.tx-share-wx { background: #07C160; }
.tx-share-wb { background: #E6162D; }
.tx-share-dy { background: #161823; }
.tx-share-bl { background: #00A1D6; }
.tx-share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); opacity: 0.9; }

/* === Breadcrumb === */
.tx-crumb {
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--violet-pale);
}
.tx-crumb a { color: var(--text-sub); }
.tx-crumb a:hover { color: var(--peach); }
.tx-crumb span { margin: 0 6px; }

/* === Article Content === */
.tx-article { max-width: 860px; margin: 0 auto; }
.tx-article p { margin-bottom: 16px; font-size: 0.93rem; line-height: 1.9; color: var(--text-sub); }
.tx-article h2 { font-size: 1.35rem; margin: 26px 0 12px; color: var(--deep-mid); }
.tx-article h3 { font-size: 1.15rem; margin: 22px 0 10px; color: var(--deep-mid); }

/* === Footer === */
.tx-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.5);
  padding: 48px 0 0;
}
.tx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.tx-footer-brand img { height: 38px; margin-bottom: 10px; border-radius: 8px; }
.tx-footer-brand p { font-size: 0.84rem; line-height: 1.7; }
.tx-footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
.tx-footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.84rem;
  margin-bottom: 7px;
  transition: color 0.3s;
}
.tx-footer-col a:hover { color: var(--peach); }
.tx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.tx-footer-bottom a { color: rgba(255,255,255,0.5); }

/* === Responsive === */
@media (max-width: 1024px) {
  .tx-vid-grid { grid-template-columns: repeat(3, 1fr); }
  .tx-exp-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tx-header-inner { height: 56px; }
  .tx-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--deep);
    padding: 14px;
    gap: 4px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .tx-nav.show { display: flex; }
  .tx-mob-btn { display: block; }
  .tx-hero { min-height: 380px; }
  .tx-hero h1 { font-size: 1.75rem; }
  .tx-vid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tx-svc-grid { grid-template-columns: 1fr; }
  .tx-comm-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-rev-grid { grid-template-columns: 1fr; }
  .tx-contact-grid { grid-template-columns: 1fr; }
  .tx-howto-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-sec-title { font-size: 1.35rem; }
  .tx-footer-grid { grid-template-columns: 1fr; }
  .tx-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .tx-vid-grid { grid-template-columns: 1fr; }
  .tx-comm-grid { grid-template-columns: 1fr; }
  .tx-howto-grid { grid-template-columns: 1fr; }
  .tx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-hero h1 { font-size: 1.45rem; }
  .tx-hero-btns { flex-direction: column; align-items: center; }
}
