/* 芒果视频 原创样式表 - 深紫+粉红+金色配色方案 */
/* vkkxwwff.cn */

:root {
    --primary: #c44dff;
    --primary-dark: #9b30d9;
    --pink: #ff6b9d;
    --pink-light: #ffb3cc;
    --gold: #ffd700;
    --bg-dark: #0f0520;
    --bg-card: #1a0a2e;
    --bg-alt: #140828;
    --text-main: #f0e6ff;
    --text-muted: #b8a0d4;
    --border: #2d1650;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(196, 77, 255, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--pink); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 5, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.site-logo { border-radius: 8px; }

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--text-main);
    background: var(--bg-card);
}

#nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

#nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
}

/* Search Bar */
.search-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.search-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}

#search-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--bg-dark);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
}

#search-input:focus { border-color: var(--primary); }

#search-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: #fff;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s;
}

#search-btn:hover { opacity: 0.85; }

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 110px;
}

.breadcrumb a { color: var(--pink); }
.breadcrumb .sep { margin: 0 8px; }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 110px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,5,32,0.85), rgba(26,10,46,0.7));
}

.hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 60px 20px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

.btn {
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-pink {
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: #fff;
}

.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,107,157,0.4); color: #fff; }

.btn-outline {
    border: 2px solid var(--pink);
    color: var(--pink);
    background: transparent;
}

.btn-outline:hover { background: var(--pink); color: #fff; }

.hero-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-tags .tag {
    padding: 6px 14px;
    background: rgba(196,77,255,0.15);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--pink-light);
}

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Video Grid */
.video-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.tab-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: #fff;
    border-color: transparent;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-alt);
}

.play-btn-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .play-btn-overlay { opacity: 1; }

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,107,157,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-icon::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
}

.video-info { padding: 16px; }
.video-info h3 { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.video-info h3 a { color: var(--text-main); }
.video-info h3 a:hover { color: var(--pink); }

.video-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--pink);
    transform: translateY(-3px);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--pink-light); }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Entertainment Grid */
.ent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ent-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ent-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--pink), var(--primary));
}

.ent-card h4 { margin-bottom: 8px; color: var(--pink-light); }
.ent-card p { font-size: 0.9rem; color: var(--text-muted); }
.ent-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(255,107,157,0.1);
    border: 1px solid var(--pink);
    border-radius: 15px;
    font-size: 12px;
    color: var(--pink);
}

/* AI Grid */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ai-card {
    background: linear-gradient(135deg, var(--bg-card), rgba(196,77,255,0.05));
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--primary);
}

.ai-card h4 { color: var(--gold); margin-bottom: 10px; }
.ai-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Community Grid */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.comm-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.comm-card h5 { color: var(--pink); margin-bottom: 8px; }
.comm-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Expert Grid */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expert-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pink);
    margin-bottom: 16px;
}

.expert-card h4 { color: var(--pink-light); margin-bottom: 10px; }
.expert-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

.expert-actions { display: flex; gap: 10px; justify-content: center; }

.btn-sm {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: #fff;
    display: inline-block;
}

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
}

/* Partners */
.partner-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
}

.partner-item {
    padding: 16px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
}

.howto-section { text-align: center; }
.howto-section h3 { margin-bottom: 30px; color: var(--pink-light); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.step-num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card h5 { color: var(--text-main); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.review-stars { color: var(--gold); margin-bottom: 12px; font-size: 1.1rem; }
.review-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; font-style: italic; }
.reviewer { font-size: 0.8rem; color: var(--pink); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover { background: rgba(196,77,255,0.05); }
.faq-question h4 { font-size: 0.95rem; color: var(--text-main); }
.faq-toggle { font-size: 1.5rem; color: var(--pink); transition: transform 0.3s; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 24px 18px;
    max-height: 300px;
}

.faq-answer p { font-size: 0.9rem; color: var(--text-muted); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.contact-photo {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.contact-info h4, .contact-community h4 { color: var(--pink-light); margin-bottom: 16px; }
.contact-info ul, .contact-community ul { list-style: none; }
.contact-info li, .contact-community li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.app-download {
    margin-top: 20px;
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-dark);
    border: 2px dashed var(--border);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.qr-placeholder::after { content: "QR"; color: var(--text-muted); font-size: 12px; }

/* Share */
.share-center { text-align: center; }
.share-center h3 { margin-bottom: 20px; color: var(--pink-light); }

.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.share-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    color: #fff;
    transition: transform 0.3s;
}

.share-btn:hover { transform: scale(1.05); color: #fff; }
.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.douyin { background: #161823; border: 1px solid #fe2c55; }
.share-btn.bilibili { background: #00a1d6; }

/* Footer */
#site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h4 { color: var(--pink-light); margin: 12px 0 8px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }

.footer-links h5, .footer-contact h5, .footer-qrcode h5 {
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { padding: 5px 0; font-size: 0.85rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--pink); }
.footer-contact li { color: var(--text-muted); }

.qr-grid { display: flex; gap: 16px; }
.qr-item { text-align: center; }
.qr-item span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.qr-item .qr-placeholder { width: 80px; height: 80px; }

.footer-share {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.footer-share span { color: var(--text-muted); margin-right: 12px; font-size: 14px; }
.footer-share a { margin: 0 8px; font-size: 14px; }

.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom a { color: var(--pink); }
.update-time { margin-top: 8px; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-dark); padding: 20px; border-bottom: 1px solid var(--border); }
    #main-nav.active { display: block; }
    .nav-list { flex-direction: column; }
    #nav-toggle { display: flex; }
    .hero-section { margin-top: 140px; min-height: 60vh; }
    .hero-title { font-size: 1.6rem; }
    .video-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .ent-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: repeat(2, 1fr); }
    .expert-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .breadcrumb { margin-top: 140px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .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); }
}

/* Lazy Background */
.lazy-bg { background-color: var(--bg-alt); }

/* Page Header for inner pages */
.page-header {
    padding: 40px 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    margin-top: 110px;
}

.page-title { font-size: 1.8rem; margin-bottom: 10px; }
.page-desc { color: var(--text-muted); font-size: 1rem; }
