@charset "utf-8";

:root {
    --primary: #e94560;
    --primary-light: #ff6b6b;
    --primary-dark: #c73e54;
    --secondary: #0f3460;
    --secondary-light: #1a4a7a;
    --accent: #16213e;
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8e8ea9;
    --border-color: #e8e8ef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 48px rgba(233,69,96,0.18);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-main);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary); }

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

ul, ol { list-style: none; }

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

/* Header */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(15, 52, 96, 0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top {
    display: flex; align-items: center; height: 64px;
}

.logo { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo:hover { transform: scale(1.02); }
.logo span { color: var(--primary); }

/* Header Search */
.header-search { flex: 1; max-width: 420px; margin: 0 30px; position: relative; }

.header-search input { width: 100%; height: 42px; padding: 0 50px 0 18px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-full); color: #fff; font-size: 14px; outline: none; transition: all var(--transition-base); }

.header-search input::placeholder { color: rgba(255,255,255,0.5); }

.header-search input:focus { background: rgba(255,255,255,0.95); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,69,96,0.2); color: var(--text-primary); }

.header-search input:focus + .search-suggestions,
.header-search .search-suggestions:hover { display: block; }

.header-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; background: var(--primary); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition-base); }

.header-search button:hover { background: var(--primary-light); transform: scale(1.05); }

.search-suggestions { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: var(--radius-md); margin-top: 8px; box-shadow: var(--shadow-lg); z-index: 1000; overflow: hidden; }

.search-suggestions.show { display: block; }

.search-suggestions-item { padding: 12px 18px; color: var(--text-secondary); font-size: 14px; cursor: pointer; transition: all var(--transition-fast); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }

.search-suggestions-item:last-child { border-bottom: none; }

.search-suggestions-item:hover { background: var(--bg-main); color: var(--primary); }

.search-suggestions-item .icon { color: var(--primary); font-size: 12px; }

/* Header Nav - 横向排列，与LOGO平行 */
.header-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.header-nav a { padding: 8px 14px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; border-radius: var(--radius-sm); transition: all var(--transition-base); }

.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.header-nav a.active { color: #fff; background: rgba(233,69,96,0.2); }

/* Main */
.main { padding-top: 88px; padding-bottom: 60px; min-height: 100vh; }

/* Search Header (List Page) */
.search-header { background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 30px; box-shadow: var(--shadow-md); }
.search-header h1 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.search-header .count { font-size: 15px; color: rgba(255,255,255,0.7); }
.search-header .count span { color: var(--primary); font-weight: 600; font-size: 18px; }

/* Hot Tags */
.hot-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

.hot-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.hot-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15,52,96,0.3);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* Section */
.section { margin-bottom: 48px; }

.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex; align-items: center; gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px; height: 20px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

.section-more {
    font-size: 13px;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 4px;
    transition: all var(--transition-fast);
}

.section-more:hover { color: var(--primary); }

/* Movie Grid */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.movie-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.movie-poster {
    position: relative;
    padding-bottom: 145%;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8ef 100%);
}

.movie-poster img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.movie-score {
    position: absolute;
    top: 8px; right: 8px;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(233,69,96,0.4);
}

.movie-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 20px;
}

.movie-card:hover .movie-overlay { opacity: 1; }

.play-btn {
    width: 44px; height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transform: scale(0.8);
    transition: all var(--transition-base);
}

.movie-card:hover .play-btn { transform: scale(1); }

.play-btn:hover { background: var(--primary-light); transform: scale(1.1); }

.movie-info { padding: 12px 14px; }

.movie-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    line-height: 1.5;
}

.movie-meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.movie-update {
    font-size: 11px;
    color: var(--primary);
    margin-top: 6px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--accent) 0%, var(--secondary) 100%);
    color: rgba(255,255,255,0.7);
    padding: 56px 0 32px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand { padding-right: 20px; }

.footer-logo {
    font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.footer-social { display: flex; gap: 12px; }

.social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-base);
}

.social-link:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.footer-title {
    font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 20px;
    position: relative; padding-bottom: 12px;
}

