/* ===== MoyuVod - iQIYI Style ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: #1a1a1a; text-decoration: none; transition: color 0.2s; }
a:hover { color: #00be06; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 30px;
}
.logo a {
    font-size: 28px;
    font-weight: 800;
    color: #00be06;
    letter-spacing: -1px;
    font-style: italic;
}
.main-nav ul { display: flex; gap: 0; }
.main-nav a {
    display: block;
    padding: 0 22px;
    line-height: 70px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: #00be06; }
.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #00be06;
    border-radius: 2px;
}

.search-form {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 4px 6px 4px 12px;
    transition: all 0.2s;
}
.search-form:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px #00be06;
}
.search-form input[type="text"] {
    padding: 7px 8px;
    border: none;
    background: transparent;
    color: #333;
    width: 220px;
    outline: none;
    font-size: 14px;
}
.search-form button {
    padding: 7px 20px;
    background: #00be06;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.search-form button:hover { background: #00a305; }

/* ===== Carousel ===== */
.carousel {
    background: #fff;
    padding: 16px 0 0;
    margin-bottom: 16px;
}
.carousel-inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 380px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.carousel-item {
    display: none;
    position: relative;
    height: 380px;
}
.carousel-item.active { display: block; }
.carousel-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    left: 60px;
    bottom: 60px;
    color: #fff;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.carousel-caption h3 {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 700;
}
.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.carousel-caption .play-btn {
    display: inline-block;
    padding: 10px 32px;
    background: #00be06;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-shadow: none;
}
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dots span {
    width: 30px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-dots span.active { background: #fff; }

/* ===== Channel Section ===== */
.vod-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px 20px 24px;
    margin-bottom: 14px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-left: 12px;
}
.section-header h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: #00be06;
    border-radius: 2px;
}
.section-header .more {
    font-size: 13px;
    color: #999;
}
.section-header .more:hover { color: #00be06; }

/* Horizontal scroll row */
.vod-scroll {
    position: relative;
    margin: 0 -5px;
}
.vod-scroll-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.vod-scroll-row::-webkit-scrollbar { display: none; }

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 60px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    border-radius: 4px;
}
.vod-scroll:hover .scroll-btn { opacity: 1; }
.scroll-btn:hover { background: rgba(0,0,0,0.55); }
.scroll-btn.left { left: 5px; }
.scroll-btn.right { right: 5px; }

/* ===== Video Card ===== */
.vod-card {
    flex-shrink: 0;
    width: calc((100% - 14px * 5) / 6);
    min-width: 180px;
    cursor: pointer;
    transition: transform 0.2s;
}
.vod-card:hover { transform: translateY(-4px); }
.vod-pic {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 10px;
}
.vod-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.vod-card:hover .vod-pic img { transform: scale(1.05); }

.vod-remark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 10px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 12px;
    text-align: right;
}
.vod-quality {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff6a00;
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
}

.vod-info { padding: 0 2px; }
.vod-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}
.vod-meta {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Detail Page ===== */
.detail-wrapper {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}
.detail-hero {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, #1e2a38 0%, #0f1419 100%);
    color: #fff;
}
.detail-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: blur(30px);
}
.detail-main {
    position: relative;
    display: flex;
    gap: 30px;
}
.detail-poster {
    width: 200px;
    flex-shrink: 0;
}
.detail-poster img {
    width: 100%;
    border-radius: 6px;
    aspect-ratio: 2/3;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.detail-info {
    flex: 1;
    min-width: 0;
}
.detail-info h1 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.detail-meta span strong {
    color: #fff;
    font-weight: 500;
    margin-left: 4px;
}
.detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.detail-actions .play-btn {
    padding: 10px 36px;
    background: #00be06;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
}
.detail-actions .play-btn:hover { background: #00a305; }
.detail-actions .sec-btn {
    padding: 10px 24px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}
.detail-actions .sec-btn:hover { background: rgba(255,255,255,0.25); }
.detail-intro {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Episode list */
.play-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}
.play-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1a1a1a;
}
.source-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}
.source-tabs a {
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.source-tabs a.active {
    color: #00be06;
    border-bottom-color: #00be06;
    font-weight: 500;
}
.episode-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.episode-list a {
    display: block;
    padding: 10px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.episode-list a:hover {
    background: #e8f8e8;
    color: #00be06;
}
.episode-list a.active {
    background: #00be06;
    color: #fff;
}

/* ===== Player Page ===== */
.player-page {
    background: #000;
}
.player-box {
    background: #000;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 80vh;
}
.player-box iframe,
.player-box video {
    width: 100%;
    height: 100%;
    border: none;
}
.player-info-bar {
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.player-info-bar h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}
.player-info-bar .meta {
    color: #999;
    font-size: 13px;
}

/* ===== List Page ===== */
.list-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.list-header h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    position: relative;
    padding-left: 12px;
}
.list-header h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #00be06;
    border-radius: 2px;
}
.list-count {
    font-size: 13px;
    color: #999;
}
.filter-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.filter-bar:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.filter-bar .label {
    color: #999;
    font-size: 13px;
    min-width: 50px;
    font-weight: 500;
}
.filter-bar a {
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 13px;
    color: #333;
    transition: all 0.2s;
}
.filter-bar a:hover {
    color: #00be06;
    background: transparent;
}
.filter-bar a.active {
    background: #00be06;
    color: #fff;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px 16px;
    margin-top: 20px;
}
.list-grid .vod-card {
    width: auto;
    min-width: auto;
}

