/* ==========================================
   少妇 影视视频社区 - 全站样式
   fjz103080.cn - 原创暖橘金主题
   ========================================== */

/* === 基础重置与变量 === */
:root {
  --tx-primary: #E8653A;
  --tx-secondary: #F5A623;
  --tx-dark: #2C1810;
  --tx-bg: #FFF8F2;
  --tx-text: #3D2B1F;
  --tx-accent: #D4451A;
  --tx-light: #FFF0E6;
  --tx-gray: #8B7355;
  --tx-border: #E8D5C4;
  --tx-shadow: rgba(44,24,16,0.1);
  --tx-gradient: linear-gradient(135deg, #E8653A 0%, #F5A623 100%);
  --tx-radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; color: var(--tx-text); background: var(--tx-bg); line-height: 1.7; }
a { color: var(--tx-primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--tx-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === 导航栏 === */
.site-header { background: linear-gradient(135deg, #2C1810 0%, #4A2A18 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px var(--tx-shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; max-width: 1200px; margin: 0 auto; height: 68px; }
.site-logo img { height: 48px; width: auto; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { color: #F5E6D8; font-size: 15px; padding: 8px 14px; border-radius: 6px; transition: all .25s; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { background: var(--tx-primary); color: #fff; }
.search-box { position: relative; }
.search-box input { width: 180px; padding: 7px 36px 7px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.1); color: #F5E6D8; font-size: 13px; outline: none; transition: all .3s; }
.search-box input:focus { border-color: var(--tx-primary); width: 220px; background: rgba(255,255,255,.15); }
.search-box input::placeholder { color: rgba(245,230,216,.5); }
.search-box button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #F5E6D8; cursor: pointer; font-size: 16px; }
.mobile-toggle { display: none; background: none; border: none; color: #F5E6D8; font-size: 24px; cursor: pointer; }

/* === Hero Banner === */
.hero-banner { position: relative; height: 520px; overflow: hidden; display: flex; align-items: center; }
.hero-banner .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-banner .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(44,24,16,.75) 0%, rgba(232,101,58,.45) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 0 40px; }
.hero-content h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-content p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 24px; opacity: .92; }
.hero-cta { display: inline-flex; gap: 14px; }
.btn-primary { display: inline-block; padding: 12px 32px; background: var(--tx-gradient); color: #fff; border-radius: 28px; font-weight: 600; font-size: 15px; transition: all .3s; box-shadow: 0 4px 16px rgba(232,101,58,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,101,58,.5); color: #fff; }
.btn-outline { display: inline-block; padding: 12px 32px; border: 2px solid #fff; color: #fff; border-radius: 28px; font-weight: 600; font-size: 15px; transition: all .3s; }
.btn-outline:hover { background: #fff; color: var(--tx-primary); }

/* === 通用区块 === */
.section { padding: 64px 0; }
.section-alt { background: var(--tx-light); }
.section-dark { background: linear-gradient(135deg, #2C1810, #4A2A18); color: #F5E6D8; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2rem; font-weight: 700; color: var(--tx-dark); margin-bottom: 10px; }
.section-dark .section-title h2 { color: #F5E6D8; }
.section-title p { color: var(--tx-gray); font-size: 1.05rem; }
.section-dark .section-title p { color: rgba(245,230,216,.7); }
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--tx-gray); }
.breadcrumb a { color: var(--tx-primary); }

/* === 视频卡片 === */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { background: #fff; border-radius: var(--tx-radius); overflow: hidden; box-shadow: 0 2px 12px var(--tx-shadow); transition: all .3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(44,24,16,.15); }
.video-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 56px; height: 56px; background: rgba(232,101,58,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.play-btn::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1); }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.7); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; gap: 14px; font-size: 12px; color: var(--tx-gray); }
.video-tag { display: inline-block; padding: 2px 10px; background: var(--tx-light); color: var(--tx-primary); border-radius: 12px; font-size: 12px; margin-top: 8px; }

/* === 影视传媒模块 === */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-card { background: #fff; border-radius: var(--tx-radius); padding: 28px 22px; text-align: center; box-shadow: 0 2px 10px var(--tx-shadow); transition: all .3s; border-top: 3px solid transparent; }
.media-card:hover { border-top-color: var(--tx-primary); transform: translateY(-3px); }
.media-icon { width: 56px; height: 56px; background: var(--tx-gradient); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; color: #fff; }
.media-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.media-card p { font-size: 13px; color: var(--tx-gray); line-height: 1.6; }

/* === 娱乐专区横向滚动 === */
.scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--tx-border); border-radius: 3px; }
.scroll-card { flex: 0 0 260px; scroll-snap-align: start; background: #fff; border-radius: var(--tx-radius); overflow: hidden; box-shadow: 0 2px 10px var(--tx-shadow); }
.scroll-card img { width: 100%; height: 160px; object-fit: cover; }
.scroll-card-body { padding: 12px 14px; }
.scroll-card-body h4 { font-size: 14px; margin-bottom: 4px; }
.scroll-card-body p { font-size: 12px; color: var(--tx-gray); }

/* === AI赋能三列 === */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ai-card { background: linear-gradient(145deg, #fff, var(--tx-light)); border-radius: var(--tx-radius); padding: 32px 24px; text-align: center; box-shadow: 0 2px 12px var(--tx-shadow); transition: all .3s; position: relative; overflow: hidden; }
.ai-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(232,101,58,.08) 0%, transparent 70%); }
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(232,101,58,.15); }
.ai-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--tx-dark); }
.ai-card p { font-size: 14px; color: var(--tx-gray); line-height: 1.7; position: relative; }

/* === 社区功能网格 === */
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.community-item { text-align: center; padding: 24px 16px; background: #fff; border-radius: var(--tx-radius); box-shadow: 0 2px 8px var(--tx-shadow); transition: all .3s; }
.community-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px var(--tx-shadow); }
.community-item .icon { font-size: 36px; margin-bottom: 12px; }
.community-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.community-item p { font-size: 13px; color: var(--tx-gray); }

/* === 专家展示 === */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expert-card { background: #fff; border-radius: var(--tx-radius); overflow: hidden; box-shadow: 0 2px 12px var(--tx-shadow); text-align: center; transition: all .3s; }
.expert-card:hover { transform: translateY(-4px); }
.expert-card img { width: 100%; height: 220px; object-fit: cover; }
.expert-card-body { padding: 18px 16px; }
.expert-card-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.expert-card-body .role { color: var(--tx-primary); font-size: 13px; margin-bottom: 8px; }
.expert-card-body p { font-size: 13px; color: var(--tx-gray); line-height: 1.6; }
.expert-links { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.expert-links a { padding: 5px 14px; border: 1px solid var(--tx-primary); color: var(--tx-primary); border-radius: 16px; font-size: 12px; transition: all .25s; }
.expert-links a:hover { background: var(--tx-primary); color: #fff; }

/* === 合作品牌Logo墙 === */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: center; }
.partner-wall img { height: 50px; width: auto; opacity: .65; transition: opacity .3s; filter: grayscale(30%); }
.partner-wall img:hover { opacity: 1; filter: none; }

/* === How-To步骤 === */
.howto-steps { display: flex; gap: 24px; justify-content: center; counter-reset: step; }
.howto-step { flex: 1; max-width: 240px; text-align: center; position: relative; }
.howto-step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--tx-gradient); color: #fff; border-radius: 50%; font-size: 20px; font-weight: 700; margin: 0 auto 14px; }
.howto-step h4 { font-size: 15px; margin-bottom: 6px; }
.howto-step p { font-size: 13px; color: var(--tx-gray); }

/* === FAQ手风琴 === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--tx-radius); margin-bottom: 12px; box-shadow: 0 1px 6px var(--tx-shadow); overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-q:hover { background: var(--tx-light); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--tx-primary); transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 22px 18px; color: var(--tx-gray); font-size: 14px; line-height: 1.7; }

/* === 用户评价 === */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; border-radius: var(--tx-radius); padding: 22px; box-shadow: 0 2px 10px var(--tx-shadow); }
.review-card .stars { color: var(--tx-secondary); font-size: 16px; margin-bottom: 10px; }
.review-card blockquote { font-size: 14px; color: var(--tx-text); line-height: 1.7; margin-bottom: 12px; font-style: italic; }
.review-card .reviewer { font-size: 13px; color: var(--tx-gray); font-weight: 600; }

/* === 联系我们 === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border-radius: var(--tx-radius); padding: 28px 22px; text-align: center; box-shadow: 0 2px 10px var(--tx-shadow); }
.contact-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--tx-dark); }
.contact-card p { font-size: 14px; color: var(--tx-gray); line-height: 1.8; }
.contact-card img { max-width: 140px; margin: 12px auto 0; }

/* === 社交分享 === */
.share-bar { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 24px; color: #fff; font-size: 14px; font-weight: 500; transition: all .25s; }
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer { background: var(--tx-dark); color: #C4A882; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h5 { color: #F5E6D8; font-size: 16px; margin-bottom: 14px; font-weight: 600; }
.footer-col p, .footer-col a { font-size: 14px; color: #C4A882; line-height: 2; }
.footer-col a:hover { color: var(--tx-primary); }
.footer-bottom { border-top: 1px solid rgba(196,168,130,.2); padding: 18px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: var(--tx-primary); }

/* === 内页通用 === */
.page-hero { background: linear-gradient(135deg, #2C1810, #4A2A18); padding: 48px 0; text-align: center; color: #F5E6D8; }
.page-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.page-hero p { font-size: 1.05rem; opacity: .85; }
.content-section { padding: 48px 0; }
.content-section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; color: var(--tx-dark); }
.content-section p { margin-bottom: 16px; line-height: 1.8; }

/* === 响应式 === */
@media (max-width: 992px) {
  .media-grid, .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid, .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #2C1810; flex-direction: column; padding: 16px; gap: 4px; }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .search-box { display: none; }
  .hero-banner { height: 400px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content { padding: 0 20px; }
  .media-grid, .ai-grid { grid-template-columns: 1fr; }
  .expert-grid, .community-grid { grid-template-columns: 1fr; }
  .howto-steps { flex-direction: column; align-items: center; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 16px; }
}
