/* ===========================================
   光影在线 - 全站样式
   =========================================== */

:root {
    --color-cream: #fff1c5;
    --color-rose: #c38b8b;
    --color-deep-rose: #b0757c;
    --color-burgundy: #9b5d73;
    --color-burgundy-dark: #7a4257;
    --color-white: #ffffff;
    --color-light-bg: #fdf8f0;
    --color-text: #3d2c2c;
    --color-text-light: #6b5555;
    --color-text-lighter: #8a7070;
    --color-border: #e8d5d0;
    --color-card-bg: #ffffff;
    --color-accent-gold: #d4a574;
    --color-shadow: rgba(155, 93, 115, 0.10);
    --color-shadow-hover: rgba(155, 93, 115, 0.20);
    --color-overlay: rgba(58, 30, 40, 0.55);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --font-heading: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --nav-height: 60px;
    --nav-height-mobile: 54px;
}

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

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

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

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

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

/* ============ 顶部导航 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 20px var(--color-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.94);
    transition: box-shadow var(--transition-smooth);
}

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

.site-brand {
    flex-shrink: 0;
}
.site-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-burgundy);
    letter-spacing: 0.03em;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.site-brand h1:hover {
    color: var(--color-deep-rose);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.nav-links::-webkit-scrollbar {
    display: none;
}
.nav-links a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 20px;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
    flex-shrink: 0;
    position: relative;
}
.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--color-burgundy);
    background: var(--color-cream);
    outline: none;
}
.nav-links a.nav-active {
    color: var(--color-burgundy);
    background: var(--color-cream);
    font-weight: 600;
}

.header-user {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 7px 15px;
    border-radius: 22px;
    background: var(--color-cream);
    color: var(--color-burgundy);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    transition: all var(--transition-fast);
    white-space: nowrap;
    border: 2px solid transparent;
    user-select: none;
}
.header-user:hover {
    border-color: var(--color-rose);
    background: #fff7e5;
}
.header-user .user-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5cb85c;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(92, 184, 92, 0); }
}

/* ============ Banner 轮播 ============ */
.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #2a1518;
    max-height: 520px;
    min-height: 280px;
}
.banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.banner-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    min-height: 280px;
    max-height: 520px;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 10, 18, 0.8) 0%, rgba(30, 10, 18, 0.3) 40%, rgba(30, 10, 18, 0.1) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 5vw, 56px) clamp(20px, 5vw, 60px);
    pointer-events: none;
}
.banner-overlay h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    line-height: 1.25;
    max-width: 700px;
}
.banner-overlay p {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    max-width: 550px;
    letter-spacing: 0.03em;
}
.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
    outline: none;
}
.banner-dots button.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.25);
}
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
}
.banner-section:hover .banner-arrow {
    opacity: 1;
    pointer-events: auto;
}
.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: #fff;
}
.banner-arrow.prev { left: 16px; }
.banner-arrow.next { right: 16px; }

/* ============ 通用区块 ============ */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px) 20px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--color-burgundy);
    border-radius: 1px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    color: var(--color-burgundy);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title .icon-bar {
    display: inline-block;
    width: 5px;
    height: 22px;
    background: var(--color-deep-rose);
    border-radius: 3px;
    flex-shrink: 0;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-deep-rose);
    padding: 5px 12px;
    border-radius: 16px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    animation: badge-glow 2.5s ease-in-out infinite;
}
@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(176, 117, 124, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(176, 117, 124, 0); }
}

/* ============ 平台介绍 ============ */
.intro-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 4px 24px var(--color-shadow);
    border: 1px solid var(--color-border);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    transition: box-shadow var(--transition-smooth);
}
.intro-card:hover {
    box-shadow: 0 8px 36px var(--color-shadow-hover);
}
.intro-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-burgundy);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}
.intro-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* ============ 热门影视网格 ============ */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.movie-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 3px 16px var(--color-shadow);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}
.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--color-shadow-hover);
    border-color: var(--color-rose);
}
.movie-card .card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f0e8e5;
    flex-shrink: 0;
}
.movie-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}
.movie-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.movie-card .rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-burgundy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    letter-spacing: 0.05em;
    z-index: 2;
    white-space: nowrap;
}
.movie-card .week-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f0a030;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 0.04em;
    z-index: 2;
    white-space: nowrap;
    animation: badge-glow 2s ease-in-out infinite;
}
.movie-card .card-info {
    padding: 10px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-card .card-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.03em;
    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-text-lighter);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    letter-spacing: 0.02em;
}
.movie-card .card-info .meta span {
    white-space: nowrap;
}

