/* ============================================
   国产视频影视传媒 - 原创样式表
   域名: hmopz.cn
   配色: 樱花粉#e84393 + 梦幻紫#6c5ce7 + 暖金#ffeaa7
   ============================================ */

/* === 基础重置 === */
*,*::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:#1a1025;color:#f0e6f6;line-height:1.7;overflow-x:hidden}
a{color:#e84393;text-decoration:none;transition:color .25s}
a:hover{color:#fd79a8}
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:#ffffff}

/* === 顶部导航 === */
.xh-topbar{background:linear-gradient(180deg,#231535 0%,#1a1025 100%);border-bottom:2px solid #e84393;position:sticky;top:0;z-index:999;padding:0 20px}
.xh-topbar-inner{max-width:1340px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:68px}
.xh-logo-wrap{display:flex;align-items:center;gap:10px}
.xh-logo-wrap img{height:42px;width:auto}
.xh-logo-text{font-size:22px;font-weight:800;color:#e84393;letter-spacing:1px}
.xh-logo-text span{color:#ffeaa7}
.xh-nav{display:flex;gap:6px;align-items:center}
.xh-nav a{color:#b8a9c9;font-size:15px;padding:8px 16px;border-radius:6px;transition:all .25s;font-weight:500}
.xh-nav a:hover,.xh-nav a.active{color:#fff;background:rgba(232,67,147,.15)}
.xh-menu-btn{display:none;background:none;border:2px solid #e84393;color:#e84393;font-size:22px;padding:4px 10px;border-radius:4px;cursor:pointer}

/* === 搜索框 === */
.xh-search-bar{background:#231535;padding:14px 20px;border-bottom:1px solid #2d1f42}
.xh-search-inner{max-width:720px;margin:0 auto;display:flex;gap:0}
.xh-search-inner input{flex:1;background:#2d1f42;border:2px solid #3d2a5c;border-right:none;color:#fff;padding:10px 18px;font-size:15px;border-radius:8px 0 0 8px;outline:none;transition:border-color .25s}
.xh-search-inner input:focus{border-color:#e84393}
.xh-search-inner input::placeholder{color:#7a6b8a}
.xh-search-inner button{background:linear-gradient(135deg,#e84393,#6c5ce7);color:#fff;border:none;padding:10px 28px;font-size:15px;font-weight:600;border-radius:0 8px 8px 0;cursor:pointer;transition:opacity .25s}
.xh-search-inner button:hover{opacity:.85}

/* === Hero Banner === */
.xh-hero{position:relative;height:520px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.xh-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.4)}
.xh-hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(26,16,37,.9) 0%,rgba(232,67,147,.1) 100%)}
.xh-hero-content{position:relative;z-index:2;text-align:center;padding:0 20px;max-width:860px}
.xh-hero-content h1{font-size:42px;margin-bottom:12px;text-shadow:0 2px 20px rgba(232,67,147,.4)}
.xh-hero-content h1 em{font-style:normal;color:#e84393}
.xh-hero-sub{font-size:18px;color:#b8a9c9;margin-bottom:28px;line-height:1.6}
.xh-hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.xh-btn-primary{display:inline-block;background:linear-gradient(135deg,#e84393,#6c5ce7);color:#fff;padding:13px 36px;border-radius:8px;font-size:16px;font-weight:600;transition:transform .2s,box-shadow .2s;border:none;cursor:pointer}
.xh-btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(232,67,147,.35);color:#fff}
.xh-btn-outline{display:inline-block;border:2px solid #ffeaa7;color:#ffeaa7;padding:11px 34px;border-radius:8px;font-size:16px;font-weight:600;transition:all .25s;background:transparent}
.xh-btn-outline:hover{background:#ffeaa7;color:#1a1025}

/* === 滚动公告 === */
.xh-ticker{background:#231535;border-bottom:1px solid #2d1f42;padding:10px 0;overflow:hidden}
.xh-ticker-inner{display:flex;animation:tickerScroll 35s linear infinite;white-space:nowrap}
.xh-ticker-inner span{padding:0 40px;color:#b8a9c9;font-size:14px}
.xh-ticker-inner span b{color:#e84393}
@keyframes tickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* === 通用区块 === */
.xh-section{padding:60px 20px}
.xh-section-dark{background:#1a1025}
.xh-section-alt{background:#231535}
.xh-container{max-width:1340px;margin:0 auto}
.xh-section-head{text-align:center;margin-bottom:45px}
.xh-section-head h2{font-size:32px;margin-bottom:8px}
.xh-section-head h2 em{font-style:normal;color:#e84393}
.xh-section-head .xh-subtitle{color:#b8a9c9;font-size:15px}
.xh-tag{display:inline-block;background:rgba(232,67,147,.12);color:#e84393;padding:3px 12px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:12px}

/* === 视频卡片网格 === */
.xh-vgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.xh-vcard{background:#2d1f42;border-radius:12px;overflow:hidden;transition:transform .3s,box-shadow .3s;cursor:pointer;position:relative}
.xh-vcard:hover{transform:translateY(-6px);box-shadow:0 12px 35px rgba(232,67,147,.15)}
.xh-vcard-thumb{position:relative;padding-top:56.25%;overflow:hidden}
.xh-vcard-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.xh-vcard:hover .xh-vcard-thumb img{transform:scale(1.08)}
.xh-vcard-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;background:rgba(26,16,37,.55)}
.xh-vcard:hover .xh-vcard-play{opacity:1}
.xh-vcard-play i{width:56px;height:56px;background:rgba(232,67,147,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0}
.xh-vcard-play i::after{content:'';display:block;width:0;height:0;border-left:20px solid #fff;border-top:12px solid transparent;border-bottom:12px solid transparent;margin-left:4px}
.xh-vcard-dur{position:absolute;bottom:8px;right:8px;background:rgba(26,16,37,.85);color:#fff;padding:2px 8px;border-radius:4px;font-size:12px}
.xh-vcard-info{padding:14px 16px}
.xh-vcard-info h3{font-size:15px;color:#f0e6f6;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xh-vcard-meta{display:flex;justify-content:space-between;color:#7a6b8a;font-size:13px}
.xh-vcard-meta span{display:flex;align-items:center;gap:4px}

/* === 短传媒竖版网格 === */
.xh-shorts-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.xh-short-card{background:#2d1f42;border-radius:12px;overflow:hidden;position:relative;padding-top:160%;transition:transform .3s}
.xh-short-card:hover{transform:scale(1.03)}
.xh-short-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.xh-short-card .xh-short-overlay{position:absolute;bottom:0;left:0;right:0;padding:16px;background:linear-gradient(transparent,rgba(26,16,37,.9))}
.xh-short-card .xh-short-overlay h4{font-size:14px;color:#fff;margin-bottom:4px}
.xh-short-card .xh-short-overlay span{font-size:12px;color:#b8a9c9}
.xh-short-card .xh-short-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;background:rgba(232,67,147,.85);border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}
.xh-short-card:hover .xh-short-play{opacity:1}
.xh-short-card .xh-short-play::after{content:'';width:0;height:0;border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:3px}

/* === AI赋能区块 === */
.xh-ai-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xh-ai-card{background:linear-gradient(145deg,#2d1f42,#1a1025);border:1px solid #3d2a5c;border-radius:14px;padding:32px 24px;text-align:center;transition:border-color .3s,transform .3s}
.xh-ai-card:hover{border-color:#e84393;transform:translateY(-4px)}
.xh-ai-icon{width:64px;height:64px;margin:0 auto 18px;background:linear-gradient(135deg,#e84393,#6c5ce7);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:28px;color:#fff}
.xh-ai-card h4{font-size:18px;margin-bottom:10px;color:#fff}
.xh-ai-card p{color:#b8a9c9;font-size:14px;line-height:1.6}

/* === 社区分类 === */
.xh-comm-tabs{display:flex;gap:12px;justify-content:center;margin-bottom:30px;flex-wrap:wrap}
.xh-comm-tab{padding:8px 22px;border-radius:20px;background:#2d1f42;color:#b8a9c9;font-size:14px;cursor:pointer;transition:all .25s;border:1px solid #3d2a5c}
.xh-comm-tab:hover,.xh-comm-tab.active{background:#e84393;color:#fff;border-color:#e84393}
.xh-comm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.xh-comm-card{background:#2d1f42;border-radius:12px;overflow:hidden;display:flex;gap:16px;padding:16px;transition:background .3s}
.xh-comm-card:hover{background:#3d2a5c}
.xh-comm-card-img{width:120px;height:90px;border-radius:8px;overflow:hidden;flex-shrink:0}
.xh-comm-card-img img{width:100%;height:100%;object-fit:cover}
.xh-comm-card-body h4{font-size:15px;color:#f0e6f6;margin-bottom:6px}
.xh-comm-card-body p{font-size:13px;color:#7a6b8a;line-height:1.5}
.xh-comm-card-body .xh-comm-stats{margin-top:6px;font-size:12px;color:#7a6b8a}

/* === 专家团队 === */
.xh-expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.xh-expert-card{background:#2d1f42;border-radius:14px;padding:28px 20px;text-align:center;border:1px solid #3d2a5c;transition:border-color .3s}
.xh-expert-card:hover{border-color:#e84393}
.xh-expert-avatar{width:90px;height:90px;border-radius:50%;margin:0 auto 16px;overflow:hidden;border:3px solid #e84393}
.xh-expert-avatar img{width:100%;height:100%;object-fit:cover}
.xh-expert-card h4{font-size:17px;color:#fff;margin-bottom:4px}
.xh-expert-card .xh-expert-role{color:#e84393;font-size:13px;margin-bottom:10px}
.xh-expert-card p{color:#b8a9c9;font-size:13px;line-height:1.5;margin-bottom:14px}
.xh-expert-links{display:flex;gap:8px;justify-content:center}
.xh-expert-links a{padding:6px 14px;border-radius:6px;font-size:12px;border:1px solid #3d2a5c;color:#b8a9c9;transition:all .25s}
.xh-expert-links a:hover{border-color:#e84393;color:#e84393}

/* === 合作伙伴 === */
.xh-partners-wall{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin-bottom:40px}
.xh-partner-logo{width:140px;height:70px;background:#2d1f42;border-radius:10px;display:flex;align-items:center;justify-content:center;border:1px solid #3d2a5c;transition:border-color .3s;padding:10px}
.xh-partner-logo:hover{border-color:#e84393}
.xh-partner-logo span{color:#7a6b8a;font-size:14px;font-weight:600}

/* === How-To 指南 === */
.xh-howto-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}
.xh-howto-step{text-align:center;padding:24px 16px}
.xh-howto-num{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#e84393,#6c5ce7);color:#fff;font-size:20px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.xh-howto-step h4{font-size:16px;color:#fff;margin-bottom:8px}
.xh-howto-step p{color:#b8a9c9;font-size:13px}

/* === FAQ === */
.xh-faq-list{max-width:860px;margin:0 auto}
.xh-faq-item{background:#2d1f42;border-radius:10px;margin-bottom:12px;overflow:hidden;border:1px solid #3d2a5c}
.xh-faq-q{padding:18px 24px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600;color:#f0e6f6;transition:color .25s}
.xh-faq-q:hover{color:#e84393}
.xh-faq-q::after{content:'+';font-size:22px;color:#e84393;transition:transform .3s}
.xh-faq-item.open .xh-faq-q::after{transform:rotate(45deg)}
.xh-faq-a{padding:0 24px;max-height:0;overflow:hidden;transition:max-height .4s ease,padding .4s ease;color:#b8a9c9;font-size:14px;line-height:1.7}
.xh-faq-item.open .xh-faq-a{max-height:300px;padding:0 24px 18px}

/* === 用户评价 === */
.xh-reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.xh-review-card{background:#2d1f42;border-radius:12px;padding:24px;border:1px solid #3d2a5c}
.xh-review-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.xh-review-avatar{width:44px;height:44px;border-radius:50%;background:#e84393;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px}
.xh-review-name{font-size:15px;color:#fff;font-weight:600}
.xh-review-date{font-size:12px;color:#7a6b8a}
.xh-review-stars{color:#ffeaa7;font-size:14px;margin-bottom:8px;letter-spacing:2px}
.xh-review-card p{color:#b8a9c9;font-size:14px;line-height:1.6}

/* === 联系我们 === */
.xh-contact-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}
.xh-contact-info{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.xh-contact-item{background:#2d1f42;border-radius:10px;padding:20px;border:1px solid #3d2a5c}
.xh-contact-item strong{display:block;color:#e84393;font-size:14px;margin-bottom:6px}
.xh-contact-item span{color:#b8a9c9;font-size:14px}
.xh-contact-qr{display:flex;gap:20px;justify-content:center;align-items:flex-start}
.xh-contact-qr figure{text-align:center}
.xh-contact-qr figure img{width:140px;height:140px;border-radius:8px;border:2px solid #3d2a5c}
.xh-contact-qr figure figcaption{color:#b8a9c9;font-size:13px;margin-top:8px}

/* === 社交分享 === */
.xh-share-bar{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;padding:30px 0}
.xh-share-btn{padding:10px 22px;border-radius:8px;font-size:14px;font-weight:600;color:#fff;transition:opacity .25s;cursor:pointer;border:none}
.xh-share-btn:hover{opacity:.8}
.xh-share-wechat{background:#07c160}
.xh-share-weibo{background:#e6162d}
.xh-share-douyin{background:#161823}
.xh-share-bilibili{background:#00a1d6}

/* === 页脚 === */
.xh-footer{background:#130c1e;border-top:2px solid #2d1f42;padding:50px 20px 0}
.xh-footer-grid{max-width:1340px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding-bottom:40px;border-bottom:1px solid #2d1f42}
.xh-footer-brand h3{font-size:22px;color:#e84393;margin-bottom:10px}
.xh-footer-brand p{color:#7a6b8a;font-size:13px;line-height:1.6;margin-bottom:16px}
.xh-footer-col h4{font-size:16px;color:#fff;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e84393;display:inline-block}
.xh-footer-col a{display:block;color:#7a6b8a;font-size:13px;padding:4px 0;transition:color .25s}
.xh-footer-col a:hover{color:#e84393}
.xh-footer-bottom{max-width:1340px;margin:0 auto;padding:20px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.xh-footer-bottom p{color:#5a4d6a;font-size:13px}
.xh-footer-bottom .xh-update-time{color:#7a6b8a;font-size:12px}

/* === 面包屑 === */
.xh-breadcrumb{padding:14px 20px;background:#231535;border-bottom:1px solid #2d1f42}
.xh-breadcrumb-inner{max-width:1340px;margin:0 auto;font-size:13px;color:#7a6b8a}
.xh-breadcrumb-inner a{color:#b8a9c9}
.xh-breadcrumb-inner a:hover{color:#e84393}
.xh-breadcrumb-inner span{margin:0 6px;color:#5a4d6a}

/* === 内页通用 === */
.xh-page-hero{padding:50px 20px;text-align:center;background:linear-gradient(135deg,#231535 0%,#1a1025 100%);border-bottom:1px solid #3d2a5c}
.xh-page-hero h1{font-size:36px;margin-bottom:10px}
.xh-page-hero h1 em{font-style:normal;color:#e84393}
.xh-page-hero p{color:#b8a9c9;font-size:15px}
.xh-page-content{padding:50px 20px}
.xh-page-content .xh-container{max-width:1100px}

/* === 响应式 === */
@media(max-width:1024px){
  .xh-vgrid{grid-template-columns:repeat(3,1fr)}
  .xh-shorts-grid{grid-template-columns:repeat(3,1fr)}
  .xh-ai-grid{grid-template-columns:repeat(2,1fr)}
  .xh-expert-grid{grid-template-columns:repeat(2,1fr)}
  .xh-footer-grid{grid-template-columns:1fr 1fr}
  .xh-comm-grid{grid-template-columns:repeat(2,1fr)}
  .xh-howto-steps{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .xh-topbar-inner{height:56px}
  .xh-nav{display:none;position:absolute;top:56px;left:0;right:0;background:#231535;flex-direction:column;padding:10px;border-bottom:2px solid #e84393;z-index:998}
  .xh-nav.open{display:flex}
  .xh-menu-btn{display:block}
  .xh-hero{height:380px}
  .xh-hero-content h1{font-size:28px}
  .xh-hero-sub{font-size:15px}
  .xh-vgrid{grid-template-columns:repeat(2,1fr)}
  .xh-shorts-grid{grid-template-columns:repeat(2,1fr)}
  .xh-ai-grid{grid-template-columns:1fr}
  .xh-expert-grid{grid-template-columns:1fr}
  .xh-reviews-grid{grid-template-columns:1fr}
  .xh-contact-grid{grid-template-columns:1fr}
  .xh-footer-grid{grid-template-columns:1fr}
  .xh-section{padding:40px 16px}
  .xh-section-head h2{font-size:24px}
  .xh-comm-grid{grid-template-columns:1fr}
  .xh-howto-steps{grid-template-columns:1fr}
  .xh-logo-text{font-size:18px}
}
@media(max-width:480px){
  .xh-vgrid{grid-template-columns:1fr}
  .xh-shorts-grid{grid-template-columns:repeat(2,1fr)}
  .xh-hero{height:300px}
  .xh-hero-content h1{font-size:22px}
  .xh-btn-primary,.xh-btn-outline{padding:10px 24px;font-size:14px}
}
