/* ========== 全局变量 ========== */
:root {
    --color-deep: #812d58;
    --color-mid: #ba6476;
    --color-soft: #f0a28e;
    --color-light: #f5d7a1;
    --color-white: #ffffff;
    --color-bg: #fdf6f3;
    --color-text: #2c1810;
    --color-text-light: #5c3d35;
    --color-border: #f0d5c8;
    --color-card: #ffffff;
    --color-accent: #812d58;
    --color-star: #e8a835;
    --color-tag: #ba6476;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(129, 45, 88, 0.06);
    --shadow-md: 0 4px 16px rgba(129, 45, 88, 0.10);
    --shadow-lg: 0 8px 32px rgba(129, 45, 88, 0.14);
    --shadow-xl: 0 16px 48px rgba(129, 45, 88, 0.18);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-base: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --max-width: 1320px;
    --nav-height: 60px;
    --nav-height-mobile: 54px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    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;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    max-height: 480px;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== 顶部导航 ========== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--nav-height);
    background: linear-gradient(135deg, var(--color-deep) 0%, #6b1f47 60%, var(--color-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(12px, 3vw, 32px);
    box-shadow: 0 2px 20px rgba(129, 45, 88, 0.25);
    gap: 12px;
}
.top-nav .logo-area {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.top-nav .logo-area h1 {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}
.top-nav .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    max-width: 34px;
    max-height: 34px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1.2vw, 16px);
    list-style: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 1;
    mask-image: linear-gradient(to right, #000 85%, transparent 98%);
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 98%);
    padding: 0 4px;
}
.nav-links::-webkit-scrollbar {
    display: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 20px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    outline: none;
}
.user-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}
.user-status:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
}
.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
    max-width: 28px;
    max-height: 28px;
}

/* ========== Banner轮播 ========== */
.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #1a0a12;
    aspect-ratio: 16/5;
    max-height: 520px;
    min-height: 240px;
}
.banner-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.banner-slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    max-height: 520px;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 6, 14, 0.85) 0%, rgba(24, 6, 14, 0.3) 45%, rgba(24, 6, 14, 0.08) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 48px);
    pointer-events: none;
}
.banner-overlay h2 {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.banner-overlay p {
    font-size: clamp(0.8rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.banner-dots {
    position: absolute;
    bottom: clamp(10px, 2vw, 20px);
    right: clamp(16px, 4vw, 48px);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}
.banner-dot.active {
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    transform: scale(1.25);
}

/* ========== 通用容器 ========== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(12px, 3vw, 28px);
}
.section {
    padding: clamp(28px, 4vw, 50px) 0;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(16px, 2.5vw, 24px);
    flex-wrap: wrap;
    gap: 10px;
}
.section-title {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-deep);
    position: relative;
    padding-left: 16px;
    letter-spacing: 0.02em;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color-deep), var(--color-soft));
}
.section-more {
    color: var(--color-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.section-more:hover {
    color: var(--color-deep);
    text-decoration: underline;
}

/* ========== 平台介绍 ========== */
.intro-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    text-align: center;
    margin: 0 auto;
}
.intro-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}
.intro-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}
.intro-highlight {
    background: linear-gradient(135deg, #fef5f2, #fdf0ea);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-deep);
    border: 1px solid var(--color-border);
    white-space: nowrap;
}

/* ========== 主内容区左右布局 ========== */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr 340px;
        gap: 28px;
    }
}
@media (min-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr 370px;
        gap: 32px;
    }
}