.footer-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 24px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-fast);
    display: flex; align-items: center; gap: 8px;
}

.footer-links a::before {
    content: ''; width: 4px; height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover::before { opacity: 1; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p { margin-bottom: 6px; }

/* Back to Top */
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; background: var(--primary); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 16px rgba(233,69,96,0.4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition-base); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-4px); box-shadow: 0 6px 24px rgba(233,69,96,0.5); }
.back-to-top:active { transform: translateY(-2px) scale(0.95); }

/* Pagination */
.pagination {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    padding: 0 12px;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.pagination .page-current,
.pagination .page-item.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.pagination .page-prev,
.pagination .page-next {
    padding: 0 16px;
}

.pagination .page-dots,
.pagination .page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    background: transparent;
}

.pagination .page-dots:hover {
    background: transparent;
    color: var(--text-secondary);
    box-shadow: none;
}

/* Breadcrumb */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-secondary); }

/* Detail Page */
.detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-main {
    display: flex; gap: 32px; padding: 32px;
}

.detail-poster {
    width: 220px; flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.detail-poster img { width: 100%; display: block; }

.detail-score {
    position: absolute; top: 12px; right: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 16px; font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(233,69,96,0.4);
}

.detail-info { flex: 1; min-width: 0; }

.detail-title {
    font-size: 26px; font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.detail-meta {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 16px; margin-bottom: 24px;
}

.meta-item { display: flex; align-items: flex-start; gap: 10px; }

.meta-label {
    font-size: 13px; color: var(--text-muted);
    min-width: 50px; flex-shrink: 0;
}

.meta-value { font-size: 13px; color: var(--text-secondary); flex: 1; }

.detail-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px;
    font-size: 14px; font-weight: 600;
    border: none; border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(233,69,96,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(233,69,96,0.45);
}

.btn-secondary {
    background: rgba(15,52,96,0.1);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: rgba(15,52,96,0.2);
    transform: translateY(-2px);
}

/* Player */
.player-wrap {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.player-header {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 14px 20px;
    color: #fff;
    font-size: 15px; font-weight: 600;
}

.player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a0a0a;
}

.player-box video,
.player-box .video-js {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Episode */
.episode-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px; margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.episode-title {
    font-size: 16px; font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.episode-list { display: flex; flex-wrap: wrap; gap: 10px; }

.episode-btn {
    padding: 8px 16px;
    background: var(--bg-main);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.episode-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.episode-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-main { flex-direction: column; align-items: center; text-align: center; }
    .detail-meta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-top { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
    .logo { order: 1; }
    .header-search { order: 3; max-width: 100%; margin: 0; width: 100%; }
    .header-nav { order: 2; margin-left: auto; }
    .main { padding-top: 130px; }
    .movie-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .detail-poster { width: 180px; }
    .detail-title { font-size: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .header-nav { display: none; }
    .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .movie-info { padding: 8px 10px; }
    .movie-title { font-size: 12px; }
    .section { margin-bottom: 32px; }
    .btn { width: 100%; }
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.loading { display: flex; justify-content: center; align-items: center; padding: 60px 0; }
.spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== NEW FEATURES ==================== */

/* Play Source Tabs */
.play-source-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.play-source-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.play-source-title::before { content: ''; width: 4px; height: 16px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 2px; }
.play-source-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.play-source-tab { padding: 10px 20px; background: var(--bg-main); color: var(--text-secondary); font-size: 13px; font-weight: 500; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition-fast); border: 2px solid transparent; }
.play-source-tab:hover { background: rgba(233,69,96,0.1); color: var(--primary); }
.play-source-tab.active { background: rgba(233,69,96,0.1); color: var(--primary); border-color: var(--primary); }
.play-source-content { display: none; }
.play-source-content.active { display: block; }

/* Play Statistics */
.play-stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.stat-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.stat-item i { color: var(--primary); font-size: 16px; }
.stat-value { color: var(--text-secondary); font-weight: 600; }

/* Update Time Badge */
.update-time { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(233,69,96,0.1); color: var(--primary); font-size: 12px; border-radius: var(--radius-full); }
.update-time::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* FAQ Section */
.faq-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.faq-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.faq-title::before { content: ''; width: 4px; height: 20px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 2px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition-base); }
.faq-item:hover { border-color: var(--primary); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-main); font-size: 14px; font-weight: 600; color: var(--text-primary); cursor: pointer; transition: all var(--transition-fast); }
.faq-question:hover { color: var(--primary); }
.faq-question::after { content: '+'; font-size: 18px; color: var(--text-muted); transition: transform var(--transition-base); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 16px 20px; font-size: 14px; line-height: 1.8; color: var(--text-secondary); background: #fff; }
.faq-item.active .faq-answer { display: block; }

/* Disclaimer */
.disclaimer-section { background: linear-gradient(135deg, rgba(15,52,96,0.05) 0%, rgba(233,69,96,0.05) 100%); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; border: 1px solid var(--border-color); }
.disclaimer-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.disclaimer-title::before { content: '⚠'; font-size: 18px; }
.disclaimer-content { font-size: 13px; line-height: 1.8; color: var(--text-muted); }
.disclaimer-content p { margin-bottom: 10px; }
.disclaimer-content a { color: var(--primary); text-decoration: underline; }
.disclaimer-content a:hover { color: var(--primary-light); }

/* Partners Section */
.partners-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.partners-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.partners-title::before { content: ''; width: 4px; height: 20px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 2px; }
.partners-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-link { display: flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--bg-main); border-radius: var(--radius-md); color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: all var(--transition-base); border: 1px solid var(--border-color); }
.partner-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Ranking / Hot List */
.ranking-list { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ranking-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%); }
.ranking-title { font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.ranking-title::before { content: '🔥'; }
.ranking-item { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--border-color); transition: all var(--transition-fast); }
.ranking-item:last-child { border-bottom: none; }
.ranking-item:hover { background: rgba(233,69,96,0.05); padding-left: 28px; }
.ranking-num { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--text-muted); border-radius: 50%; background: var(--bg-main); }
.ranking-item:nth-child(1) .ranking-num { background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%); color: #fff; }
.ranking-item:nth-child(2) .ranking-num { background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%); color: #fff; }
.ranking-item:nth-child(3) .ranking-num { background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%); color: #fff; }
.ranking-info { flex: 1; min-width: 0; }
.ranking-name { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.ranking-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }
.ranking-score { padding: 4px 10px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; font-size: 12px; font-weight: 600; border-radius: var(--radius-full); }

/* Hot Ranking Section */
.hot-rank-section { margin-bottom: 48px; }
.hot-rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hot-rank-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-slow); }
.hot-rank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.hot-rank-poster { position: relative; padding-bottom: 130%; overflow: hidden; }
.hot-rank-poster img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.hot-rank-card:hover .hot-rank-poster img { transform: scale(1.05); }
.hot-rank-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; font-size: 12px; font-weight: 600; border-radius: var(--radius-full); }
.hot-rank-info { padding: 16px; }
.hot-rank-name { font-size: 15px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.hot-rank-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* Detail Meta Enhancement */
.detail-meta-item { display: flex; font-size: 14px; line-height: 1.8; align-items: flex-start; }
.detail-meta-item label { color: var(--text-muted); min-width: 60px; flex-shrink: 0; }
.detail-meta-item span { color: var(--text-secondary); flex: 1; word-break: break-word; white-space: normal; line-height: 1.8; }
.detail-meta-item .update-badge { color: var(--primary); font-weight: 500; }

/* Story Section */
.story-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.story-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.story-title::before { content: ''; width: 4px; height: 20px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 2px; }
.story-content { font-size: 14px; line-height: 1.9; color: var(--text-secondary); }
.story-content p { margin-bottom: 16px; text-indent: 2em; }
.story-content p:last-child { margin-bottom: 0; }
.story-content strong { color: var(--primary); font-weight: 600; }

/* Player Placeholder */
.player-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.player-placeholder img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.player-placeholder .play-btn-large { position: relative; z-index: 1; width: 80px; height: 80px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; cursor: pointer; transition: all var(--transition-base); box-shadow: 0 0 40px rgba(233,69,96,0.5); }
.player-placeholder .play-btn-large:hover { transform: scale(1.1); background: var(--primary-light); }
.player-placeholder p { position: relative; z-index: 1; margin-top: 20px; color: rgba(255,255,255,0.7); font-size: 14px; }

/* Related Section Enhancement */
.related-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 30px; box-shadow: var(--shadow-sm); }

