:root {
    --color-light-coral: #ff8b8b;
    --color-red: #ff5151;
    --color-blue: #0f4392;
    --color-dark-blue: #000249;
    --color-white: #ffffff;
    --color-bg: #f8f9fa;
    --color-card: #ffffff;
    --color-text: #1a1a2e;
    --color-text-secondary: #555;
    --color-border: #e8e8e8;
    --color-star: #f5a623;
    --color-badge: #ff5151;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --nav-height: 60px;
    --font-xs: 0.75rem;
    --font-sm: 0.85rem;
    --font-md: 0.95rem;
    --font-lg: 1.1rem;
    --font-xl: 1.35rem;
    --font-2xl: 1.7rem;
    --font-3xl: 2rem;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== 顶部导航 ========== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--color-dark-blue);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 20px rgba(0, 2, 73, 0.25);
    gap: 8px;
}
.top-nav .nav-brand h1 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}
.top-nav .nav-brand h1 span {
    color: var(--color-light-coral);
}
.nav-links {
    display: none;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: var(--font-xs);
    padding: 6px 10px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.nav-links a:hover,
.nav-links a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-user .user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-light-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    flex-shrink: 0;
}
.nav-user .user-text {
    color: #fff;
    font-size: var(--font-sm);
    font-weight: 500;
    display: none;
}
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.mobile-nav-dropdown {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--color-dark-blue);
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 999;
    list-style: none;
}
.mobile-nav-dropdown.active {
    display: flex;
}
.mobile-nav-dropdown a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: var(--font-md);
    transition: var(--transition);
    display: block;
}
.mobile-nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ========== 主容器 ========== */
.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 12px;
}

/* ========== Section通用 ========== */
.section {
    padding: 28px 0;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}
.section-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    position: relative;
    padding-left: 14px;
    letter-spacing: 0.5px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--color-red);
    border-radius: 2px;
}
.section-badge {
    display: inline-block;
    background: var(--color-red);
    color: #fff;
    font-size: var(--font-xs);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 81, 81, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 81, 81, 0);
    }
}

/* ========== Banner 轮播 ========== */
.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-top: 14px;
    aspect-ratio: 16 / 7;
    max-height: 460px;
    background: var(--color-dark-blue);
}
.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.banner-slide.active {
    opacity: 1;
    z-index: 2;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    max-width: 1280px;
    max-height: 460px;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 2, 73, 0.85) 0%, rgba(0, 2, 73, 0.35) 40%, rgba(0, 0, 0, 0.05) 70%);
    z-index: 3;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px;
    pointer-events: none;
}
.banner-overlay .banner-tag {
    display: inline-block;
    background: var(--color-red);
    color: #fff;
    font-size: var(--font-xs);
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 8px;
}
.banner-overlay h2 {
    color: #fff;
    font-size: var(--font-2xl);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 4px;
}
.banner-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-sm);
}
.banner-dots {
    position: absolute;
    bottom: 14px;
    right: 18px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}
