:root {
    --color-dark: #6c737e;
    --color-mid: #7393a7;
    --color-light: #b5cfd8;
    --color-bg: #e8ecf1;
    --color-white: #ffffff;
    --color-text: #2c3e50;
    --color-accent: #4a6d8c;
    --color-star: #f0a040;
    --color-tag: #5b8fa8;
    --shadow-sm: 0 1px 3px rgba(108, 115, 126, 0.08);
    --shadow-md: 0 4px 16px rgba(108, 115, 126, 0.12);
    --shadow-lg: 0 8px 32px rgba(108, 115, 126, 0.18);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
    --max-width: 1320px;
    --nav-height: 60px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 顶部导航 ========== */
.top-nav {
    width: 100%;
    height: var(--nav-height);
    background: var(--color-white);
    border-bottom: 1px solid #dce3ea;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.top-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 16px;
}
.top-nav .site-name h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #3a5568;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin: 0;
    cursor: pointer;
    transition: var(--transition);
}
.top-nav .site-name h1:hover {
    color: #2c4354;
}
.top-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.top-nav .nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 13px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
}
.top-nav .nav-links a:hover,
.top-nav .nav-links a:focus,
.top-nav .nav-links a.active {
    background: var(--color-bg);
    color: #3a5568;
}
.top-nav .user-status {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--color-dark);
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #dce3ea;
    background: var(--color-bg);
    transition: var(--transition);
    font-weight: 500;
}
.top-nav .user-status:hover {
    border-color: var(--color-mid);
    background: #dce8f0;
}
.top-nav .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ========== Banner轮播 ========== */
.banner-section {
    width: 100%;
    max-width: var(--max-width);
    margin: 20px auto 0;
    padding: 0 20px;
    position: relative;
}
.banner-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 5;
    background: #dce3ea;
    min-height: 220px;
}
.banner-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 36px;
    background: linear-gradient(transparent, rgba(44, 55, 70, 0.88));
    color: #fff;
}
.banner-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.banner-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}
.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #3a5568;
    z-index: 5;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-btn:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.banner-btn.prev {
    left: 14px;
}
.banner-btn.next {
    right: 14px;
}
.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: var(--transition);
}
.banner-dots span.active {
    background: #fff;
    width: 26px;
    border-radius: 10px;
}

/* ========== 通用区块 ========== */
.section {
    max-width: var(--max-width);
    margin: 32px auto 0;
    padding: 0 20px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3a5568;
    position: relative;
    padding-left: 14px;
    letter-spacing: 0.3px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--color-mid);
}
.section-more {
    font-size: 0.85rem;
    color: var(--color-mid);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}
.section-more:hover {
    color: #3a5568;
    text-decoration: underline;
}

/* ========== 两栏布局 ========== */
.main-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}
.main-content {
    min-width: 0;
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

/* ========== 热门影视网格 ========== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.movie-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.movie-card .card-img-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #dce3ea;
}
.movie-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.movie-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.movie-card .play-icon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}
.movie-card:hover .play-icon-overlay {
    opacity: 1;
}
.movie-card .card-info {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-card .card-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-card .card-info .meta {
    font-size: 0.72rem;
    color: var(--color-dark);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.movie-card .card-info .meta span {
    background: var(--color-bg);
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
}
.movie-card .card-info .type-tag {
    font-size: 0.7rem;
    color: #fff;
    background: var(--color-tag);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
}

/* ========== 明星卡片 ========== */
.stars-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.star-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.star-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.star-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 3px solid var(--color-bg);
}
.star-card h4 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 2px;
}
.star-card .star-role {
    font-size: 0.75rem;
    color: var(--color-dark);
}

/* ========== 剧情介绍卡片 ========== */
.plot-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.plot-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border-left: 3px solid var(--color-light);
}
.plot-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-mid);
}
.plot-card h4 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}
.plot-card p {
    font-size: 0.8rem;
    color: var(--color-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 电影详细介绍卡片 ========== */
.detail-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.detail-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 14px;
    padding: 14px;
    transition: var(--transition);
    cursor: pointer;
    align-items: flex-start;
}
.detail-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.detail-card img {
    width: 110px;
    height: 155px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.detail-card .detail-info h4 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 4px;
    font-weight: 600;
}
.detail-card .detail-info .detail-meta {
    font-size: 0.75rem;
    color: var(--color-dark);
    line-height: 1.6;
}
.detail-card .detail-info .detail-meta strong {
    color: #3a5568;
    font-weight: 600;
}

/* ========== 评论区 ========== */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.comment-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.comment-item:hover {
    box-shadow: var(--shadow-md);
}
.comment-body {
    flex: 1;
    min-width: 0;
}
.comment-body .comment-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: #2c3e50;
    margin-bottom: 2px;
}
.comment-body .comment-time {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 4px;
}
.comment-body p {
    font-size: 0.82rem;
    color: var(--color-dark);
    line-height: 1.55;
    word-break: break-word;
}

