:root {
    --color-deep: #132f2b;
    --color-mid: #196b69;
    --color-accent: #28cc9e;
    --color-light: #ddfee4;
    --color-white: #ffffff;
    --color-gray-50: #f8faf9;
    --color-gray-100: #f0f5f2;
    --color-gray-200: #e2ebe6;
    --color-gray-300: #c5d5cd;
    --color-gray-500: #6b8a7c;
    --color-gray-700: #3d5549;
    --color-gray-900: #1a2d27;
    --color-star: #f5a623;
    --color-red: #e74c3c;
    --color-orange: #f39c12;
    --shadow-sm: 0 1px 3px rgba(19, 47, 43, 0.06);
    --shadow-md: 0 4px 12px rgba(19, 47, 43, 0.1);
    --shadow-lg: 0 8px 30px rgba(19, 47, 43, 0.14);
    --shadow-xl: 0 16px 48px rgba(19, 47, 43, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
    --max-width: 1320px;
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-gray-50);
    color: var(--color-gray-900);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ========== 顶部导航栏 100%宽度 ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--color-deep);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-md);
    min-height: var(--header-height);
}

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

.site-logo h1 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.site-logo h1 .logo-icon {
    display: inline-block;
    width: 34px;
    height: 34px;
    background: var(--color-accent);
    border-radius: 8px;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

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

.nav-links li a {
    display: inline-block;
    padding: 8px 15px;
    color: #c5d5cd;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 20px;
    transition: var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: var(--color-accent);
    background: rgba(40, 204, 158, 0.08);
    outline: none;
}

.nav-links li a.nav-active {
    color: var(--color-accent);
    background: rgba(40, 204, 158, 0.12);
    font-weight: 600;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--color-accent);
    color: var(--color-deep);
    border: none;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.btn-login:hover {
    background: #22b88a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(40, 204, 158, 0.35);
}

.user-avatar-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* 移动端菜单checkbox hack */
#menu-toggle {
    display: none;
}
.menu-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    background: transparent;
    border: none;
}
.menu-toggle-label span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-accent);
    border-radius: 3px;
    transition: var(--transition-smooth);
}
#menu-toggle:checked~.menu-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle:checked~.menu-toggle-label span:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked~.menu-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

/* 桌面端两栏布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    padding: 24px 0;
}
.content-main {
    min-width: 0;
}
.content-sidebar {
    min-width: 0;
}

/* ========== 板块通用样式 ========== */
.section-block {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-smooth);
}
.section-block:hover {
    box-shadow: var(--shadow-md);
}
.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--color-accent);
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title .title-badge {
    display: inline-block;
    font-size: 0.75rem;
    background: var(--color-accent);
    color: var(--color-deep);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ========== Banner Brand 左边文字右边图片 ========== */
.brand-banner {
    background: linear-gradient(135deg, #0f2724 0%, #132f2b 40%, #0d3d38 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    min-height: 380px;
    border: 1px solid rgba(40, 204, 158, 0.2);
}
.brand-banner .banner-text {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    z-index: 2;
}
.brand-banner .banner-text h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.6px;
}
.brand-banner .banner-text h2 span {
    color: var(--color-accent);
}
.brand-banner .banner-text p {
    color: #b8d4cc;
    font-size: 1.05rem;
    line-height: 1.7;
}
.brand-banner .banner-text .banner-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.brand-banner .banner-text .banner-stats .stat-item {
    text-align: center;
}
.brand-banner .banner-text .banner-stats .stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
}
.brand-banner .banner-text .banner-stats .stat-label {
    font-size: 0.82rem;
    color: #9bb8af;
}
.brand-banner .banner-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}
.brand-banner .banner-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--color-accent);
    color: var(--color-deep);
    border: none;
    border-radius: 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.4px;
    align-self: flex-start;
    white-space: nowrap;
}
.btn-cta:hover {
    background: #22b88a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(40, 204, 158, 0.4);
}