.banner-dots button.active {
    background: #fff;
    transform: scale(1.2);
}
.banner-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    transform: translateY(-50%);
    pointer-events: none;
}
.banner-arrows button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.banner-arrows button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ========== 平台介绍 ========== */
.platform-intro {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #0a1a5e 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    margin-top: 16px;
}
.platform-intro h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.platform-intro p {
    font-size: var(--font-sm);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.platform-intro .highlight-num {
    color: var(--color-light-coral);
    font-weight: 700;
    font-size: var(--font-2xl);
}

/* ========== 热门影视网格 ========== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.movie-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    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: #e0e0e0;
    flex-shrink: 0;
}
.movie-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    max-width: 400px;
    max-height: 600px;
}
.movie-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.movie-card .rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 2;
    letter-spacing: 0.5px;
}
.movie-card .week-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-star);
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 2;
    letter-spacing: 0.5px;
}
.movie-card .card-info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.movie-card .card-info h4 {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-card .card-info .meta {
    font-size: var(--font-xs);
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.movie-card .card-info .meta span {
    display: inline-block;
    margin-right: 6px;
}
.movie-card .card-info .type-tag {
    display: inline-block;
    background: #eef2ff;
    color: var(--color-blue);
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
    width: fit-content;
}

/* ========== 明星介绍 ========== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.star-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    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: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--color-light-coral);
    display: inline-block;
    max-width: 80px;
    max-height: 80px;
}
.star-card h4 {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 2px;
}
.star-card .star-role {
    font-size: var(--font-xs);
    color: var(--color-text-secondary);
}
.star-card .hot-badge {
    display: inline-block;
    background: var(--color-red);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-top: 6px;
    font-weight: 600;
}

/* ========== 剧情介绍 ========== */
.plot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.plot-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.plot-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.plot-card .plot-img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e0e0e0;
    flex-shrink: 0;
}
.plot-card .plot-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    max-width: 800px;
    max-height: 450px;
}
.plot-card:hover .plot-img-wrap img {
    transform: scale(1.04);
}
.plot-card .plot-info {
    padding: 14px;
}
.plot-card .plot-info h4 {
    font-size: var(--font-md);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 6px;
}
.plot-card .plot-info p {
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 电影详细介绍 + 右侧阅读面板 ========== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.detail-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.detail-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.detail-card:hover {
    box-shadow: var(--shadow-md);
}
.detail-card .detail-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e0e0e0;
    flex-shrink: 0;
}
.detail-card .detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 800px;
    max-height: 500px;
}
.detail-card .detail-info {
    padding: 14px;
}
.detail-card .detail-info h4 {
    font-size: var(--font-md);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 6px;
}
.detail-card .detail-info p {
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.detail-card .detail-info .detail-meta {
    font-size: var(--font-xs);
    color: #888;
    margin-top: 4px;
}
/* 右侧阅读面板 */
.reading-panel {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 80px;
    border-left: 4px solid var(--color-red);
}
.reading-panel h4 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.reading-panel .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-sm);
}
.reading-panel .stat-item .stat-val {
    font-weight: 700;
    color: var(--color-red);
    font-size: var(--font-lg);
}
.reading-panel .update-time {
    font-size: var(--font-xs);
    color: #999;
    margin-top: 10px;
    text-align: right;
}

/* ========== 评论区域 ========== */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.comment-item {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-blue);
    transition: var(--transition);
}
.comment-item:hover {
    box-shadow: var(--shadow-md);
}
.comment-item .comment-user {
    font-weight: 700;
    font-size: var(--font-sm);
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}
.comment-item .comment-text {
    font-size: var(--font-sm);
    color: #444;
    line-height: 1.7;
}
.comment-item .comment-time {
    font-size: var(--font-xs);
    color: #aaa;
    margin-top: 6px;
}

/* ========== APP下载 ========== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.download-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}
.download-card:hover {
    border-color: var(--color-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.download-card .app-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    max-width: 40px;
    max-height: 40px;
}
.download-card span {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-dark-blue);
}
.download-card small {
    font-size: var(--font-xs);
    color: #888;
}

/* ========== 常见问题 ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: var(--color-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 14px 16px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.3px;
}
.faq-question .faq-icon {
    transition: transform 0.3s ease;
    font-size: 18px;
    color: var(--color-blue);
    flex-shrink: 0;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 16px;
    font-size: var(--font-sm);
    color: #555;
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 16px 14px;
}

/* ========== 友情链接（整合到底部导航） ========== */
.friend-links-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 16px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.friend-links-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-light-coral);
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.friend-links-title::before,
.friend-links-title::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 139, 139, 0.6));
    margin: 0 8px;
}
.friend-links-title::after {
    background: linear-gradient(90deg, rgba(255, 139, 139, 0.6), transparent);
}
.friend-links-icon {
    font-size: 14px;
    animation: spin-icon 6s linear infinite;
    display: inline-block;
}
@keyframes spin-icon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.friend-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding-bottom: 8px;
}
.friend-links-grid a.link_friendlinks_a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: var(--font-xs);
    padding: 7px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.5px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.friend-links-grid a.link_friendlinks_a::before {
    content: '🔗';
    font-size: 10px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.friend-links-grid a.link_friendlinks_a:hover {
    color: #fff;
    background: rgba(255, 81, 81, 0.85);
    border-color: rgba(255, 139, 139, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 81, 81, 0.35);
}
.friend-links-grid a.link_friendlinks_a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* 兼容旧样式（若模板系统输出旧链接） */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 16px 0;
}
.friend-links a.link_friendlinks_a {
    color: var(--color-blue);
    text-decoration: none;
    font-size: var(--font-sm);
    padding: 6px 14px;
    border-radius: 16px;
    background: #eef2ff;
    transition: var(--transition);
    font-weight: 500;
}
.friend-links a.link_friendlinks_a:hover {
    background: var(--color-blue);
    color: #fff;
}

