/* 黑料网 - 影视传媒视频社区 主样式表 */
/* dengxiangcun.com */

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

:root {
    --primary-color: #e91e8c;
    --secondary-color: #9c27b0;
    --accent-color: #ff4081;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gradient-primary: linear-gradient(135deg, #e91e8c 0%, #9c27b0 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

.logo-text {
    color: var(--text-light);
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu li a {
    color: var(--text-light);
    padding: 10px 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--gradient-primary);
    color: var(--text-light);
}

/* Search Box */
.search-container {
    background: rgba(255,255,255,0.1);
    padding: 15px 0;
}

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

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

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

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    padding-left: 50px;
    max-width: 600px;
}

.banner-content h1 {
    color: var(--text-light);
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner-content p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233,30,140,0.4);
}

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

.section-dark {
    background: var(--dark-bg);
    color: var(--text-light);
}

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

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 16px;
    margin-top: 15px;
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.7);
}

/* Video Cards Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.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(233,30,140,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px 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: 12px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 13px;
}

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

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

.category-tab {
    padding: 10px 25px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

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

/* Expert Section */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.expert-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

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

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

.expert-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-card .title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.expert-tags span {
    background: rgba(233,30,140,0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
}

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

.partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

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

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

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

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

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

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

.review-user h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.review-user span {
    color: #999;
    font-size: 13px;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.review-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

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

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

.faq-question {
    padding: 20px 25px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(233,30,140,0.05);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: '-';
}

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

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: #fff;
    font-size: 20px;
}

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

.contact-text p {
    color: #666;
    font-size: 14px;
}

.qrcode-section {
    display: flex;
    gap: 30px;
}

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

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

.qrcode-item p {
    font-size: 14px;
    color: #666;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 50px 0 20px;
}

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

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

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

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

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.update-time {
    margin-top: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

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

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li a {
    color: #666;
}

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

.breadcrumb-list li.active {
    color: var(--primary-color);
}

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

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

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* Community Section */
.community-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.community-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.community-icon {
    width: 70px;
    height: 70px;
    background: rgba(233,30,140,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
}

.community-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.community-card p {
    color: #666;
    font-size: 14px;
}

/* Tool Cards */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tool-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.tool-image {
    height: 200px;
    overflow: hidden;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-image img {
    transform: scale(1.05);
}

.tool-content {
    padding: 25px;
}

.tool-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tool-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-features span {
    background: rgba(233,30,140,0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

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

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .reviews-grid,
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .community-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .community-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-section {
        flex-direction: column;
        align-items: center;
    }
}

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

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

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

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.wechat {
    background: #07c160;
}

.share-btn.weibo {
    background: #e6162d;
}

.share-btn.douyin {
    background: #000;
}

.share-btn.bilibili {
    background: #fb7299;
}

/* Stats Counter */
.stats-section {
    background: var(--gradient-primary);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: #fff;
}

.stat-item h3 {
    font-size: 42px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