/* ============ 明星介绍 ============ */
.star-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.star-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 3px 16px var(--color-shadow);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}
.star-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px var(--color-shadow-hover);
    border-color: var(--color-rose);
}
.star-card .star-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0e8e5;
    flex-shrink: 0;
}
.star-card .star-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}
.star-card:hover .star-img-wrap img {
    transform: scale(1.05);
}
.star-card .star-info {
    padding: 12px 14px 16px;
}
.star-card .star-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.03em;
}
.star-card .star-info .role {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    letter-spacing: 0.02em;
    margin-top: 2px;
}
.star-card .hot-star-tag {
    display: inline-block;
    background: var(--color-cream);
    color: var(--color-burgundy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    margin-top: 6px;
    letter-spacing: 0.04em;
}

/* ============ 剧情介绍 ============ */
.plot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.plot-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 3px 16px var(--color-shadow);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}
.plot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--color-shadow-hover);
    border-color: var(--color-rose);
}
.plot-card .plot-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0e8e5;
    flex-shrink: 0;
}
.plot-card .plot-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}
.plot-card:hover .plot-img-wrap img {
    transform: scale(1.04);
}
.plot-card .plot-info {
    padding: 12px 14px 16px;
    flex: 1;
}
.plot-card .plot-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}
.plot-card .plot-info p {
    font-size: 0.78rem;
    color: var(--color-text-lighter);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ 电影详情 + 右侧面板 ============ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
.detail-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.detail-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 3px 16px var(--color-shadow);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}
.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--color-shadow-hover);
    border-color: var(--color-rose);
}
.detail-card .detail-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0e8e5;
    flex-shrink: 0;
}
.detail-card .detail-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}
.detail-card .detail-info {
    padding: 12px 14px 16px;
    flex: 1;
}
.detail-card .detail-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.03em;
}
.detail-card .detail-info .detail-meta {
    font-size: 0.72rem;
    color: var(--color-text-lighter);
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    margin-top: 3px;
}

/* 右侧统计面板 */
.stats-panel {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: 0 4px 24px var(--color-shadow);
    border: 1px solid var(--color-border);
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.stats-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-burgundy);
    letter-spacing: 0.04em;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}
.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--color-light-bg);
    border-radius: var(--radius-sm);
    gap: 10px;
}
.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    letter-spacing: 0.03em;
    font-weight: 500;
}
.stat-item .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-burgundy);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.stat-update-time {
    font-size: 0.7rem;
    color: var(--color-text-lighter);
    text-align: center;
    letter-spacing: 0.03em;
}
.stat-highlight {
    background: var(--color-cream) !important;
    border-left: 3px solid var(--color-deep-rose);
}
.stat-new-badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    animation: badge-glow 1.8s ease-in-out infinite;
    margin-left: 4px;
}

/* ============ 评论区域 ============ */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.comment-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 3px 14px var(--color-shadow);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.comment-card:hover {
    box-shadow: 0 6px 22px var(--color-shadow-hover);
    border-color: var(--color-rose);
}
.comment-card .comment-user {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-burgundy);
    letter-spacing: 0.03em;
}
.comment-card .comment-text {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.7;
    letter-spacing: 0.02em;
}
.comment-card .comment-meta {
    font-size: 0.7rem;
    color: var(--color-text-lighter);
    letter-spacing: 0.03em;
}

/* ============ APP下载 ============ */
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.download-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 3px 16px var(--color-shadow);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--color-shadow-hover);
    border-color: var(--color-rose);
}
.download-card .app-icon {
    width: 48px;
    height: 48px;
    max-width: 100%;
    max-height: 100%;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}
.download-card:hover .app-icon {
    transform: scale(1.1);
}
.download-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-text);
}
.download-card span {
    font-size: 0.72rem;
    color: var(--color-text-lighter);
    letter-spacing: 0.02em;
}

