/* 黑料网 - 影视传媒视频社区 主样式表 */
/* 网站: eocpsfg.cn */

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

:root {
    --primary-color: #ff6b8a;
    --secondary-color: #ff8fa3;
    --accent-color: #ffa5b4;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --gradient-primary: linear-gradient(135deg, #ff6b8a 0%, #ff8fa3 50%, #ffa5b4 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

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

ul, ol {
    list-style: none;
}

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

/* Header Navigation */
.header {
    background: var(--gradient-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

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

/* Search Box */
.search-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.search-box button {
    padding: 15px 30px;
    background: var(--gradient-primary);
    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-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

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

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Section Styles */
.section {
    padding: 60px 0;
}

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

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

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-alt {
    background: linear-gradient(135deg, #fff5f7 0%, #fff0f3 100%);
}

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

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

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

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

.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,138,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: 4px;
}

.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: 0.8rem;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
}

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

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

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

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

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

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

.expert-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

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

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

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-tag {
    padding: 8px 20px;
    background: #fff;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-tag:hover,
.category-tag.active {
    background: var(--gradient-primary);
    color: #fff;
}

/* Partner Logos */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

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

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

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

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

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

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.review-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-content {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.contact-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

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

/* QR Code Section */
.qr-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

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

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

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

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

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

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; }
.share-bilibili { background: #00a1d6; }

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

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

.footer-brand .logo {
    margin-bottom: 20px;
}

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

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-update {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

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

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

.breadcrumb-separator {
    color: #ccc;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    padding: 50px 0;
    text-align: center;
    color: #fff;
}

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

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-color);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 45%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-grid {
        gap: 30px;
    }
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-gradient { background: var(--gradient-primary); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }


/* Expert Credentials */
.expert-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.expert-credentials span {
    background: var(--light-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Expert Works */
.expert-works {
    text-align: left;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.expert-works h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.expert-works ul {
    font-size: 0.85rem;
    color: var(--text-light);
}

.expert-works li {
    padding: 3px 0;
}

.expert-works li::before {
    content: "• ";
    color: var(--primary-color);
}

/* Video Description */
.video-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-tag {
    background: var(--light-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    padding: 50px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

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

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

.breadcrumb-separator {
    color: #ccc;
}

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

/* Utilities */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

/* Cursor pointer for category tags */
.category-tag {
    cursor: pointer;
}