/* ========== 侧边栏 ========== */
.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #3a5568;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-bg);
}
.sidebar-card .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px dotted #e8ecf1;
    color: var(--color-dark);
}
.sidebar-card .stat-row:last-child {
    border-bottom: none;
}
.sidebar-card .stat-val {
    font-weight: 700;
    color: #3a5568;
    font-size: 1.1rem;
}
.sidebar-card .update-time {
    font-size: 0.72rem;
    color: #999;
    margin-top: 8px;
    text-align: right;
}
.rank-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--color-dark);
}
.rank-list li:hover {
    background: var(--color-bg);
}
.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.rank-badge.gold {
    background: #e8b840;
}
.rank-badge.silver {
    background: #a0b4c0;
}
.rank-badge.bronze {
    background: #c4956b;
}
.rank-badge.normal {
    background: #b5cfd8;
    color: #3a5568;
}

.star-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.star-mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.star-mini-item:hover {
    background: var(--color-bg);
}
.star-mini-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.star-mini-item .star-mini-info {
    font-size: 0.82rem;
    color: #2c3e50;
    font-weight: 500;
}

/* ========== APP下载区域 ========== */
.app-download-section {
    background: linear-gradient(135deg, #f0f4f7 0%, #dce8f0 100%);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-top: 0;
    box-shadow: var(--shadow-sm);
}
.app-download-section h3 {
    text-align: center;
    font-size: 1.2rem;
    color: #3a5568;
    margin-bottom: 20px;
    font-weight: 700;
}
.app-download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.app-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    background: #fff;
    border-radius: var(--radius);
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.app-download-btn:hover {
    border-color: var(--color-mid);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.app-download-btn .app-icon {
    flex-shrink: 0;
}

/* ========== 平台介绍 ========== */
.platform-intro {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    color: var(--color-dark);
    font-size: 0.9rem;
    margin-top: 0;
}
.platform-intro h3 {
    color: #3a5568;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* ========== 底部导航 ========== */
.bottom-nav {
    width: 100%;
    background: #3a5568;
    color: #c8d6e0;
    padding: 24px 20px;
    margin-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    line-height: 2;
}
.bottom-nav a {
    color: #b5cfd8;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.bottom-nav a:hover {
    color: #fff;
    text-decoration: underline;
}
.bottom-nav .bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 8px;
}
.bottom-nav .copyright {
    color: #a0b4c0;
    font-size: 0.75rem;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 20px 0;
    font-size: 0.82rem;
    color: var(--color-dark);
}
.breadcrumb a {
    color: var(--color-mid);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb a:hover {
    color: #3a5568;
    text-decoration: underline;
}
.breadcrumb span {
    margin: 0 6px;
    color: #b5cfd8;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    background: #fff;
    border: 1px solid #dce3ea;
    transition: var(--transition);
}
.pagination a:hover {
    background: var(--color-bg);
    color: #3a5568;
}
.pagination .active {
    background: var(--color-mid);
    color: #fff;
    border-color: var(--color-mid);
}
.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    align-items: center;
}
.filter-bar .filter-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #3a5568;
    white-space: nowrap;
    margin-right: 4px;
}
.filter-bar a {
    padding: 5px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.78rem;
    color: var(--color-dark);
    background: #fff;
    border: 1px solid #dce3ea;
    transition: var(--transition);
    white-space: nowrap;
}
.filter-bar a:hover,
.filter-bar a.active {
    background: var(--color-mid);
    color: #fff;
    border-color: var(--color-mid);
}

/* ========== 内容页通用 ========== */
.content-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 20px 40px;
}
.content-page .page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3a5568;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--color-mid);
}
.content-page .content-body {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    line-height: 1.9;
    font-size: 0.93rem;
    color: var(--color-text);
}
.content-page .content-body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3a5568;
    margin: 24px 0 12px;
}
.content-page .content-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #3a5568;
    margin: 18px 0 10px;
}
.content-page .content-body p {
    margin-bottom: 12px;
    text-indent: 2em;
}
.content-page .content-body ul,
.content-page .content-body ol {
    margin: 10px 0 10px 2em;
}
.content-page .content-body li {
    margin-bottom: 6px;
}

