/* ============================================
   公共场合 - 户外场景与视频创作平台 | jhwjc1218.cn
   全站外部样式表
   ============================================ */

/* === CSS Reset & Base === */
*, *::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", "Helvetica Neue", Arial, sans-serif; color: #333; background: #f8f9fa; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: #c8102e; text-decoration: none; transition: color .3s; }
a:hover { color: #e63946; }
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; }
.section-padding { padding: 60px 0; }

/* === Header / Navigation === */
.site-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 45px; width: auto; }
.site-logo span { font-size: 1.5rem; font-weight: 800; color: #ffd700; letter-spacing: 2px; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { color: #e0e0e0; padding: 10px 16px; font-size: .95rem; transition: all .3s; border-radius: 4px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: #ffd700; background: rgba(255,215,0,.1); }
.nav-toggle { display: none; background: none; border: none; color: #ffd700; font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* === Search Bar === */
.search-bar { background: linear-gradient(135deg, #16213e 0%, #0f3460 100%); padding: 15px 0; border-bottom: 1px solid rgba(255,215,0,.2); }
.search-bar .container { display: flex; justify-content: center; }
.search-form { display: flex; max-width: 600px; width: 100%; }
.search-form input { flex: 1; padding: 10px 20px; border: 2px solid rgba(255,215,0,.3); border-right: none; border-radius: 25px 0 0 25px; background: rgba(255,255,255,.1); color: #fff; font-size: .95rem; outline: none; transition: border-color .3s; }
.search-form input::placeholder { color: rgba(255,255,255,.5); }
.search-form input:focus { border-color: #ffd700; }
.search-form button { padding: 10px 25px; background: linear-gradient(135deg, #ffd700, #ff8c00); color: #1a1a2e; border: none; border-radius: 0 25px 25px 0; font-weight: 700; cursor: pointer; transition: opacity .3s; font-size: .95rem; }
.search-form button:hover { opacity: .9; }

/* === Hero Banner === */
.hero-section { position: relative; height: 500px; overflow: hidden; background: #1a1a2e; }
.hero-section 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; background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(26,26,46,.8)); text-align: center; padding: 20px; }
.hero-overlay h1 { font-size: 3rem; color: #ffd700; text-shadow: 2px 2px 10px rgba(0,0,0,.5); margin-bottom: 15px; }
.hero-overlay p { font-size: 1.2rem; color: #e0e0e0; max-width: 700px; margin-bottom: 25px; }
.hero-btn { display: inline-block; padding: 14px 40px; background: linear-gradient(135deg, #c8102e, #e63946); color: #fff; border-radius: 30px; font-size: 1.1rem; font-weight: 700; transition: transform .3s, box-shadow .3s; }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(200,16,46,.4); color: #fff; }

/* === Breadcrumb === */
.breadcrumb { padding: 12px 0; font-size: .85rem; color: #888; }
.breadcrumb a { color: #c8102e; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* === Section Titles === */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: #1a1a2e; position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #c8102e, #ffd700); border-radius: 2px; }
.section-title p { color: #666; margin-top: 10px; font-size: 1rem; }

/* === Video Card Grid === */
.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 15px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; position: relative; }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.video-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(200,16,46,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; cursor: pointer; }
.play-btn::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; 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: .75rem; }
.video-info { padding: 12px 15px; }
.video-info h3 { font-size: .95rem; color: #1a1a2e; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.video-meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: #999; }
.video-meta span { display: flex; align-items: center; gap: 3px; }
.video-tag { display: inline-block; padding: 2px 8px; background: #fff3f3; color: #c8102e; border-radius: 3px; font-size: .75rem; margin-top: 6px; }

/* === Service Modules === */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: #fff; border-radius: 12px; padding: 30px 25px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s; border: 1px solid #f0f0f0; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.12); border-color: #ffd700; }
.service-icon { width: 70px; height: 70px; margin: 0 auto 18px; background: linear-gradient(135deg, #c8102e, #e63946); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #1a1a2e; }
.service-card p { font-size: .9rem; color: #666; line-height: 1.7; }

/* === Expert Section === */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.expert-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.08); text-align: center; transition: transform .3s; }
.expert-card:hover { transform: translateY(-5px); }
.expert-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.expert-info { padding: 18px 15px; }
.expert-info h4 { font-size: 1.05rem; color: #1a1a2e; margin-bottom: 5px; }
.expert-info .expert-title { font-size: .85rem; color: #c8102e; margin-bottom: 8px; }
.expert-info p { font-size: .8rem; color: #666; line-height: 1.6; text-align: left; margin-bottom: 4px; }
.expert-info p strong { color: #1a1a2e; }
.expert-btns { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.expert-btns a { padding: 6px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.btn-primary { background: #c8102e; color: #fff; }
.btn-primary:hover { background: #e63946; color: #fff; }
.btn-outline { border: 1px solid #c8102e; color: #c8102e; }
.btn-outline:hover { background: #c8102e; color: #fff; }

/* === Partner Logo Wall === */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.partner-item { background: #fff; border-radius: 10px; padding: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: transform .3s; min-height: 80px; }
.partner-item:hover { transform: scale(1.05); }
.partner-item span { font-size: 1rem; font-weight: 700; color: #555; }

/* === How-To Section === */
.howto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; counter-reset: step; }
.howto-step { background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.06); position: relative; }
.howto-step::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 35px; height: 35px; background: linear-gradient(135deg, #c8102e, #ffd700); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.howto-step h4 { margin-top: 10px; margin-bottom: 8px; font-size: 1rem; color: #1a1a2e; }
.howto-step p { font-size: .85rem; color: #666; }

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

/* === Reviews Section === */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: 12px; padding: 25px 20px; box-shadow: 0 4px 15px rgba(0,0,0,.06); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-header img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 700; font-size: .9rem; color: #1a1a2e; }
.review-date { font-size: .75rem; color: #999; }
.review-stars { color: #ffd700; font-size: .9rem; margin-bottom: 8px; }
.review-text { font-size: .85rem; color: #555; line-height: 1.7; }

/* === Contact Section === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,.06); }
.contact-info h3 { font-size: 1.3rem; color: #1a1a2e; margin-bottom: 20px; border-bottom: 2px solid #ffd700; padding-bottom: 10px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: .9rem; color: #555; }
.contact-item strong { color: #1a1a2e; min-width: 80px; }
.qrcode-grid { display: flex; gap: 25px; margin-top: 20px; }
.qrcode-item { text-align: center; }
.qrcode-item img { width: 140px; height: 140px; border-radius: 8px; margin-bottom: 8px; }
.qrcode-item p { font-size: .8rem; color: #666; }

/* === Social Share === */
.share-bar { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 20px 0; }
.share-bar span { font-size: .9rem; color: #666; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 1rem; transition: transform .3s, opacity .3s; cursor: pointer; }
.share-btn:hover { transform: scale(1.1); opacity: .9; color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; }
.share-bilibili { background: #00a1d6; }

/* === Footer === */
.site-footer { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #aaa; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #ffd700; font-size: 1rem; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,215,0,.2); }
.footer-col a { display: block; color: #aaa; font-size: .85rem; margin-bottom: 8px; transition: color .3s; }
.footer-col a:hover { color: #ffd700; }
.footer-col p { font-size: .85rem; line-height: 1.7; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer-bottom a { color: #ffd700; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo img { height: 35px; }
.footer-logo span { color: #ffd700; font-size: 1.2rem; font-weight: 800; }

/* === Community Features === */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.community-card { background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: 12px; padding: 30px 25px; text-align: center; color: #fff; transition: transform .3s; border: 1px solid rgba(255,215,0,.2); }
.community-card:hover { transform: translateY(-5px); border-color: #ffd700; }
.community-icon { font-size: 2.5rem; margin-bottom: 15px; }
.community-card h3 { color: #ffd700; font-size: 1.1rem; margin-bottom: 10px; }
.community-card p { font-size: .85rem; color: #ccc; line-height: 1.7; }

/* === AI Module === */
.ai-section { background: linear-gradient(135deg, #0f3460, #1a1a2e); }
.ai-section .section-title h2 { color: #ffd700; }
.ai-section .section-title p { color: #ccc; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.ai-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,215,0,.2); border-radius: 12px; padding: 30px 25px; text-align: center; transition: transform .3s, border-color .3s; }
.ai-card:hover { transform: translateY(-5px); border-color: #ffd700; }
.ai-card h3 { color: #ffd700; font-size: 1.1rem; margin-bottom: 10px; }
.ai-card p { color: #ccc; font-size: .85rem; line-height: 1.7; }

/* === Entertainment Section === */
.ent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.ent-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.08); display: flex; transition: transform .3s; }
.ent-card:hover { transform: translateY(-3px); }
.ent-card img { width: 200px; min-height: 160px; object-fit: cover; }
.ent-card-body { padding: 20px; flex: 1; }
.ent-card-body h3 { font-size: 1.05rem; color: #1a1a2e; margin-bottom: 8px; }
.ent-card-body p { font-size: .85rem; color: #666; line-height: 1.7; }
.ent-tag { display: inline-block; padding: 3px 10px; background: #fff3f3; color: #c8102e; border-radius: 3px; font-size: .75rem; margin-top: 8px; }

/* === Tags === */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.tag-cloud a { display: inline-block; padding: 5px 14px; background: #f0f0f0; color: #555; border-radius: 20px; font-size: .8rem; transition: all .3s; }
.tag-cloud a:hover { background: #c8102e; color: #fff; }

/* === Responsive === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 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-section { height: 350px; }
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay p { font-size: 1rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: 1fr; }
  .ent-card { flex-direction: column; }
  .ent-card img { width: 100%; height: 180px; }
  .community-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: 1fr; }
  .section-padding { padding: 40px 0; }
  .qrcode-grid { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .hero-section { height: 280px; }
  .hero-overlay h1 { font-size: 1.6rem; }
  .search-form { flex-direction: column; }
  .search-form input { border-right: 2px solid rgba(255,215,0,.3); border-radius: 25px; margin-bottom: 8px; }
  .search-form button { border-radius: 25px; }
}

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

/* === Video Overlay Text === */
.video-overlay-text { position: absolute; top: 10px; left: 10px; background: rgba(200,16,46,.85); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: .75rem; font-weight: 600; }

/* === Scroll to top === */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: linear-gradient(135deg, #c8102e, #e63946); color: #fff; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(200,16,46,.3); z-index: 999; border: none; transition: transform .3s; }
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* === MCP Frontend Placeholder === */
.mcp-widget { background: rgba(255,255,255,.05); border: 1px dashed rgba(255,215,0,.3); border-radius: 8px; padding: 15px; text-align: center; margin-top: 15px; }
.mcp-widget p { font-size: .8rem; color: #888; }

/* === Honor Section === */
.honor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.honor-item { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.05); border-left: 4px solid #ffd700; }
.honor-item h4 { font-size: 1rem; color: #1a1a2e; margin-bottom: 8px; }
.honor-item p { font-size: .85rem; color: #666; line-height: 1.7; }