/* ========== 热门影视卡片网格 ========== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.movie-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}
.movie-card .card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--color-gray-200);
}
.movie-card .card-poster img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.movie-card:hover .card-poster img {
    transform: scale(1.06);
}
.movie-card .card-poster .quality-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-accent);
    color: var(--color-deep);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 14px;
    letter-spacing: 0.5px;
}
.movie-card .card-poster .rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(19, 47, 43, 0.85);
    color: #f5a623;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
}
.movie-card .card-info {
    padding: 14px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.movie-card .card-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-deep);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-card .card-info .meta-row {
    font-size: 0.73rem;
    color: var(--color-gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.movie-card .card-info .meta-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
.movie-card .card-info .type-tag {
    display: inline-block;
    background: var(--color-light);
    color: #196b69;
    font-size: 0.7rem;
    padding: 3px 9px;
    border-radius: 10px;
    font-weight: 600;
    align-self: flex-start;
}

/* ========== 明星卡片 ========== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.star-card {
    text-align: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-smooth);
}
.star-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.star-card .star-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid var(--color-accent);
    background: var(--color-gray-200);
}
.star-card .star-avatar img {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    display: block;
}
.star-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 4px;
}
.star-card .star-role {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* ========== 剧情介绍卡片 ========== */
.plot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.plot-card {
    display: flex;
    gap: 14px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-smooth);
    align-items: flex-start;
}
.plot-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.plot-card .plot-thumb {
    width: 100px;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-gray-200);
}
.plot-card .plot-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 140px;
    object-fit: cover;
    display: block;
}
.plot-card .plot-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 6px;
}
.plot-card .plot-content p {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 电影详细介绍 ========== */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.detail-card {
    display: flex;
    gap: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-smooth);
    align-items: stretch;
}
.detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.detail-card .detail-poster {
    width: 110px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-gray-200);
    aspect-ratio: 2/3;
}
.detail-card .detail-poster img {
    width: 100%;
    height: 100%;
    max-width: 110px;
    max-height: 165px;
    object-fit: cover;
    display: block;
}
.detail-card .detail-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 8px;
}
.detail-card .detail-info .detail-meta {
    font-size: 0.76rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}
.detail-card .detail-info .detail-meta strong {
    color: var(--color-gray-700);
}

/* ========== 侧边栏样式 ========== */
.sidebar-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
}
.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 3px solid var(--color-accent);
}
.sidebar-card .reading-total {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-accent);
    text-align: center;
    letter-spacing: 1px;
}
.sidebar-card .reading-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-top: 2px;
}
.sidebar-card .update-time {
    text-align: center;
    font-size: 0.73rem;
    color: var(--color-gray-500);
    margin-top: 6px;
}
.stat-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.stat-box {
    flex: 1;
    text-align: center;
    background: var(--color-gray-50);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
}
.stat-box .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-mid);
}
.stat-box .stat-desc {
    font-size: 0.7rem;
    color: var(--color-gray-500);
    margin-top: 2px;
}

/* 周榜列表 */
.rank-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: var(--color-gray-50);
    transition: var(--transition-fast);
    cursor: pointer;
}
.rank-list li:hover {
    background: var(--color-light);
}
.rank-list li .rank-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-mid);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.rank-list li:nth-child(1) .rank-num,
.rank-list li:nth-child(2) .rank-num,
.rank-list li:nth-child(3) .rank-num {
    background: #e74c3c;
}
.rank-list li .rank-info {
    flex: 1;
    min-width: 0;
}
.rank-list li .rank-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rank-list li .rank-hot {
    font-size: 0.7rem;
    color: var(--color-gray-500);
}

/* ========== 评论区域 ========== */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.comment-item {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    border-left: 3px solid var(--color-accent);
    transition: var(--transition-fast);
}
.comment-item:hover {
    background: var(--color-light);
    border-left-color: var(--color-mid);
}
.comment-item .comment-user {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-deep);
    margin-bottom: 4px;
}
.comment-item .comment-text {
    font-size: 0.82rem;
    color: var(--color-gray-700);
    line-height: 1.6;
}
.comment-item .comment-time {
    font-size: 0.7rem;
    color: var(--color-gray-500);
    margin-top: 6px;
}

