/* ==================== 全局变量 ==================== */
:root {
    --primary: #8d6ec8;
    --secondary: #88a6e5;
    --accent: #a6dfde;
    --light-bg: #e4f5e5;
    --white: #ffffff;
    --dark: #1a1a2e;
    --text: #2c2c3a;
    --text-light: #5a5a6e;
    --border: #e8e8f0;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-stack: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --max-width: 1280px;
    --nav-height: 60px;
}

/* ==================== 基础重置 ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-stack);
    background: #f8f9fb;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 所有图片统一使用最大宽高，不按原图高宽显示 */
img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* ==================== 顶部导航 ==================== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.top-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 20px;
    gap: 16px;
}

.nav-brand h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
}

.nav-brand h1 span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary);
    background: #f3f0fa;
    outline: none;
}

.nav-links a.active {
    color: var(--white);
    background: var(--primary);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    transition: var(--transition);
    background: #f5f5f8;
    border: 1px solid transparent;
}

.nav-user:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #faf8ff;
}

.nav-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 30px;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

#nav-checkbox {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px;
        gap: 2px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius) var(--radius);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.25s ease;
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }
    #nav-checkbox:checked~.nav-links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a {
        padding: 10px 16px;
        border-radius: var(--radius-xs);
        font-size: 0.95rem;
    }
    .nav-user {
        margin-left: auto;
    }
    .top-nav-inner {
        gap: 10px;
    }
}

/* ==================== 通用区块 ==================== */
.section {
    padding: 40px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-left: 16px;
    letter-spacing: -0.01em;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-more {
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--primary);
}

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

/* ==================== Banner轮播 ==================== */
.banner-wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px 0;
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #e8e8f0;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
    .banner-carousel {
        aspect-ratio: 16 / 10;
        border-radius: var(--radius-sm);
    }
}

.banner-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.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;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 40px 32px 24px;
    color: #fff;
}

@media (max-width: 600px) {
    .banner-overlay {
        padding: 24px 16px 16px;
    }
}

.banner-overlay h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.banner-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.banner-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 12px;
    right: 24px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.banner-dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.banner-arrow {
    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: var(--dark);
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.banner-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.banner-arrow.prev {
    left: 16px;
}

.banner-arrow.next {
    right: 16px;
}

@media (max-width: 600px) {
    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .banner-arrow.prev {
        left: 8px;
    }
    .banner-arrow.next {
        right: 8px;
    }
    .banner-overlay h2 {
        font-size: 1.3rem;
    }
    .banner-overlay p {
        font-size: 0.8rem;
    }
}

/* ==================== 平台介绍 ==================== */
.platform-intro {
    background: linear-gradient(135deg, #faf8ff 0%, #f0f6fb 100%);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    margin: 20px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e8e4f4;
}

.platform-intro h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.platform-intro p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

.highlight-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.highlight-stat {
    text-align: center;
    min-width: 80px;
}

.highlight-stat .stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.highlight-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ==================== 热门影视网格 ==================== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 1100px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

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

.movie-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #e0d8f5;
}

.movie-card-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #e8e8f0;
    position: relative;
}

.movie-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.movie-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.02em;
}

.movie-card-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.movie-card-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-meta {
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    line-height: 1.4;
}

.movie-card-meta span {
    white-space: nowrap;
}

.movie-card-type {
    display: inline-block;
    font-size: 0.68rem;
    background: var(--light-bg);
    color: #3a7a4a;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    align-self: flex-start;
    margin-top: 2px;
}

/* ==================== 周榜推荐 ==================== */
.weekly-ranking {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.weekly-ranking::-webkit-scrollbar {
    height: 4px;
}

.weekly-ranking::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.rank-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 14px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.rank-card:hover {
    border-color: #e0d8f5;
    box-shadow: var(--shadow-lg);
}

.rank-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    opacity: 0.8;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.rank-card:nth-child(1) .rank-num {
    color: #e8a838;
}

.rank-card:nth-child(2) .rank-num {
    color: #a0a0b0;
}

.rank-card:nth-child(3) .rank-num {
    color: #c08a50;
}

.rank-card-img {
    width: 50px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8f0;
}

.rank-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rank-card-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    margin: 0 0 2px;
}

.rank-card-info span {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* ==================== 明星介绍 ==================== */
.stars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .stars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .stars-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

.star-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    padding-bottom: 12px;
    text-decoration: none;
    color: inherit;
}

.star-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #e0d8f5;
}

.star-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8e8f0;
}

.star-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.star-card:hover .star-card-img img {
    transform: scale(1.05);
}

.star-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--dark);
}

.star-card p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 2px 0 0;
}

/* ==================== 剧情介绍 ==================== */
.plot-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .plot-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.plot-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.plot-card:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary);
}

.plot-card h4 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.plot-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 电影详情+阅读统计 左右布局 ==================== */
.detail-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .detail-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.detail-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 500px) {
    .detail-cards {
        grid-template-columns: 1fr;
    }
}

.detail-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.detail-card:hover {
    border-color: #e0d8f5;
    box-shadow: var(--shadow-lg);
}

