/* 熟女人妻 - 影视传媒与视频社区 全站样式表 */
/* ywevk7.cn */

/* ========== 基础重置 ========== */
*,*::before,*::after{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","WenQuanYi Micro Hei",sans-serif;color:#2d3436;background:#fef0f5;line-height:1.7}
a{color:#e84393;text-decoration:none;transition:color .3s}
a:hover{color:#b8336a}
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,#e84393 0%,#fd79a8 50%,#ff6b9d 100%);position:sticky;top:0;z-index:1000;box-shadow:0 2px 20px rgba(232,67,147,.3)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;max-width:1200px;margin:0 auto}
.logo-wrap{display:flex;align-items:center;gap:10px}
.logo-wrap img{height:42px;width:auto;border-radius:8px}
.logo-wrap .brand-name{color:#fff;font-size:1.4rem;font-weight:700;letter-spacing:1px}
.main-nav{display:flex;gap:6px}
.main-nav a{color:rgba(255,255,255,.9);padding:8px 16px;border-radius:20px;font-size:.9rem;font-weight:500;transition:all .3s}
.main-nav a:hover,.main-nav a.active{background:rgba(255,255,255,.25);color:#fff}

/* ========== 搜索框 ========== */
.search-bar{background:rgba(255,255,255,.95);padding:14px 0;border-bottom:1px solid #f0d0e0}
.search-bar .container{display:flex;justify-content:center}
.search-form{display:flex;width:100%;max-width:600px;border-radius:25px;overflow:hidden;box-shadow:0 2px 12px rgba(232,67,147,.15)}
.search-form input{flex:1;padding:12px 24px;border:2px solid #fd79a8;border-right:none;border-radius:25px 0 0 25px;font-size:.95rem;outline:none;transition:border-color .3s}
.search-form input:focus{border-color:#e84393}
.search-form button{padding:12px 28px;background:linear-gradient(135deg,#e84393,#fd79a8);color:#fff;border:none;cursor:pointer;font-size:.95rem;font-weight:600;transition:opacity .3s}
.search-form button:hover{opacity:.9}

/* ========== Banner ========== */
.hero-banner{position:relative;height:420px;overflow:hidden;background:#1a0a12}
.hero-banner img{width:100%;height:100%;object-fit:cover;opacity:.7}
.banner-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(232,67,147,.3))}
.banner-overlay h1{color:#fff;font-size:2.6rem;font-weight:800;text-shadow:0 2px 20px rgba(0,0,0,.5);margin-bottom:12px}
.banner-overlay h2{color:rgba(255,255,255,.92);font-size:1.2rem;font-weight:400;text-shadow:0 1px 10px rgba(0,0,0,.4);max-width:700px}

/* ========== 通用区块 ========== */
.section{padding:60px 0}
.section:nth-child(even){background:#fff}
.section-title{text-align:center;margin-bottom:40px}
.section-title h2{font-size:1.8rem;color:#2d3436;margin-bottom:8px;position:relative;display:inline-block}
.section-title h2::after{content:"";display:block;width:60px;height:3px;background:linear-gradient(90deg,#e84393,#fd79a8);margin:10px auto 0;border-radius:2px}
.section-title p{color:#636e72;font-size:1rem;margin-top:8px}

/* ========== 视频卡片网格 ========== */
.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.video-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.06);transition:transform .3s,box-shadow .3s;cursor:pointer}
.video-card:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(232,67,147,.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.05)}
.play-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;background:rgba(0,0,0,.3)}
.video-card:hover .play-btn{opacity:1}
.play-btn span{width:52px;height:52px;background:rgba(232,67,147,.9);border-radius:50%;display:flex;align-items:center;justify-content:center}
.play-btn span::after{content:"";border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #fff;margin-left:3px}
.video-info{padding:14px 16px}
.video-info h3{font-size:.95rem;color:#2d3436;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:12px;color:#b2bec3;font-size:.8rem}
.video-meta span{display:flex;align-items:center;gap:3px}
.video-tag{display:inline-block;background:#fef0f5;color:#e84393;padding:2px 8px;border-radius:10px;font-size:.75rem;margin-top:6px}

/* ========== 模块卡片 ========== */
.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.module-card{background:#fff;border-radius:14px;padding:30px 24px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:transform .3s,box-shadow .3s;border:1px solid #f8e8f0}
.module-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(232,67,147,.12)}
.module-icon{width:64px;height:64px;margin:0 auto 16px;background:linear-gradient(135deg,#fef0f5,#fce4ec);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:1.8rem}
.module-card h3{font-size:1.1rem;color:#2d3436;margin-bottom:8px}
.module-card p{color:#636e72;font-size:.9rem;line-height:1.6}

/* ========== 专家展示 ========== */
.expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.expert-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.06);text-align:center;transition:transform .3s}
.expert-card:hover{transform:translateY(-4px)}
.expert-card img{width:100%;aspect-ratio:1;object-fit:cover}
.expert-card .expert-info{padding:18px 16px}
.expert-card h4{font-size:1rem;color:#2d3436;margin-bottom:4px}
.expert-card .expert-title{color:#e84393;font-size:.85rem;margin-bottom:8px}
.expert-card p{color:#636e72;font-size:.82rem;line-height:1.5}
.expert-card .expert-btns{display:flex;gap:8px;justify-content:center;margin-top:12px}
.expert-card .expert-btns a{padding:6px 14px;border-radius:18px;font-size:.8rem;font-weight:500}
.btn-primary{background:linear-gradient(135deg,#e84393,#fd79a8);color:#fff!important}
.btn-outline{border:1px solid #e84393;color:#e84393!important}
.btn-outline:hover{background:#e84393;color:#fff!important}

/* ========== FAQ ========== */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{background:#fff;border-radius:10px;margin-bottom:12px;overflow:hidden;border:1px solid #f8e8f0}
.faq-question{padding:18px 24px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#2d3436;transition:background .3s}
.faq-question:hover{background:#fef0f5}
.faq-question .arrow{transition:transform .3s;color:#e84393;font-size:1.2rem}
.faq-item.active .faq-question .arrow{transform:rotate(180deg)}
.faq-answer{padding:0 24px;max-height:0;overflow:hidden;transition:max-height .4s ease,padding .4s ease;color:#636e72;line-height:1.7}
.faq-item.active .faq-answer{max-height:300px;padding:0 24px 18px}

/* ========== 用户评论 ========== */
.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.review-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.05);border:1px solid #f8e8f0}
.review-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.review-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#e84393,#fd79a8);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem}
.review-name{font-weight:600;color:#2d3436}
.review-date{color:#b2bec3;font-size:.8rem}
.review-stars{color:#f9ca24;margin-bottom:8px;font-size:.9rem}
.review-text{color:#636e72;font-size:.9rem;line-height:1.7}

/* ========== 联系我们 ========== */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.contact-card{background:#fff;border-radius:14px;padding:28px 24px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.05);border:1px solid #f8e8f0}
.contact-card h4{font-size:1.05rem;color:#2d3436;margin-bottom:12px}
.contact-card p{color:#636e72;font-size:.9rem;line-height:1.6;margin-bottom:4px}
.contact-card img{width:160px;height:160px;margin:12px auto 0;border-radius:8px;object-fit:cover}

/* ========== 社交分享 ========== */
.share-bar{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.share-btn{padding:10px 20px;border-radius:22px;color:#fff;font-size:.85rem;font-weight:500;cursor:pointer;transition:opacity .3s;border:none}
.share-btn:hover{opacity:.85}
.share-wechat{background:#07c160}
.share-weibo{background:#e6162d}
.share-douyin{background:#161823}
.share-bilibili{background:#00a1d6}

/* ========== 页脚 ========== */
.site-footer{background:linear-gradient(135deg,#2d3436,#1e272e);color:rgba(255,255,255,.7);padding:50px 0 0}
.footer-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;max-width:1200px;margin:0 auto;padding:0 20px}
.footer-col h4{color:#fff;font-size:1rem;margin-bottom:16px;position:relative;padding-bottom:10px}
.footer-col h4::after{content:"";position:absolute;bottom:0;left:0;width:30px;height:2px;background:#e84393}
.footer-col p,.footer-col a{color:rgba(255,255,255,.6);font-size:.88rem;line-height:1.8}
.footer-col a:hover{color:#fd79a8}
.footer-col img{width:120px;height:120px;border-radius:8px;margin-top:8px;object-fit:cover}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding:20px;text-align:center;font-size:.85rem;color:rgba(255,255,255,.5)}
.footer-bottom a{color:#fd79a8}

/* ========== How-To指南 ========== */
.howto-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}
.howto-step{text-align:center;padding:24px 16px;background:#fff;border-radius:12px;border:1px solid #f8e8f0}
.step-num{width:48px;height:48px;background:linear-gradient(135deg,#e84393,#fd79a8);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.3rem;font-weight:700;margin:0 auto 14px}
.howto-step h4{font-size:.95rem;color:#2d3436;margin-bottom:6px}
.howto-step p{color:#636e72;font-size:.85rem}

/* ========== 合作品牌 ========== */
.brand-wall{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-bottom:30px}
.brand-item{background:#fff;padding:16px 28px;border-radius:10px;border:1px solid #f0d0e0;font-size:.95rem;color:#636e72;font-weight:500;transition:all .3s}
.brand-item:hover{border-color:#e84393;color:#e84393;transform:translateY(-2px)}

/* ========== 面包屑 ========== */
.breadcrumb{padding:14px 0;font-size:.85rem;color:#b2bec3}
.breadcrumb a{color:#e84393}
.breadcrumb span{margin:0 6px;color:#dfe6e9}

/* ========== 内页通用 ========== */
.page-hero{background:linear-gradient(135deg,#e84393,#fd79a8);padding:50px 0;text-align:center;color:#fff}
.page-hero h1{font-size:2rem;font-weight:700;margin-bottom:8px}
.page-hero p{font-size:1rem;opacity:.9}
.page-content{padding:40px 0}
.content-article{max-width:900px;margin:0 auto;background:#fff;border-radius:14px;padding:40px;box-shadow:0 4px 16px rgba(0,0,0,.05)}
.content-article h2{font-size:1.4rem;color:#2d3436;margin:28px 0 14px;padding-bottom:8px;border-bottom:2px solid #fef0f5}
.content-article h3{font-size:1.15rem;color:#e84393;margin:20px 0 10px}
.content-article p{color:#636e72;margin-bottom:14px;line-height:1.8}
.content-article img{border-radius:10px;margin:16px 0}

/* ========== 移动端响应 ========== */
@media(max-width:968px){
.header-inner{flex-direction:column;gap:10px}
.main-nav{flex-wrap:wrap;justify-content:center}
.video-grid{grid-template-columns:repeat(2,1fr)}
.module-grid{grid-template-columns:repeat(2,1fr)}
.expert-grid{grid-template-columns:repeat(2,1fr)}
.contact-grid{grid-template-columns:1fr}
.footer-inner{grid-template-columns:repeat(2,1fr)}
.howto-steps{grid-template-columns:repeat(2,1fr)}
.hero-banner{height:300px}
.banner-overlay h1{font-size:1.8rem}
}
@media(max-width:640px){
.video-grid{grid-template-columns:1fr}
.module-grid{grid-template-columns:1fr}
.expert-grid{grid-template-columns:1fr}
.review-grid{grid-template-columns:1fr}
.footer-inner{grid-template-columns:1fr}
.howto-steps{grid-template-columns:1fr}
.hero-banner{height:240px}
.banner-overlay h1{font-size:1.4rem}
.banner-overlay h2{font-size:.95rem}
.main-nav a{padding:6px 12px;font-size:.82rem}
}

/* ========== 懒加载 ========== */
img[loading="lazy"]{opacity:0;transition:opacity .5s}
img[loading="lazy"].loaded,img[loading="lazy"][src]{opacity:1}

/* ========== 动画 ========== */
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.fade-in{animation:fadeInUp .6s ease forwards}
