/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 40px 20px 32px; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 500px 250px at 30% 60%, rgba(194,37,92,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-inner {
    position: relative; z-index: 1; max-width: 960px; margin: 0 auto;
    display: flex; gap: 24px; align-items: center;
}
.header-logo {
    width: 80px; height: 56px; object-fit: contain; flex-shrink: 0;
    background: rgba(255,255,255,0.08); border-radius: 10px; padding: 8px;
}
.header-body { flex: 1; min-width: 0; }
.header-body .count-badge {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    color: #f472b6; background: rgba(194,37,92,0.15); padding: 3px 12px;
    border-radius: 14px; margin-bottom: 6px;
}
.header-body h1 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.header-body .type-label { font-size: 0.78rem; color: #f472b6; font-weight: 600; margin-bottom: 6px; }
.header-body .header-desc { font-size: 0.86rem; color: #94a3b8; line-height: 1.6; }
.header-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.header-actions a {
    font-size: 0.8rem; font-weight: 600; padding: 7px 18px; border-radius: 6px;
    text-decoration: none; transition: all 0.2s;
}
.header-actions .btn-primary { background: #c2255c; color: #fff; }
.header-actions .btn-primary:hover { background: #a61e4d; text-decoration: none; }
.header-actions .btn-ghost { background: transparent; color: #94a3b8; border: 1px solid rgba(255,255,255,0.2); }
.header-actions .btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.5); text-decoration: none; }

/* ========== Breadcrumb ========== */
.breadcrumb-bar { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 10px 20px; }
.breadcrumb-bar-inner { max-width: 960px; margin: 0 auto; font-size: 0.78rem; color: #94a3b8; }
.breadcrumb-bar a { color: #94a3b8; text-decoration: none; }
.breadcrumb-bar a:hover { color: #c2255c; }

/* ========== Filter Chips ========== */
.filter-section { margin-bottom: 24px; }
.filter-label { font-size: 0.78rem; font-weight: 700; color: #64748b; margin-bottom: 8px; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    color: #475569; background: #fff; padding: 5px 14px; border-radius: 16px;
    text-decoration: none; border: 1px solid #e2e8f0; transition: all 0.2s;
}
.filter-chip:hover { color: #c2255c; border-color: #c2255c; background: #fdf2f8; text-decoration: none; }
.filter-chip--active { color: #fff; background: #c2255c; border-color: #c2255c; }
.filter-chip--active:hover { color: #fff; background: #a61e4d; border-color: #a61e4d; }
.filter-chip--clear {
    color: #94a3b8; background: transparent; border-color: #cbd5e1;
}

/* ========== Section ========== */
.section-head { margin-bottom: 16px; }
.section-head h2 {
    font-size: 1.15rem; color: #1e293b; font-weight: 800;
    padding-bottom: 8px; border-bottom: 2px solid #f1f5f9; margin-bottom: 6px;
}
.section-head .desc { font-size: 0.84rem; color: #64748b; line-height: 1.5; }

/* ========== Video Grid ========== */
.video-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.video-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: all 0.2s;
}
.video-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-2px); text-decoration: none; }
.video-card .thumb {
    position: relative; width: 100%; aspect-ratio: 16/9; background: #f1f5f9; overflow: hidden;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb .duration {
    position: absolute; bottom: 6px; right: 6px;
    font-size: 0.68rem; font-weight: 700; color: #fff;
    background: rgba(0,0,0,0.75); padding: 2px 7px; border-radius: 4px;
}
.video-card .thumb .series-badge {
    position: absolute; top: 6px; right: 6px;
    background: rgba(194,37,92,0.85); color: #fff;
    font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
    max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.video-card .info { padding: 10px 12px; }
.video-card .info .title {
    font-size: 0.82rem; color: #1e293b; font-weight: 600; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 4px;
}
.video-card .info .desc-text {
    font-size: 0.72rem; color: #94a3b8; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 4px;
}
.video-card .info .meta { font-size: 0.72rem; color: #b0b8c4; }

/* ========== CTA Block ========== */
.cta-block {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 14px; padding: 28px 24px; margin-top: 40px;
    position: relative; overflow: hidden;
}
.cta-block::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 400px 200px at 50% 80%, rgba(194,37,92,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-block-inner { position: relative; z-index: 1; }
.cta-block h2 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; text-align: center; }
.cta-block p { font-size: 0.84rem; color: #94a3b8; line-height: 1.6; text-align: center; margin-bottom: 16px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-buttons a {
    font-size: 0.85rem; font-weight: 700; padding: 10px 24px; border-radius: 8px;
    text-decoration: none; transition: all 0.2s;
}
.cta-buttons .btn-primary { background: #c2255c; color: #fff; }
.cta-buttons .btn-primary:hover { background: #a61e4d; text-decoration: none; }
.cta-buttons .btn-outline { background: transparent; color: #94a3b8; border: 1px solid rgba(255,255,255,0.25); }
.cta-buttons .btn-outline:hover { color: #fff; border-color: rgba(255,255,255,0.5); text-decoration: none; }

/* ========== Pagination ========== */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: inline-block; padding: 8px 14px; border-radius: 6px;
    font-size: 0.85rem; font-weight: 500; text-decoration: none;
}
.pagination a { color: #475569; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.pagination a:hover { background: #fdf2f8; color: #c2255c; text-decoration: none; }
.pagination .current { background: #c2255c; color: #fff; }
.pagination .disabled { color: #cbd5e1; background: none; }
.pagination .ellipsis { color: #94a3b8; background: none; padding: 8px 6px; }

/* ========== Responsive ========== */
@media (max-width: 640px) {
    .page-header-inner { flex-direction: column; text-align: center; }
    .header-logo { width: 64px; height: 44px; }
    .header-body h1 { font-size: 1.25rem; }
    .header-actions { justify-content: center; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    .cta-block { padding: 22px 16px; }
}