.detail-card h4 {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.detail-card .detail-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.detail-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reading-panel {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    border: 1px solid #f0ecf8;
}

@media (max-width: 900px) {
    .reading-panel {
        position: static;
        top: auto;
    }
}

.reading-panel h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    text-align: center;
}

.reading-stat {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.reading-stat-item {
    text-align: center;
    flex: 1;
    min-width: 70px;
}

.reading-stat-item .rs-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.reading-stat-item .rs-label {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 3px;
}

.reading-update {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 12px;
    padding: 6px;
    background: #fafafa;
    border-radius: 4px;
}

.reading-update time {
    font-weight: 600;
    color: var(--text);
}

.reading-mini-list {
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-light);
}

.reading-mini-list li {
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f4;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.reading-mini-list li:last-child {
    border-bottom: none;
}

.reading-mini-list .mini-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--text);
}

.reading-mini-list .mini-views {
    flex-shrink: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
}

/* ==================== 评论区域 (无头像) ==================== */
.comments-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 700px) {
    .comments-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.comment-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.comment-card:hover {
    border-color: #e0d8f5;
}

.comment-card .comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-user-info {
    font-size: 0.8rem;
}

.comment-user-info strong {
    color: var(--dark);
    font-size: 0.85rem;
}

.comment-user-info span {
    color: #999;
    font-size: 0.7rem;
    display: block;
}

.comment-card p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== APP下载 ==================== */
.download-section {
    background: linear-gradient(135deg, #faf8ff 0%, #eef5fb 100%);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e4e0f2;
}

.download-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 30px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.download-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--primary);
}

.download-btn .app-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

/* ==================== 常见问题 ==================== */
.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: #e0d8f5;
}

.faq-item h4 {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.faq-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==================== 友情链接 ==================== */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    padding: 8px 0;
}

.friend-links a.link_friendlinks_a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
}

.friend-links a.link_friendlinks_a:hover {
    color: var(--primary);
    background: #f5f2fb;
}

/* ==================== 底部导航 ==================== */
.bottom-nav {
    width: 100%;
    background: var(--dark);
    color: #ccc;
    padding: 30px 20px;
    text-align: center;
}

.bottom-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.bottom-nav a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.bottom-nav a:hover {
    color: #fff;
}

.bottom-nav .bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.bottom-nav .copyright {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
}

/* ==================== 通用页面 (关于/协议/隐私/版权/联系等) ==================== */
.page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.page-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.page-content h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.page-content .page-sub {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.page-content article {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    line-height: 1.85;
    color: var(--text);
    font-size: 0.95rem;
}

.page-content article h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 24px 0 10px;
    font-weight: 700;
}

.page-content article h2:first-child {
    margin-top: 0;
}

.page-content article p {
    margin-bottom: 14px;
    color: var(--text);
}

.page-content article ul,
.page-content article ol {
    margin: 0 0 14px 24px;
}

.page-content article li {
    margin-bottom: 6px;
}

/* ==================== 影视详情页 ==================== */
.movie-detail {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.movie-detail-top {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

@media (max-width: 800px) {
    .movie-detail-top {
        grid-template-columns: 1fr;
    }
}

.movie-detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #e8e8f0;
}

.movie-detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-detail-info h1 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.movie-detail-alt {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.movie-detail-score {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c42, #e8a838);
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.movie-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin: 16px 0;
    font-size: 0.9rem;
}

@media (max-width: 500px) {
    .movie-detail-meta {
        grid-template-columns: 1fr;
    }
}

.movie-detail-meta .meta-item {
    display: flex;
    gap: 6px;
}

.movie-detail-meta .meta-label {
    color: var(--text-light);
    flex-shrink: 0;
}

.movie-detail-meta .meta-value {
    color: var(--dark);
    font-weight: 500;
}

.movie-detail-body {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    line-height: 1.85;
    font-size: 0.95rem;
    color: var(--text);
}

.movie-detail-body h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
}

/* ==================== 响应式微调 ==================== */
@media (max-width: 480px) {
    .section {
        padding: 28px 12px;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .banner-wrapper {
        padding: 8px 10px 0;
    }
    .platform-intro {
        margin: 12px 10px;
        padding: 20px 14px;
    }
    .movie-card-body {
        padding: 8px 8px 10px;
    }
    .movie-card-body h4 {
        font-size: 0.78rem;
    }
    .movie-card-meta {
        font-size: 0.66rem;
    }
    .rank-card {
        flex: 0 0 160px;
        padding: 10px;
        gap: 8px;
    }
    .rank-num {
        font-size: 1.5rem;
        width: 28px;
    }
    .rank-card-img {
        width: 40px;
        height: 56px;
    }
    .rank-card-info h5 {
        font-size: 0.75rem;
    }
    .download-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }
    .detail-row {
        gap: 12px;
    }
    .reading-panel {
        padding: 14px;
    }
    .page-content {
        padding: 28px 12px;
    }
    .page-content article {
        padding: 20px 16px;
    }
    .movie-detail {
        padding: 20px 12px;
    }
    .movie-detail-top {
        padding: 16px;
    }
    .movie-detail-body {
        padding: 20px;
    }
}