/* ============================================
   大奶 - 青春影视传媒创作社区 原创样式表
   配色方案：樱花校园风
   主色#E8567F 辅色#6C5CE7 强调#FF8A5C
   ============================================ */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;color:#3A2D4F;background:#FFF8FA;line-height:1.7}
a{color:#E8567F;text-decoration:none;transition:color .3s}
a:hover{color:#6C5CE7}
img{max-width:100%;height:auto;display:block}
.jammer{position:absolute;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none;z-index:-9999}

/* 容器 */
.xh-container{max-width:1200px;margin:0 auto;padding:0 20px}
.xh-section{padding:60px 0}
.xh-section-alt{padding:60px 0;background:#F5F0F8}

/* 头部导航 */
.xh-header{background:linear-gradient(135deg,#2D1B3D 0%,#4A2D6B 100%);position:sticky;top:0;z-index:1000;box-shadow:0 2px 20px rgba(45,27,61,.3)}
.xh-header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;max-width:1200px;margin:0 auto}
.xh-logo{display:flex;align-items:center;gap:10px}
.xh-logo img{height:42px;width:auto;border-radius:8px}
.xh-logo-text{color:#fff;font-size:22px;font-weight:700;letter-spacing:1px}
.xh-nav{display:flex;gap:6px;align-items:center}
.xh-nav a{color:rgba(255,255,255,.85);padding:8px 16px;border-radius:20px;font-size:15px;transition:all .3s}
.xh-nav a:hover,.xh-nav a.active{background:rgba(232,86,127,.4);color:#fff}

/* 搜索框 */
.xh-search-bar{background:linear-gradient(90deg,#E8567F,#6C5CE7);padding:14px 0}
.xh-search-wrap{max-width:600px;margin:0 auto;display:flex;gap:0;border-radius:25px;overflow:hidden;box-shadow:0 4px 15px rgba(108,92,231,.3)}
.xh-search-wrap input{flex:1;border:none;padding:12px 20px;font-size:15px;outline:none;background:#fff;color:#3A2D4F}
.xh-search-wrap input::placeholder{color:#bbb}
.xh-search-wrap button{background:#FF8A5C;color:#fff;border:none;padding:12px 28px;font-size:15px;cursor:pointer;font-weight:600;transition:background .3s}
.xh-search-wrap button:hover{background:#e07040}

/* Hero Banner */
.xh-hero{position:relative;height:520px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.xh-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(45,27,61,.5) 0%,rgba(232,86,127,.3) 100%)}
.xh-hero-content{position:relative;z-index:2;color:#fff;padding:0 20px}
.xh-hero h1{font-size:48px;font-weight:800;margin-bottom:16px;text-shadow:0 3px 15px rgba(0,0,0,.4);letter-spacing:2px}
.xh-hero h2{font-size:22px;font-weight:400;opacity:.9;margin-bottom:24px;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.xh-hero-btn{display:inline-block;background:linear-gradient(135deg,#E8567F,#FF8A5C);color:#fff;padding:14px 36px;border-radius:30px;font-size:17px;font-weight:600;box-shadow:0 4px 20px rgba(232,86,127,.4);transition:transform .3s,box-shadow .3s}
.xh-hero-btn:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(232,86,127,.5);color:#fff}

/* 区块标题 */
.xh-title{text-align:center;margin-bottom:40px}
.xh-title h2{font-size:32px;font-weight:700;color:#2D1B3D;margin-bottom:10px}
.xh-title h3{font-size:24px;font-weight:700;color:#2D1B3D;margin-bottom:8px}
.xh-title p{font-size:16px;color:#7B6E8E;max-width:650px;margin:0 auto}
.xh-title-line{width:60px;height:4px;background:linear-gradient(90deg,#E8567F,#6C5CE7);margin:12px auto 0;border-radius:2px}

/* 视频卡片网格 */
.xh-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xh-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.xh-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}

/* 传媒视频卡片 */
.xh-video-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 20px rgba(45,27,61,.08);transition:transform .3s,box-shadow .3s;cursor:pointer}
.xh-video-card:hover{transform:translateY(-6px);box-shadow:0 12px 35px rgba(232,86,127,.15)}
.xh-video-thumb{position:relative;padding-top:56.25%;background-size:cover;background-position:center}
.xh-video-thumb .xh-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:60px;height:60px;background:rgba(232,86,127,.85);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .3s,background .3s}
.xh-video-card:hover .xh-play-btn{transform:translate(-50%,-50%) scale(1)}
.xh-play-btn::after{content:'';border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #fff;margin-left:3px}
.xh-video-meta{padding:14px 16px}
.xh-video-meta h4{font-size:15px;font-weight:600;color:#2D1B3D;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xh-video-stats{display:flex;gap:12px;font-size:12px;color:#9B8FB0}
.xh-video-stats span{display:flex;align-items:center;gap:3px}
.xh-tag{display:inline-block;background:linear-gradient(135deg,#E8567F20,#6C5CE720);color:#E8567F;padding:3px 10px;border-radius:12px;font-size:12px;margin-top:6px}

/* AI赋能卡片 */
.xh-ai-card{background:linear-gradient(135deg,#2D1B3D,#4A2D6B);border-radius:16px;padding:32px 24px;color:#fff;text-align:center;transition:transform .3s}
.xh-ai-card:hover{transform:translateY(-5px)}
.xh-ai-card .xh-ai-icon{width:64px;height:64px;background:linear-gradient(135deg,#E8567F,#FF8A5C);border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:28px}
.xh-ai-card h4{font-size:18px;margin-bottom:10px;font-weight:600}
.xh-ai-card p{font-size:14px;opacity:.8;line-height:1.6}

/* 社区功能 */
.xh-community-card{background:#fff;border-radius:14px;padding:28px 20px;text-align:center;box-shadow:0 4px 15px rgba(45,27,61,.06);transition:all .3s;border:2px solid transparent}
.xh-community-card:hover{border-color:#E8567F;transform:translateY(-4px)}
.xh-community-icon{width:56px;height:56px;background:linear-gradient(135deg,#E8567F20,#6C5CE720);border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:24px}
.xh-community-card h4{font-size:16px;font-weight:600;color:#2D1B3D;margin-bottom:8px}
.xh-community-card p{font-size:13px;color:#7B6E8E;line-height:1.5}

/* 专家卡片 */
.xh-expert-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(45,27,61,.08);text-align:center;transition:transform .3s}
.xh-expert-card:hover{transform:translateY(-5px)}
.xh-expert-card img{width:100%;height:220px;object-fit:cover}
.xh-expert-info{padding:20px 16px}
.xh-expert-info h4{font-size:17px;font-weight:700;color:#2D1B3D;margin-bottom:4px}
.xh-expert-info .xh-expert-role{font-size:13px;color:#E8567F;margin-bottom:8px}
.xh-expert-info p{font-size:13px;color:#7B6E8E;line-height:1.5;margin-bottom:12px}
.xh-expert-btns{display:flex;gap:8px;justify-content:center}
.xh-btn-sm{padding:6px 16px;border-radius:16px;font-size:13px;font-weight:500;transition:all .3s;display:inline-block}
.xh-btn-primary{background:#E8567F;color:#fff}
.xh-btn-primary:hover{background:#d04570;color:#fff}
.xh-btn-outline{border:1px solid #E8567F;color:#E8567F}
.xh-btn-outline:hover{background:#E8567F;color:#fff}

/* 品牌墙 */
.xh-brand-wall{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;padding:20px 0}
.xh-brand-item{background:#fff;border-radius:12px;padding:16px 28px;box-shadow:0 2px 10px rgba(45,27,61,.06);font-size:16px;font-weight:600;color:#4A2D6B;transition:all .3s}
.xh-brand-item:hover{box-shadow:0 6px 20px rgba(232,86,127,.15);transform:translateY(-2px)}

/* How-To指南 */
.xh-howto{display:flex;gap:30px;align-items:flex-start;margin-top:30px}
.xh-howto-step{flex:1;text-align:center;position:relative}
.xh-howto-num{width:48px;height:48px;background:linear-gradient(135deg,#E8567F,#6C5CE7);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;margin:0 auto 12px}
.xh-howto-step h5{font-size:15px;font-weight:600;color:#2D1B3D;margin-bottom:6px}
.xh-howto-step p{font-size:13px;color:#7B6E8E}

/* 用户评论 */
.xh-review-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 4px 15px rgba(45,27,61,.06)}
.xh-review-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.xh-review-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#E8567F,#6C5CE7);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px}
.xh-review-name{font-weight:600;color:#2D1B3D;font-size:15px}
.xh-review-date{font-size:12px;color:#9B8FB0}
.xh-review-stars{color:#FF8A5C;font-size:14px;margin-bottom:8px}
.xh-review-card p{font-size:14px;color:#5A4D6E;line-height:1.6}

/* FAQ */
.xh-faq-item{background:#fff;border-radius:12px;margin-bottom:12px;overflow:hidden;box-shadow:0 2px 10px rgba(45,27,61,.05)}
.xh-faq-q{padding:18px 24px;font-weight:600;color:#2D1B3D;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .3s}
.xh-faq-q:hover{background:#F5F0F8}
.xh-faq-q::after{content:'+';font-size:22px;color:#E8567F;font-weight:300;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:#5A4D6E;font-size:14px;line-height:1.7}
.xh-faq-item.open .xh-faq-a{max-height:300px;padding:0 24px 18px}

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

/* 页脚 */
.xh-footer{background:linear-gradient(135deg,#2D1B3D 0%,#1A0F26 100%);color:rgba(255,255,255,.7);padding:50px 0 0}
.xh-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;margin-bottom:40px}
.xh-footer h5{color:#fff;font-size:16px;font-weight:600;margin-bottom:16px}
.xh-footer p,.xh-footer li{font-size:14px;line-height:1.8}
.xh-footer ul{list-style:none}
.xh-footer a{color:rgba(255,255,255,.7);transition:color .3s}
.xh-footer a:hover{color:#E8567F}
.xh-footer-qr{display:flex;gap:16px;margin-top:12px}
.xh-footer-qr div{text-align:center}
.xh-footer-qr img{width:100px;height:100px;border-radius:8px;background:#fff;padding:4px}
.xh-footer-qr span{display:block;font-size:12px;margin-top:4px;color:rgba(255,255,255,.5)}
.xh-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;text-align:center;font-size:13px}

/* 面包屑 */
.xh-breadcrumb{padding:14px 0;font-size:14px;color:#7B6E8E}
.xh-breadcrumb a{color:#E8567F}
.xh-breadcrumb span{margin:0 6px;color:#bbb}

/* 内页Banner */
.xh-page-banner{background:linear-gradient(135deg,#2D1B3D,#6C5CE7);padding:50px 0;text-align:center;color:#fff}
.xh-page-banner h1{font-size:36px;font-weight:700;margin-bottom:10px}
.xh-page-banner p{font-size:16px;opacity:.85}

/* 响应式 */
@media(max-width:992px){
.xh-grid-3{grid-template-columns:repeat(2,1fr)}
.xh-grid-4{grid-template-columns:repeat(2,1fr)}
.xh-footer-grid{grid-template-columns:1fr 1fr}
.xh-howto{flex-wrap:wrap}
.xh-howto-step{min-width:45%}
}
@media(max-width:768px){
.xh-header-inner{flex-direction:column;gap:10px}
.xh-nav{flex-wrap:wrap;justify-content:center}
.xh-hero{height:380px}
.xh-hero h1{font-size:30px}
.xh-hero h2{font-size:16px}
.xh-grid-3,.xh-grid-4,.xh-grid-2{grid-template-columns:1fr}
.xh-footer-grid{grid-template-columns:1fr}
.xh-section{padding:40px 0}
.xh-title h2{font-size:24px}
.xh-expert-card img{height:160px}
}
@media(max-width:480px){
.xh-hero{height:300px}
.xh-hero h1{font-size:24px}
.xh-nav a{padding:6px 10px;font-size:13px}
.xh-search-wrap{margin:0 10px}
}
