:root {
    --bg: #f6f8fc;
    --card: #ffffff;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --blue: #2563eb;
    --blue-dark: #1e3a8a;
    --blue-soft: #dbeafe;
    --orange: #f97316;
    --red: #dc2626;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    max-width: 1280px;
    height: 76px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--blue), #60a5fa);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.brand-text {
    font-size: 21px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-link,
.dropdown-item,
.mobile-link {
    color: #334155;
    font-weight: 650;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link.active,
.dropdown-item:hover {
    color: var(--blue);
}

.nav-more {
    position: relative;
}

.more-button {
    padding: 0;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: 190px;
    padding: 10px;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-more:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
}

.dropdown-item:hover {
    background: #eff6ff;
}

.header-search input,
.filter-panel input,
.filter-panel select,
.mobile-nav input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    outline: none;
    background: white;
    color: #0f172a;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 11px 16px;
}

.header-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.mobile-nav input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.menu-button {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 12px;
    color: var(--blue);
}

.menu-button span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    padding: 0 24px 20px;
    background: white;
    border-top: 1px solid var(--line);
}

.mobile-nav.open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 11px 12px;
    border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
    background: #eff6ff;
}

.mobile-nav input {
    margin-top: 8px;
    padding: 12px 16px;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, #102a68, #2563eb 55%, #60a5fa);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: blur(6px) saturate(1.12);
    opacity: 0.33;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(96, 165, 250, 0.38), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(249, 115, 22, 0.18), transparent 25%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 58, 138, 0.78), rgba(37, 99, 235, 0.42));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    min-height: 680px;
    margin: 0 auto;
    padding: 130px 24px 94px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 56px;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-copy .eyebrow {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin-top: 22px;
    color: white;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy p {
    margin-top: 24px;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.9;
    max-width: 720px;
}

.hero-tags,
.detail-tags {
    margin-top: 24px;
}

.hero-actions,
.center-actions,
.compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
    color: white;
    background: linear-gradient(135deg, #0f172a, #334155);
}

.btn-outline {
    color: var(--blue);
    background: white;
    border: 2px solid var(--blue);
}

.btn-glass {
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-light {
    color: #0f172a;
    background: white;
}

.hero-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 24px;
    pointer-events: none;
}

.hero-controls {
    position: absolute;
    right: 50%;
    bottom: 34px;
    z-index: 5;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-arrow,
.hero-dot {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
}

.hero-dot.active {
    width: 34px;
    background: white;
}

.hero-quick-links {
    position: absolute;
    right: 24px;
    bottom: 26px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

.stat-strip {
    max-width: 1180px;
    margin: -42px auto 0;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0 24px;
}

.stat-item {
    padding: 28px 20px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-item strong {
    display: block;
    color: var(--blue);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.stat-item span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 650;
}

.section {
    padding: 82px 24px;
}

.section-white {
    background: white;
}

.section-soft {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.section-blue {
    background: linear-gradient(135deg, #2563eb, #1e40af 58%, #0f172a);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-head h2 {
    margin-top: 16px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-head p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.section-head-invert h2,
.section-head-invert p {
    color: white;
}

.category-grid,
.movie-grid,
.overview-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wide-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.category-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.86));
}

.category-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px;
    color: white;
}

.category-card-content h3 {
    font-size: 24px;
    font-weight: 900;
}

.category-card-content p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.category-card-content span,
.text-link {
    display: inline-flex;
    margin-top: 16px;
    color: #bfdbfe;
    font-weight: 800;
}

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: white;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.movie-poster img {
    transition: transform 0.5s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.75));
}

.play-chip,
.rank-mark {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    background: rgba(37, 99, 235, 0.92);
}

.rank-mark {
    top: 12px;
    left: 12px;
    padding: 7px 11px;
    background: var(--red);
}

.movie-card-body {
    padding: 18px;
}

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin-top: 10px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card p {
    margin-top: 9px;
    color: var(--muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.movie-card .tag-row {
    margin-top: 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

.section-blue .movie-card {
    background: rgba(255, 255, 255, 0.98);
}

.center-actions {
    justify-content: center;
    margin-top: 40px;
}

.page-main {
    padding-top: 76px;
}

.page-hero {
    position: relative;
    min-height: 360px;
    padding: 96px 24px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 25%, rgba(96, 165, 250, 0.32), transparent 28%),
        linear-gradient(135deg, #0f172a, #1d4ed8 58%, #60a5fa);
}

.page-hero p {
    max-width: 780px;
    margin-top: 20px;
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.85;
}

.small-hero,
.category-hero,
.rank-hero,
.search-hero {
    min-height: 340px;
}

.category-nav-row,
.filter-row {
    max-width: 1280px;
    margin: 0 auto 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-pill,
.filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 800;
}

.category-pill:hover,
.category-pill.active,
.filter-button:hover,
.filter-button.active {
    color: white;
    background: var(--blue);
    border-color: var(--blue);
}

.filter-panel {
    max-width: 860px;
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 14px;
}

.filter-panel input,
.filter-panel select {
    min-height: 48px;
    padding: 0 18px;
}

.sticky-filter {
    position: sticky;
    top: 90px;
    z-index: 20;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
}

.overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: white;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
}

.overview-cover {
    min-height: 250px;
    border-radius: 20px;
    overflow: hidden;
}

.overview-body h2 {
    font-size: 26px;
    font-weight: 900;
}

.overview-body p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.overview-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.overview-links a {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--blue);
    background: #eff6ff;
    font-size: 13px;
    font-weight: 800;
}

.rank-layout {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.rank-sidebar {
    position: sticky;
    top: 108px;
    align-self: start;
    padding: 22px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.rank-sidebar h2 {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 900;
}

.rank-line {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.rank-line span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    background: var(--blue);
    font-weight: 900;
    font-size: 12px;
}

.rank-line strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.4;
}

.rank-line em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.detail-main {
    background: #f8fafc;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #0f172a;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px) saturate(1.1);
    opacity: 0.25;
    transform: scale(1.08);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.72), rgba(15, 23, 42, 0.82));
}

.detail-wrap {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 108px 24px 64px;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.detail-poster {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: #bfdbfe;
    font-weight: 800;
}

.breadcrumb a:hover {
    color: white;
}

.detail-info h1 {
    font-size: clamp(38px, 5vw, 64px);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.detail-one-line {
    max-width: 780px;
    margin-top: 22px;
    color: #e0f2fe;
    font-size: 19px;
    line-height: 1.8;
}

.detail-content {
    padding-top: 56px;
}

.player-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.movie-player {
    width: 100%;
    height: 100%;
    background: #020617;
    object-fit: contain;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: white;
    background:
        radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.35), transparent 32%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.82));
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button-large {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding-left: 6px;
    color: #1d4ed8;
    background: white;
    font-size: 34px;
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.35);
}