/* ========== APP下载区域 ========== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.download-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-deep);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
}
.download-card:hover {
    border-color: var(--color-accent);
    background: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.download-card .app-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}
.download-card .app-icon img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    display: block;
}

/* ========== 常见问题 ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}
.faq-item summary {
    padding: 14px 18px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-deep);
    background: var(--color-gray-50);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-deep);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.faq-item[open] summary::before {
    content: '−';
}
.faq-item .faq-answer {
    padding: 14px 18px;
    font-size: 0.82rem;
    color: var(--color-gray-700);
    line-height: 1.6;
    border-top: 1px solid var(--color-gray-200);
}

/* ========== 友情链接 ========== */
.friendlinks-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
}
.link_friendlinks_a {
    color: var(--color-mid);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 16px;
    background: var(--color-gray-50);
    transition: var(--transition-fast);
    font-weight: 500;
}
.link_friendlinks_a:hover {
    background: var(--color-accent);
    color: var(--color-deep);
    font-weight: 600;
}

/* ========== 底部导航 100%宽度 ========== */
.site-footer {
    width: 100%;
    background: var(--color-deep);
    color: #b8d4cc;
    padding: 30px 20px 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.footer-inner .footer-brand {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1rem;
}
.footer-inner .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.footer-inner .footer-links a {
    color: #b8d4cc;
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition-fast);
}
.footer-inner .footer-links a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    max-width: var(--max-width);
    margin: 16px auto 0;
    text-align: center;
    font-size: 0.73rem;
    color: #7a9d92;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}
.footer-bottom a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

/* ========== 详情页样式 ========== */
.movie-detail-hero {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
}
.movie-detail-hero .detail-cover {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-200);
    box-shadow: var(--shadow-md);
}
.movie-detail-hero .detail-cover img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.movie-detail-hero .detail-main h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-deep);
    margin-bottom: 12px;
}
.movie-detail-hero .detail-main .badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.movie-detail-hero .detail-main .badge-row span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--color-light);
    color: #196b69;
}
.movie-detail-hero .detail-main .info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin-bottom: 18px;
}
.movie-detail-hero .detail-main .info-list p {
    font-size: 0.88rem;
    color: var(--color-gray-700);
    line-height: 1.6;
}
.movie-detail-hero .detail-main .info-list strong {
    color: var(--color-gray-900);
    margin-right: 4px;
}
.movie-detail-hero .detail-main .desc-box {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--color-gray-700);
    line-height: 1.8;
}

.star-detail-hero {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
}
.star-detail-hero .star-cover {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-200);
    border: 4px solid var(--color-accent);
    box-shadow: var(--shadow-md);
}
.star-detail-hero .star-cover img {
    width: 100%;
    height: 100%;
    max-width: 220px;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
.star-detail-hero .star-main h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-deep);
    margin-bottom: 10px;
}
.star-detail-hero .star-main .star-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--color-light);
    color: #196b69;
    margin-bottom: 14px;
}
.star-detail-hero .star-main .star-bio {
    font-size: 0.92rem;
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 14px;
}
.star-detail-hero .star-main .star-works {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}
.star-detail-hero .star-main .star-works strong {
    color: var(--color-gray-900);
}

/* ========== 平台介绍内容 ========== */
.about-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    line-height: 1.9;
    color: var(--color-gray-700);
    font-size: 0.95rem;
}
.about-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-deep);
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid var(--color-accent);
}
.about-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-deep);
    margin: 24px 0 12px;
}
.about-content p {
    margin-bottom: 14px;
}

