/* ========================================
   每日大赛 - 每日精选 赛出精彩 主样式表
   品牌：每日大赛 | 域名：3efr4g.cn
   ======================================== */

/* Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#333;background:#fff;line-height:1.8;overflow-x:hidden}
a{color:#0a9396;text-decoration:none;transition:color .3s}
a:hover{color:#005f73}
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.4;color:#1a1a2e}

/* Container */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ======== Header & Navigation ======== */
.site-header{background:#1a1a2e;position:sticky;top:0;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;max-width:1200px;margin:0 auto}
.site-logo{display:flex;align-items:center;gap:10px}
.site-logo img{height:42px;width:auto}
.site-logo span{color:#fff;font-size:1.3rem;font-weight:700;letter-spacing:1px}
.main-nav{display:flex;align-items:center;gap:0}
.main-nav a{color:#e0e0e0;padding:12px 16px;font-size:.95rem;transition:all .3s;border-bottom:3px solid transparent}
.main-nav a:hover,.main-nav a.active{color:#00d4aa;border-bottom-color:#00d4aa}
.nav-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer}

/* Search Bar */
.search-bar{background:#16213e;padding:10px 0}
.search-bar .container{display:flex;justify-content:center}
.search-box{display:flex;max-width:600px;width:100%;border-radius:25px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.search-box input{flex:1;padding:10px 20px;border:none;font-size:.95rem;outline:none;background:#fff;color:#333}
.search-box button{padding:10px 24px;background:#0a9396;color:#fff;border:none;cursor:pointer;font-size:.95rem;transition:background .3s}
.search-box button:hover{background:#005f73}

/* ======== Banner ======== */
.hero-banner{position:relative;height:520px;overflow:hidden;background:#1a1a2e}
.hero-banner img{width:100%;height:100%;object-fit:cover;opacity:.7}
.hero-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.6) 100%)}
.hero-overlay h1{color:#fff;font-size:2.8rem;margin-bottom:12px;text-shadow:2px 2px 8px rgba(0,0,0,.5)}
.hero-overlay p{color:#e0e0e0;font-size:1.15rem;max-width:700px;line-height:1.8;text-shadow:1px 1px 4px rgba(0,0,0,.4)}
.hero-overlay .hero-tags{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero-overlay .hero-tags span{background:rgba(10,147,150,.8);color:#fff;padding:6px 18px;border-radius:20px;font-size:.9rem}

/* ======== Section Common ======== */
.section{padding:60px 0}
.section-alt{background:#f8f9fa}
.section-dark{background:#1a1a2e;color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.section-title{text-align:center;margin-bottom:40px}
.section-title h2{font-size:2rem;color:#1a1a2e;margin-bottom:8px}
.section-title p{color:#666;font-size:1rem}
.section-dark .section-title h2{color:#00d4aa}
.section-dark .section-title p{color:#ccc}

/* ======== Video Cards ======== */
.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.video-card{position:relative;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.08);transition:transform .3s,box-shadow .3s;cursor:pointer}
.video-card:hover{transform:translateY(-6px);box-shadow:0 8px 30px rgba(0,0,0,.15)}
.video-thumb{position:relative;padding-top:56.25%;overflow:hidden;background:#000}
.video-thumb img{position:absolute;top:0;left: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;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;background:rgba(10,147,150,.85);border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}
.play-btn::after{content:"";display:block;width:0;height:0;border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #fff;margin-left:4px}
.video-card:hover .play-btn{opacity:1}
.video-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;padding:2px 8px;border-radius:4px;font-size:.8rem}
.video-info{padding:14px}
.video-info h4{font-size:.95rem;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-meta{display:flex;justify-content:space-between;color:#999;font-size:.8rem}
.video-meta span{display:flex;align-items:center;gap:4px}
.video-tag{display:inline-block;background:#e8f5e9;color:#2e7d32;padding:2px 8px;border-radius:10px;font-size:.75rem;margin-top:6px}

/* ======== Expert Cards ======== */
.expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.expert-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.08);text-align:center;padding:30px 20px;transition:transform .3s}
.expert-card:hover{transform:translateY(-4px)}
.expert-avatar{width:100px;height:100px;border-radius:50%;margin:0 auto 16px;background:#e0e0e0;overflow:hidden;border:3px solid #0a9396}
.expert-avatar img{width:100%;height:100%;object-fit:cover}
.expert-card h4{font-size:1.1rem;margin-bottom:4px}
.expert-card .role{color:#0a9396;font-size:.9rem;margin-bottom:10px}
.expert-card p{font-size:.85rem;color:#666;line-height:1.6;margin-bottom:14px}
.expert-card .btn-sm{display:inline-block;padding:6px 18px;background:#0a9396;color:#fff;border-radius:20px;font-size:.85rem;transition:background .3s}
.expert-card .btn-sm:hover{background:#005f73}

/* ======== FAQ ======== */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:12px;overflow:hidden}
.faq-question{padding:16px 20px;background:#f8f9fa;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:.95rem;transition:background .3s}
.faq-question:hover{background:#e8f5e9}
.faq-question::after{content:"+";font-size:1.3rem;color:#0a9396;transition:transform .3s}
.faq-item.active .faq-question::after{transform:rotate(45deg)}
.faq-answer{padding:0 20px;max-height:0;overflow:hidden;transition:max-height .4s ease,padding .4s ease}
.faq-item.active .faq-answer{max-height:300px;padding:16px 20px}
.faq-answer p{color:#555;font-size:.9rem;line-height:1.8}

/* ======== Reviews ======== */
.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.review-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.06);border-left:4px solid #0a9396}
.review-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.review-avatar{width:48px;height:48px;border-radius:50%;background:#e8f5e9;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:#0a9396;font-weight:700}
.review-name{font-weight:600;font-size:.95rem}
.review-date{color:#999;font-size:.8rem}
.review-stars{color:#f9a825;font-size:.9rem;margin-bottom:8px}
.review-card p{color:#555;font-size:.9rem;line-height:1.7}

/* ======== Category Modules ======== */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cat-card{position:relative;border-radius:12px;overflow:hidden;height:200px;cursor:pointer}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cat-card:hover img{transform:scale(1.1)}
.cat-overlay{position:absolute;bottom:0;left:0;right:0;padding:16px;background:linear-gradient(transparent,rgba(0,0,0,.7));color:#fff}
.cat-overlay h3{font-size:1.1rem;margin-bottom:4px}
.cat-overlay p{font-size:.8rem;opacity:.9}

/* ======== AI Section ======== */
.ai-features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ai-card{background:#fff;border-radius:12px;padding:30px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.06);transition:transform .3s}
.ai-card:hover{transform:translateY(-4px)}
.ai-icon{width:64px;height:64px;margin:0 auto 16px;background:linear-gradient(135deg,#0a9396,#00d4aa);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:1.8rem;color:#fff}
.ai-card h4{font-size:1.05rem;margin-bottom:8px}
.ai-card p{color:#666;font-size:.88rem;line-height:1.7}

/* ======== Community ======== */
.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.community-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.06);transition:transform .3s}
.community-card:hover{transform:translateY(-4px)}
.community-card .card-img{height:160px;overflow:hidden}
.community-card .card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.community-card:hover .card-img img{transform:scale(1.08)}
.community-card .card-body{padding:16px}
.community-card .card-body h4{font-size:1rem;margin-bottom:6px}
.community-card .card-body p{color:#666;font-size:.85rem;line-height:1.6}
.community-card .card-stats{display:flex;gap:16px;padding:0 16px 14px;color:#999;font-size:.8rem}

/* ======== Partner Logos ======== */
.partner-wall{display:flex;flex-wrap:wrap;justify-content:center;gap:30px;align-items:center}
.partner-wall .partner-item{width:120px;height:60px;background:#f0f0f0;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#666;transition:background .3s}
.partner-wall .partner-item:hover{background:#e0e0e0}

/* ======== How-To Guide ======== */
.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;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.step-num{width:48px;height:48px;background:#0a9396;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;margin-bottom:8px}
.howto-step p{color:#666;font-size:.85rem;line-height:1.6}

/* ======== Contact Section ======== */
.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
.contact-info{background:#fff;border-radius:12px;padding:30px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.contact-info h3{font-size:1.2rem;margin-bottom:16px;color:#1a1a2e;border-bottom:2px solid #0a9396;padding-bottom:8px;display:inline-block}
.contact-item{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.contact-icon{width:36px;height:36px;background:#e8f5e9;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#0a9396;font-size:1rem;flex-shrink:0}
.contact-item p{font-size:.9rem;color:#555;line-height:1.6}
.contact-item strong{color:#333}

/* ======== Share Buttons ======== */
.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 20px;border-radius:20px;color:#fff;font-size:.88rem;transition:opacity .3s;cursor:pointer}
.share-btn:hover{opacity:.85;color:#fff}
.share-wechat{background:#07c160}
.share-weibo{background:#e6162d}
.share-douyin{background:#161823}
.share-bilibili{background:#00a1d6}

/* ======== Footer ======== */
.site-footer{background:#1a1a2e;color:#ccc;padding:50px 0 0}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-bottom:40px}
.footer-col h4{color:#00d4aa;font-size:1rem;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:8px}
.footer-col p,.footer-col a{color:#aaa;font-size:.88rem;line-height:2}
.footer-col a:hover{color:#00d4aa}
.footer-col .footer-logo{margin-bottom:12px}
.footer-col .footer-logo img{height:36px}
.footer-qr{display:flex;gap:16px;margin-top:12px}
.footer-qr img{width:100px;height:100px;border-radius:8px;border:2px solid rgba(255,255,255,.1)}
.footer-qr-label{text-align:center;font-size:.75rem;color:#888;margin-top:4px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;text-align:center;font-size:.85rem;color:#888}
.footer-bottom a{color:#00d4aa}

/* ======== Breadcrumb ======== */
.breadcrumb{padding:12px 0;font-size:.88rem;color:#999}
.breadcrumb a{color:#0a9396}
.breadcrumb span{margin:0 6px;color:#ccc}

/* ======== Buttons ======== */
.btn-primary{display:inline-block;padding:12px 32px;background:#0a9396;color:#fff;border-radius:25px;font-size:1rem;transition:all .3s;border:none;cursor:pointer}
.btn-primary:hover{background:#005f73;color:#fff;transform:translateY(-2px)}
.btn-outline{display:inline-block;padding:10px 28px;border:2px solid #0a9396;color:#0a9396;border-radius:25px;font-size:.95rem;transition:all .3s}
.btn-outline:hover{background:#0a9396;color:#fff}

/* ======== Lazy Load Placeholder ======== */
.lazy{opacity:0;transition:opacity .5s}
.lazy.loaded{opacity:1}

/* ======== MCP Frontend Mock ======== */
.mcp-widget{background:#16213e;border-radius:8px;padding:16px;margin-top:20px;color:#ccc;font-size:.85rem}
.mcp-widget .mcp-header{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#00d4aa;font-weight:600}
.mcp-widget .mcp-status{display:flex;align-items:center;gap:6px}
.mcp-widget .mcp-dot{width:8px;height:8px;border-radius:50%;background:#00d4aa;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ======== Responsive ======== */
@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)}
  .howto-steps{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .header-inner{flex-wrap:wrap}
  .main-nav{display:none;flex-direction:column;width:100%;padding:10px 0}
  .main-nav.active{display:flex}
  .nav-toggle{display:block}
  .hero-banner{height:360px}
  .hero-overlay h1{font-size:1.8rem}
  .hero-overlay p{font-size:.95rem}
  .video-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .ai-features{grid-template-columns:1fr}
  .community-grid{grid-template-columns:repeat(2,1fr)}
  .review-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .expert-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .howto-steps{grid-template-columns:1fr}
  .section{padding:40px 0}
}
@media(max-width:480px){
  .video-grid{grid-template-columns:1fr}
  .cat-grid{grid-template-columns:1fr}
  .community-grid{grid-template-columns:1fr}
  .search-box{flex-direction:column;border-radius:12px}
  .search-box button{border-radius:0 0 12px 12px}
}

/* ======== Interference Tags (hidden) ======== */
.dyrb_noise,.dyrb_pad{position:absolute;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none;z-index:-9999}

/* ======== Media Grid (6-item) ======== */
.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.media-grid .cat-card{height:220px}
@media(max-width:768px){.media-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.media-grid{grid-template-columns:1fr}}

/* ======== 5-col Expert Grid ======== */
@media(min-width:1025px){.expert-grid[style*="repeat(5"]{grid-template-columns:repeat(5,1fr)}}
@media(max-width:1024px){.expert-grid[style*="repeat(5"]{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.expert-grid[style*="repeat(5"]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.expert-grid[style*="repeat(5"]{grid-template-columns:1fr}}

/* ======== Editorial Notice ======== */
.editorial-notice{padding:20px 0;background:#f0f4f0;border-top:1px solid #e0e0e0}
.editorial-notice p{margin:0;line-height:1.8}

/* ======== Today Pick Section ======== */
#today-pick .video-card{background:#16213e}
#today-pick .video-info{color:#ccc}
#today-pick .video-info h4{color:#fff}

/* ======== Partner Wall Enhanced ======== */
.partner-wall .partner-item{min-width:140px;padding:12px 20px;font-weight:500}

/* ======== Media Coverage ======== */
#media-coverage p{margin-bottom:2px}

/* ======== 3-col video grid override ======== */
.video-grid[style*="repeat(3"]{grid-template-columns:repeat(3,1fr)}
@media(max-width:768px){.video-grid[style*="repeat(3"]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.video-grid[style*="repeat(3"]{grid-template-columns:1fr}}

/* ======== Scroll to top ======== */
.scroll-top{position:fixed;bottom:30px;right:30px;width:48px;height:48px;background:#0a9396;color:#fff;border:none;border-radius:50%;font-size:1.3rem;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:999;box-shadow:0 4px 12px rgba(0,0,0,.2);transition:opacity .3s}
.scroll-top:hover{background:#005f73}
.scroll-top.visible{display:flex}
