
:root {
    --gold: #ffc93c;
    --orange: #ff9a3c;
    --deep-orange: #ff6f3c;
    --dark-teal: #155263;
    --dark-teal-light: #1a6b80;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 320px;
}

/* ==================== 顶部导航栏 ==================== */
.top-nav {
    width: 100%;
    background: var(--dark-teal);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    height: 62px;
}
.top-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    white-space: nowrap;
    margin: 0;
    cursor: pointer;
    transition: color var(--transition);
}
.nav-brand h1:hover {
    color: #ffe48a;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a:focus {
    background: rgba(255, 201, 60, 0.18);
    color: var(--gold);
    outline: none;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-user .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.nav-user .user-avatar:hover {
    transform: scale(1.08);
}
.nav-user .login-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--transition);
}
.nav-user .login-text:hover {
    color: var(--gold);
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}
.nav-links-mobile {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: var(--dark-teal);
    flex-direction: column;
    padding: 12px 20px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    list-style: none;
}
.nav-links-mobile.open {
    display: flex;
}
.nav-links-mobile a {
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    transition: all var(--transition);
}
.nav-links-mobile a:hover {
    background: rgba(255, 201, 60, 0.15);
    color: var(--gold);
}

/* ==================== Banner轮播 ==================== */
.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
}
.banner-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    max-height: 520px;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active {
    opacity: 1;
    z-index: 1;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(transparent, rgba(21, 82, 99, 0.85), rgba(0, 0, 0, 0.9));
    color: #fff;
    z-index: 2;
    pointer-events: none;
}
.banner-overlay h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.banner-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.banner-dots button.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-arrow:hover {
    background: rgba(255, 111, 60, 0.7);
}
.banner-arrow.prev {
    left: 16px;
}
.banner-arrow.next {
    right: 16px;
}

/* ==================== 通用区块 ==================== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.section-title h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-teal);
    position: relative;
    padding-left: 16px;
    white-space: nowrap;
}
.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--deep-orange));
    border-radius: 3px;
}
.section-title .badge {
    background: linear-gradient(135deg, var(--deep-orange), var(--orange));
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.section-title .badge.weekly {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
}
.section-title .badge.star {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

/* ==================== 平台介绍 ==================== */
.platform-intro {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 10px;
    border-left: 4px solid var(--gold);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.platform-intro .intro-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold), var(--deep-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}
.platform-intro .intro-text h3 {
    font-size: 1.3rem;
    color: var(--dark-teal);
    margin-bottom: 8px;
    font-weight: 700;
}
.platform-intro .intro-text p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 800px;
}

/* ==================== 周榜推荐 ==================== */
.weekly-rank-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.weekly-rank-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}
.weekly-rank-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.weekly-rank-card .rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--deep-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 111, 60, 0.5);
}
.weekly-rank-card:nth-child(1) .rank-badge {
    background: #ff4757;
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.6);
}
.weekly-rank-card:nth-child(2) .rank-badge {
    background: #ff6b81;
}
.weekly-rank-card:nth-child(3) .rank-badge {
    background: #ff9a3c;
}
.weekly-rank-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.weekly-rank-card .card-info {
    padding: 12px 14px;
}
.weekly-rank-card .card-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.weekly-rank-card .card-info .meta {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ==================== 热门影视网格 ==================== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.movie-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.movie-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.movie-card .card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.movie-card .card-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-card .card-body .info-row {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.movie-card .card-body .info-row span {
    background: var(--gray-100);
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 0.7rem;
}
.movie-card .card-body .tag-type {
    display: inline-block;
    background: var(--gold);
    color: #222;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    align-self: flex-start;
    white-space: nowrap;
}

/* ==================== 明星介绍 ==================== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.star-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
}
.star-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.star-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.star-card .star-info {
    padding: 16px;
}
.star-card .star-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.star-card .star-info .role {
    font-size: 0.8rem;
    color: var(--deep-orange);
    font-weight: 500;
    margin-bottom: 6px;
}
.star-card .star-info .works {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==================== 剧情介绍 ==================== */
.plot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.plot-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    cursor: pointer;
}
.plot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}
.plot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.plot-card .plot-body {
    padding: 18px;
}
.plot-card .plot-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.plot-card .plot-body p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 电影详细介绍 + 右侧栏 ==================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 0;
    transition: all var(--transition);
    cursor: pointer;
}
.detail-card:hover {
    box-shadow: var(--shadow-xl);
}
.detail-card img {
    width: 200px;
    height: 280px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.detail-card .detail-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.detail-card .detail-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
}
.detail-card .detail-body .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.8rem;
    color: var(--gray-500);
}
.detail-card .detail-body .detail-meta strong {
    color: #333;
}
.detail-card .detail-body .detail-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.detail-card .detail-body .detail-rating {
    color: var(--deep-orange);
    font-weight: 700;
    font-size: 1rem;
}

