/* 糖心vlog - 纯原创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;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

a:hover {
    color: #e74c3c;
}

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

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.logo-text span {
    color: #e74c3c;
}

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

.main-nav a {
    color: #fff;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* 面包屑导航 */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #666;
}

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

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    font-size: 12px;
}

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

/* 页面标题区 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-intro {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* 板块标题 */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.section-title h2 {
    font-size: 22px;
    color: #1a1a2e;
    font-weight: 600;
}

.section-title::before {
    content: "";
    width: 4px;
    height: 24px;
    background: #e74c3c;
    margin-right: 12px;
    border-radius: 2px;
}

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

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.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.05);
}

.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-btn {
    width: 60px;
    height: 60px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.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-card:hover .play-btn {
    transform: scale(1.1);
}

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

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 15px;
    color: #1a1a2e;
    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: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* 分类页视频网格 - 6个 */
.video-grid-small {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 分类描述区 */
.category-intro {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.category-intro h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.category-intro p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 60px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa;
}

.footer-nav a {
    display: inline-block;
    color: #aaa;
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-links a {
    display: inline-block;
    color: #aaa;
    margin-right: 20px;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-statement {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

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

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

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

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

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

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

/* EEAT页面样式 */
.eeat-content {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.eeat-content h1 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

.eeat-content h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.eeat-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.eeat-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.eeat-content li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.team-member {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

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

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

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

.contact-info strong {
    color: #1a1a2e;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .video-grid,
    .video-grid-small {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .video-grid,
    .video-grid-small {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .video-grid,
    .video-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .eeat-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .video-grid,
    .video-grid-small {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 14px;
    }
}
