* {
    box-sizing: border-box;
}

:root {
    --bg: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.10);
    --card: #ffffff;
    --slate: #0f172a;
    --slate-2: #1e293b;
    --orange: #f97316;
    --amber: #fbbf24;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --radius: 22px;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, #020617, #1e293b 52%, #020617);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.logo-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.logo-text {
    font-size: 20px;
    background: linear-gradient(90deg, #fb923c, #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 10px 13px;
    color: #e2e8f0;
    border-radius: 12px;
    transition: 0.25s ease;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(249, 115, 22, 0.92);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.24);
}

.nav-divider {
    width: 1px;
    height: 22px;
    margin: 0 4px;
    background: rgba(226, 232, 240, 0.25);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    border-radius: 12px;
    font-size: 22px;
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.26), transparent 34%), linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0f172a);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 56px;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 90px 24px 84px;
    opacity: 0;
    transform: translateX(42px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    inset: -80px -20vw;
    z-index: -2;
    opacity: 0.18;
    filter: blur(24px) saturate(1.2);
}

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

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fed7aa;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-tags,
.tag-list,
.detail-tags div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-list span,
.detail-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(15, 23, 42, 0.36);
    border-radius: 999px;
    font-size: 13px;
}

.hero-actions,
.page-hero-actions,
.detail-actions,
.pager-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn.primary {
    color: #fff;
    background: linear-gradient(90deg, var(--orange), #ea580c);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.btn.ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
}

.btn.small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
}

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

.hero-poster,
.detail-poster,
.poster-frame {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1e293b, #0f172a);
}

.hero-poster {
    width: min(420px, 100%);
    aspect-ratio: 3 / 4;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.38);
    transform: rotate(2deg);
}

.hero-poster img,
.poster-frame img,
.detail-poster img,
.category-tile img,
.category-posters img,
.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster::after,
.poster-frame::after,
.detail-poster::after,
.category-tile::after {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    line-height: 1.6;
    content: attr(data-fallback);
    background: linear-gradient(145deg, #1e293b, #0f172a 58%, #7c2d12);
}

.hero-poster.missing::after,
.poster-frame.missing::after,
.detail-poster.missing::after,
.category-tile.missing::after {
    display: flex;
}

.hero-poster.missing img,
.poster-frame.missing img,
.detail-poster.missing img,
.category-tile.missing img {
    opacity: 0;
}

.hero-controls {
    position: absolute;
    right: 28px;
    bottom: 32px;
    display: flex;
    gap: 10px;
}

.hero-controls button,
.hero-dots button {
    border: 0;
    cursor: pointer;
}

.hero-controls button {
    width: 46px;
    height: 46px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 30px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 42px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.hero-dots button.active {
    width: 30px;
    background: #f97316;
}

.search-strip,
.content-section,
.filter-bar,
.detail-content,
.player-section {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
}

.search-strip {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px);
    gap: 28px;
    align-items: center;
    margin-top: -48px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 5;
}

.search-strip h2,
.section-heading h2,
.panel-heading h2,
.page-hero h1,
.story-panel h2,
.info-panel h2 {
    margin: 0;
}

.search-strip p,
.section-heading p,
.card-desc,
.page-hero p,
.category-card-wide p,
.story-panel p,
.info-panel dd,
.info-panel dt,
.player-status {
    color: var(--muted);
}

.home-search,
.filter-bar {
    display: flex;
    gap: 10px;
}

.home-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    outline: none;
}

.home-search button {
    min-width: 110px;
    border: 0;
    color: #fff;
    background: var(--slate);
    border-radius: 14px;
    font-weight: 800;
}

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

.section-heading,
.panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2,
.panel-heading h2 {
    position: relative;
    padding-left: 18px;
    font-size: clamp(26px, 3vw, 36px);
}

.section-heading h2::before,
.panel-heading h2::before {
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 32px;
    content: "";
    background: linear-gradient(var(--orange), var(--amber));
    border-radius: 999px;
}

.section-more,
.panel-heading a {
    color: #ea580c;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.category-tile::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.12));
    z-index: 1;
}

.category-tile strong,
.category-tile em,
.category-count {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
}

.category-count {
    top: 18px;
    display: inline-flex;
    right: auto;
    padding: 6px 10px;
    background: rgba(249, 115, 22, 0.85);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.category-tile strong {
    bottom: 66px;
    font-size: 24px;
}

.category-tile em {
    bottom: 18px;
    color: #cbd5e1;
    font-style: normal;
    font-size: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.poster-frame {
    display: block;
    aspect-ratio: 3 / 4;
}

.poster-frame img {
    transition: transform 0.35s ease;
}

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

.score-badge,
.play-badge {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.score-badge {
    left: 10px;
    top: 10px;
    background: rgba(249, 115, 22, 0.92);
}

.play-badge {
    right: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 14px;
}

.card-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--text);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.4;
}

.compact-title {
    min-height: 42px;
    font-size: 15px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
    color: #475569;
    font-size: 13px;
}

.card-meta span:not(:last-child)::after {
    margin-left: 6px;
    color: #cbd5e1;
    content: "/";
}

.card-desc {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    margin: 0 0 10px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.7;
}

.tag-list span,
.detail-tags span {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.08);
    background: #f1f5f9;
}

