/* st直播 - 影视传媒与视频社区平台 样式表 */
/* 品牌色系：珊瑚红 #FF4D6D / 深品红 #C9184A / 暖白 #FFF8F5 / 深灰 #1A1A2E */

:root {
  --brand-coral: #FF4D6D;
  --brand-magenta: #C9184A;
  --brand-dark: #1A1A2E;
  --brand-warm: #FFF8F5;
  --brand-gold: #FFB347;
  --brand-purple: #6B2D5C;
  --text-primary: #1A1A2E;
  --text-secondary: #555;
  --text-light: #888;
  --bg-light: #FFF8F5;
  --bg-card: #FFFFFF;
  --border-color: #FFE4E1;
  --shadow-sm: 0 2px 8px rgba(255,77,109,0.08);
  --shadow-md: 0 4px 16px rgba(255,77,109,0.12);
  --shadow-lg: 0 8px 32px rgba(255,77,109,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.23,1,0.32,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: var(--brand-magenta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-coral); }

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

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

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,248,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.logo-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-area img { width: 40px; height: 40px; }
.logo-text {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text-primary); font-weight: 500; font-size: 14px;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-magenta));
  color: #fff;
}

/* Search Bar */
.search-bar { position: relative; flex-shrink: 0; }
.search-bar input {
  width: 200px; padding: 8px 36px 8px 14px;
  border: 2px solid var(--border-color); border-radius: 24px;
  font-size: 13px; outline: none; background: #fff;
  transition: all var(--transition);
}
.search-bar input:focus { border-color: var(--brand-coral); width: 240px; }
.search-bar button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--brand-coral); font-size: 16px; padding: 4px 8px;
}
.search-result {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 12px 16px; margin-top: 4px; font-size: 13px; color: var(--text-secondary);
  z-index: 100;
}

/* Mobile toggle */
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--brand-coral); cursor: pointer; }

/* ===== Hero Section ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B3D 50%, #6B2D5C 100%);
  color: #fff; padding: 60px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.35;
  background-size: cover; background-position: center;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: 42px; font-weight: 900; margin-bottom: 16px;
  line-height: 1.3; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 18px; opacity: 0.9; margin-bottom: 24px; max-width: 600px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tags span {
  padding: 6px 16px; border-radius: 20px;
  background: rgba(255,77,109,0.2); border: 1px solid rgba(255,77,109,0.4);
  font-size: 13px; font-weight: 500;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 12px 32px; border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-magenta));
  color: #fff; font-weight: 700; font-size: 15px;
  transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-secondary {
  display: inline-block; padding: 12px 32px; border-radius: 28px;
  background: rgba(255,255,255,0.15); color: #fff; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3); transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ===== Section General ===== */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-size: 30px; font-weight: 800; color: var(--text-primary);
  margin-bottom: 10px;
}
.section-header h2 .brand { color: var(--brand-coral); }
.section-header p { color: var(--text-secondary); font-size: 15px; max-width: 700px; margin: 0 auto; }
.section-title-left { text-align: left; margin-bottom: 30px; }
.section-title-left h2 { font-size: 26px; font-weight: 800; }
.section-title-left h2 .brand { color: var(--brand-coral); }

/* ===== Video Cards ===== */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition); cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: #1A1A2E;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,77,109,0.9); display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition); backdrop-filter: blur(4px);
}
.video-card:hover .video-play-btn { transform: translate(-50%,-50%) scale(1); }
.video-play-btn::after {
  content: ''; width: 0; height: 0;
  border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7); color: #fff; padding: 2px 8px;
  border-radius: 4px; font-size: 12px;
}
.video-live-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--brand-coral); color: #fff; padding: 3px 10px;
  border-radius: 4px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}
.video-live-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-light);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== Content Modules ===== */
.module-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.module-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.module-img { aspect-ratio: 16/10; overflow: hidden; }
.module-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.module-card:hover .module-img img { transform: scale(1.05); }
.module-body { padding: 20px; }
.module-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.module-body h3 .brand { color: var(--brand-coral); }
.module-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.module-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.module-tags span {
  font-size: 12px; padding: 3px 10px; border-radius: 12px;
  background: var(--bg-light); color: var(--brand-magenta);
}