/* 列表页播放按钮覆盖层 */
.vod-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.vod-card:hover .vod-play-overlay {
    opacity: 1;
}
.play-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,190,6,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    padding-left: 4px;
    transform: scale(0.8);
    transition: transform 0.3s;
}
.vod-card:hover .play-icon {
    transform: scale(1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}
.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    background: #fff;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
}
.pagination a:hover {
    border-color: #00be06;
    color: #00be06;
}
.pagination .current {
    background: #00be06;
    border-color: #00be06;
    color: #fff;
}

/* ===== Search Page ===== */
.search-result-header {
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.search-result-header h1 {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}
.search-result-header h1 strong {
    color: #00be06;
    font-weight: 600;
    margin: 0 4px;
}
.search-result-header h1 span {
    color: #999;
    font-size: 13px;
    font-weight: normal;
    margin-left: 8px;
}

/* ===== Footer ===== */
.site-footer {
    background: #fff;
    padding: 30px 0;
    margin-top: 30px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
    color: #999;
    font-size: 12px;
}
.site-footer a { color: #999; }
.site-footer a:hover { color: #00be06; }
.site-footer p { margin-bottom: 6px; }

/* ===== Sidebar (hide for iQIYI style) ===== */
.sidebar { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .container { padding: 0 16px; }
    .list-grid { grid-template-columns: repeat(5, 1fr); }
    .episode-list { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 12px; }
    
    .header-inner { height: auto; min-height: 56px; padding: 8px 0; gap: 10px; flex-wrap: wrap; }
    .logo a { font-size: 22px; }
    
    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav ul { flex-wrap: nowrap; white-space: nowrap; }
    .main-nav a {
        padding: 0 16px;
        line-height: 44px;
        font-size: 14px;
    }
    .main-nav a.active::after { display: none; }
    
    .search-form { margin-left: auto; }
    .search-form input[type="text"] { width: 120px; font-size: 13px; }
    .search-form button { padding: 6px 14px; font-size: 13px; }
    
    .carousel-inner,
    .carousel-item,
    .carousel-item img { height: 200px; }
    .carousel-caption { left: 20px; bottom: 30px; max-width: 80%; }
    .carousel-caption h3 { font-size: 20px; margin-bottom: 6px; }
    .carousel-caption p { font-size: 12px; display: none; }
    .carousel-caption .play-btn { padding: 6px 20px; font-size: 14px; }
    
    .vod-section { padding: 14px 12px 18px; margin-bottom: 10px; }
    .section-header { margin-bottom: 12px; }
    .section-header h2 { font-size: 18px; padding-left: 10px; }
    .section-header h2::before { height: 18px; }
    
    .vod-card { min-width: 140px; width: 45%; }
    .vod-pic { margin-bottom: 6px; }
    .vod-name { font-size: 13px; margin-bottom: 2px; }
    .vod-meta { font-size: 11px; }
    
    .detail-main { flex-direction: column; gap: 16px; }
    .detail-poster { width: 120px; margin: 0 auto; }
    .detail-info h1 { font-size: 20px; }
    .detail-hero { padding: 20px 16px; }
    
    .list-wrapper { padding: 16px 12px; border-radius: 6px; margin-bottom: 12px; }
    .list-header { margin-bottom: 14px; padding-bottom: 12px; }
    .list-header h1 { font-size: 17px; padding-left: 10px; }
    .list-header h1::before { height: 16px; width: 3px; }
    .list-count { font-size: 12px; }
    .filter-bar { gap: 6px; margin-bottom: 8px; padding: 6px 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar .label { min-width: auto; flex-shrink: 0; font-size: 12px; }
    .filter-bar a { padding: 5px 12px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
    
    .list-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; margin-top: 14px; }
    .episode-list { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .vod-pic { margin-bottom: 6px; border-radius: 4px; }
    .vod-name { font-size: 13px; margin-bottom: 2px; }
    .vod-meta { font-size: 11px; }
    .vod-remark { font-size: 10px; padding: 14px 6px 4px; }
    
    .pagination { margin-top: 20px; gap: 4px; flex-wrap: wrap; }
    .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: 12px; padding: 0 8px; }
}

@media (max-width: 480px) {
    .list-wrapper { padding: 12px 10px; }
    .list-header h1 { font-size: 16px; }
    .list-count { display: none; }
    .filter-bar a { padding: 4px 10px; font-size: 11px; }
    .list-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 8px; }
    .vod-card { min-width: 0; }
    .vod-pic { margin-bottom: 5px; }
    .vod-name { font-size: 12px; margin-bottom: 2px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 31px; }
    .vod-meta { font-size: 10px; display: none; }
    .episode-list { grid-template-columns: repeat(3, 1fr); }
    .play-icon { width: 36px; height: 36px; font-size: 14px; }
    .pagination { gap: 3px; }
    .pagination a, .pagination span { min-width: 28px; height: 28px; font-size: 11px; padding: 0 6px; }
}

/* ============ 卡片翻转效果 ============ */
.vod-card {
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 190, 6, 0.15);
    z-index: 10;
}

.vod-card .vod-pic {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vod-card:hover .vod-pic {
    transform: rotateY(8deg) rotateX(-4deg) scale(1.03);
}

.vod-card .vod-pic img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.vod-card:hover .vod-pic img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

/* 卡片悬浮遮罩 - 播放按钮 */
.vod-card .vod-pic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 190, 6, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.vod-card:hover .vod-pic::after {
    opacity: 1;
}

/* 中央播放按钮 */
.vod-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: rgba(0, 190, 6, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 190, 6, 0.5);
}

.vod-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.vod-card .play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

/* 卡片信息区hover */
.vod-card .vod-info {
    transition: background 0.3s ease;
}

.vod-card:hover .vod-name {
    color: #00be06;
}

/* ============ 导航栏卡片式交互 ============ */
.top-nav a {
    position: relative;
    transition: all 0.25s ease;
}

.top-nav a:hover {
    color: #00be06;
    transform: translateY(-1px);
}

/* ============ 按钮卡片效果 ============ */
.play-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 190, 6, 0.3);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 190, 6, 0.45);
}

