/* ========================================
   91官网 - 影视传媒公司+视频社区
   原创CSS样式表 | nsk-security.cn
   ======================================== */

/* CSS 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: #1a1a2e; background: #fafafa; line-height: 1.8; overflow-x: hidden; }
a { color: #c41e3a; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e63950; }
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; color: #1a1a2e; }

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

/* ========== Header & Navigation ========== */
.site-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 48px; width: auto; }
.site-logo span { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: 2px; }
.header-contact { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.header-contact a { color: #e63950; }

/* Main Nav */
.main-nav { background: rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.1); }
.main-nav ul { display: flex; justify-content: center; gap: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 14px 24px; color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; transition: all 0.3s; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(196,30,58,0.2); border-bottom-color: #c41e3a; }

/* Search Bar */
.search-bar { background: linear-gradient(135deg, #16213e 0%, #0f3460 100%); padding: 16px 0; }
.search-bar .container { display: flex; justify-content: center; }
.search-form { display: flex; width: 100%; max-width: 680px; }
.search-form input { flex: 1; padding: 12px 20px; border: 2px solid rgba(196,30,58,0.4); border-right: none; border-radius: 30px 0 0 30px; background: rgba(255,255,255,0.08); color: #fff; font-size: 0.95rem; outline: none; transition: border-color 0.3s; }
.search-form input::placeholder { color: rgba(255,255,255,0.5); }
.search-form input:focus { border-color: #c41e3a; background: rgba(255,255,255,0.12); }
.search-form button { padding: 12px 28px; background: linear-gradient(135deg, #c41e3a, #e63950); color: #fff; border: none; border-radius: 0 30px 30px 0; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; font-weight: 600; }
.search-form button:hover { background: linear-gradient(135deg, #e63950, #ff4d6d); }

/* ========== Banner ========== */
.hero-banner { position: relative; height: 520px; overflow: hidden; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(15,52,96,0.7) 50%, rgba(196,30,58,0.4) 100%); display: flex; align-items: center; justify-content: center; }
.hero-content { text-align: center; color: #fff; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-content h1 span { color: #e63950; }
.hero-content p { font-size: 1.15rem; line-height: 1.8; opacity: 0.9; margin-bottom: 24px; }
.hero-btn { display: inline-block; padding: 14px 36px; background: linear-gradient(135deg, #c41e3a, #e63950); color: #fff; border-radius: 30px; font-size: 1rem; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 15px rgba(196,30,58,0.4); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,30,58,0.6); color: #fff; }

/* ========== Section Headers ========== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, #c41e3a, #e63950); margin: 12px auto 0; border-radius: 2px; }
.section-header p { color: #666; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-tag { display: inline-block; background: linear-gradient(135deg, #c41e3a, #e63950); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; letter-spacing: 1px; }

/* ========== Video Cards ========== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.3s; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.video-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.3s; cursor: pointer; }
.video-card:hover .play-btn { opacity: 1; }
.play-btn svg { width: 60px; height: 60px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.play-btn circle { fill: rgba(196,30,58,0.9); }
.play-btn polygon { fill: #fff; }
.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-stats { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 10px; }
.video-stats span { background: rgba(0,0,0,0.65); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.video-info { padding: 16px; }
.video-info h3 { font-size: 1.05rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info .video-meta { display: flex; justify-content: space-between; color: #999; font-size: 0.85rem; }
.video-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.video-tags span { background: #f0f0f0; color: #666; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; }

/* ========== Content Modules ========== */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.module-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; border: 1px solid #f0f0f0; }
.module-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); border-color: #c41e3a; }
.module-icon { width: 56px; height: 56px; background: linear-gradient(135deg, #c41e3a, #e63950); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; color: #fff; }
.module-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.module-card p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* ========== Expert Section ========== */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.expert-card { background: #fff; border-radius: 12px; padding: 28px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; }
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.expert-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid #c41e3a; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.expert-card .expert-title { color: #c41e3a; font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { color: #666; font-size: 0.85rem; line-height: 1.6; margin-bottom: 14px; }
.expert-actions { display: flex; gap: 10px; justify-content: center; }
.btn-sm { padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; transition: all 0.3s; }
.btn-primary { background: #c41e3a; color: #fff; }
.btn-primary:hover { background: #e63950; color: #fff; }
.btn-outline { border: 1px solid #c41e3a; color: #c41e3a; }
.btn-outline:hover { background: #c41e3a; color: #fff; }

/* ========== Partner Logos ========== */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; }
.partner-logo { width: 140px; height: 70px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); padding: 10px; transition: all 0.3s; border: 1px solid #f0f0f0; }
.partner-logo:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.12); transform: translateY(-2px); }
.partner-logo span { font-weight: 700; color: #333; font-size: 0.85rem; text-align: center; }

/* ========== Reviews ========== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-left: 4px solid #c41e3a; }
.review-stars { color: #ffc107; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { color: #444; font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #c41e3a, #e63950); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.85rem; }
.review-author-info { font-size: 0.85rem; }
.review-author-info strong { color: #1a1a2e; }
.review-author-info span { color: #999; display: block; font-size: 0.8rem; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); 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; }
.faq-question:hover { background: #f8f8f8; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: #c41e3a; font-weight: 300; transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 24px 18px; max-height: 300px; }
.faq-answer p { color: #666; font-size: 0.9rem; line-height: 1.8; }

/* ========== Breadcrumb ========== */
.breadcrumb { padding: 14px 0; background: #f5f5f5; border-bottom: 1px solid #eee; }
.breadcrumb ul { display: flex; gap: 8px; font-size: 0.85rem; }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: #ccc; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #c41e3a; }
.breadcrumb .current { color: #c41e3a; font-weight: 500; }

/* ========== Footer ========== */
.site-footer { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: rgba(255,255,255,0.7); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #c41e3a; display: inline-block; }
.footer-col p { font-size: 0.85rem; line-height: 1.8; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.85rem; display: block; padding: 3px 0; transition: color 0.3s; }
.footer-col a:hover { color: #e63950; }
.footer-qr { display: flex; gap: 20px; margin-top: 10px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 100px; height: 100px; border-radius: 8px; margin-bottom: 6px; }
.footer-qr-item span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: #e63950; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 36px; }
.footer-logo span { color: #fff; font-size: 1.2rem; font-weight: 700; }

/* ========== Share Buttons ========== */
.share-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 20px 0; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; color: #fff; transition: all 0.3s; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00a1d6; }

/* ========== Misc ========== */
.bg-light { background: #f5f5f5; }
.bg-dark { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.tag-video { display: inline-block; background: #c41e3a; color: #fff; padding: 2px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }

/* How-To Section */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.howto-step { background: #fff; border-radius: 12px; padding: 28px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: relative; }
.howto-step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; background: linear-gradient(135deg, #c41e3a, #e63950); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 14px; }
.howto-step h4 { margin-bottom: 8px; }
.howto-step p { color: #666; font-size: 0.85rem; }

/* Inner Page Content */
.page-content { padding: 40px 0 60px; }
.page-content h2 { font-size: 1.6rem; margin: 30px 0 16px; }
.page-content h3 { font-size: 1.3rem; margin: 24px 0 12px; color: #c41e3a; }
.page-content p { margin-bottom: 16px; color: #444; }
.content-img { border-radius: 12px; overflow: hidden; margin: 20px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* Sidebar Modules */
.sidebar-module { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.sidebar-module h4 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #c41e3a; }
.sidebar-module ul li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-module ul li:last-child { border-bottom: none; }
.sidebar-module ul li a { color: #444; font-size: 0.9rem; display: flex; justify-content: space-between; }
.sidebar-module ul li a:hover { color: #c41e3a; }

/* Two Column Layout */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.two-col .main-content { min-width: 0; }

/* Contact Info */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.contact-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); text-align: center; }
.contact-card h4 { margin-bottom: 10px; }
.contact-card p { color: #666; font-size: 0.9rem; }
.contact-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #c41e3a, #e63950); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: #fff; font-size: 1.3rem; }

/* MCP Frontend Placeholder */
.mcp-widget { background: linear-gradient(135deg, #0f3460, #16213e); border-radius: 12px; padding: 24px; margin: 20px 0; color: #fff; text-align: center; }
.mcp-widget h4 { margin-bottom: 10px; }
.mcp-widget p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.mcp-widget .mcp-status { display: inline-block; background: #07c160; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-banner { height: 380px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
  .main-nav ul { flex-wrap: wrap; justify-content: flex-start; }
  .main-nav a { padding: 10px 14px; font-size: 0.85rem; }
  .video-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 40px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .container { padding: 0 15px; }
}
@media (max-width: 480px) {
  .hero-banner { height: 300px; }
  .hero-content h1 { font-size: 1.4rem; }
  .main-nav a { padding: 8px 10px; font-size: 0.8rem; }
  .expert-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-form input { border-radius: 30px; border-right: 2px solid rgba(196,30,58,0.4); margin-bottom: 8px; }
  .search-form button { border-radius: 30px; }
}