.ranking-panel {
    align-self: start;
    position: sticky;
    top: 88px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(180deg, #0f172a, #020617);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rank-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rank-list li {
    display: grid;
    grid-template-columns: 42px 1fr auto 38px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.rank-num {
    color: #fed7aa;
    font-weight: 900;
}

.rank-list a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-list span,
.rank-list b {
    color: #cbd5e1;
    font-size: 13px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 88px max(22px, calc((100% - 1280px) / 2)) 74px;
    color: #fff;
    background: radial-gradient(circle at 20% 0, rgba(249, 115, 22, 0.28), transparent 28%), linear-gradient(135deg, #0f172a, #1e40af 58%, #020617);
}

.page-hero.slim {
    padding-top: 74px;
    padding-bottom: 64px;
}

.page-hero h1 {
    margin-top: 12px;
    font-size: clamp(36px, 5vw, 62px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.7;
}

.filter-bar {
    flex-wrap: wrap;
    align-items: center;
    margin-top: -28px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 5;
}

.filter-bar input {
    flex: 1 1 320px;
}

.filter-bar select {
    flex: 0 1 180px;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    color: #0f172a;
    background: #f1f5f9;
    border-radius: 12px;
    font-weight: 800;
}

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

.category-card-wide {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.category-posters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-posters img {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    background: #1e293b;
}

.category-card-wide h2 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.category-card-wide span {
    color: #ea580c;
    font-weight: 900;
}

.category-card-wide .btn {
    margin-top: 16px;
}

.table-wrap {
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ranking-table th,
.ranking-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.ranking-table th {
    color: #fff;
    background: #0f172a;
}

.rank-number {
    color: #ea580c;
    font-weight: 900;
    font-size: 22px;
}

.rank-title {
    font-weight: 900;
}

.ranking-table p {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0 0;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.6;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #020617;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.20;
    filter: blur(12px) saturate(1.25);
}

.detail-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #020617 10%, rgba(2, 6, 23, 0.62), #020617 95%);
}

.detail-inner {
    position: relative;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
    padding: 76px 0;
}

.detail-poster {
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    box-shadow: 0 36px 82px rgba(0, 0, 0, 0.45);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a {
    color: #fed7aa;
}

.detail-copy h1 {
    margin: 18px 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 820px;
    margin: 0;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.8;
}

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

.detail-meta span {
    padding: 8px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.player-section {
    padding-top: 42px;
}

.player-card {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.player-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.82));
    border: 0;
    cursor: pointer;
}

.player-overlay.hidden {
    display: none;
}

.player-overlay span {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    border-radius: 50%;
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.38);
    font-size: 32px;
}

.player-overlay strong {
    font-size: 22px;
}

.player-overlay em {
    color: #cbd5e1;
    font-style: normal;
}

.player-status {
    margin: 0;
    padding: 12px 18px 16px;
    background: #020617;
    font-size: 14px;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    padding-top: 42px;
}

.story-panel,
.info-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.story-panel h2:not(:first-child) {
    margin-top: 32px;
}

.story-panel p {
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.95;
}

.info-panel dl {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    margin: 18px 0 22px;
}

.info-panel dt {
    font-weight: 800;
}

.info-panel dd {
    margin: 0;
}

.info-panel a {
    color: #ea580c;
    font-weight: 800;
}

.detail-tags {
    margin-top: 22px;
}

.detail-tags h3 {
    margin: 0 0 10px;
}

.related-section {
    padding-bottom: 70px;
}

.site-footer {
    margin-top: 76px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 32px;
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
    padding: 48px 0;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
}

.site-footer p {
    margin: 0;
    line-height: 1.8;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li {
    margin: 8px 0;
}

.site-footer a:hover {
    color: #fb923c;
}

.footer-tags {
    columns: 2;
}

[hidden],
.is-hidden {
    display: none !important;
}

@media (max-width: 1120px) {
    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: #0f172a;
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
    }

    .hero-slide,
    .detail-inner,
    .detail-content,
    .split-layout,
    .search-strip {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .header-inner,
    .search-strip,
    .content-section,
    .filter-bar,
    .detail-content,
    .player-section,
    .detail-inner,
    .footer-grid {
        width: min(100% - 28px, 1280px);
    }

    .logo-text {
        font-size: 17px;
    }

    .hero {
        min-height: auto;
    }

    .hero-slide {
        padding-top: 54px;
        gap: 30px;
    }

    .hero-poster {
        width: min(320px, 92%);
    }

    .hero-controls,
    .hero-dots {
        display: none;
    }

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

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

    .detail-inner {
        grid-template-columns: 1fr;
        padding: 48px 0;
    }

    .detail-poster {
        width: min(300px, 100%);
    }

    .filter-bar select {
        flex: 1 1 160px;
    }
}

@media (max-width: 520px) {
    .category-grid,
    .movie-grid,
    .home-grid,
    .related-grid,
    .category-wide-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .rank-list li {
        grid-template-columns: 36px 1fr;
    }

    .rank-list li span:nth-child(3),
    .rank-list li b {
        display: none;
    }
}
