/* ============================================
   萝莉漫画 - 原创CSS样式
   配色：活力橙 #FF6B35 / 深紫 #7B2D8E / 薄荷绿 #00D4AA
   背景：深夜蓝黑 #0F0F1A
   ============================================ */

/* === 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;
    background: #0F0F1A;
    color: #E8E8F0;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: #FF6B35; text-decoration: none; transition: color 0.3s; }
a:hover { color: #00D4AA; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Container === */
.b5pn8f98-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Header === */
.b5pn8f98-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    padding: 12px 0;
}
.b5pn8f98-header-inner { display: flex; align-items: center; justify-content: space-between; }
.b5pn8f98-logo { display: flex; align-items: center; gap: 10px; }
.b5pn8f98-logo img { width: 48px; height: 48px; border-radius: 10px; }
.b5pn8f98-logo-text { font-size: 1.4rem; font-weight: 700; background: linear-gradient(135deg, #FF6B35, #7B2D8E); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.b5pn8f98-nav-list { display: flex; gap: 6px; }
.b5pn8f98-nav-list li a {
    padding: 8px 16px; border-radius: 8px; font-size: 0.95rem; color: #9898B0;
    transition: all 0.3s;
}
.b5pn8f98-nav-list li a:hover, .b5pn8f98-nav-active { color: #FF6B35 !important; background: rgba(255, 107, 53, 0.1); }
.b5pn8f98-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.b5pn8f98-menu-toggle span { display: block; width: 24px; height: 2px; background: #E8E8F0; margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* === Search Bar === */
.b5pn8f98-search-bar { margin-top: 76px; padding: 20px 0; background: #141428; border-bottom: 1px solid rgba(123, 45, 142, 0.2); }
.b5pn8f98-search-wrap { display: flex; max-width: 600px; margin: 0 auto; }
.b5pn8f98-search-input {
    flex: 1; padding: 12px 20px; background: #1A1A2E; border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px 0 0 12px; color: #E8E8F0; font-size: 0.95rem; outline: none;
    transition: border-color 0.3s;
}
.b5pn8f98-search-input:focus { border-color: #FF6B35; }
.b5pn8f98-search-input::placeholder { color: #6868A0; }
.b5pn8f98-search-btn {
    padding: 12px 28px; background: linear-gradient(135deg, #FF6B35, #7B2D8E);
    color: #fff; border: none; border-radius: 0 12px 12px 0; font-size: 0.95rem;
    cursor: pointer; font-weight: 600; transition: opacity 0.3s;
}
.b5pn8f98-search-btn:hover { opacity: 0.9; }
.b5pn8f98-hot-tags { text-align: center; margin-top: 12px; font-size: 0.85rem; color: #6868A0; }
.b5pn8f98-hot-tags a { margin: 0 8px; color: #9898B0; }
.b5pn8f98-hot-tags a:hover { color: #FF6B35; }

/* === Breadcrumb === */
.b5pn8f98-breadcrumb { padding: 12px 0; font-size: 0.85rem; color: #6868A0; }
.b5pn8f98-breadcrumb a { color: #9898B0; }
.b5pn8f98-sep { margin: 0 8px; }

/* === Hero === */
.b5pn8f98-hero { position: relative; height: 520px; overflow: hidden; }
.b5pn8f98-hero-bg { position: absolute; inset: 0; }
.b5pn8f98-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.b5pn8f98-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.85), rgba(123, 45, 142, 0.5));
    display: flex; align-items: center;
}
.b5pn8f98-hero-title { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(255, 107, 53, 0.4); }
.b5pn8f98-hero-subtitle { font-size: 1.2rem; color: #C8C8E0; margin-bottom: 24px; }
.b5pn8f98-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.b5pn8f98-tag {
    padding: 6px 16px; background: rgba(255, 107, 53, 0.15); border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 20px; font-size: 0.85rem; color: #FF6B35;
}
.b5pn8f98-hero-actions { display: flex; gap: 16px; }
.b5pn8f98-btn-primary {
    padding: 14px 36px; background: linear-gradient(135deg, #FF6B35, #E85520);
    color: #fff; border-radius: 12px; font-weight: 600; font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.b5pn8f98-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4); color: #fff; }
.b5pn8f98-btn-outline {
    padding: 14px 36px; border: 2px solid #7B2D8E; color: #C8A0D8;
    border-radius: 12px; font-weight: 600; font-size: 1rem;
    transition: all 0.3s;
}
.b5pn8f98-btn-outline:hover { background: #7B2D8E; color: #fff; }

/* === Section Common === */
.b5pn8f98-section { padding: 70px 0; }
.b5pn8f98-section:nth-child(even) { background: #141428; }
.b5pn8f98-section-header { text-align: center; margin-bottom: 48px; }
.b5pn8f98-section-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; background: linear-gradient(135deg, #FF6B35, #7B2D8E); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.b5pn8f98-section-desc { color: #9898B0; font-size: 1rem; max-width: 700px; margin: 0 auto; }
.b5pn8f98-more-link { display: inline-block; margin-top: 12px; color: #00D4AA; font-size: 0.95rem; }

/* === Video Grid === */
.b5pn8f98-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b5pn8f98-video-card {
    background: #1A1A2E; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(123, 45, 142, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.b5pn8f98-video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(255, 107, 53, 0.15); }
.b5pn8f98-video-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.b5pn8f98-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.b5pn8f98-video-card:hover .b5pn8f98-video-thumb img { transform: scale(1.08); }
.b5pn8f98-play-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(15, 15, 26, 0.4); opacity: 0; transition: opacity 0.3s;
}
.b5pn8f98-video-card:hover .b5pn8f98-play-overlay { opacity: 1; }
.b5pn8f98-play-btn {
    width: 60px; height: 60px; background: rgba(255, 107, 53, 0.9); border-radius: 50%;
    position: relative; cursor: pointer; transition: transform 0.3s;
}
.b5pn8f98-play-btn::after {
    content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
    border-style: solid; border-width: 12px 0 12px 22px;
    border-color: transparent transparent transparent #fff;
}
.b5pn8f98-play-btn:hover { transform: scale(1.1); }
.b5pn8f98-duration {
    position: absolute; bottom: 8px; right: 8px; background: rgba(15, 15, 26, 0.8);
    padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; color: #E8E8F0;
}
.b5pn8f98-video-info { padding: 16px; }
.b5pn8f98-video-info h3 { font-size: 1rem; margin-bottom: 8px; }
.b5pn8f98-video-info h3 a { color: #E8E8F0; }
.b5pn8f98-video-info h3 a:hover { color: #FF6B35; }
.b5pn8f98-video-meta { display: flex; gap: 12px; font-size: 0.8rem; color: #6868A0; margin-bottom: 8px; }
.b5pn8f98-video-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.b5pn8f98-video-tags span {
    padding: 2px 10px; background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 12px; font-size: 0.75rem; color: #00D4AA;
}

/* === AI Center === */
.b5pn8f98-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b5pn8f98-ai-card {
    background: #1A1A2E; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.15);
    transition: transform 0.3s;
}
.b5pn8f98-ai-card:hover { transform: translateY(-4px); }
.b5pn8f98-ai-img { aspect-ratio: 4/3; overflow: hidden; }
.b5pn8f98-ai-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.b5pn8f98-ai-card:hover .b5pn8f98-ai-img img { transform: scale(1.05); }
.b5pn8f98-ai-content { padding: 20px; }
.b5pn8f98-ai-content h3 { font-size: 1.1rem; margin-bottom: 10px; color: #FF6B35; }
.b5pn8f98-ai-content p { font-size: 0.9rem; color: #9898B0; line-height: 1.7; }
.b5pn8f98-ai-tags { display: flex; gap: 6px; margin-top: 12px; }
.b5pn8f98-ai-tags span {
    padding: 3px 10px; background: rgba(123, 45, 142, 0.15); border: 1px solid rgba(123, 45, 142, 0.3);
    border-radius: 12px; font-size: 0.75rem; color: #C8A0D8;
}

/* === Entertainment === */
.b5pn8f98-ent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.b5pn8f98-ent-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.b5pn8f98-ent-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.b5pn8f98-ent-card:hover img { transform: scale(1.08); }
.b5pn8f98-ent-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
    background: linear-gradient(transparent, rgba(15, 15, 26, 0.9));
}
.b5pn8f98-ent-overlay h3 { font-size: 1.1rem; margin-bottom: 6px; color: #FF6B35; }
.b5pn8f98-ent-overlay p { font-size: 0.85rem; color: #C8C8E0; }

/* === Experts === */
.b5pn8f98-expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.b5pn8f98-expert-card {
    background: #1A1A2E; border-radius: 16px; padding: 28px 20px; text-align: center;
    border: 1px solid rgba(123, 45, 142, 0.2);
    transition: transform 0.3s, border-color 0.3s;
}
.b5pn8f98-expert-card:hover { transform: translateY(-4px); border-color: #FF6B35; }
.b5pn8f98-expert-card img { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; border: 3px solid rgba(255, 107, 53, 0.4); object-fit: cover; }
.b5pn8f98-expert-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.b5pn8f98-expert-role { color: #FF6B35; font-size: 0.85rem; margin-bottom: 10px; }
.b5pn8f98-expert-info p { font-size: 0.85rem; color: #9898B0; margin-bottom: 10px; }
.b5pn8f98-expert-awards { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.b5pn8f98-expert-awards span {
    padding: 2px 10px; background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 12px; font-size: 0.75rem; color: #00D4AA;
}
.b5pn8f98-expert-actions { display: flex; gap: 8px; justify-content: center; }
.b5pn8f98-btn-sm {
    padding: 6px 16px; background: linear-gradient(135deg, #FF6B35, #E85520);
    color: #fff; border-radius: 8px; font-size: 0.8rem; transition: opacity 0.3s;
}
.b5pn8f98-btn-sm:hover { opacity: 0.85; color: #fff; }
.b5pn8f98-btn-sm-outline {
    padding: 6px 16px; border: 1px solid #7B2D8E; color: #C8A0D8;
    border-radius: 8px; font-size: 0.8rem; transition: all 0.3s;
}
.b5pn8f98-btn-sm-outline:hover { background: #7B2D8E; color: #fff; }

/* === Community === */
.b5pn8f98-comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b5pn8f98-comm-card {
    background: #1A1A2E; border-radius: 16px; padding: 32px 24px; text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}
.b5pn8f98-comm-card:hover { transform: translateY(-4px); border-color: #00D4AA; }
.b5pn8f98-comm-icon { font-size: 2.4rem; margin-bottom: 14px; }
.b5pn8f98-comm-card h4 { font-size: 1.05rem; margin-bottom: 10px; color: #E8E8F0; }
.b5pn8f98-comm-card p { font-size: 0.85rem; color: #9898B0; }

/* === Guide Steps === */
.b5pn8f98-guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.b5pn8f98-step { text-align: center; padding: 32px 24px; }
.b5pn8f98-step-num {
    font-size: 2.8rem; font-weight: 800;
    background: linear-gradient(135deg, #FF6B35, #7B2D8E);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 16px;
}
.b5pn8f98-step h4 { font-size: 1.1rem; margin-bottom: 10px; }
.b5pn8f98-step p { font-size: 0.9rem; color: #9898B0; }

/* === Partners === */
.b5pn8f98-partner-wall { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.b5pn8f98-partner-item {
    padding: 16px 32px; background: #1A1A2E; border: 1px solid rgba(123, 45, 142, 0.2);
    border-radius: 12px; font-size: 0.95rem; color: #9898B0;
    transition: border-color 0.3s, color 0.3s;
}
.b5pn8f98-partner-item:hover { border-color: #FF6B35; color: #FF6B35; }

/* === Reviews === */
.b5pn8f98-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b5pn8f98-review-card {
    background: #1A1A2E; border-radius: 16px; padding: 24px;
    border: 1px solid rgba(123, 45, 142, 0.15);
    transition: transform 0.3s;
}
.b5pn8f98-review-card:hover { transform: translateY(-3px); }
.b5pn8f98-stars { color: #FF6B35; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.b5pn8f98-review-card p { font-size: 0.9rem; color: #C8C8E0; line-height: 1.7; margin-bottom: 14px; }
.b5pn8f98-reviewer { display: flex; justify-content: space-between; font-size: 0.8rem; color: #6868A0; }

/* === FAQ === */
.b5pn8f98-faq-list { max-width: 800px; margin: 0 auto; }
.b5pn8f98-faq-item { border-bottom: 1px solid rgba(123, 45, 142, 0.2); }
.b5pn8f98-faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; background: none; border: none; color: #E8E8F0;
    font-size: 1rem; cursor: pointer; text-align: left; transition: color 0.3s;
}
.b5pn8f98-faq-question:hover { color: #FF6B35; }
.b5pn8f98-faq-icon { font-size: 1.4rem; color: #FF6B35; transition: transform 0.3s; }
.b5pn8f98-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.b5pn8f98-faq-answer p { padding: 0 0 18px; font-size: 0.9rem; color: #9898B0; line-height: 1.7; }
.b5pn8f98-faq-item.active .b5pn8f98-faq-icon { transform: rotate(45deg); }
.b5pn8f98-faq-item.active .b5pn8f98-faq-answer { max-height: 300px; }

/* === Share === */
.b5pn8f98-share { text-align: center; padding: 40px 0; }
.b5pn8f98-share-title { font-size: 1.2rem; margin-bottom: 20px; }
.b5pn8f98-share-btns { display: flex; justify-content: center; gap: 16px; }
.b5pn8f98-share-btn {
    padding: 10px 28px; border-radius: 10px; font-size: 0.9rem; color: #fff;
    transition: transform 0.3s, opacity 0.3s;
}
.b5pn8f98-share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.b5pn8f98-share-wechat { background: #07C160; }
.b5pn8f98-share-weibo { background: #E6162D; }
.b5pn8f98-share-douyin { background: #161823; border: 1px solid #444; }
.b5pn8f98-share-bilibili { background: #00A1D6; }

/* === Footer === */
.b5pn8f98-footer { background: #0A0A14; padding: 60px 0 0; border-top: 1px solid rgba(255, 107, 53, 0.15); }
.b5pn8f98-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 40px; margin-bottom: 40px; }
.b5pn8f98-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.b5pn8f98-footer-brand img { width: 48px; height: 48px; border-radius: 10px; }
.b5pn8f98-footer-logo-text { font-size: 1.3rem; font-weight: 700; background: linear-gradient(135deg, #FF6B35, #7B2D8E); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.b5pn8f98-footer-desc { font-size: 0.85rem; color: #6868A0; }
.b5pn8f98-footer-nav h4, .b5pn8f98-footer-contact h4, .b5pn8f98-footer-qrcode h4 { font-size: 1rem; margin-bottom: 16px; color: #FF6B35; }
.b5pn8f98-footer-nav ul li { margin-bottom: 8px; }
.b5pn8f98-footer-nav ul li a { color: #9898B0; font-size: 0.9rem; }
.b5pn8f98-footer-nav ul li a:hover { color: #FF6B35; }
.b5pn8f98-footer-contact p { font-size: 0.85rem; color: #9898B0; margin-bottom: 6px; }
.b5pn8f98-qr-group { display: flex; gap: 16px; }
.b5pn8f98-qr-item { text-align: center; }
.b5pn8f98-qr-item img { width: 120px; height: 120px; border-radius: 8px; margin-bottom: 6px; }
.b5pn8f98-qr-item span { font-size: 0.75rem; color: #6868A0; }
.b5pn8f98-footer-bottom { border-top: 1px solid rgba(123, 45, 142, 0.15); padding: 20px 0; text-align: center; }
.b5pn8f98-footer-bottom p { font-size: 0.85rem; color: #6868A0; }

/* === Back to Top === */
.b5pn8f98-back-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
    background: linear-gradient(135deg, #FF6B35, #7B2D8E);
    color: #fff; border: none; border-radius: 50%; font-size: 1.2rem;
    cursor: pointer; opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 999;
}
.b5pn8f98-back-top.visible { opacity: 1; visibility: visible; }
.b5pn8f98-back-top:hover { transform: translateY(-3px); }

/* === Lazy Load Placeholder === */
.b5pn8f98-lazy { opacity: 0; transition: opacity 0.5s; }
.b5pn8f98-lazy.loaded { opacity: 1; }

/* === Responsive === */
@media (max-width: 1024px) {
    .b5pn8f98-video-grid { grid-template-columns: repeat(2, 1fr); }
    .b5pn8f98-ai-grid { grid-template-columns: repeat(2, 1fr); }
    .b5pn8f98-expert-grid { grid-template-columns: repeat(2, 1fr); }
    .b5pn8f98-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .b5pn8f98-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #0F0F1A; padding: 20px; border-bottom: 1px solid rgba(255, 107, 53, 0.2); }
    .b5pn8f98-nav.active { display: block; }
    .b5pn8f98-nav-list { flex-direction: column; }
    .b5pn8f98-menu-toggle { display: block; }
    .b5pn8f98-hero { height: 400px; }
    .b5pn8f98-hero-title { font-size: 1.8rem; }
    .b5pn8f98-hero-subtitle { font-size: 1rem; }
    .b5pn8f98-hero-actions { flex-direction: column; gap: 10px; }
    .b5pn8f98-btn-primary, .b5pn8f98-btn-outline { text-align: center; }
    .b5pn8f98-video-grid { grid-template-columns: 1fr; }
    .b5pn8f98-ai-grid { grid-template-columns: 1fr; }
    .b5pn8f98-ent-grid { grid-template-columns: 1fr; }
    .b5pn8f98-expert-grid { grid-template-columns: 1fr; }
    .b5pn8f98-comm-grid { grid-template-columns: 1fr; }
    .b5pn8f98-guide-steps { grid-template-columns: 1fr; }
    .b5pn8f98-review-grid { grid-template-columns: 1fr; }
    .b5pn8f98-footer-grid { grid-template-columns: 1fr; }
    .b5pn8f98-section { padding: 48px 0; }
    .b5pn8f98-section-title { font-size: 1.5rem; }
    .b5pn8f98-share-btns { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .b5pn8f98-hero { height: 340px; }
    .b5pn8f98-hero-title { font-size: 1.4rem; }
    .b5pn8f98-search-input { font-size: 0.85rem; padding: 10px 14px; }
    .b5pn8f98-search-btn { padding: 10px 18px; font-size: 0.85rem; }
}