/* ========== 影视卡片网格 ========== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 480px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (min-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}
@media (min-width: 1024px) {
    .movie-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}
@media (min-width: 1300px) {
    .movie-grid {
        gap: 20px;
    }
}
.movie-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-soft);
}
.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    background: #f5e8e3;
    max-width: 100%;
    max-height: 360px;
}
.movie-card-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-card-body h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-card-body .meta {
    font-size: 0.75rem;
    color: var(--color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 2px;
}
.movie-card-body .meta span {
    background: #fef5f2;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 0.7rem;
}
.movie-card-body .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 6px;
}
.movie-card-body .tag {
    font-size: 0.68rem;
    background: var(--color-soft);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 500;
}

/* ========== 明星卡片 ========== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 600px) {
    .star-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}
.star-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
}
.star-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-soft);
}
.star-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: #f5e8e3;
    max-width: 100%;
    max-height: 320px;
}
.star-card-body {
    padding: 10px 12px 14px;
}
.star-card-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}
.star-card-body .role {
    font-size: 0.75rem;
    color: var(--color-mid);
    font-weight: 500;
}

/* ========== 剧情介绍卡片 ========== */
.plot-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
}
@media (min-width: 600px) {
    .plot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (min-width: 1024px) {
    .plot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
.plot-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-soft);
    transition: var(--transition);
    cursor: pointer;
}
.plot-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-deep);
}
.plot-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-deep);
    margin-bottom: 6px;
}
.plot-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 电影详情卡片 ========== */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (min-width: 1024px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
.detail-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid transparent;
    height: 100%;
}
.detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-soft);
    transform: translateY(-2px);
}
.detail-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: #f5e8e3;
    max-width: 100%;
    max-height: 360px;
}
.detail-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.detail-card-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}
.detail-card-body .info-row {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.detail-card-body .desc {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
}

/* ========== 详情页(单部电影) ========== */
.movie-detail {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 36px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.movie-detail .poster-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .movie-detail .poster-row {
        grid-template-columns: 280px 1fr;
        gap: 28px;
    }
}
.movie-detail .poster img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    max-width: 280px;
    max-height: 420px;
}
.movie-detail .info h1 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--color-deep);
    margin-bottom: 10px;
    font-weight: 700;
}
.movie-detail .info .alt-name {
    color: var(--color-text-light);
    font-size: 0.88rem;
    margin-bottom: 14px;
}
.movie-detail .info .meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}
.movie-detail .info .meta-grid span strong {
    color: var(--color-deep);
    margin-right: 4px;
}
.movie-detail .info .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 18px;
}
.movie-detail .info .tag-row .tag {
    background: var(--color-soft);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}
.movie-detail .info .score {
    background: linear-gradient(135deg, #fef5f2, #fdf0ea);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
}
.movie-detail .info .score .big {
    font-size: 1.8rem;
    color: var(--color-deep);
    font-weight: 800;
    margin-right: 6px;
}
.movie-detail .info .desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.85;
    white-space: pre-line;
}

/* ========== 右侧边栏 ========== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.sidebar-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-border);
    letter-spacing: 0.02em;
}
.total-read {
    text-align: center;
}
.total-read .big-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-deep);
    line-height: 1;
    letter-spacing: -0.02em;
}
.total-read .unit {
    font-size: 1rem;
    color: var(--color-mid);
    font-weight: 500;
}
.total-read .update-time {
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-top: 4px;
}
.stat-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.stat-item {
    flex: 1;
    text-align: center;
    background: #fef5f2;
    border-radius: var(--radius-sm);
    padding: 12px 10px;
}
.stat-item .stat-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-deep);
}
.stat-item .stat-label {
    font-size: 0.72rem;
    color: var(--color-text-light);
    margin-top: 2px;
}
.rank-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    background: #fefaf8;
}
.rank-list li:hover {
    background: #fef5f2;
    transform: translateX(3px);
}
.rank-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    color: #fff;
}
.rank-num.top1 {
    background: #e8453c;
}
.rank-num.top2 {
    background: #f56c3e;
}
.rank-num.top3 {
    background: #f0a028;
}
.rank-num.normal {
    background: #ba6476;
}
.rank-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}
.rank-info span {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

/* ========== 评论区域 ========== */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.comment-item {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.comment-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-soft);
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.comment-user-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.comment-user {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-text);
}
.comment-time {
    font-size: 0.72rem;
    color: var(--color-text-light);
}
.comment-body {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== 热门明星推荐 ========== */
.star-recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 600px) {
    .star-recommend-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}