/* Mobile Responsive for New Features */
@media (max-width: 1024px) {
    .hot-rank-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hot-rank-grid { grid-template-columns: 1fr; }
    .play-stats { flex-direction: column; gap: 12px; }
    .faq-question { padding: 14px 16px; font-size: 13px; }
    .faq-answer { padding: 14px 16px; font-size: 13px; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .ranking-item { padding: 12px 16px; }
    .search-form-large { flex-direction: column; }
    .search-form-large input, .search-form-large button { width: 100%; }
}

@media (max-width: 480px) {
    .partners-grid { grid-template-columns: 1fr; }
    .play-source-tabs { gap: 8px; }
    .play-source-tab { padding: 8px 14px; font-size: 12px; }
}

/* Search Form Large */
.search-form-large { display: flex; gap: 15px; margin-top: 25px; max-width: 600px; }
.search-form-large input { flex: 1; padding: 15px 25px; border: none; border-radius: var(--radius-full); font-size: 15px; outline: none; background: rgba(255,255,255,0.95); transition: all var(--transition-base); }
.search-form-large input:focus { box-shadow: 0 0 0 3px rgba(233,69,96,0.3); }
.search-form-large button { padding: 15px 35px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius-full); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition-base); }
.search-form-large button:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(233,69,96,0.4); }
.search-header .keyword { color: var(--primary) !important; font-weight: bold; }