/* ============ 常见问题 ============ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 2px 10px var(--color-shadow);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    cursor: pointer;
}
.faq-item:hover {
    border-color: var(--color-rose);
    box-shadow: 0 4px 16px var(--color-shadow-hover);
}
.faq-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-burgundy);
    letter-spacing: 0.03em;
}
.faq-item p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 4px;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* ============ 友情链接 ============ */
.friend-links-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    padding: 16px 0;
}
.friend-links-wrap a.link_friendlinks_a {
    font-size: 0.82rem;
    color: var(--color-text-lighter);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color var(--transition-fast);
    padding: 4px 8px;
    border-radius: 4px;
}
.friend-links-wrap a.link_friendlinks_a:hover {
    color: var(--color-burgundy);
    background: var(--color-cream);
    text-decoration: underline;
}

/* ============ 底部 ============ */
.site-footer {
    width: 100%;
    background: #2a1518;
    color: rgba(255, 255, 255, 0.75);
    padding: 28px 20px;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    line-height: 2;
}
.site-footer a {
    color: #e8c9a0;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}
.site-footer .footer-divider {
    display: inline-block;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

/* ============ 通用页面（关于、协议等） ============ */
.page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px) 20px;
}
.page-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 4px 24px var(--color-shadow);
    border: 1px solid var(--color-border);
}
.page-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--color-burgundy);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
    letter-spacing: 0.04em;
}
.page-card h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--color-burgundy);
    border-radius: 1px;
}
.page-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-burgundy);
    margin-top: 24px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}
.page-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.85;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}
.page-card ul {
    margin: 8px 0 16px 0;
    padding-left: 22px;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.9;
    letter-spacing: 0.03em;
}
.page-card ul li {
    list-style: disc;
    margin-bottom: 4px;
}
.page-card .update-time {
    font-size: 0.78rem;
    color: var(--color-text-lighter);
    text-align: right;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--color-border);
}

/* ============ 影视详情页 ============ */
.movie-detail {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px var(--color-shadow);
    border: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
}
.movie-detail .poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #f0e8e5;
    overflow: hidden;
}
.movie-detail .poster img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}
.movie-detail .info {
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.movie-detail .info h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--color-burgundy);
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 4px;
}
.movie-detail .info .aliases {
    font-size: 0.85rem;
    color: var(--color-text-lighter);
    letter-spacing: 0.03em;
}
.movie-detail .info .info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
    letter-spacing: 0.03em;
}
.movie-detail .info .info-row strong {
    color: var(--color-burgundy);
    font-weight: 600;
    margin-right: 4px;
}
.movie-detail .info .score-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-cream);
    color: var(--color-burgundy);
    padding: 6px 14px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 0.95rem;
    width: fit-content;
    letter-spacing: 0.04em;
}
.movie-detail .info .score-box .num {
    font-size: 1.2rem;
    color: #e74c3c;
}
.movie-detail .info .body-text {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--color-text-light);
    letter-spacing: 0.03em;
    padding-top: 8px;
    border-top: 1px dashed var(--color-border);
    margin-top: 4px;
}

/* ============ 明星详情页 ============ */
.star-detail {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px var(--color-shadow);
    border: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
}
.star-detail .avatar {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f0e8e5;
    overflow: hidden;
}
.star-detail .avatar img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}
.star-detail .info {
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.star-detail .info h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--color-burgundy);
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 4px;
}
.star-detail .info .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
    letter-spacing: 0.03em;
}
.star-detail .info .meta-row strong {
    color: var(--color-burgundy);
    font-weight: 600;
    margin-right: 4px;
}
.star-detail .info .body-text {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--color-text-light);
    letter-spacing: 0.03em;
    padding-top: 8px;
    border-top: 1px dashed var(--color-border);
    margin-top: 4px;
}

