/* 国产视频 - 主样式表 */
/* 影视传媒公司+视频社区 - cnioxfa.cn */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #f8a5c2;
    --dark-bg: #1a1a2e;
    --light-bg: #fff5f8;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --gradient-pink: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --gradient-purple: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    --shadow-soft: 0 4px 15px rgba(255, 107, 157, 0.2);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-pink);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Search Bar */
.search-section {
    background: var(--light-bg);
    padding: 15px 0;
    margin-top: 70px;
}

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

.search-box {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 15px 30px;
    background: var(--gradient-pink);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: var(--gradient-pink);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-banner.jpg') center/cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--gradient-pink);
    color: #fff;
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-alt {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark-bg);
    color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-dark .section-header h2 {
    color: #fff;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Card Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

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

.video-info {
    padding: 18px;
}

.video-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    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: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
    background: var(--gradient-pink);
    color: #fff;
    border-color: transparent;
}

/* Expert Cards */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.expert-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.expert-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.expert-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.expert-awards {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.award-badge {
    background: var(--light-bg);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

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

.expert-links a {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Partners Section */
.partners-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px 0;
}

.partners-logo img {
    max-height: 60px;
    opacity: 0.7;
    transition: var(--transition);
}

.partners-logo img:hover {
    opacity: 1;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.review-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 12px;
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.qr-codes {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Social Share */
.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-wechat { background: #07c160; }
.social-weibo { background: #e6162d; }
.social-douyin { background: #000; }
.social-bilibili { background: #fb7299; }

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-bg);
    padding: 15px 20px;
    margin-top: 70px;
}

.breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-dark);
}

/* Page Header */
.page-header {
    background: var(--gradient-pink);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 15px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .qr-codes {
        justify-content: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .category-tabs {
        gap: 10px;
    }

    .category-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Lazy Loading Placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* 面包屑导航 */
.breadcrumb {
    background: var(--light-bg);
    padding: 10px 0;
    margin-top: 70px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 娱乐专区 */
.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.entertainment-card {
    background: linear-gradient(145deg, #fff 0%, var(--light-bg) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
}

.entertainment-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.entertainment-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.entertainment-card h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.entertainment-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.entertainment-count {
    display: inline-block;
    background: var(--gradient-pink);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 专家详情样式 */
.expert-credentials,
.expert-experience,
.expert-works {
    text-align: left;
    margin: 15px 0;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 12px;
}

.expert-credentials h4,
.expert-experience h4,
.expert-works h4 {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.expert-credentials ul,
.expert-works ul {
    list-style: none;
    padding-left: 0;
}

.expert-credentials li,
.expert-works li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.expert-credentials li::before,
.expert-works li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.expert-experience p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* 媒体报道 */
.media-coverage {
    margin-top: 40px;
    text-align: center;
}

.media-coverage h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.media-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.media-item {
    background: var(--light-bg);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 1px solid var(--accent-color);
}

/* 评价日期 */
.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: right;
}