.star-recommend-card {
    background: linear-gradient(135deg, #fef5f2, #fdf0ea);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}
.star-recommend-card:hover {
    border-color: var(--color-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.star-recommend-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
    border: 3px solid var(--color-soft);
    background: #f5e8e3;
    max-width: 64px;
    max-height: 64px;
}
.star-recommend-card h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}
.star-recommend-card .hot-badge {
    display: inline-block;
    font-size: 0.7rem;
    background: #e8453c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

/* ========== APP下载 ========== */
.download-section {
    background: linear-gradient(135deg, #fef5f2 0%, #fdf0ea 40%, #fef9f6 100%);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 600px) {
    .download-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}
.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    justify-content: center;
    background: #fff;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.download-btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-soft);
}
.download-btn.android:hover {
    background: #e8faf0;
    border-color: #3ddc84;
}
.download-btn.ios:hover {
    background: #f5f5f7;
    border-color: #000;
}
.download-btn.pc:hover {
    background: #eef2f7;
    border-color: #52616b;
}
.download-btn.mac:hover {
    background: #f5f5f7;
    border-color: #555;
}
.app-icon {
    flex-shrink: 0;
    max-width: 24px;
    max-height: 24px;
}

/* ========== 常见问题 ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-soft);
}
.faq-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-deep);
    margin-bottom: 4px;
}
.faq-item p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========== 友情链接 ========== */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
    padding: 4px 0;
}
.friend-links a {
    color: var(--color-mid);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
}
.friend-links a:hover {
    color: var(--color-deep);
    text-decoration: underline;
    background: rgba(186, 100, 118, 0.06);
}

/* ========== 底部导航 ========== */
.bottom-nav {
    width: 100%;
    background: linear-gradient(135deg, #2c101c 0%, #1a080f 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: clamp(20px, 3vw, 32px) clamp(12px, 3vw, 28px);
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.8;
}
.bottom-nav .bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    margin-bottom: 10px;
}
.bottom-nav .bottom-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.82rem;
}
.bottom-nav .bottom-links a:hover {
    color: var(--color-soft);
    text-decoration: underline;
}
.bottom-nav .copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}
.bottom-nav .mobile-brand-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--color-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
}
.bottom-nav .mobile-brand-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ========== 协议/条款页 ========== */
.legal-page {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 36px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    max-width: 900px;
    margin: 0 auto;
}
.legal-page h1 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--color-deep);
    margin-bottom: 18px;
    font-weight: 700;
    text-align: center;
}
.legal-page h2 {
    font-size: 1.1rem;
    color: var(--color-deep);
    margin: 22px 0 10px;
    font-weight: 600;
    padding-left: 12px;
    border-left: 4px solid var(--color-soft);
}
.legal-page p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 12px;
}
.legal-page .update-time {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ========== 明星详情 ========== */
.star-detail {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 36px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.star-detail .top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .star-detail .top-row {
        grid-template-columns: 240px 1fr;
    }
}
.star-detail .top-row img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-md);
    max-width: 240px;
    max-height: 320px;
}
.star-detail .top-row h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--color-deep);
    margin-bottom: 8px;
    font-weight: 700;
}
.star-detail .top-row .role {
    color: var(--color-mid);
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 500;
}
.star-detail .top-row .info {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}
.star-detail .works h2 {
    color: var(--color-deep);
    font-size: 1.2rem;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--color-soft);
}

/* ========== 面包屑 ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 16px 0;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--color-mid);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--color-deep);
    text-decoration: underline;
}
.breadcrumb .sep {
    color: var(--color-border);
}

/* ========== 列表分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 24px 0;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.pagination a:hover {
    border-color: var(--color-soft);
    color: var(--color-deep);
}
.pagination .current {
    background: var(--color-deep);
    color: #fff;
    border-color: var(--color-deep);
}

/* ========== 响应式调整 ========== */
@media (max-width: 1023px) {
    .nav-links a {
        font-size: 0.78rem;
        padding: 5px 8px;
    }
    .banner-section {
        aspect-ratio: 16/6;
        max-height: 380px;
        min-height: 200px;
    }
    .banner-overlay h2 {
        font-size: 1.1rem;
    }
    .banner-overlay p {
        font-size: 0.75rem;
        max-width: 100%;
    }
    .sidebar {
        gap: 16px;
    }
    .total-read .big-number {
        font-size: 2.4rem;
    }
}
@media (max-width: 600px) {
    .top-nav {
        height: var(--nav-height-mobile);
        padding: 0 8px;
        gap: 6px;
    }
    .top-nav .logo-area h1 {
        font-size: 1rem;
    }
    .top-nav .logo-icon {
        width: 26px;
        height: 26px;
        max-width: 26px;
        max-height: 26px;
    }
    .nav-links a {
        font-size: 0.7rem;
        padding: 4px 6px;
    }
    .user-status {
        font-size: 0.75rem;
        padding: 4px 10px;
        gap: 4px;
    }
    .user-avatar {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
    }
    .banner-section {
        aspect-ratio: 16/7;
        max-height: 280px;
        min-height: 170px;
    }
    .banner-overlay h2 {
        font-size: 1rem;
    }
    .banner-overlay p {
        font-size: 0.7rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .banner-dot {
        width: 7px;
        height: 7px;
    }
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .movie-card-body h3 {
        font-size: 0.78rem;
    }
    .movie-card-body .meta span {
        font-size: 0.65rem;
    }
    .star-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .plot-grid {
        grid-template-columns: 1fr;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .download-btn {
        padding: 12px 10px;
        font-size: 0.78rem;
        gap: 6px;
    }
    .sidebar-card {
        padding: 14px;
    }
    .star-recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comment-body {
        font-size: 0.8rem;
    }
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section {
    animation: fadeInUp 0.5s ease-out;
}