/* ============ 列表筛选条 ============ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px var(--color-shadow);
    border: 1px solid var(--color-border);
}
.filter-bar .filter-label {
    font-size: 0.85rem;
    color: var(--color-burgundy);
    font-weight: 600;
    letter-spacing: 0.04em;
    align-self: center;
    margin-right: 4px;
}
.filter-bar a {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.82rem;
    color: var(--color-text-light);
    background: var(--color-light-bg);
    border-radius: 14px;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.filter-bar a:hover,
.filter-bar a.filter-active {
    color: #fff;
    background: var(--color-burgundy);
}

/* ============ 响应式 - 移动端为主 ============ */
@media (max-width: 1024px) {
    .movie-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .star-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .plot-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .detail-layout { grid-template-columns: 1fr 260px; gap: 16px; }
    .detail-main { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .comments-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .download-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .banner-section { max-height: 360px; min-height: 200px; }
    .banner-slide { max-height: 360px; min-height: 200px; aspect-ratio: 21 / 10; }
    .movie-detail { grid-template-columns: 280px 1fr; }
    .star-detail { grid-template-columns: 260px 1fr; }
}

@media (max-width: 768px) {
    .header-inner { height: var(--nav-height-mobile); padding: 0 12px; gap: 8px; }
    .site-brand h1 { font-size: 1.15rem; }
    .nav-links a { font-size: 0.76rem; padding: 5px 10px; border-radius: 16px; }
    .header-user { font-size: 0.75rem; padding: 5px 10px; gap: 4px; }
    .header-user .user-dot { width: 7px; height: 7px; }
    .banner-section { max-height: 240px; min-height: 160px; }
    .banner-slide { max-height: 240px; min-height: 160px; aspect-ratio: 21 / 11; }
    .banner-overlay h2 { font-size: 1.1rem; }
    .banner-overlay p { font-size: 0.7rem; }
    .banner-arrow { width: 30px; height: 30px; font-size: 0.9rem; }
    .banner-dots button { width: 7px; height: 7px; }
    .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .movie-card .card-info { padding: 6px 8px 10px; }
    .movie-card .card-info h4 { font-size: 0.72rem; }
    .movie-card .card-info .meta { font-size: 0.64rem; gap: 2px 6px; }
    .movie-card .rank-badge, .movie-card .week-badge { font-size: 0.6rem; padding: 2px 6px; top: 4px; }
    .star-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .plot-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .detail-layout { grid-template-columns: 1fr; gap: 14px; }
    .detail-main { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stats-panel { position: static; top: auto; flex-direction: row; flex-wrap: wrap; gap: 10px; padding: 16px; justify-content: center; }
    .stats-panel h3 { width: 100%; font-size: 0.95rem; padding-bottom: 8px; }
    .stat-item { flex: 1 1 auto; min-width: 100px; padding: 8px 10px; font-size: 0.75rem; }
    .stat-item .stat-value { font-size: 0.9rem; }
    .comments-grid { grid-template-columns: 1fr; gap: 8px; }
    .comment-card { padding: 14px 16px; }
    .comment-card .comment-text { font-size: 0.76rem; }
    .download-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .download-card { padding: 16px 10px; gap: 6px; }
    .download-card .app-icon { width: 36px; height: 36px; }
    .download-card h4 { font-size: 0.78rem; }
    .section-header { margin-bottom: 16px; padding-bottom: 10px; }
    .section-title { font-size: 1rem; }
    .section-container { padding: 20px 12px; }
    .faq-item { padding: 12px 14px; }
    .movie-detail { grid-template-columns: 1fr; }
    .movie-detail .poster { max-height: 380px; }
    .star-detail { grid-template-columns: 1fr; }
    .star-detail .avatar { max-height: 360px; }
    .page-content { padding: 20px 12px; }
    .page-card { padding: 20px 16px; }
}

@media (max-width: 480px) {
    .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .movie-card .card-info h4 { font-size: 0.7rem; }
    .movie-card .card-info .meta { font-size: 0.6rem; }
    .star-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .plot-grid { grid-template-columns: 1fr; gap: 8px; }
    .detail-main { grid-template-columns: 1fr; gap: 8px; }
    .download-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .banner-section { max-height: 180px; min-height: 140px; }
    .banner-slide { max-height: 180px; min-height: 140px; aspect-ratio: 21 / 13; }
    .banner-overlay { padding: 14px 16px; }
    .banner-overlay h2 { font-size: 0.95rem; }
    .banner-overlay p { font-size: 0.65rem; display: none; }
    .banner-arrow { display: none; }
    .nav-links a { font-size: 0.7rem; padding: 4px 8px; }
    .header-user { font-size: 0.7rem; padding: 4px 8px; }
    .stats-panel { flex-direction: column; gap: 8px; }
    .stat-item { min-width: auto; }
    .comments-grid { grid-template-columns: 1fr; }
    .friend-links-wrap { gap: 6px 10px; }
    .friend-links-wrap a.link_friendlinks_a { font-size: 0.7rem; }
}
