/* ========================================
   四虎 - 原创样式表
   影视传媒公司 + 视频社区
   ======================================== */

/* CSS Variables */
:root {
  --primary: #1A1A2E;
  --secondary: #E94560;
  --accent: #0F3460;
  --dark: #16213E;
  --text-light: #EAEAEA;
  --bg-deep: #0A0A1A;
  --bg-card: #12122A;
  --border-color: #2A2A4A;
  --gradient-main: linear-gradient(135deg, #E94560 0%, #0F3460 100%);
  --gradient-dark: linear-gradient(180deg, #0A0A1A 0%, #1A1A2E 100%);
  --shadow-card: 0 4px 24px rgba(233, 69, 96, 0.08);
  --shadow-hover: 0 8px 32px rgba(233, 69, 96, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s 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", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: #ff6b81; }
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.3; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }

/* ========== Header & Navigation ========== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 68px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 40px; width: auto; }
.site-logo span { font-size: 1.2rem; font-weight: 700; color: var(--secondary); }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  padding: 8px 16px; font-size: 0.95rem; color: var(--text-light);
  border-radius: var(--radius-sm); transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--secondary); background: rgba(233, 69, 96, 0.1);
}

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-light);
  margin: 5px 0; transition: var(--transition);
}

/* Search Bar */
.search-bar {
  background: var(--primary); border-bottom: 1px solid var(--border-color);
  padding: 10px 0; margin-top: 68px;
}
.search-bar .container { display: flex; justify-content: center; }
.search-form {
  display: flex; max-width: 600px; width: 100%;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 30px; overflow: hidden;
}
.search-form input {
  flex: 1; padding: 10px 20px; background: transparent; border: none;
  color: var(--text-light); font-size: 0.95rem; outline: none;
}
.search-form input::placeholder { color: #666; }
.search-form button {
  padding: 10px 24px; background: var(--gradient-main); border: none;
  color: #fff; cursor: pointer; font-size: 0.95rem; transition: var(--transition);
}
.search-form button:hover { opacity: 0.85; }

/* ========== Hero Banner ========== */
.hero-banner {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,26,0.88) 0%, rgba(15,52,96,0.72) 50%, rgba(233,69,96,0.35) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 700px; padding: 40px 0;
}
.hero-content h1 { font-size: 2.6rem; margin-bottom: 16px; }
.hero-content h1 .brand { color: var(--secondary); }
.hero-content p { font-size: 1.15rem; color: #ccc; margin-bottom: 24px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--gradient-main);
  color: #fff; border-radius: 30px; font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: transparent;
  color: var(--text-light); border: 2px solid var(--secondary);
  border-radius: 30px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: var(--secondary); color: #fff; }

/* ========== Section Titles ========== */
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem; margin-bottom: 12px; position: relative; display: inline-block;
}
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--gradient-main); margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p { color: #999; font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ========== 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);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--border-color);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative; padding-top: 56.25%; overflow: hidden; cursor: pointer;
}
.video-thumb img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: var(--transition);
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; background: rgba(233, 69, 96, 0.85);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-left: 18px solid #fff; border-top: 11px solid transparent;
  border-bottom: 11px solid transparent; margin-left: 4px;
}
.video-card:hover .play-btn { opacity: 1; }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px;
  border-radius: 4px; font-size: 0.8rem;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text-light); line-height: 1.4; }
.video-info h3 a { color: inherit; }
.video-info h3 a:hover { color: var(--secondary); }
.video-meta { display: flex; gap: 16px; font-size: 0.82rem; color: #888; flex-wrap: wrap; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.video-tags span {
  padding: 2px 10px; background: rgba(233,69,96,0.12); color: var(--secondary);
  border-radius: 12px; font-size: 0.78rem;
}