.player-cover strong {
    max-width: 70%;
    text-align: center;
    font-size: 22px;
}

.movie-article {
    margin-top: 28px;
    padding: 30px;
    border-radius: 28px;
    background: white;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.movie-article h2 {
    margin-top: 26px;
    font-size: 24px;
    font-weight: 900;
}

.movie-article h2:first-child {
    margin-top: 0;
}

.movie-article p {
    margin-top: 12px;
    color: #334155;
    line-height: 2;
    font-size: 17px;
}

.detail-side {
    position: sticky;
    top: 104px;
    align-self: start;
    padding: 20px;
    border-radius: 26px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.detail-side h2 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 900;
}

.side-card-list {
    display: grid;
    gap: 16px;
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

.movie-card-compact h3 {
    font-size: 16px;
}

.movie-card-compact p {
    font-size: 14px;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 220px 1fr;
    gap: 40px;
}

.brand-footer {
    color: white;
}

.footer-brand p {
    max-width: 520px;
    margin-top: 18px;
    line-height: 1.85;
}

.footer-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-column h2 {
    margin-bottom: 8px;
    color: white;
    font-size: 18px;
    font-weight: 900;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}

.hidden-card {
    display: none !important;
}

@media (max-width: 1180px) {
    .wide-grid,
    .movie-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-content {
        grid-template-columns: 1fr 330px;
    }

    .rank-layout,
    .player-layout {
        grid-template-columns: 1fr;
    }

    .rank-sidebar,
    .detail-side {
        position: static;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-button {
        display: flex;
        margin-left: auto;
    }

    .header-inner {
        height: 68px;
    }

    .hero-content,
    .detail-wrap {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 110px;
    }

    .hero-poster {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-quick-links {
        display: none;
    }

    .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .category-overview-card {
        grid-template-columns: 140px 1fr;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .page-main {
        padding-top: 68px;
    }
}

@media (max-width: 640px) {
    .brand-text {
        font-size: 18px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .hero-carousel,
    .hero-content {
        min-height: 760px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 36px;
    }

    .hero-copy p,
    .page-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .section {
        padding: 58px 16px;
    }

    .wide-grid,
    .movie-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-card-body {
        padding: 13px;
    }

    .movie-card h3 {
        font-size: 15px;
    }

    .movie-card p,
    .movie-card .tag-row {
        display: none;
    }

    .stat-strip {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding-top: 20px;
    }

    .category-card {
        height: 230px;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .overview-cover {
        min-height: 220px;
    }

    .detail-wrap {
        padding-top: 88px;
    }

    .detail-poster {
        max-width: 230px;
        margin: 0 auto;
    }

    .movie-article {
        padding: 22px;
    }

    .player-shell {
        border-radius: 18px;
    }

    .play-button-large {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}