.play-btn:active {
    transform: translateY(0);
}

/* ============ 选集卡片翻转 ============ */
.episode-list a {
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.episode-list a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 190, 6, 0.25);
    z-index: 2;
}

/* ============ 来源Tab卡片效果 ============ */
.source-tabs a {
    transition: all 0.25s ease;
    position: relative;
}

.source-tabs a:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
}

/* ============ 搜索框聚焦效果 ============ */
.search-box input:focus {
    border-color: #00be06;
    box-shadow: 0 0 0 3px rgba(0, 190, 6, 0.1);
}

/* ============ 分类导航卡片化 ============ */
.category-nav a {
    transition: all 0.25s ease;
    border-radius: 20px;
    padding: 6px 16px;
}

.category-nav a:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
    transform: translateY(-1px);
}

/* ============ 分页按钮卡片效果 ============ */
.pagination a,
.pagination .current {
    transition: all 0.25s ease;
    border-radius: 6px;
    min-width: 36px;
    text-align: center;
}

.pagination a:hover {
    background: #00be06;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 190, 6, 0.3);
}

/* ============ 筛选栏卡片化 ============ */
.filter-bar a {
    transition: all 0.2s ease;
    border-radius: 16px;
    padding: 4px 14px;
}

.filter-bar a:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
}