/* ===== Expert Cards ===== */
.expert-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition); text-align: center;
}
.expert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.expert-photo { aspect-ratio: 3/4; overflow: hidden; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.expert-info { padding: 16px; }
.expert-info h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.expert-info .expert-role { font-size: 13px; color: var(--brand-coral); margin-bottom: 8px; }
.expert-info .expert-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.expert-actions { display: flex; gap: 8px; justify-content: center; }
.expert-actions a {
  padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.expert-actions .btn-contact { background: var(--brand-coral); color: #fff; }
.expert-actions .btn-works { background: var(--bg-light); color: var(--brand-magenta); border: 1px solid var(--border-color); }

/* ===== Partner Wall ===== */
.partner-wall {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.partner-logo {
  width: 120px; height: 120px; border-radius: var(--radius-md);
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  padding: 20px;
}
.partner-logo:hover { transform: scale(1.08); box-shadow: var(--shadow-md); }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 16px 20px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 15px; color: var(--text-primary);
}
.faq-question .faq-icon { color: var(--brand-coral); font-size: 20px; transition: transform var(--transition); }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--transition);
  padding: 0 20px; color: var(--text-secondary); font-size: 14px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 16px; }

/* ===== Reviews ===== */
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-magenta));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-light); }
.review-stars { color: var(--brand-gold); font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Contact Section ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.contact-info-card h3 .brand { color: var(--brand-coral); }
.contact-detail { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.contact-detail .label { font-weight: 600; color: var(--text-primary); min-width: 80px; }
.contact-detail .value { color: var(--text-secondary); }
.qr-grid { display: flex; gap: 24px; justify-content: center; margin-top: 20px; }
.qr-item { text-align: center; }
.qr-item img { width: 140px; height: 140px; border-radius: var(--radius-sm); margin-bottom: 8px; }
.qr-item p { font-size: 13px; color: var(--text-secondary); }

/* ===== Social Share ===== */
.share-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 24px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); border: none;
}
.share-btn:hover { transform: translateY(-2px); }
.share-wechat { background: #07C160; color: #fff; }
.share-weibo { background: #E6162D; color: #fff; }
.share-douyin { background: #000; color: #fff; }
.share-bilibili { background: #FB7299; color: #fff; }
.share-copy { background: var(--bg-light); color: var(--text-primary); border: 1px solid var(--border-color); }

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0; font-size: 13px; color: var(--text-light);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb .current { color: var(--brand-coral); font-weight: 600; }

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-dark); color: rgba(255,255,255,0.7);
  padding: 50px 0 20px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 30px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-weight: 700; }
.footer-col h4 .brand { color: var(--brand-coral); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13px; }
.footer-col a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--brand-coral); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-size: 20px; font-weight: 800; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  text-align: center; font-size: 13px;
}
.footer-bottom p { margin-bottom: 6px; }
.update-time { color: var(--brand-coral); font-weight: 600; }

/* ===== Inner Page Styles ===== */
.page-hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B3D 50%, #6B2D5C 100%);
  color: #fff; padding: 50px 0 60px; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; opacity: 0.25; background-size: cover; background-position: center; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: 34px; font-weight: 900; margin-bottom: 12px; }
.page-hero h1 .brand { color: var(--brand-coral); }
.page-hero p { font-size: 16px; opacity: 0.85; max-width: 700px; }

.page-intro {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 28px; margin: 30px 0; box-shadow: var(--shadow-sm);
}
.page-intro p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 12px; }
.page-intro p:last-child { margin-bottom: 0; }
.page-intro strong { color: var(--brand-coral); }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.sidebar-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.sidebar-card h3 .brand { color: var(--brand-coral); }
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--text-secondary); display: flex; justify-content: space-between; }
.sidebar-list a:hover { color: var(--brand-coral); }
.sidebar-list .views { color: var(--text-light); font-size: 12px; }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 30px 0;
}
.stat-item {
  text-align: center; background: var(--bg-card);
  border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* Q&A section */
.qa-item {
  background: var(--bg-card); border-radius: var(--radius-md);
  margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.qa-question {
  padding: 16px 20px; font-weight: 600; font-size: 15px;
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
}
.qa-question .q-tag {
  background: var(--brand-coral); color: #fff; padding: 2px 8px;
  border-radius: 4px; font-size: 12px; flex-shrink: 0;
}
.qa-answer { padding: 14px 20px; font-size: 14px; color: var(--text-secondary); display: flex; gap: 10px; }
.qa-answer .a-tag {
  background: var(--brand-purple); color: #fff; padding: 2px 8px;
  border-radius: 4px; font-size: 12px; flex-shrink: 0;
}

/* How-to steps */
.howto-steps { display: flex; flex-direction: column; gap: 20px; }
.howto-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-magenta));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.step-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-secondary); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  padding: 6px 16px; border-radius: 20px; font-size: 13px;
  background: var(--bg-light); color: var(--text-secondary);
  transition: all var(--transition);
}
.tag-cloud a:hover { background: var(--brand-coral); color: #fff; }

/* JSON-LD hidden */
.jsonld-block { display: none; }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 26px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px;
    box-shadow: var(--shadow-md); border-radius: 0 0 var(--radius-md) var(--radius-md);
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .mobile-toggle { display: block; }
  .search-bar { display: none; }
  .search-bar.mobile-show { display: block; position: fixed; top: 64px; left: 0; right: 0; padding: 12px 20px; background: #fff; box-shadow: var(--shadow-sm); }
  .search-bar.mobile-show input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }
  .video-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 22px; }
  .page-intro { padding: 20px; }
  .container { padding: 0 16px; }
  .partner-logo { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
  .expert-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero h1 { font-size: 22px; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
