/* ========================================
   天堂岛视频论坛mv - 全站样式表
   813129.cn
   ======================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #333; background: #f8f9fa; line-height: 1.6; }
a { color: #0066cc; text-decoration: none; transition: color .3s; }
a:hover { color: #ff6633; }
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; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 48px; width: auto; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: #0066cc; }
.logo-text span { color: #ff6633; }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { padding: 8px 16px; font-size: .95rem; color: #333; font-weight: 500; border-radius: 6px; transition: all .3s; }
.main-nav a:hover, .main-nav a.active { color: #0066cc; background: #e8f4fd; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #333; padding: 8px; }

/* Search Bar */
.search-bar { background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%); padding: 20px 0; }
.search-bar .container { display: flex; justify-content: center; }
.search-wrapper { display: flex; max-width: 680px; width: 100%; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.search-wrapper input { flex: 1; border: none; padding: 14px 24px; font-size: 1rem; outline: none; }
.search-wrapper button { background: #ff6633; color: #fff; border: none; padding: 14px 32px; font-size: 1rem; cursor: pointer; font-weight: 600; transition: background .3s; }
.search-wrapper button:hover { background: #e55a2b; }

/* Hero Banner */
.hero { position: relative; overflow: hidden; border-radius: 0; }
.hero img { width: 100%; height: auto; min-height: 300px; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.6) 0%, transparent 70%); display: flex; align-items: center; }
.hero-content { padding: 40px 60px; color: #fff; max-width: 600px; }
.hero-content h1 { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.3; }
.hero-content p { font-size: 1.1rem; margin-bottom: 24px; opacity: .9; }
.hero-btn { display: inline-block; background: #ff6633; color: #fff; padding: 12px 36px; border-radius: 30px; font-weight: 600; font-size: 1rem; transition: all .3s; }
.hero-btn:hover { background: #e55a2b; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,102,51,.4); }

/* 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: #222; margin-bottom: 10px; }
.section-title p { color: #666; font-size: 1rem; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, #0066cc, #ff6633); margin: 12px auto 0; border-radius: 2px; }

/* 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,.06); transition: all .3s; cursor: pointer; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.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; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .3s; }
.video-card: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-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: 16px; }
.video-info h3 { font-size: 1rem; margin-bottom: 8px; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.video-meta { display: flex; gap: 12px; color: #999; font-size: .85rem; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag { display: inline-block; background: #e8f4fd; color: #0066cc; padding: 2px 10px; border-radius: 12px; font-size: .75rem; margin-top: 8px; }

/* Feature Modules */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 16px; background: linear-gradient(135deg, #0066cc, #0099ff); 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; color: #222; }
.feature-card p { color: #666; font-size: .9rem; line-height: 1.5; }

/* 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; transition: all .3s; }
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.expert-avatar { width: 100%; aspect-ratio: 1; object-fit: cover; }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 1.1rem; margin-bottom: 4px; color: #222; }
.expert-info .title { color: #0066cc; font-size: .85rem; margin-bottom: 8px; }
.expert-info p { color: #666; font-size: .85rem; line-height: 1.5; margin-bottom: 12px; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm { padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 500; transition: all .3s; display: inline-block; }
.btn-primary { background: #0066cc; color: #fff; }
.btn-primary:hover { background: #0055aa; color: #fff; }
.btn-outline { border: 1px solid #0066cc; color: #0066cc; }
.btn-outline:hover { background: #0066cc; color: #fff; }

/* Brand Wall */
.brand-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; padding: 20px 0; }
.brand-item { background: #f5f5f5; padding: 16px 32px; border-radius: 8px; font-size: 1rem; font-weight: 600; color: #666; transition: all .3s; }
.brand-item:hover { background: #e8f4fd; color: #0066cc; }

/* 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,.04); overflow: hidden; }
.faq-question { padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #222; transition: background .3s; }
.faq-question:hover { background: #f8f9fa; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: #0066cc; transition: transform .3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .3s ease; }
.faq-item.active .faq-answer { padding: 0 24px 18px; max-height: 500px; }
.faq-answer p { color: #666; line-height: 1.7; }

/* 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, #0066cc, #ff6633); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; }
.review-name { font-weight: 600; color: #222; }
.review-date { font-size: .8rem; color: #999; }
.review-stars { color: #ffb800; margin-bottom: 8px; font-size: 1rem; }
.review-text { color: #555; line-height: 1.7; font-size: .95rem; }

/* 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: #222; }
.contact-card p { color: #666; font-size: .9rem; line-height: 1.6; }
.contact-card img { max-width: 160px; margin: 12px auto; }

/* How-To Guide */
.howto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.howto-step { text-align: center; position: relative; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0066cc, #0099ff); color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.howto-step h4 { font-size: 1rem; margin-bottom: 6px; color: #222; }
.howto-step p { color: #666; font-size: .85rem; }

/* Social Share */
.social-share { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 24px; color: #fff; font-size: .9rem; font-weight: 500; transition: all .3s; }
.share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .9; }
.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: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: #fff; font-size: 1.3rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .9rem; line-height: 1.6; 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: #ff6633; }
.footer-col a { display: block; color: #aaa; font-size: .9rem; margin-bottom: 8px; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-qr { display: flex; gap: 20px; margin-top: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 100px; height: 100px; border-radius: 8px; margin-bottom: 6px; }
.footer-qr-item span { font-size: .8rem; color: #aaa; }
.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: #aaa; }

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: .9rem; color: #666; }
.breadcrumb a { color: #0066cc; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* Page Header */
.page-header { background: linear-gradient(135deg, #0066cc 0%, #0099ff 50%, #00ccff 100%); padding: 50px 0; color: #fff; text-align: center; }
.page-header h1 { font-size: 2rem; margin-bottom: 10px; }
.page-header p { opacity: .9; font-size: 1.05rem; }

/* Responsive */
@media (max-width: 992px) {
  .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); }
  .contact-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-direction: column; width: 100%; padding: 10px 0; gap: 0; }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 12px 16px; width: 100%; }
  .mobile-menu-btn { display: block; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 20px 30px; }
  .hero-content h1 { font-size: 1.3rem; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.4rem; }
  .howto-steps { grid-template-columns: 1fr; }
}

/* 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(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp .6s ease forwards; }

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.update-time { color: #999; font-size: .85rem; margin-top: 8px; }