.filter-bar a.active {
    background: #00be06;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 190, 6, 0.3);
}

/* ============ 更多按钮卡片效果 ============ */
.more {
    transition: all 0.25s ease;
    border-radius: 16px;
    padding: 4px 12px;
}

.more:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
    transform: translateX(3px);
}

/* ============ 滚动按钮卡片效果 ============ */
.scroll-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.scroll-btn:hover {
    background: #00be06;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 190, 6, 0.4);
}

/* ============ 详情页英雄区入场动画 ============ */
.detail-hero {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-poster {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.detail-poster:hover {
    transform: scale(1.03) rotateY(-3deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ============ 视频卡片分批入场 ============ */
.vod-card {
    animation: cardFadeIn 0.5s ease-out backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============ 轮播指示器卡片效果 ============ */
.carousel-dots span {
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dots span:hover {
    transform: scale(1.3);
    background: #00be06;
}


/* ============ 卡片翻转效果 ============ */
.vod-card {
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 190, 6, 0.15);
    z-index: 10;
}

.vod-card .vod-pic {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vod-card:hover .vod-pic {
    transform: rotateY(8deg) rotateX(-4deg) scale(1.03);
}

.vod-card .vod-pic img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.vod-card:hover .vod-pic img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

/* 卡片悬浮遮罩 - 播放按钮 */
.vod-card .vod-pic::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 190, 6, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.vod-card:hover .vod-pic::after {
    opacity: 1;
}

/* 中央播放按钮 */
.vod-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: rgba(0, 190, 6, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 190, 6, 0.5);
}

.vod-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.vod-card .play-icon::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

.vod-card .vod-name {
    transition: color 0.3s ease;
}

.vod-card:hover .vod-name {
    color: #00be06;
}

/* ============ 导航栏卡片式交互 ============ */
.top-nav a {
    position: relative;
    transition: all 0.25s ease;
}

.top-nav a:hover {
    color: #00be06;
    transform: translateY(-1px);
}

/* ============ 按钮卡片效果 ============ */
.play-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 190, 6, 0.3);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 190, 6, 0.45);
}

.play-btn:active {
    transform: translateY(0);
}

/* ============ 选集卡片翻转 ============ */
.episode-list a {
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.episode-list a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 190, 6, 0.25);
    z-index: 2;
}

/* ============ 来源Tab卡片效果 ============ */
.source-tabs a {
    transition: all 0.25s ease;
    position: relative;
}

.source-tabs a:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
}

/* ============ 搜索框聚焦效果 ============ */
.search-box input:focus {
    border-color: #00be06;
    box-shadow: 0 0 0 3px rgba(0, 190, 6, 0.1);
}

/* ============ 分类导航卡片化 ============ */
.category-nav a {
    transition: all 0.25s ease;
    border-radius: 20px;
    padding: 6px 16px;
}

.category-nav a:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
    transform: translateY(-1px);
}

/* ============ 分页按钮卡片效果 ============ */
.pagination a,
.pagination .current {
    transition: all 0.25s ease;
    border-radius: 6px;
    min-width: 36px;
    text-align: center;
}

.pagination a:hover {
    background: #00be06;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 190, 6, 0.3);
}

/* ============ 筛选栏卡片化 ============ */
.filter-bar a {
    transition: all 0.2s ease;
    border-radius: 16px;
    padding: 4px 14px;
}

.filter-bar a:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
}

.filter-bar a.active {
    background: #00be06;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 190, 6, 0.3);
}

/* ============ 更多按钮卡片效果 ============ */
.more {
    transition: all 0.25s ease;
    border-radius: 16px;
    padding: 4px 12px;
}

.more:hover {
    background: rgba(0, 190, 6, 0.1);
    color: #00be06;
    transform: translateX(3px);
}

/* ============ 滚动按钮卡片效果 ============ */
.scroll-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.scroll-btn:hover {
    background: #00be06;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 190, 6, 0.4);
}

/* ============ 详情页英雄区入场动画 ============ */
.detail-hero {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-poster {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.detail-poster:hover {
    transform: scale(1.03) rotateY(-3deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ============ 视频卡片分批入场 ============ */
.vod-card {
    animation: cardFadeIn 0.5s ease-out backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============ 轮播指示器卡片效果 ============ */
.carousel-dots span {
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dots span:hover {
    transform: scale(1.3);
    background: #00be06;
}