/* ========== 通用页面内容 ========== */
.page-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    line-height: 1.9;
    color: var(--color-gray-700);
    font-size: 0.95rem;
}
.page-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-deep);
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 4px solid var(--color-accent);
}
.page-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-deep);
    margin: 20px 0 10px;
}
.page-content p {
    margin-bottom: 12px;
}

/* ========== 下载页样式 ========== */
.download-block {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
}
.download-block .download-grid {
    margin-top: 20px;
}
.download-qr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}
.qr-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--color-gray-200);
}
.qr-card .qr-img {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    border: 1px solid var(--color-gray-200);
}
.qr-card .qr-img img {
    width: 100%;
    height: 100%;
    max-width: 110px;
    max-height: 110px;
    object-fit: cover;
    display: block;
}
.qr-card .qr-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-deep);
    margin-bottom: 6px;
}
.qr-card .qr-info p {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ========== 响应式设计 - 移动端为主 ========== */
@media (max-width: 1100px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .content-sidebar {
        order: 10;
    }
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-banner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .brand-banner .banner-image {
        aspect-ratio: 16/9;
        max-height: 300px;
    }
    .brand-banner .banner-text h2 {
        font-size: 1.5rem;
    }
    .movie-detail-hero,
    .star-detail-hero {
        grid-template-columns: 1fr;
    }
    .movie-detail-hero .detail-cover,
    .star-detail-hero .star-cover {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 14px;
        gap: 8px;
    }
    .site-logo h1 {
        font-size: 1.2rem;
    }
    .menu-toggle-label {
        display: flex;
        order: 3;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--color-deep);
        border-radius: var(--radius-md);
        padding: 10px 0;
        gap: 2px;
        order: 10;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    #menu-toggle:checked~.nav-links {
        display: flex;
    }
    .nav-links li a {
        display: block;
        padding: 12px 20px;
        border-radius: 0;
        text-align: center;
    }
    .header-user {
        order: 2;
        margin-left: auto;
    }
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .star-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .plot-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .download-qr {
        grid-template-columns: 1fr;
    }
    .brand-banner .banner-text {
        padding: 24px 18px;
    }
    .brand-banner .banner-text h2 {
        font-size: 1.35rem;
    }
    .brand-banner .banner-text .banner-stats {
        gap: 14px;
    }
    .brand-banner .banner-text .banner-stats .stat-num {
        font-size: 1.3rem;
    }
    .section-block,
    .page-content,
    .about-content,
    .download-block {
        padding: 18px 14px;
        margin-bottom: 14px;
        border-radius: var(--radius-md);
    }
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }
    .plot-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .plot-card .plot-thumb {
        width: 80px;
        height: 110px;
    }
    .detail-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .detail-card .detail-poster {
        width: 90px;
    }
    .movie-card .card-info {
        padding: 10px 8px;
    }
    .movie-card .card-info h3 {
        font-size: 0.82rem;
    }
    .movie-card .card-info .meta-row {
        font-size: 0.68rem;
    }
    .sidebar-card .reading-total {
        font-size: 2.2rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .btn-login {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
    .btn-cta {
        padding: 10px 20px;
        font-size: 0.88rem;
    }
    .movie-card .card-poster .quality-tag {
        font-size: 0.65rem;
        padding: 3px 7px;
        top: 6px;
        right: 6px;
    }
    .movie-card .card-poster .rating-badge {
        font-size: 0.7rem;
        bottom: 6px;
        left: 6px;
        padding: 3px 7px;
    }
    .movie-detail-hero .detail-main .info-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .star-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .download-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .brand-banner .banner-text h2 {
        font-size: 1.2rem;
    }
    .brand-banner .banner-text p {
        font-size: 0.85rem;
    }
    .section-block,
    .page-content,
    .about-content,
    .download-block {
        padding: 14px 10px;
    }
    .movie-card .card-info h3 {
        font-size: 0.76rem;
    }
    .movie-card .card-info .meta-row {
        font-size: 0.65rem;
    }
}

/* 打印及无障碍 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
