/* 51漫画 - shijiendian.com 全新原创样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; background: #0a0a0f; color: #e0e0e0; line-height: 1.6; }

/* 头部导航 */
.header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 50px; width: 50px; border-radius: 12px; }
.logo h1 { font-size: 1.8rem; background: linear-gradient(90deg, #ff6b9d, #c44cff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: bold; }
.nav-menu { display: flex; list-style: none; gap: 8px; }
.nav-menu li a { color: #b0b0b0; text-decoration: none; padding: 10px 18px; border-radius: 25px; transition: all 0.3s; font-size: 0.95rem; }
.nav-menu li a:hover, .nav-menu li a.active { background: linear-gradient(135deg, #ff6b9d, #c44cff); color: #fff; }

/* 搜索栏 */
.search-bar { background: #12121a; padding: 20px 0; border-bottom: 1px solid #2a2a3a; }
.search-container { display: flex; max-width: 600px; margin: 0 auto; }
.search-container input { flex: 1; padding: 14px 24px; border: 2px solid #3a3a4a; border-radius: 30px 0 0 30px; background: #1a1a2a; color: #fff; font-size: 1rem; outline: none; }
.search-container input:focus { border-color: #ff6b9d; }
.search-container button { padding: 14px 32px; background: linear-gradient(135deg, #ff6b9d, #c44cff); border: none; border-radius: 0 30px 30px 0; color: #fff; font-size: 1rem; cursor: pointer; transition: transform 0.2s; }
.search-container button:hover { transform: scale(1.05); }

/* 面包屑 */
.breadcrumb { background: #0f0f15; padding: 12px 0; border-bottom: 1px solid #1a1a2a; }
.breadcrumb-list { display: flex; list-style: none; gap: 8px; font-size: 0.9rem; }
.breadcrumb-list li::after { content: '/'; margin-left: 8px; color: #555; }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list a { color: #ff6b9d; text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }

/* Hero Banner */
.hero { position: relative; height: 400px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(26,26,46,0.9), rgba(22,33,62,0.7)); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.hero h2 { font-size: 3rem; margin-bottom: 15px; background: linear-gradient(90deg, #ff6b9d, #c44cff, #6b9dff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.3rem; color: #b0b0b0; max-width: 700px; }

/* 视频区块 */
.video-section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2.2rem; color: #fff; margin-bottom: 10px; }
.section-title h2 span { color: #ff6b9d; }
.section-title p { color: #888; font-size: 1.1rem; }

/* 视频网格 */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.video-card { background: #15151f; border-radius: 16px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.video-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(255,107,157,0.2); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { 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: 70px; height: 70px; background: rgba(255,107,157,0.9); border-radius: 50%; opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; }
.play-btn::after { content: ''; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video-card:hover .play-btn { opacity: 1; }
.video-info { padding: 18px; }
.video-info h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-meta { display: flex; gap: 15px; color: #777; font-size: 0.85rem; margin-bottom: 10px; }
.video-tag { display: inline-block; padding: 4px 12px; background: linear-gradient(135deg, #ff6b9d, #c44cff); border-radius: 15px; font-size: 0.8rem; color: #fff; }

/* 特色区块 */
.features { padding: 60px 0; background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 35px; border-radius: 20px; text-align: center; transition: transform 0.3s; border: 1px solid #2a2a3a; }
.feature-card:hover { transform: translateY(-5px); border-color: #ff6b9d; }
.feature-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #ff6b9d, #c44cff); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.feature-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.feature-card p { color: #888; font-size: 0.95rem; }

/* 专家团队 */
.experts { padding: 60px 0; }
.experts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.expert-card { background: #15151f; border-radius: 16px; padding: 30px; text-align: center; border: 1px solid #2a2a3a; transition: all 0.3s; }
.expert-card:hover { border-color: #ff6b9d; }
.expert-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, #ff6b9d, #c44cff); margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #fff; }
.expert-card h4 { color: #fff; font-size: 1.2rem; margin-bottom: 5px; }
.expert-card .title { color: #ff6b9d; font-size: 0.9rem; margin-bottom: 10px; }
.expert-card p { color: #888; font-size: 0.9rem; }

/* 合作伙伴 */
.partners { padding: 50px 0; background: #0f0f15; }
.partners-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; opacity: 0.7; }
.partners-grid img { height: 50px; filter: grayscale(100%); transition: filter 0.3s; }
.partners-grid img:hover { filter: grayscale(0%); }

/* 用户评价 */
.reviews { padding: 60px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.review-card { background: #15151f; border-radius: 16px; padding: 25px; border-left: 4px solid #ff6b9d; }
.review-card p { color: #ccc; font-style: italic; margin-bottom: 15px; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #ff6b9d, #c44cff); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; }
.review-info { color: #888; font-size: 0.9rem; }
.review-info strong { color: #fff; display: block; }

/* FAQ */
.faq { padding: 60px 0; background: #0f0f15; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #15151f; border-radius: 12px; margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 20px; color: #fff; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: #ff6b9d; }
.faq-answer { padding: 0 20px 20px; color: #888; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question::after { content: '-'; }

/* 页脚 */
.footer { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 50px 0 20px; margin-top: 60px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #2a2a3a; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 45px; width: 45px; border-radius: 10px; }
.footer-logo span { font-size: 1.2rem; color: #fff; }
.footer-links { display: flex; gap: 25px; }
.footer-links a { color: #888; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #ff6b9d; }
.footer-bottom { text-align: center; padding-top: 25px; color: #666; font-size: 0.9rem; }
.footer-bottom p { margin-bottom: 5px; }

/* 响应式 */
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 15px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .video-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}