/* ==================== VT SEO团队 - movie2标签卡片兼容样式 (2026-01-22) ==================== */
/* 支持 generateMovie2Card() 生成的 .pic-img / .pic-list HTML 结构 */

/* pic-list 网格布局 */
.movie-grid ul.pic-list,
ul.pic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

/* VT SEO团队 - 修复：确保pic-list在movie-grid内占满全宽 (2026-01-22) */
.movie-grid > ul.pic-list {
    grid-column: 1 / -1;
}

.movie-grid ul.pic-list > li,
ul.pic-list > li {
    list-style: none;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 覆盖Bootstrap列类 */
.movie-grid ul.pic-list > li[class*="col-"],
ul.pic-list > li[class*="col-"] {
    width: auto !important;
    flex: none !important;
    float: none !important;
    padding: 0 !important;
}

/* pic-img 卡片容器 */
.pic-img,
a.pic-img {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.pic-img:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* pic-img 内的图片 - 固定2:3宽高比 */
.pic-img img {
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 aspect ratio */
    object-fit: cover;
    object-position: center top;
    display: block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

/* 实际图片定位 */
.pic-img img {
    position: relative;
    height: auto;
    padding-bottom: 0;
    aspect-ratio: 2/3;
}

/* 评分标签 */
.pic-img .score {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(233,69,96,0.4);
}

/* 状态/集数标签 - 支持 .tips 和 .titles 两种class */
.pic-img .tips,
.pic-img .titles {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* 标题覆盖层 */
.pic-img .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

/* 影片名称 */
.pic-list h3.name,
.pic-list .name {
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
    margin: 0;
    background: var(--bg-card);
}

.pic-list h3.name a,
.pic-list .name a {
    color: inherit;
}

.pic-list h3.name a:hover,
.pic-list .name a:hover {
    color: var(--primary);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .movie-grid ul.pic-list,
    ul.pic-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .movie-grid ul.pic-list,
    ul.pic-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .pic-img .score,
    .pic-img .tips,
    .pic-img .titles {
        padding: 3px 6px;
        font-size: 0.65rem;
    }

    .pic-img .title {
        font-size: 0.75rem;
        padding: 20px 6px 6px;
    }
}