/* ========== 底部导航 ========== */
.bottom-nav {
    width: 100%;
    background: var(--color-dark-blue);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 20px 16px;
    font-size: var(--font-xs);
    line-height: 1.8;
    letter-spacing: 0.5px;
}
.bottom-nav a {
    color: var(--color-light-coral);
    text-decoration: none;
    font-weight: 600;
}
.bottom-nav .bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.bottom-nav .bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: var(--font-xs);
}
.footer-divider {
    width: 60%;
    max-width: 320px;
    height: 1px;
    margin: 6px auto 14px;
    background: linear-gradient(90deg, transparent, rgba(255, 139, 139, 0.3), transparent);
}

/* ========== 单页面文章样式 ========== */
.article-page {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    margin-top: 14px;
}
.article-page h1 {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    border-left: 4px solid var(--color-red);
    padding-left: 12px;
}
.article-page h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 20px 0 10px;
    letter-spacing: 0.5px;
}
.article-page h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 16px 0 8px;
}
.article-page p {
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.article-page ul, .article-page ol {
    padding-left: 24px;
    margin-bottom: 12px;
}
.article-page li {
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}
.article-page .meta-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #888;
    font-size: var(--font-xs);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}
.article-page .meta-info span {
    display: inline-block;
}

/* ========== 影视详情页样式 ========== */
.movie-detail-wrap {
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 14px;
}
.movie-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 460px;
    overflow: hidden;
}
.movie-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 1280px;
    max-height: 460px;
}
.movie-hero .movie-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 2, 73, 0.95) 0%, rgba(0, 2, 73, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
}
.movie-hero .movie-mask h1 {
    color: #fff;
    font-size: var(--font-2xl);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.movie-hero .movie-mask .movie-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-sm);
}
.movie-info {
    padding: 20px;
}
.movie-info .info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: var(--font-sm);
    flex-wrap: wrap;
}
.movie-info .info-row .label {
    color: #888;
    flex-shrink: 0;
    width: 70px;
}
.movie-info .info-row .value {
    color: var(--color-text);
    font-weight: 600;
}
.movie-info .score {
    display: inline-block;
    background: var(--color-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 8px;
}
.movie-info .body-text {
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

/* ========== 加载占位 ========== */
img[loading="lazy"] {
    background: #e8e8e8;
    transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded {
    background: transparent;
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 500;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-red);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--color-dark-blue);
    transform: translateY(-2px);
}

/* ========== 响应式 - 平板 ========== */
@media (min-width: 600px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .star-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .plot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .download-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .detail-layout {
        grid-template-columns: 1fr 300px;
    }
    .banner-overlay h2 {
        font-size: var(--font-3xl);
    }
    .banner-overlay p {
        font-size: var(--font-md);
    }
    .nav-user .user-text {
        display: inline;
    }
    .section-title {
        font-size: var(--font-2xl);
    }
}

/* ========== 响应式 - 桌面 ========== */
@media (min-width: 1024px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .star-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .plot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .detail-layout {
        grid-template-columns: 1fr 340px;
        gap: 20px;
    }
    .download-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .nav-links {
        display: flex;
    }
    .mobile-menu-toggle {
        display: none;
    }
    .top-nav {
        padding: 0 24px;
    }
    .main-container {
        padding: 0 20px;
    }
    .banner-section {
        aspect-ratio: 21 / 7;
        max-height: 500px;
        border-radius: var(--radius-xl);
    }
    .banner-overlay {
        padding: 28px 24px;
    }
    .banner-overlay h2 {
        font-size: 2.4rem;
    }
    .detail-card {
        display: flex;
        flex-direction: row;
    }
    .detail-card .detail-img-wrap {
        width: 240px;
        aspect-ratio: auto;
        height: auto;
        flex-shrink: 0;
    }
    .detail-card .detail-img-wrap img {
        height: 100%;
        width: 240px;
    }
    .comment-item {
        padding: 18px 20px;
    }
    .movie-hero .movie-mask h1 {
        font-size: var(--font-3xl);
    }
    .article-page {
        padding: 32px 32px;
    }
}