
:root {
    --pink: #f25d9c;
    --magenta: #b61aae;
    --deep-purple: #590d82;
    --dark-blue: #0c056d;
    --bg-dark: #06051a;
    --bg-card: #0d0b2e;
    --bg-section: #100c3a;
    --text-primary: #e8e6f0;
    --text-secondary: #b8b5cc;
    --text-muted: #8a87a0;
    --border-subtle: #1e1a44;
    --gradient-main: linear-gradient(135deg, #0c056d 0%, #590d82 40%, #b61aae 70%, #f25d9c 100%);
    --gradient-banner: linear-gradient(160deg, #0c056d 0%, #1a0d5c 25%, #590d82 55%, #b61aae 80%, #f25d9c 100%);
    --gradient-card: linear-gradient(180deg, rgba(12, 5, 109, 0.7) 0%, rgba(89, 13, 130, 0.85) 100%);
    --shadow-glow-pink: 0 0 24px rgba(242, 93, 156, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(89, 13, 130, 0.4);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1320px;
    --nav-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(6, 5, 26, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    height: var(--nav-height);
    transition: var(--transition-smooth);
}

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

.site-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    gap: 10px;
}

.site-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin: 0;
    line-height: 1.2;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow-pink);
}
.brand-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    justify-content: center;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    display: inline-block;
    padding: 8px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    white-space: nowrap;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a:focus {
    color: #fff;
    background: rgba(242, 93, 156, 0.15);
}
.nav-links a.nav-active {
    color: #fff;
    background: rgba(242, 93, 156, 0.22);
    font-weight: 600;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
    white-space: nowrap;
}
.user-status:hover {
    border-color: var(--pink);
    background: rgba(242, 93, 156, 0.08);
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.user-status span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.login-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.main-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: var(--gradient-banner);
    margin-bottom: 10px;
}
.banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 5, 26, 0.3) 0%, rgba(6, 5, 26, 0.7) 60%, rgba(6, 5, 26, 0.95) 100%);
    z-index: 1;
}
.banner-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
    width: 100%;
}
.banner-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    background: rgba(242, 93, 156, 0.2);
    border: 1px solid rgba(242, 93, 156, 0.5);
    color: var(--pink);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.banner-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 40px rgba(242, 93, 156, 0.5);
}
.banner-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.banner-cta {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 28px;
    background: var(--gradient-main);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow-pink);
    border: none;
    cursor: pointer;
}
.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(242, 93, 156, 0.5);
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}
.section-title::before {
    content: '';
    width: 4px;
    height: 26px;
    border-radius: 2px;
    background: var(--gradient-main);
    flex-shrink: 0;
}
.section-badge {
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 14px;
    background: rgba(242, 93, 156, 0.12);
    color: var(--pink);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.view-all {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.view-all:hover { color: #ff8abf; text-decoration: underline; }

.intro-section { padding: 40px 0; text-align: center; }
.intro-section .section-title { justify-content: center; }
.intro-text {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}
.intro-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}
.intro-highlight-item {
    padding: 10px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}
.intro-highlight-item:hover {
    border-color: var(--pink);
    color: #fff;
    background: rgba(242, 93, 156, 0.06);
}

.content-section { padding: 36px 0; }

.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.movie-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}
.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink);
    box-shadow: var(--shadow-glow-purple);
}
.movie-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #1a1640;
}
.movie-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.movie-card:hover .movie-card-img-wrap img { transform: scale(1.08); }
.movie-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    background: var(--pink);
    color: #fff;
}
.movie-card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.7);
    color: #ffc107;
    z-index: 2;
    letter-spacing: 0.5px;
}
.movie-card-info {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-card-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.movie-card-info .meta {
    font-size: 0.73rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-card-info .type-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(182, 26, 174, 0.2);
    color: var(--magenta);
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
}

.weekly-rank {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.weekly-rank::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(242, 93, 156, 0.08);
    pointer-events: none;
}
.weekly-rank h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.weekly-rank h3 .rank-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 700;
}
.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}
.rank-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-fast);
    cursor: pointer;
}
.rank-list li:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 -8px;
}
.rank-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.rank-num.top1 { background: #f25d9c; color: #fff; }
.rank-num.top2 { background: #b61aae; color: #fff; }
.rank-num.top3 { background: #590d82; color: #fff; }
.rank-num.normal { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.rank-info { flex: 1; min-width: 0; }
.rank-info .rank-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rank-info .rank-meta { font-size: 0.7rem; color: var(--text-muted); }
.rank-change {
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}
.rank-change.up { color: #4ade80; }
.rank-change.down { color: #f87171; }

.star-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.star-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}
.star-card:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
    box-shadow: var(--shadow-glow-pink);
}
.star-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #1a1640;
}
.star-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.star-card:hover .star-img-wrap img { transform: scale(1.06); }
.star-card-info { padding: 14px 16px; }
.star-card-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.star-card-info .star-role { font-size: 0.78rem; color: var(--pink); font-weight: 500; }
.star-card-info .star-works { font-size: 0.73rem; color: var(--text-muted); margin-top: 2px; }

.plot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.plot-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    display: flex;
    cursor: pointer;
}
.plot-card:hover {
    border-color: var(--magenta);
    box-shadow: var(--shadow-glow-purple);
}
.plot-img-wrap {
    width: 160px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #1a1640;
}
.plot-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.plot-card:hover .plot-img-wrap img { transform: scale(1.05); }
.plot-card-info {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.plot-card-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.plot-card-info .plot-excerpt {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plot-card-info .plot-tag {
    font-size: 0.7rem;
    color: var(--magenta);
    font-weight: 600;
    margin-top: 8px;
}

.detail-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.detail-main {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.detail-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    align-self: flex-start;
}
.detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    cursor: pointer;
}
.detail-card:hover {
    border-color: var(--pink);
    box-shadow: var(--shadow-glow-pink);
    transform: translateY(-3px);
}
.detail-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #1a1640;
}
.detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.detail-card:hover .detail-img-wrap img { transform: scale(1.05); }
.detail-card-info { padding: 16px; }
.detail-card-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.detail-card-info .detail-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.detail-card-info .detail-meta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.reading-panel {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.reading-panel::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(182, 26, 174, 0.06);
    pointer-events: none;
}
.reading-panel h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.reading-total {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    line-height: 1;
    margin-bottom: 4px;
}
.reading-label { font-size: 0.8rem; color: var(--text-muted); position: relative; z-index: 1; }
.reading-update {
    font-size: 0.73rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    margin-top: 4px;
    font-style: italic;
}
.reading-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 16px 0;
    position: relative;
    z-index: 1;
}
.reading-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.reading-stat-item { text-align: center; flex: 1; min-width: 60px; }
.reading-stat-item .stat-val { font-size: 1.3rem; font-weight: 700; color: #fff; }
.reading-stat-item .stat-lbl { font-size: 0.7rem; color: var(--text-muted); }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.stat-card:hover {
    border-color: var(--magenta);
    box-shadow: var(--shadow-glow-purple);
    transform: translateY(-3px);
}
.stat-card .stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.stat-card .stat-icon-wrap.c1 { background: rgba(242, 93, 156, 0.2); color: var(--pink); }
.stat-card .stat-icon-wrap.c2 { background: rgba(182, 26, 174, 0.2); color: var(--magenta); }
.stat-card .stat-icon-wrap.c3 { background: rgba(89, 13, 130, 0.2); color: #b07ce0; }
.stat-card .stat-icon-wrap.c4 { background: rgba(12, 5, 109, 0.2); color: #7b9eff; }
.stat-card .stat-number { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.comment-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
    position: relative;
}
.comment-card:hover {
    border-color: var(--pink);
    background: rgba(255, 255, 255, 0.015);
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.comment-user-info { flex: 1; min-width: 0; }
.comment-user-info .comment-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}
.comment-user-info .comment-date { font-size: 0.7rem; color: var(--text-muted); }
.comment-rating {
    color: #ffc107;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.comment-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.download-section {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}
.download-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.download-section .download-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.download-btn.android { background: #1a1a2e; border-color: #3ddc84; color: #3ddc84; }
.download-btn.android:hover { background: #3ddc84; color: #000; box-shadow: 0 0 20px rgba(61, 220, 132, 0.3); }
.download-btn.ios { background: #1a1a2e; border-color: #fff; color: #fff; }
.download-btn.ios:hover { background: #fff; color: #000; box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
.download-btn.pc { background: #1a1a2e; border-color: #52616b; color: #a0b4c0; }
.download-btn.pc:hover { background: #52616b; color: #fff; box-shadow: 0 0 20px rgba(82, 97, 107, 0.3); }
.download-btn.mac { background: #1a1a2e; border-color: #c0c0c0; color: #c0c0c0; }
.download-btn.mac:hover { background: #c0c0c0; color: #000; box-shadow: 0 0 20px rgba(192, 192, 192, 0.3); }
.app-icon { width: 22px; height: 22px; flex-shrink: 0; display: block; }

.site-footer {
    width: 100%;
    background: rgba(6, 5, 26, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 30px 0;
    margin-top: 20px;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--pink); }
.footer-mobile-link a {
    color: var(--pink);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(242, 93, 156, 0.08);
    border: 1px solid rgba(242, 93, 156, 0.3);
    transition: var(--transition-fast);
    display: inline-block;
}
.footer-mobile-link a:hover {
    background: rgba(242, 93, 156, 0.2);
    border-color: var(--pink);
}
.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 1200px) {
    .movie-grid { grid-template-columns: repeat(4, 1fr); }
    .star-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { flex-direction: column; }
    .detail-sidebar { width: 100%; position: static; order: -1; }
    .detail-main { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .plot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .movie-grid { grid-template-columns: repeat(3, 1fr); }
    .star-grid { grid-template-columns: repeat(2, 1fr); }
    .plot-grid { grid-template-columns: 1fr; }
    .detail-main { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 2px; }
    .nav-links a { padding: 6px 10px; font-size: 0.78rem; }
    .plot-img-wrap { width: 120px; }
}
@media (max-width: 640px) {
    .header-inner { padding: 0 12px; gap: 8px; }
    .site-brand h1 { font-size: 1.15rem; }
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(6, 5, 26, 0.97);
        flex-direction: column;
        padding: 12px 16px;
        gap: 2px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        z-index: 999;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a { display: block; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; text-align: center; }
    .menu-toggle { display: block; }
    .user-status span { display: none; }
    .user-status { padding: 6px 10px; border-radius: 50%; width: 36px; height: 36px; justify-content: center; }
    .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .star-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .plot-grid { grid-template-columns: 1fr; gap: 12px; }
    .plot-card { flex-direction: column; }
    .plot-img-wrap { width: 100%; aspect-ratio: 16/9; }
    .detail-main { grid-template-columns: 1fr; gap: 12px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .detail-sidebar { width: 100%; }
    .download-buttons { flex-direction: column; align-items: center; }
    .download-btn { width: 100%; justify-content: center; }
    .banner-content h2 { font-size: 1.4rem; }
    .banner-section { min-height: 300px; }
    .section-title { font-size: 1.15rem; }
    .comment-card { padding: 14px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .reading-panel { padding: 16px; }
    .reading-total { font-size: 1.8rem; }
}
@media (max-width: 380px) {
    .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .movie-card-info { padding: 8px 10px; }
    .movie-card-info h4 { font-size: 0.78rem; }
    .movie-card-info .meta { font-size: 0.68rem; }
    .star-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #590d82; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #b61aae; }
