/* 禁漫天堂 - odqz1xr.cn 样式表 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #333; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }

/* 头部导航 */
.header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 45px; height: 45px; border-radius: 50%; }
.logo-text { font-size: 24px; font-weight: bold; color: #fff; }
.nav-menu { display: flex; gap: 25px; }
.nav-menu a { color: rgba(255,255,255,0.9); font-size: 15px; padding: 8px 15px; border-radius: 20px; transition: all 0.3s; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,0.2); color: #fff; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: #fff; border-radius: 3px; }

/* 搜索栏 */
.search-bar { background: #f8f9fa; padding: 15px 0; border-bottom: 1px solid #eee; }
.search-container { display: flex; max-width: 600px; margin: 0 auto; }
.search-container input { flex: 1; padding: 12px 20px; border: 2px solid #667eea; border-radius: 25px 0 0 25px; font-size: 15px; outline: none; }
.search-container button { padding: 12px 25px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; border-radius: 0 25px 25px 0; cursor: pointer; font-size: 15px; }

/* 面包屑 */
.breadcrumb { background: #f8f9fa; padding: 12px 0; border-bottom: 1px solid #eee; }
.breadcrumb-list { display: flex; align-items: center; gap: 10px; list-style: none; font-size: 14px; }
.breadcrumb-list li::after { content: ">"; margin-left: 10px; color: #999; }
.breadcrumb-list li:last-child::after { content: ""; }
.breadcrumb-list a { color: #667eea; }

/* Hero区域 */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 60px 0; color: #fff; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 20px; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 700px; margin: 0 auto 30px; }
.btn { display: inline-block; padding: 14px 35px; border-radius: 30px; font-size: 16px; font-weight: 600; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: #fff; color: #667eea; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-outline { border: 2px solid #fff; color: #fff; margin-left: 15px; }
.btn-outline:hover { background: #fff; color: #667eea; }

/* 通用区块 */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #333; margin-bottom: 15px; }
.section-title p { color: #666; font-size: 16px; }

/* 视频卡片 */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s; }
.video-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.video-thumb { position: relative; padding-top: 56.25%; background: #000; overflow: hidden; }
.video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.video-card:hover .video-thumb img { transform: scale(1.1); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s; }
.play-btn::after { content: ""; border-left: 20px solid #667eea; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video-card:hover .play-btn { opacity: 1; }
.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 12px; }
.video-info { padding: 15px; }
.video-info h3 { font-size: 16px; margin-bottom: 10px; 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: 13px; }
.video-stats { display: flex; gap: 15px; }

/* 特色区块 */
.features { background: #f8f9fa; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: #fff; padding: 35px 25px; border-radius: 12px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.feature-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: #fff; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: #333; }
.feature-card p { color: #666; font-size: 14px; line-height: 1.7; }

/* 专家区块 */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.expert-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); display: flex; }
.expert-avatar { width: 120px; flex-shrink: 0; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-info { padding: 20px; flex: 1; }
.expert-info h3 { font-size: 18px; margin-bottom: 5px; }
.expert-title { color: #667eea; font-size: 14px; margin-bottom: 10px; }
.expert-desc { color: #666; font-size: 13px; line-height: 1.6; }

/* 用户评价 */
.testimonials { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 60px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimonial-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 30px; border-radius: 12px; color: #fff; }
.testimonial-content { font-size: 15px; line-height: 1.8; margin-bottom: 20px; opacity: 0.95; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); }
.author-info h4 { font-size: 16px; margin-bottom: 3px; }
.author-info span { font-size: 13px; opacity: 0.8; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 15px; box-shadow: 0 3px 15px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 20px 25px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: "+"; font-size: 24px; color: #667eea; transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.active .faq-answer { padding: 0 25px 20px; max-height: 500px; }
.faq-answer p { color: #666; line-height: 1.8; }

/* 联系区块 */
.contact { background: #f8f9fa; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.contact-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.contact-card h3 { font-size: 18px; margin-bottom: 20px; color: #333; padding-bottom: 15px; border-bottom: 2px solid #667eea; }
.contact-card p { margin-bottom: 12px; color: #666; font-size: 14px; }
.contact-card img { max-width: 150px; margin-top: 10px; }

/* 页脚 */
.footer { background: #1a1a2e; color: #fff; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; margin: 15px 0; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.footer-social a:hover { background: #667eea; }
.footer-links h4 { font-size: 16px; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-qr { display: flex; gap: 20px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 100px; height: 100px; background: #fff; border-radius: 8px; padding: 5px; }
.footer-qr-item span { display: block; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,0.7); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 8px; }
.footer-bottom a { color: #667eea; }

/* 页面头部 */
.page-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 40px 0; color: #fff; text-align: center; }
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { opacity: 0.9; }

/* 响应式 */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); flex-direction: column; padding: 20px; gap: 10px; }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .btn { padding: 12px 25px; font-size: 14px; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social, .footer-qr { justify-content: center; }
    .expert-card { flex-direction: column; }
    .expert-avatar { width: 100%; height: 200px; }
}