/* 右侧栏 */
.sidebar {
    position: sticky;
    top: 82px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--gold);
}
.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card .reading-total {
    font-size: 3rem;
    font-weight: 800;
    color: var(--deep-orange);
    letter-spacing: -1px;
    line-height: 1;
}
.sidebar-card .reading-unit {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 2px;
}
.sidebar-card .update-time {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sidebar-card .update-time .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.6);
    }
}
.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}
.stat-item:last-child {
    border-bottom: none;
}
.stat-item .stat-label {
    color: var(--gray-600);
}
.stat-item .stat-value {
    font-weight: 700;
    color: var(--dark-teal);
    font-size: 1.1rem;
}
.stat-item .stat-value.highlight {
    color: var(--deep-orange);
}

/* ==================== 评论区域 ==================== */
.comments-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}
.comments-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 700px;
    overflow-y: auto;
}
.comment-item {
    padding: 16px 18px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
    transition: all var(--transition);
}
.comment-item:hover {
    background: #fffdf5;
    border-left-color: var(--deep-orange);
}
.comment-item .comment-user {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-item .comment-user .user-tag {
    font-size: 0.7rem;
    background: var(--gold);
    color: #222;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}
.comment-item .comment-text {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.65;
}
.comment-item .comment-time {
    font-size: 0.72rem;
    color: var(--gray-400);
    margin-top: 6px;
}

/* ==================== APP下载 ==================== */
.app-download-section {
    background: linear-gradient(135deg, #1a2a30, var(--dark-teal));
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}
.app-download-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gold);
}
.app-download-section .subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 20px;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.download-btn.android {
    background: #3ddc84;
    color: #000;
}
.download-btn.android:hover {
    background: #2cc06e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 220, 132, 0.4);
}
.download-btn.ios {
    background: #000;
    color: #fff;
    border-color: #fff;
}
.download-btn.ios:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}
.download-btn.pc {
    background: #52616b;
    color: #fff;
}
.download-btn.pc:hover {
    background: #3d4a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 97, 107, 0.4);
}
.download-btn.mac {
    background: #e0e0e0;
    color: #000;
}
.download-btn.mac:hover {
    background: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 180, 180, 0.4);
}
.app-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ==================== 底部导航 ==================== */
.bottom-nav {
    width: 100%;
    background: var(--dark-teal);
    color: #fff;
    padding: 30px 20px;
    margin-top: 30px;
}
.bottom-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}
.bottom-nav .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
}
.bottom-nav .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
}
.bottom-nav .footer-links a:hover {
    color: var(--gold);
}
.bottom-nav .copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}
.bottom-nav .mobile-brand-link a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    transition: all var(--transition);
    display: inline-block;
}
.bottom-nav .mobile-brand-link a:hover {
    background: var(--gold);
    color: #000;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .weekly-rank-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .detail-layout {
        grid-template-columns: 1fr 280px;
    }
    .detail-card img {
        width: 150px;
        height: 220px;
    }
    .banner-carousel {
        height: 340px;
    }
    .banner-overlay h2 {
        font-size: 1.5rem;
    }
}
@media (max-width: 992px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .weekly-rank-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .star-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .plot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-card {
        flex: 1;
        min-width: 240px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .banner-carousel {
        height: 280px;
    }
    .banner-overlay {
        padding: 20px 24px;
    }
    .banner-overlay h2 {
        font-size: 1.3rem;
    }
    .detail-card {
        flex-direction: column;
    }
    .detail-card img {
        width: 100%;
        height: 200px;
    }
}
@media (max-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .weekly-rank-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 1fr;
        gap: 12px;
    }
    .movie-card img {
        height: 220px;
    }
    .weekly-rank-card img {
        height: 200px;
    }
    .star-card img {
        height: 220px;
    }
    .banner-carousel {
        height: 220px;
    }
    .banner-overlay h2 {
        font-size: 1.1rem;
    }
    .banner-overlay p {
        font-size: 0.8rem;
    }
    .section-container {
        padding: 24px 12px;
    }
    .section-title h2 {
        font-size: 1.2rem;
    }
    .platform-intro {
        padding: 20px 16px;
    }
    .download-buttons {
        flex-direction: column;
    }
    .download-btn {
        justify-content: center;
    }
    .bottom-nav-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .comments-section {
        padding: 16px;
    }
    .sidebar {
        flex-direction: column;
    }
    .detail-card img {
        height: 180px;
    }
    .top-nav-inner {
        padding: 0 12px;
    }
    .nav-brand h1 {
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .weekly-rank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .star-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .plot-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .movie-card img {
        height: 180px;
    }
    .weekly-rank-card img {
        height: 160px;
    }
    .star-card img {
        height: 180px;
    }
    .banner-carousel {
        height: 180px;
    }
    .banner-overlay {
        padding: 14px 16px;
    }
    .banner-overlay h2 {
        font-size: 1rem;
    }
    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .plot-card img {
        height: 160px;
    }
    .detail-card img {
        height: 160px;
        width: 100%;
    }
    .nav-brand h1 {
        font-size: 1rem;
    }
}