/* ========== 影视内容页特色布局 ========== */
/* 顶部大图Hero */
.content-hero {
    width: 100%;
    max-width: var(--max-width);
    margin: 20px auto 0;
    padding: 0 20px;
}
.content-hero-inner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 21/9;
    min-height: 260px;
    background: #dce3ea;
    box-shadow: var(--shadow-lg);
}
.content-hero-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 32px;
    background: linear-gradient(transparent, rgba(44, 55, 70, 0.9));
    color: #fff;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
.content-hero-overlay .hero-poster {
    width: 130px;
    height: 180px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255,255,255,0.4);
}
.content-hero-overlay .hero-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.content-hero-overlay .hero-info .hero-meta {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.content-hero-overlay .hero-info .hero-meta span {
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
}
.content-hero-overlay .hero-rating {
    margin-left: auto;
    text-align: center;
    flex-shrink: 0;
}
.content-hero-overlay .hero-rating .score {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-star);
    line-height: 1;
}
.content-hero-overlay .hero-rating .score-label {
    font-size: 0.72rem;
    opacity: 0.8;
}

/* 标签页切换 */
.content-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #dce3ea;
    margin-bottom: 20px;
}
.content-tabs a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}
.content-tabs a:hover,
.content-tabs a.active {
    color: #3a5568;
    border-bottom-color: var(--color-mid);
}

/* 特色列表布局 */
.content-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.content-featured .featured-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.content-featured .featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.content-featured .featured-card .featured-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #dce3ea;
    position: relative;
}
.content-featured .featured-card .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.content-featured .featured-card:hover .featured-img img {
    transform: scale(1.05);
}
.content-featured .featured-card .featured-img .duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
}
.content-featured .featured-card .featured-info {
    padding: 12px 14px;
}
.content-featured .featured-card .featured-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}
.content-featured .featured-card .featured-info .featured-meta {
    font-size: 0.72rem;
    color: var(--color-dark);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

/* 横向滚动区 */
.horizontal-scroll-section {
    margin-bottom: 28px;
}
.horizontal-scroll-section .scroll-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3a5568;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid var(--color-mid);
}
.horizontal-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
}
.horizontal-scroll .scroll-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.horizontal-scroll .scroll-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.horizontal-scroll .scroll-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}
.horizontal-scroll .scroll-card .scroll-info {
    padding: 8px 10px;
}
.horizontal-scroll .scroll-card .scroll-info h5 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.horizontal-scroll .scroll-card .scroll-info .scroll-meta {
    font-size: 0.7rem;
    color: var(--color-dark);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .main-layout {
        grid-template-columns: 1fr 280px;
        gap: 16px;
    }
    .stars-row {
        grid-template-columns: repeat(4, 1fr);
    }
    .plot-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-featured {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        top: auto;
    }
    .sidebar-card {
        break-inside: avoid;
    }
    .stars-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .plot-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-cards {
        grid-template-columns: 1fr;
    }
    .top-nav .nav-links {
        gap: 2px;
    }
    .top-nav .nav-links a {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .banner-overlay h3 {
        font-size: 1.1rem;
    }
    .banner-overlay p {
        font-size: 0.75rem;
    }
    .app-download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-featured {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-hero-overlay {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .content-hero-overlay .hero-poster {
        width: 90px;
        height: 130px;
    }
    .content-hero-overlay .hero-rating {
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .movie-card .card-info {
        padding: 6px 8px;
    }
    .movie-card .card-info h4 {
        font-size: 0.78rem;
    }
    .movie-card .card-info .meta {
        font-size: 0.65rem;
    }
    .stars-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .plot-cards {
        grid-template-columns: 1fr;
    }
    .detail-cards {
        grid-template-columns: 1fr;
    }
    .detail-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .detail-card img {
        width: 90px;
        height: 130px;
    }
    .sidebar {
        grid-template-columns: 1fr;
    }
    .top-nav .nav-links {
        display: none;
    }
    .top-nav-inner {
        padding: 0 12px;
    }
    .banner-carousel {
        aspect-ratio: 16 / 7;
        min-height: 160px;
    }
    .banner-overlay {
        padding: 14px 18px;
    }
    .banner-overlay h3 {
        font-size: 0.95rem;
    }
    .banner-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .app-download-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .app-download-btn {
        padding: 10px 6px;
        font-size: 0.75rem;
        gap: 4px;
    }
    .section-title {
        font-size: 1.05rem;
    }
    .content-featured {
        grid-template-columns: 1fr;
    }
    .content-hero-inner {
        aspect-ratio: 16/10;
        min-height: 200px;
    }
    .content-hero-overlay {
        padding: 14px;
    }
    .content-hero-overlay .hero-info h2 {
        font-size: 1.1rem;
    }
    .content-tabs a {
        padding: 8px 12px;
        font-size: 0.78rem;
    }
}