/* ============================================
   大赛爆料投稿 - 全站样式表
   品牌色：珊瑚粉 #FF6B6B / 暖橙 #FF8C42 / 深灰 #2D3436
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #2D3436; line-height: 1.7; background: #FAFAFA; }
a { color: #FF6B6B; text-decoration: none; transition: color .3s; }
a:hover { color: #FF8C42; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Header / 导航 === */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span { font-size: 1.2rem; font-weight: 700; color: #2D3436; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { padding: 8px 16px; font-size: .95rem; color: #555; font-weight: 500; border-radius: 6px; transition: all .3s; }
.main-nav a:hover, .main-nav a.active { color: #FF6B6B; background: rgba(255,107,107,.08); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #2D3436; }

/* === Search Bar === */
.search-bar { background: linear-gradient(135deg, #FF6B6B 0%, #FF8C42 100%); padding: 18px 0; }
.search-bar .container { display: flex; justify-content: center; }
.search-form { display: flex; width: 100%; max-width: 680px; background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.search-form input { flex: 1; border: none; padding: 14px 24px; font-size: 1rem; outline: none; background: transparent; }
.search-form button { background: #FF6B6B; color: #fff; border: none; padding: 14px 28px; font-size: 1rem; cursor: pointer; font-weight: 600; transition: background .3s; }
.search-form button:hover { background: #FF8C42; }

/* === Hero Banner === */
.hero { position: relative; overflow: hidden; height: 480px; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,52,54,.7), rgba(255,107,107,.3)); display: flex; align-items: center; }
.hero-content { color: #fff; padding: 0 60px; max-width: 700px; }
.hero-content h1 { font-size: 2.4rem; margin-bottom: 16px; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-content p { font-size: 1.1rem; margin-bottom: 24px; opacity: .95; }
.btn-primary { display: inline-block; background: linear-gradient(135deg, #FF6B6B, #FF8C42); color: #fff; padding: 12px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: transform .3s, box-shadow .3s; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,.4); color: #fff; }
.btn-outline { display: inline-block; border: 2px solid #FF6B6B; color: #FF6B6B; padding: 10px 28px; border-radius: 50px; font-weight: 600; transition: all .3s; }
.btn-outline:hover { background: #FF6B6B; color: #fff; }

/* === Section Common === */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; color: #2D3436; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, #FF6B6B, #FF8C42); margin: 10px auto 0; border-radius: 2px; }
.section-title p { color: #777; font-size: 1rem; margin-top: 8px; }

/* === Video Card Grid === */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; }
.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; cursor: pointer; }
.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.05); }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.video-thumb:hover .play-btn { opacity: 1; }
.play-btn svg { width: 60px; height: 60px; fill: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.video-info { padding: 16px; }
.video-info h3 { font-size: 1rem; margin-bottom: 8px; color: #2D3436; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; gap: 16px; color: #999; font-size: .85rem; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag { display: inline-block; background: rgba(255,107,107,.1); color: #FF6B6B; padding: 2px 10px; border-radius: 20px; font-size: .75rem; margin-top: 8px; }

/* === Feature Grid === */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: 12px; padding: 30px 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .3s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 16px; background: linear-gradient(135deg, #FF6B6B, #FF8C42); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 32px; height: 32px; fill: #fff; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: #777; font-size: .9rem; line-height: 1.6; }

/* === Expert Section === */
.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,.06); 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; overflow: hidden; border: 3px solid #FF6B6B; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.expert-card .role { color: #FF6B6B; font-size: .85rem; margin-bottom: 10px; }
.expert-card p { color: #777; font-size: .85rem; line-height: 1.5; }
.expert-links { margin-top: 14px; display: flex; gap: 10px; justify-content: center; }
.expert-links a { font-size: .8rem; padding: 6px 14px; border-radius: 20px; }

/* === Partner Logos === */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; padding: 20px 0; }
.partner-wall .partner-item { width: 140px; height: 60px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #999; font-size: .9rem; transition: all .3s; }
.partner-wall .partner-item:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1); color: #FF6B6B; }

/* === FAQ Section === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); overflow: hidden; }
.faq-question { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .3s; }
.faq-question:hover { background: rgba(255,107,107,.05); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: #FF6B6B; transition: transform .3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; color: #666; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 18px; }

/* === 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); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #FF6B6B, #FF8C42); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; }
.review-name { font-weight: 600; }
.review-date { font-size: .8rem; color: #999; }
.review-stars { color: #FFB800; margin-bottom: 8px; font-size: 1rem; }
.review-text { color: #555; font-size: .95rem; line-height: 1.7; }

/* === How-To Guide === */
.howto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.howto-step { background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); position: relative; }
.howto-step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; background: linear-gradient(135deg, #FF6B6B, #FF8C42); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 16px; font-size: 1.1rem; }
.howto-step h3 { font-size: 1rem; margin-bottom: 8px; }
.howto-step p { color: #777; font-size: .85rem; }

/* === Contact Section === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: #2D3436; }
.contact-card p { color: #666; font-size: .9rem; line-height: 1.7; }

/* === Footer === */
.site-footer { background: #2D3436; color: #ccc; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 12px; color: #aaa; }
.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: #FF6B6B; }
.footer-col a { display: block; color: #aaa; font-size: .9rem; padding: 4px 0; transition: color .3s; }
.footer-col a:hover { color: #FF6B6B; }
.footer-qr { display: flex; gap: 20px; margin-top: 16px; }
.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: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .85rem; color: #888; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #ccc; transition: all .3s; font-size: .85rem; }
.social-links a:hover { background: #FF6B6B; color: #fff; }

/* === Share Buttons === */
.share-bar { display: flex; gap: 10px; justify-content: center; padding: 20px 0; }
.share-btn { padding: 8px 18px; border-radius: 20px; font-size: .85rem; color: #fff; transition: opacity .3s; cursor: pointer; border: none; }
.share-btn:hover { opacity: .85; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* === Breadcrumb === */
.breadcrumb { padding: 14px 0; font-size: .85rem; color: #999; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #FF6B6B; }
.breadcrumb span { margin: 0 6px; }

/* === Page Banner === */
.page-banner { height: 280px; position: relative; overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,52,54,.75), rgba(255,107,107,.35)); display: flex; align-items: center; justify-content: center; }
.page-banner-overlay h1 { color: #fff; font-size: 2rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* === Content Page === */
.page-content { padding: 40px 0 60px; }
.content-text { max-width: 900px; margin: 0 auto; }
.content-text h2 { font-size: 1.5rem; margin: 30px 0 16px; color: #2D3436; border-left: 4px solid #FF6B6B; padding-left: 14px; }
.content-text h3 { font-size: 1.2rem; margin: 24px 0 12px; color: #2D3436; }
.content-text p { margin-bottom: 16px; color: #555; line-height: 1.8; }

/* === Stats Bar === */
.stats-bar { background: linear-gradient(135deg, #FF6B6B, #FF8C42); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; color: #fff; }
.stat-item .stat-num { font-size: 2.2rem; font-weight: 700; }
.stat-item .stat-label { font-size: .9rem; opacity: .9; margin-top: 4px; }

/* === Responsive === */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 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); }
    .stats-grid { 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-top: 10px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
    .mobile-toggle { display: block; }
    .hero { height: 320px; }
    .hero-content { padding: 0 20px; }
    .hero-content h1 { font-size: 1.6rem; }
    .video-grid { grid-template-columns: 1fr; }
    .feature-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; }
    .howto-steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .search-form { flex-direction: column; border-radius: 12px; }
    .search-form button { border-radius: 0 0 12px 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item .stat-num { font-size: 1.6rem; }
}

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

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