/**
 * 麻豆传媒 - 全新原创CSS样式
 * 域名: whzLtby.com
 * 设计风格: 深色主题 + 渐变色彩 + 卡片式布局
 * 版本: 1.0
 */

/* ==================== 基础重置 ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-attachment: fixed;
    color: #e8e8e8;
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #38bdf8;
}

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

ul, ol {
    list-style-position: inside;
}

/* ==================== 布局容器 ==================== */
.site-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== 顶部导航栏 ==================== */
.site-header {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(125, 211, 252, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f472b6 0%, #7c3aed 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f472b6, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-item {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #c4b5fd;
    transition: all 0.25s ease;
}

.nav-item:hover {
    background: rgba(124, 58, 237, 0.2);
    color: #f472b6;
}

.nav-item.current {
    background: linear-gradient(135deg, #7c3aed 0%, #f472b6 100%);
    color: #fff;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb-nav {
    padding: 20px 0;
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
}

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

.breadcrumb-link {
    color: #a5b4fc;
}

.breadcrumb-link:hover {
    color: #f472b6;
}

.breadcrumb-divider {
    color: #6366f1;
}

.breadcrumb-current {
    color: #e879f9;
    font-weight: 500;
}

/* ==================== 主内容区 ==================== */
.main-content {
    padding: 40px 0 60px;
}

.page-hero {
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f472b6, #7dd3fc, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #c4b5fd;
    line-height: 1.9;
}

/* ==================== 分类介绍区块 ==================== */
.category-overview {
    background: rgba(30, 27, 75, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.category-overview h2 {
    font-size: 1.4rem;
    color: #e879f9;
    margin-bottom: 16px;
}

.category-overview p {
    color: #c4b5fd;
    line-height: 1.9;
}

/* ==================== 视频板块 ==================== */
.video-section {
    margin-bottom: 56px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-header::before {
    content: "";
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, #f472b6, #7c3aed);
    border-radius: 3px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0abfc;
}

/* ==================== 视频网格 - 5列布局 ==================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 视频卡片 ==================== */
.video-card {
    background: rgba(30, 27, 75, 0.7);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.15);
    transition: all 0.35s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 114, 182, 0.4);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
}

.poster-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .poster-wrapper img {
    transform: scale(1.08);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(124, 58, 237, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 114, 182, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(244, 114, 182, 0.4);
}

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

.card-content {
    padding: 18px;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f0abfc;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-summary {
    font-size: 0.85rem;
    color: #a5b4fc;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-tags {
    display: flex;
    gap: 6px;
}

.tag-item {
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #c4b5fd;
}

.rating-badge {
    font-size: 0.8rem;
    color: #fbbf24;
    font-weight: 600;
}

/* ==================== EEAT内容页面 ==================== */
.eeat-article {
    background: rgba(30, 27, 75, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.eeat-article h2 {
    font-size: 1.4rem;
    color: #e879f9;
    margin: 36px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(232, 121, 249, 0.3);
}

.eeat-article h2:first-child {
    margin-top: 0;
}

.eeat-article p {
    color: #c4b5fd;
    margin-bottom: 16px;
    line-height: 1.9;
}

.eeat-article ul {
    color: #c4b5fd;
    margin-bottom: 20px;
    padding-left: 20px;
}

.eeat-article li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.eeat-article strong {
    color: #f0abfc;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .team-cards {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.team-card h4 {
    color: #f472b6;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.team-card p {
    color: #a5b4fc;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: rgba(15, 12, 41, 0.95);
    border-top: 1px solid rgba(125, 211, 252, 0.15);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-column h4 {
    font-size: 1.1rem;
    color: #f472b6;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #a5b4fc;
    padding: 6px 0;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.footer-column a:hover {
    color: #f472b6;
    padding-left: 8px;
}

.footer-statement {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 32px;
}

.footer-statement p {
    font-size: 0.9rem;
    color: #c4b5fd;
    line-height: 1.8;
}

.footer-statement strong {
    color: #e879f9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(125, 211, 252, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #6366f1;
}

/* ==================== 响应式调整 ==================== */
@media (max-width: 768px) {
    .site-wrapper {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .eeat-article {
        padding: 28px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
