/* 茄子视频 - 主样式文件 */
/* 纯原创CSS布局 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #e8e8e8;
    line-height: 1.6;
}

/* ========== 头部导航 ========== */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #e94560, #ff8a80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: #c8c8c8;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: white;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #a8a8a8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #e94560;
}

.breadcrumb-item.active {
    color: #e94560;
}

.breadcrumb-separator {
    color: #666;
    margin: 0 10px;
}

/* ========== 主要内容区 ========== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ========== 英雄区域 ========== */
.hero-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #b8b8b8;
    line-height: 1.8;
}

/* ========== 板块标题 ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(233, 69, 96, 0.3);
}

.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 2px;
}

.section-more {
    color: #e94560;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.section-more:hover {
    color: #ff8a80;
}

/* ========== 视频卡片网格 ========== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

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

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

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

/* ========== 视频卡片 ========== */
.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

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

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.5);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.video-desc {
    font-size: 13px;
    color: #a8a8a8;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-source {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
}

/* ========== 分类页特有样式 ========== */
.category-intro {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.category-intro h2 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.category-intro p {
    color: #b8b8b8;
    line-height: 1.8;
}

/* ========== EEAT页面样式 ========== */
.content-page {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
}

.content-page h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.content-page h2 {
    font-size: 24px;
    color: #e94560;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.content-page p {
    color: #c8c8c8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-page ul {
    color: #c8c8c8;
    padding-left: 25px;
    margin-bottom: 15px;
}

.content-page li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.team-member h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.team-member p {
    color: #a8a8a8;
    font-size: 14px;
    margin-bottom: 0;
}

.contact-info {
    background: rgba(233, 69, 96, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
}

/* ========== 页脚 ========== */
.footer {
    background: rgba(10, 10, 20, 0.9);
    padding: 50px 0 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-nav {
    text-align: center;
    margin-bottom: 30px;
}

.footer-nav h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: #a8a8a8;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #e94560;
}

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

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e94560;
}

.footer-statement {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.footer-statement p {
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

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

.footer-update {
    text-align: center;
    margin-bottom: 20px;
}

.footer-update p {
    color: #666;
    font-size: 13px;
}

.footer-copyright {
    text-align: center;
    color: #555;
    font-size: 12px;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .content-page {
        padding: 25px;
    }
    
    .content-page h1 {
        font-size: 26px;
    }
    
    .footer-nav a {
        display: inline-block;
        margin: 5px 8px;
    }
}

/* ========== 动画效果 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card {
    animation: fadeInUp 0.5s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.05s; }
.video-card:nth-child(2) { animation-delay: 0.1s; }
.video-card:nth-child(3) { animation-delay: 0.15s; }
.video-card:nth-child(4) { animation-delay: 0.2s; }
.video-card:nth-child(5) { animation-delay: 0.25s; }
.video-card:nth-child(6) { animation-delay: 0.3s; }