/* ========== Feature Cards ========== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; transition: var(--transition);
  border: 1px solid var(--border-color);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--secondary); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--gradient-main); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: #999; font-size: 0.92rem; }

/* ========== 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); padding: 24px;
  text-align: center; transition: var(--transition);
  border: 1px solid var(--border-color);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px;
  overflow: hidden; border: 3px solid var(--secondary);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.expert-card .role { color: var(--secondary); font-size: 0.88rem; margin-bottom: 10px; }
.expert-card p { color: #999; font-size: 0.88rem; margin-bottom: 16px; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.expert-btns a {
  padding: 6px 16px; border-radius: 20px; font-size: 0.82rem;
  border: 1px solid var(--secondary); color: var(--secondary);
}
.expert-btns a:hover { background: var(--secondary); color: #fff; }

/* ========== FAQ Section ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius-sm);
  margin-bottom: 12px; border: 1px solid var(--border-color);
  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: var(--transition);
}
.faq-question:hover { color: var(--secondary); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--secondary); transition: var(--transition); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-answer-inner { padding: 0 24px 18px; color: #bbb; font-size: 0.92rem; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 300px; }

/* ========== Reviews ========== */
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.review-card:hover { border-color: var(--secondary); }
.review-stars { color: #FFD700; margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.review-text { color: #ccc; font-size: 0.92rem; margin-bottom: 16px; line-height: 1.7; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-main); display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem;
}
.review-author-info .name { font-size: 0.9rem; font-weight: 600; }
.review-author-info .date { font-size: 0.78rem; color: #888; }

/* ========== Partner Logos ========== */
.partner-wall {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px;
  padding: 20px 0;
}
.partner-item {
  width: 140px; height: 60px; background: var(--bg-card);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; border: 1px solid var(--border-color);
  font-size: 0.85rem; color: #888; font-weight: 600;
  transition: var(--transition);
}
.partner-item:hover { border-color: var(--secondary); color: var(--secondary); }

/* ========== Footer ========== */
.site-footer {
  background: var(--primary); border-top: 1px solid var(--border-color);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 1rem; margin-bottom: 16px; color: var(--secondary);
  position: relative; padding-bottom: 8px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--secondary);
}
.footer-col p, .footer-col a { color: #999; font-size: 0.88rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--secondary); }
.footer-qr { display: flex; gap: 20px; margin-top: 12px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 100px; height: 100px; border-radius: var(--radius-sm); margin-bottom: 6px; }
.footer-qr-item span { font-size: 0.78rem; color: #888; }
.footer-bottom {
  border-top: 1px solid var(--border-color); padding: 20px 0;
  text-align: center; color: #666; font-size: 0.82rem;
}
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo img { height: 32px; }
.footer-logo span { font-weight: 700; color: var(--secondary); }

/* ========== Share Buttons ========== */
.share-bar {
  display: flex; gap: 12px; justify-content: center; padding: 20px 0;
  flex-wrap: wrap;
}
.share-btn {
  padding: 8px 20px; border-radius: 20px; font-size: 0.85rem;
  border: 1px solid var(--border-color); color: var(--text-light);
  background: var(--bg-card); cursor: pointer; transition: var(--transition);
}
.share-btn:hover { border-color: var(--secondary); color: var(--secondary); }

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 16px 0; font-size: 0.85rem; color: #888;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { margin: 0 8px; }

/* ========== Content Pages ========== */
.page-hero {
  padding: 100px 0 40px; text-align: center;
  background: var(--gradient-dark);
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 12px; }
.page-hero h1 .brand { color: var(--secondary); }
.page-hero p { color: #999; font-size: 1rem; }

.content-section { padding: 40px 0; }
.content-section h2 { font-size: 1.6rem; margin-bottom: 16px; color: var(--text-light); }
.content-section h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--secondary); }
.content-section p { color: #ccc; margin-bottom: 16px; line-height: 1.8; }

.info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.info-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.info-card:hover { border-color: var(--secondary); transform: translateY(-2px); }
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: #999; font-size: 0.92rem; }

/* Star Profile */
.star-profile {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  align-items: start;
}
.star-photo { border-radius: var(--radius); overflow: hidden; }
.star-photo img { width: 100%; }
.star-details h2 { font-size: 1.8rem; margin-bottom: 8px; }
.star-details .subtitle { color: var(--secondary); margin-bottom: 16px; }
.star-details p { color: #ccc; line-height: 1.8; margin-bottom: 12px; }
.star-stats {
  display: flex; gap: 24px; margin: 20px 0; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 1.6rem; font-weight: 700; color: var(--secondary); }
.stat-item .label { font-size: 0.82rem; color: #888; }

/* ========== How-To Guide ========== */
.howto-steps {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px; counter-reset: step;
}
.howto-step {
  background: var(--bg-card); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; border: 1px solid var(--border-color);
  counter-increment: step; position: relative;
}
.howto-step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--gradient-main);
  border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 16px;
}
.howto-step h4 { margin-bottom: 8px; }
.howto-step p { color: #999; font-size: 0.88rem; }

/* ========== Contact Info ========== */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border-color); text-align: center;
}
.contact-card h3 { color: var(--secondary); margin-bottom: 12px; }
.contact-card p { color: #bbb; font-size: 0.92rem; margin-bottom: 6px; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .main-nav { 
    display: none; position: fixed; top: 68px; left: 0; width: 100%;
    background: rgba(10,10,26,0.98); flex-direction: column;
    padding: 20px; gap: 4px;
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-banner { min-height: 400px; }
  .star-profile { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 0 12px; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .section-title h2 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== Lazy Load ========== */
img[data-src] { opacity: 0; transition: opacity 0.3s; }
img[data-src].loaded, img:not([data-src]) { opacity: 1; }

/* ========== Animations ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== MCP Service Frontend ========== */
.mcp-widget {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 20px; margin-top: 20px;
  text-align: center;
}
.mcp-widget h4 { color: var(--secondary); margin-bottom: 8px; }
.mcp-widget p { color: #888; font-size: 0.85rem; }
.mcp-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; background: rgba(46, 213, 115, 0.15);
  color: #2ed573; border-radius: 12px; font-size: 0.8rem; margin-top: 8px;
}
.mcp-status::before {
  content: ''; width: 6px; height: 6px; background: #2ed573;
  border-radius: 50%; animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
