/* ========================================
   羞羞漫画 - 全站样式表
   域名: jilin1688.com
   ======================================== */

/* 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", sans-serif; color: #333; background: #f8f9fa; line-height: 1.7; }
a { color: #e74c3c; text-decoration: none; transition: color .3s; }
a:hover { color: #c0392b; }
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 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 48px; width: auto; }
.logo-wrap .brand-text { font-size: 20px; font-weight: 700; color: #e74c3c; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { padding: 10px 16px; font-size: 15px; color: #333; font-weight: 500; transition: all .3s; border-radius: 6px; }
.main-nav a:hover, .main-nav a.active { color: #e74c3c; background: rgba(231,76,60,.06); }

/* Search Bar */
.search-bar { background: #f0f2f5; padding: 12px 0; border-bottom: 1px solid #e8e8e8; }
.search-bar form { display: flex; max-width: 680px; margin: 0 auto; }
.search-bar input[type="text"] { flex: 1; padding: 10px 18px; border: 2px solid #ddd; border-right: none; border-radius: 25px 0 0 25px; font-size: 15px; outline: none; transition: border-color .3s; }
.search-bar input[type="text"]:focus { border-color: #e74c3c; }
.search-bar button { padding: 10px 28px; background: #e74c3c; color: #fff; border: none; border-radius: 0 25px 25px 0; font-size: 15px; cursor: pointer; transition: background .3s; }
.search-bar button:hover { background: #c0392b; }

/* Banner / Hero */
.hero-section { position: relative; overflow: hidden; background: #1a1a2e; }
.hero-slider { display: flex; transition: transform .6s ease; }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { width: 100%; height: 420px; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 100%); display: flex; align-items: center; padding: 0 60px; }
.hero-text h1 { color: #fff; font-size: 36px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-text p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 560px; line-height: 1.6; }
.hero-text .btn-primary { display: inline-block; margin-top: 20px; padding: 12px 32px; background: #e74c3c; color: #fff; border-radius: 25px; font-size: 16px; font-weight: 600; transition: all .3s; }
.hero-text .btn-primary:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(231,76,60,.4); }

/* Section Common */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; color: #222; margin-bottom: 8px; }
.section-title p { color: #888; font-size: 15px; }
.section-title h2 span { color: #e74c3c; }

/* Video Card Grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 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 .4s; }
.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: 56px; height: 56px; 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: 12px; }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 15px; color: #222; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #999; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.video-tags span { background: #f0f2f5; color: #666; padding: 2px 10px; border-radius: 12px; font-size: 12px; }

/* Expert Section */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.expert-card { background: #fff; border-radius: 12px; padding: 28px 20px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .3s; }
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.expert-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; border: 3px solid #e74c3c; }
.expert-card h3 { font-size: 18px; color: #222; margin-bottom: 4px; }
.expert-card .title { color: #e74c3c; font-size: 14px; margin-bottom: 10px; }
.expert-card p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 14px; }
.expert-card .btn-sm { display: inline-block; padding: 6px 20px; border: 1px solid #e74c3c; color: #e74c3c; border-radius: 20px; font-size: 13px; margin: 0 4px; transition: all .3s; }
.expert-card .btn-sm:hover { background: #e74c3c; color: #fff; }

/* Partner Logos */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px; padding: 20px 0; }
.partner-wall .partner-item { background: #fff; padding: 16px 28px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.05); font-size: 18px; font-weight: 600; color: #555; transition: all .3s; }
.partner-wall .partner-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }

/* 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; font-size: 16px; font-weight: 600; color: #222; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .3s; }
.faq-question:hover { background: #fafafa; }
.faq-question::after { content: "+"; font-size: 22px; color: #e74c3c; 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: 300px; }
.faq-answer p { color: #666; font-size: 14px; line-height: 1.8; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: #e74c3c; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; }
.review-name { font-weight: 600; color: #222; font-size: 15px; }
.review-date { font-size: 12px; color: #999; }
.review-stars { color: #f39c12; font-size: 14px; margin-bottom: 8px; }
.review-card p { font-size: 14px; color: #555; line-height: 1.7; }

/* Module Cards (for AI, Community etc) */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.module-card { background: #fff; border-radius: 12px; padding: 28px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .3s; }
.module-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.module-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #e74c3c, #f39c12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.module-icon svg { width: 28px; height: 28px; fill: #fff; }
.module-card h3 { font-size: 18px; color: #222; margin-bottom: 8px; }
.module-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* How-To Guide */
.howto-steps { max-width: 800px; margin: 0 auto; }
.howto-step { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: #e74c3c; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.step-content h3 { font-size: 17px; color: #222; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: #666; line-height: 1.6; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.contact-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.contact-card h3 { font-size: 17px; color: #222; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: #666; line-height: 1.8; }

/* Footer */
.site-footer { background: #1a1a2e; color: #ccc; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: #e74c3c; border-radius: 2px; }
.footer-col p, .footer-col a { font-size: 14px; color: #aaa; line-height: 2; display: block; }
.footer-col a:hover { color: #e74c3c; }
.footer-col img.qr-code { width: 120px; height: 120px; border-radius: 8px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; color: #888; }
.footer-bottom a { color: #aaa; }

/* Social Share */
.share-bar { display: flex; gap: 12px; justify-content: center; margin: 20px 0; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 20px; font-size: 13px; color: #fff; transition: all .3s; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00a1d6; }

/* Breadcrumb */
.breadcrumb { padding: 14px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #e74c3c; }
.breadcrumb span { margin: 0 6px; }

/* MCP Frontend Placeholder */
.mcp-widget { background: #f8f9fa; border: 1px dashed #ddd; border-radius: 10px; padding: 20px; text-align: center; margin: 20px 0; }
.mcp-widget p { color: #999; font-size: 13px; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .main-nav { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .main-nav a { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .hero-slide img { height: 240px; }
  .hero-overlay { padding: 0 24px; }
  .hero-text h1 { font-size: 22px; }
  .hero-text p { font-size: 14px; }
  .section { padding: 36px 0; }
  .section-title h2 { font-size: 22px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-wrap .brand-text { font-size: 16px; }
  .logo-wrap img { height: 36px; }
  .hero-slide img { height: 180px; }
  .hero-text h1 { font-size: 18px; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .expert-grid { grid-template-columns: 1fr; }
}

/* Lazy Load Placeholder */
img[loading="lazy"] { background: #f0f0f0; }

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