/* ============================================
   芒果视频 - 原创样式表
   影视传媒+视频社区主题
   配色：深紫 #1a0a2e / 玫瑰粉 #e91e8c / 金色 #f0c040 / 青蓝 #00d4ff
   ============================================ */
*{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',sans-serif;background:#0d0618;color:#e8e0f0;line-height:1.7}
a{color:#e91e8c;text-decoration:none;transition:color .3s}
a:hover{color:#f0c040}
img{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{background:linear-gradient(135deg,#1a0a2e 0%,#2d1050 100%);border-bottom:2px solid #e91e8c;position:sticky;top:0;z-index:1000;backdrop-filter:blur(10px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;max-width:1200px;margin:0 auto}
.logo-wrap{display:flex;align-items:center;gap:10px}
.logo-wrap img{height:48px;width:auto;border-radius:6px}
.logo-wrap h1{font-size:1.4rem;color:#f0c040;font-weight:700;letter-spacing:1px}
.logo-wrap h1 span{color:#e91e8c}

/* Navigation */
.main-nav{display:flex;gap:0}
.main-nav a{padding:12px 16px;color:#c8b8e0;font-size:.9rem;font-weight:500;transition:all .3s;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a.active{color:#f0c040;border-bottom-color:#e91e8c;background:rgba(233,30,140,.08)}

/* Search Bar */
.search-bar{background:rgba(26,10,46,.9);padding:12px 0;border-bottom:1px solid rgba(233,30,140,.2)}
.search-bar .container{display:flex;justify-content:center}
.search-box{display:flex;max-width:600px;width:100%}
.search-box input{flex:1;padding:10px 18px;border:2px solid #3d2060;border-right:none;border-radius:25px 0 0 25px;background:#1a0a2e;color:#e8e0f0;font-size:.95rem;outline:none;transition:border-color .3s}
.search-box input:focus{border-color:#e91e8c}
.search-box button{padding:10px 24px;background:linear-gradient(135deg,#e91e8c,#c41070);color:#fff;border:none;border-radius:0 25px 25px 0;cursor:pointer;font-size:.95rem;transition:background .3s}
.search-box button:hover{background:linear-gradient(135deg,#f0c040,#d4a030)}

/* Hero Section */
.hero{position:relative;height:520px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.5)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,6,24,.3) 0%,rgba(13,6,24,.85) 100%)}
.hero-content{position:relative;z-index:2;text-align:center;padding:20px}
.hero-content h2{font-size:2.8rem;color:#f0c040;text-shadow:0 0 30px rgba(240,192,64,.4);margin-bottom:12px}
.hero-content p{font-size:1.15rem;color:#c8b8e0;max-width:650px;margin:0 auto 24px}
.hero-content .btn-group{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* Buttons */
.btn{display:inline-block;padding:12px 28px;border-radius:25px;font-weight:600;font-size:.95rem;transition:all .3s;cursor:pointer;border:none}
.btn-primary{background:linear-gradient(135deg,#e91e8c,#c41070);color:#fff;box-shadow:0 4px 20px rgba(233,30,140,.35)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 28px rgba(233,30,140,.5);color:#fff}
.btn-outline{border:2px solid #f0c040;color:#f0c040;background:transparent}
.btn-outline:hover{background:#f0c040;color:#1a0a2e}

/* Section */
.section{padding:60px 0}
.section-title{text-align:center;margin-bottom:40px}
.section-title h2{font-size:2rem;color:#f0c040;margin-bottom:8px}
.section-title h3{font-size:1.5rem;color:#e91e8c;margin-bottom:8px}
.section-title p{color:#a090b8;font-size:1rem}
.section-alt{background:linear-gradient(180deg,#130828 0%,#0d0618 100%)}

/* Video Card Grid */
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.video-card{background:#1a0a2e;border-radius:12px;overflow:hidden;border:1px solid #2d1050;transition:all .3s;cursor:pointer}
.video-card:hover{transform:translateY(-6px);border-color:#e91e8c;box-shadow:0 12px 40px rgba(233,30,140,.2)}
.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 .5s}
.video-card:hover .video-thumb img{transform:scale(1.08)}
.play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:64px;height:64px;background:rgba(233,30,140,.85);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .4s;z-index:3}
.play-btn::after{content:'';width:0;height:0;border-left:22px solid #fff;border-top:13px solid transparent;border-bottom:13px solid transparent;margin-left:4px}
.video-card:hover .play-btn{transform:translate(-50%,-50%) scale(1)}
.video-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.8);color:#fff;padding:2px 8px;border-radius:4px;font-size:.8rem;z-index:3}
.video-stats{position:absolute;bottom:8px;left:8px;display:flex;gap:10px;z-index:3}
.video-stats span{background:rgba(0,0,0,.7);color:#c8b8e0;padding:2px 8px;border-radius:4px;font-size:.75rem}
.video-info{padding:14px 16px}
.video-info h3{font-size:1rem;color:#e8e0f0;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-info .meta{display:flex;justify-content:space-between;color:#8070a0;font-size:.82rem}
.video-tag{display:inline-block;background:rgba(233,30,140,.15);color:#e91e8c;padding:2px 10px;border-radius:12px;font-size:.75rem;margin-top:6px}

/* Expert Cards */
.expert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.expert-card{background:linear-gradient(145deg,#1a0a2e,#2d1050);border-radius:12px;padding:24px;text-align:center;border:1px solid #3d2060;transition:all .3s}
.expert-card:hover{border-color:#f0c040;box-shadow:0 8px 30px rgba(240,192,64,.15)}
.expert-card img{width:100px;height:100px;border-radius:50%;margin:0 auto 16px;border:3px solid #e91e8c;object-fit:cover}
.expert-card h4{color:#f0c040;font-size:1.1rem;margin-bottom:4px}
.expert-card .role{color:#e91e8c;font-size:.85rem;margin-bottom:10px}
.expert-card p{color:#a090b8;font-size:.88rem;line-height:1.6}
.expert-card .btn{margin-top:12px;padding:8px 20px;font-size:.85rem}

/* FAQ */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{background:#1a0a2e;border:1px solid #2d1050;border-radius:10px;margin-bottom:12px;overflow:hidden}
.faq-q{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:#f0c040;font-weight:600;font-size:1rem;transition:background .3s}
.faq-q:hover{background:rgba(233,30,140,.08)}
.faq-q::after{content:'+';font-size:1.4rem;color:#e91e8c;transition:transform .3s}
.faq-item.active .faq-q::after{transform:rotate(45deg)}
.faq-a{padding:0 20px;max-height:0;overflow:hidden;transition:all .4s;color:#a090b8;font-size:.92rem;line-height:1.7}
.faq-item.active .faq-a{padding:0 20px 16px;max-height:500px}

/* Reviews */
.review-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.review-card{background:linear-gradient(145deg,#1a0a2e,#1f0d38);border-radius:12px;padding:20px;border:1px solid #2d1050}
.review-card .stars{color:#f0c040;font-size:1.1rem;margin-bottom:8px}
.review-card p{color:#c8b8e0;font-size:.9rem;line-height:1.6;margin-bottom:10px}
.review-card .reviewer{display:flex;align-items:center;gap:10px;color:#8070a0;font-size:.85rem}
.review-card .reviewer-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#e91e8c,#f0c040);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem}

/* Module Cards */
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.module-card{background:#1a0a2e;border-radius:12px;padding:24px;border:1px solid #2d1050;transition:all .3s;text-align:center}
.module-card:hover{border-color:#00d4ff;box-shadow:0 8px 30px rgba(0,212,255,.12)}
.module-card .icon{font-size:2.5rem;margin-bottom:12px}
.module-card h4{color:#00d4ff;font-size:1.05rem;margin-bottom:8px}
.module-card p{color:#a090b8;font-size:.88rem}

/* Brand Wall */
.brand-wall{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center}
.brand-wall .brand-item{background:#1a0a2e;border:1px solid #2d1050;border-radius:10px;padding:16px 28px;color:#c8b8e0;font-size:.95rem;font-weight:500;transition:all .3s}
.brand-wall .brand-item:hover{border-color:#f0c040;color:#f0c040}

/* Footer */
.site-footer{background:linear-gradient(180deg,#0d0618,#080310);border-top:2px solid #2d1050;padding:40px 0 0}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:30px;margin-bottom:30px}
.footer-col h4{color:#f0c040;font-size:1rem;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid #2d1050}
.footer-col p,.footer-col a{color:#8070a0;font-size:.88rem;line-height:1.8}
.footer-col a:hover{color:#e91e8c}
.footer-col img{max-width:120px;border-radius:8px;margin-top:8px}
.footer-bottom{border-top:1px solid #2d1050;padding:16px 0;text-align:center;color:#5a4a70;font-size:.82rem}
.footer-bottom a{color:#e91e8c}

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

/* Breadcrumb */
.breadcrumb{padding:12px 0;font-size:.85rem;color:#8070a0}
.breadcrumb a{color:#e91e8c}
.breadcrumb span{margin:0 6px;color:#5a4a70}

/* Video Player Page */
.video-player-wrap{background:#000;border-radius:12px;overflow:hidden;margin-bottom:24px}
.video-player-wrap video{width:100%;max-height:600px}
.video-detail{display:grid;grid-template-columns:2fr 1fr;gap:30px}
.video-main h2{font-size:1.5rem;color:#f0c040;margin-bottom:12px}
.video-main .desc{color:#a090b8;font-size:.92rem;line-height:1.7}
.video-sidebar h3{color:#e91e8c;font-size:1.1rem;margin-bottom:16px}

/* Noise tags hidden */
.grtag{position:absolute;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none}

/* Responsive */
@media(max-width:768px){
  .header-inner{flex-direction:column;gap:8px}
  .main-nav{flex-wrap:wrap;justify-content:center}
  .main-nav a{padding:8px 10px;font-size:.82rem}
  .hero{height:380px}
  .hero-content h2{font-size:1.8rem}
  .video-grid{grid-template-columns:1fr}
  .video-detail{grid-template-columns:1fr}
  .expert-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .section{padding:40px 0}
}
@media(max-width:480px){
  .hero{height:300px}
  .hero-content h2{font-size:1.4rem}
  .hero-content p{font-size:.9rem}
  .section-title h2{font-size:1.5rem}
  .video-grid{grid-template-columns:1fr}
}
