/* ============================================
   麻豆 游戏解说主题 - 原创样式表
   域名: wanshuanpl.cn
   配色: 金铲铲福星风格 橙金+深紫
   ============================================ */

/* === 基础重置 === */
*,*::before,*::after{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;color:#F0E6D3;background:#0D0B1E;line-height:1.7;overflow-x:hidden}
a{color:#FFD700;text-decoration:none;transition:color .3s}
a:hover{color:#FF6B35}
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}

/* === 顶部导航 === */
.site-header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(13,11,30,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,215,0,.15);transition:all .3s}
.site-header.scrolled{background:rgba(13,11,30,.98);box-shadow:0 2px 20px rgba(255,107,53,.2)}
.header-inner{max-width:1280px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;height:68px}
.logo-wrap{display:flex;align-items:center;gap:10px}
.logo-wrap img{height:42px;width:auto}
.logo-text{font-size:1.3rem;font-weight:800;background:linear-gradient(135deg,#FF6B35,#FFD700);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.main-nav{display:flex;align-items:center;gap:6px}
.main-nav a{padding:8px 14px;border-radius:8px;font-size:.9rem;font-weight:500;color:#F0E6D3;transition:all .3s}
.main-nav a:hover,.main-nav a.active{background:linear-gradient(135deg,#FF6B35,#FFD700);color:#0D0B1E;font-weight:700}
.nav-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.nav-toggle span{width:24px;height:2px;background:#FFD700;border-radius:2px;transition:all .3s}

/* === 搜索框 === */
.search-bar{background:linear-gradient(135deg,rgba(255,107,53,.08),rgba(255,215,0,.08));padding:14px 0;border-bottom:1px solid rgba(255,215,0,.1)}
.search-inner{max-width:680px;margin:0 auto;padding:0 20px;display:flex;gap:10px}
.search-inner input{flex:1;padding:10px 18px;border:2px solid rgba(255,215,0,.3);border-radius:25px;background:rgba(27,10,60,.6);color:#F0E6D3;font-size:.95rem;outline:none;transition:border-color .3s}
.search-inner input:focus{border-color:#FFD700}
.search-inner input::placeholder{color:rgba(240,230,211,.4)}
.search-inner button{padding:10px 24px;border:none;border-radius:25px;background:linear-gradient(135deg,#FF6B35,#FFD700);color:#0D0B1E;font-weight:700;cursor:pointer;font-size:.95rem;transition:transform .2s}
.search-inner button:hover{transform:scale(1.05)}

/* === Hero Banner === */
.hero-section{position:relative;min-height:520px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-top:68px}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.45)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,11,30,.3) 0%,rgba(13,11,30,.85) 100%)}
.hero-content{position:relative;z-index:2;text-align:center;padding:40px 20px;max-width:800px}
.hero-content h1{font-size:2.8rem;margin-bottom:16px;background:linear-gradient(135deg,#FF6B35,#FFD700);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-content p{font-size:1.15rem;color:rgba(240,230,211,.85);margin-bottom:24px;line-height:1.8}
.hero-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}
.hero-tags span{padding:6px 16px;border-radius:20px;font-size:.85rem;background:rgba(255,215,0,.12);border:1px solid rgba(255,215,0,.25);color:#FFD700}

/* === 通用容器 === */
.container{max-width:1280px;margin:0 auto;padding:0 20px}
.section{padding:60px 0}
.section-title{text-align:center;margin-bottom:40px}
.section-title h2{font-size:2rem;margin-bottom:10px;background:linear-gradient(135deg,#FF6B35,#FFD700);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.section-title p{color:rgba(240,230,211,.6);font-size:1rem}

/* === 视频卡片网格 === */
.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.video-card{position:relative;border-radius:14px;overflow:hidden;background:#1B0A3C;border:1px solid rgba(255,215,0,.1);transition:all .3s;cursor:pointer}
.video-card:hover{transform:translateY(-6px);border-color:rgba(255,215,0,.4);box-shadow:0 12px 30px rgba(255,107,53,.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 .4s}
.video-card:hover .video-thumb img{transform:scale(1.08)}
.play-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;background:rgba(13,11,30,.5)}
.video-card:hover .play-btn{opacity:1}
.play-btn svg{width:56px;height:56px;filter:drop-shadow(0 2px 8px rgba(0,0,0,.5))}
.video-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;padding:2px 8px;border-radius:4px;font-size:.75rem}
.video-info{padding:14px}
.video-info h3{font-size:.95rem;margin-bottom:6px;color:#F0E6D3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-meta{display:flex;gap:12px;font-size:.8rem;color:rgba(240,230,211,.5)}
.video-meta span{display:flex;align-items:center;gap:4px}

/* === 服务/模块卡片 === */
.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.module-card{padding:30px;border-radius:16px;background:linear-gradient(145deg,rgba(27,10,60,.8),rgba(13,11,30,.9));border:1px solid rgba(255,215,0,.1);transition:all .3s;text-align:center}
.module-card:hover{border-color:rgba(255,215,0,.35);transform:translateY(-4px);box-shadow:0 8px 24px rgba(255,107,53,.15)}
.module-icon{width:64px;height:64px;margin:0 auto 16px;border-radius:16px;background:linear-gradient(135deg,rgba(255,107,53,.2),rgba(255,215,0,.2));display:flex;align-items:center;justify-content:center;font-size:1.8rem}
.module-card h3{font-size:1.1rem;margin-bottom:10px;color:#FFD700}
.module-card p{font-size:.9rem;color:rgba(240,230,211,.65);line-height:1.6}

/* === 专家展示 === */
.expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.expert-card{text-align:center;padding:28px 20px;border-radius:16px;background:linear-gradient(145deg,rgba(27,10,60,.7),rgba(13,11,30,.8));border:1px solid rgba(255,215,0,.1);transition:all .3s}
.expert-card:hover{border-color:rgba(255,215,0,.3);box-shadow:0 8px 20px rgba(255,107,53,.15)}
.expert-avatar{width:100px;height:100px;border-radius:50%;margin:0 auto 14px;border:3px solid rgba(255,215,0,.3);overflow:hidden}
.expert-avatar img{width:100%;height:100%;object-fit:cover}
.expert-card h4{font-size:1rem;color:#FFD700;margin-bottom:4px}
.expert-card .role{font-size:.85rem;color:rgba(240,230,211,.5);margin-bottom:10px}
.expert-card p{font-size:.85rem;color:rgba(240,230,211,.6);line-height:1.5}
.expert-links{margin-top:12px;display:flex;justify-content:center;gap:8px}
.expert-links a{padding:5px 14px;border-radius:20px;font-size:.8rem;border:1px solid rgba(255,215,0,.3);color:#FFD700;transition:all .3s}
.expert-links a:hover{background:linear-gradient(135deg,#FF6B35,#FFD700);color:#0D0B1E;border-color:transparent}

/* === FAQ === */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{margin-bottom:12px;border:1px solid rgba(255,215,0,.12);border-radius:12px;overflow:hidden;background:rgba(27,10,60,.4)}
.faq-q{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#F0E6D3;transition:background .3s}
.faq-q:hover{background:rgba(255,215,0,.06)}
.faq-q::after{content:'+';font-size:1.4rem;color:#FFD700;transition:transform .3s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;padding:0 20px}
.faq-item.open .faq-a{max-height:300px;padding:0 20px 16px}
.faq-a p{color:rgba(240,230,211,.7);font-size:.9rem;line-height:1.7}

/* === 用户评论 === */
.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.review-card{padding:24px;border-radius:14px;background:rgba(27,10,60,.5);border:1px solid rgba(255,215,0,.1)}
.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,#FF6B35,#FFD700);display:flex;align-items:center;justify-content:center;font-weight:700;color:#0D0B1E;font-size:1.1rem}
.review-name{font-weight:600;color:#F0E6D3}
.review-date{font-size:.8rem;color:rgba(240,230,211,.4)}
.review-stars{color:#FFD700;margin-bottom:8px;font-size:.9rem}
.review-text{font-size:.9rem;color:rgba(240,230,211,.7);line-height:1.7}

/* === How-To === */
.howto-steps{max-width:700px;margin:0 auto}
.howto-step{display:flex;gap:20px;margin-bottom:28px;align-items:flex-start}
.step-num{flex-shrink:0;width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#FF6B35,#FFD700);display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:800;color:#0D0B1E}
.step-content h4{font-size:1rem;color:#FFD700;margin-bottom:4px}
.step-content p{font-size:.9rem;color:rgba(240,230,211,.65)}

/* === 合作品牌墙 === */
.brand-wall{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;padding:20px 0}
.brand-item{width:140px;height:70px;border-radius:10px;background:rgba(27,10,60,.6);border:1px solid rgba(255,215,0,.1);display:flex;align-items:center;justify-content:center;font-weight:600;color:rgba(240,230,211,.5);font-size:.85rem;transition:all .3s}
.brand-item:hover{border-color:rgba(255,215,0,.3);color:#FFD700}

/* === 联系信息 === */
.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;align-items:start}
.contact-info{padding:30px;border-radius:16px;background:rgba(27,10,60,.5);border:1px solid rgba(255,215,0,.1)}
.contact-info h3{font-size:1.2rem;color:#FFD700;margin-bottom:16px}
.contact-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,215,0,.06)}
.contact-item:last-child{border-bottom:none}
.contact-icon{width:36px;height:36px;border-radius:10px;background:rgba(255,215,0,.1);display:flex;align-items:center;justify-content:center;font-size:1rem}
.qr-section{display:flex;gap:20px;justify-content:center}
.qr-item{text-align:center}
.qr-item img{width:150px;height:150px;border-radius:12px;border:2px solid rgba(255,215,0,.2);margin-bottom:8px}
.qr-item p{font-size:.85rem;color:rgba(240,230,211,.6)}

/* === 社交分享 === */
.share-bar{display:flex;justify-content:center;gap:12px;padding:20px 0}
.share-btn{padding:8px 20px;border-radius:25px;font-size:.85rem;font-weight:600;border:1px solid rgba(255,215,0,.2);color:#FFD700;transition:all .3s;cursor:pointer;background:transparent}
.share-btn:hover{background:linear-gradient(135deg,#FF6B35,#FFD700);color:#0D0B1E;border-color:transparent}

/* === 面包屑 === */
.breadcrumb{padding:14px 0;font-size:.85rem;color:rgba(240,230,211,.5)}
.breadcrumb a{color:#FFD700}
.breadcrumb span{margin:0 6px}

/* === 页脚 === */
.site-footer{background:linear-gradient(180deg,rgba(27,10,60,.6),rgba(13,11,30,1));border-top:1px solid rgba(255,215,0,.1);padding:40px 0 20px}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-bottom:30px}
.footer-col h4{font-size:1rem;color:#FFD700;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid rgba(255,215,0,.2)}
.footer-col a{display:block;padding:4px 0;font-size:.88rem;color:rgba(240,230,211,.55);transition:color .3s}
.footer-col a:hover{color:#FFD700}
.footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer-logo img{height:36px}
.footer-desc{font-size:.85rem;color:rgba(240,230,211,.5);line-height:1.6;margin-bottom:12px}
.footer-bottom{text-align:center;padding-top:20px;border-top:1px solid rgba(255,215,0,.08);font-size:.82rem;color:rgba(240,230,211,.35)}
.footer-bottom a{color:rgba(255,215,0,.5)}

/* === 内页通用 === */
.page-hero{padding:100px 0 40px;text-align:center;background:linear-gradient(180deg,rgba(27,10,60,.5),rgba(13,11,30,.9))}
.page-hero h1{font-size:2.2rem;background:linear-gradient(135deg,#FF6B35,#FFD700);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:10px}
.page-hero p{color:rgba(240,230,211,.6);font-size:1rem}
.page-content{padding:40px 0 60px}

/* === 分隔线 === */
.divider{height:1px;background:linear-gradient(90deg,transparent,rgba(255,215,0,.2),transparent);margin:0 auto;max-width:600px}

/* === 懒加载占位 === */
.lazy-placeholder{background:rgba(27,10,60,.5);animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:.6}50%{opacity:.3}}

/* === 响应式 === */
@media(max-width:1024px){
  .video-grid{grid-template-columns:repeat(3,1fr)}
  .expert-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .header-inner{height:56px}
  .logo-wrap img{height:32px}
  .logo-text{font-size:1.1rem}
  .main-nav{position:fixed;top:56px;left:0;width:100%;background:rgba(13,11,30,.98);flex-direction:column;padding:20px;gap:4px;transform:translateY(-120%);transition:transform .3s;border-bottom:1px solid rgba(255,215,0,.15)}
  .main-nav.open{transform:translateY(0)}
  .main-nav a{width:100%;text-align:center;padding:12px}
  .nav-toggle{display:flex}
  .hero-section{min-height:400px}
  .hero-content h1{font-size:1.8rem}
  .video-grid{grid-template-columns:repeat(2,1fr)}
  .module-grid{grid-template-columns:1fr}
  .expert-grid{grid-template-columns:1fr}
  .review-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .section{padding:40px 0}
  .section-title h2{font-size:1.5rem}
  .qr-section{flex-direction:column;align-items:center}
}
@media(max-width:480px){
  .video-grid{grid-template-columns:1fr}
  .hero-content h1{font-size:1.5rem}
  .search-inner{flex-direction:column}
  .search-inner button{width:100%}
}
