:root {
    color-scheme: dark;
    --bg: #030712;
    --bg-soft: #0b1120;
    --panel: #111827;
    --panel-light: #1f2937;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(249, 115, 22, 0.32);
    --text: #f9fafb;
    --muted: #9ca3af;
    --muted-light: #d1d5db;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-soft: rgba(249, 115, 22, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.16), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(251, 146, 60, 0.11), transparent 32rem),
        linear-gradient(180deg, #030712 0%, #070b15 48%, #030712 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: #fff;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
    font-size: 15px;
}

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

.nav-link,
.mobile-link {
    color: var(--muted-light);
    font-size: 15px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--accent);
}

.header-search {
    width: 300px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.58);
}

.header-search input,
.mobile-search input,
.filter-control input,
.filter-control select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    color: var(--text);
    background: transparent;
}

.header-search input {
    padding: 7px 8px 7px 14px;
}

.header-search button,
.mobile-search button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 7px 14px;
    color: #fff;
    background: var(--accent);
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.section-more:hover,
.text-link:hover {
    transform: translateY(-1px);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover {
    background: var(--accent-dark);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #fff;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(17, 24, 39, 0.98);
    padding: 16px;
}

.mobile-link {
    display: block;
    padding: 12px 4px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(3, 7, 18, 0.72);
}

.main-content {
    min-height: 60vh;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.72) 42%, rgba(3, 7, 18, 0.15) 100%),
        linear-gradient(0deg, #030712 0%, rgba(3, 7, 18, 0.08) 46%, rgba(3, 7, 18, 0.65) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.55fr);
    align-items: center;
    gap: 48px;
    padding: 96px 0 72px;
}

.hero-kicker,
.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.12);
    font-size: 13px;
    font-weight: 700;
}

.hero-title {
    margin: 0 0 18px;
    max-width: 790px;
    color: #fff;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-summary {
    max-width: 710px;
    margin: 0 0 24px;
    color: var(--muted-light);
    font-size: clamp(17px, 2.2vw, 23px);
}

.hero-meta,
.detail-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

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

.primary-btn,
.secondary-btn,
.section-more,
.text-link,
.reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 750;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    min-height: 48px;
    padding: 12px 22px;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.22);
}

.secondary-btn,
.reset-btn {
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.secondary-btn:hover,
.reset-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.16);
}

.hero-poster-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(17, 24, 39, 0.74);
    box-shadow: var(--shadow);
}

.hero-poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster-info {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(3, 7, 18, 0.78);
    backdrop-filter: blur(10px);
}

.hero-poster-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.hero-poster-info span {
    color: var(--muted-light);
    font-size: 14px;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    right: max(24px, calc((100vw - 1280px) / 2));
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot,
.hero-arrow {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease, width 0.2s ease;
}

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

.hero-dot.is-active {
    width: 34px;
    border-color: var(--accent);
    background: var(--accent);
}

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

.hero-arrow:hover,
.hero-dot:hover {
    border-color: var(--accent);
    background: rgba(249, 115, 22, 0.26);
}

.section,
.page-section {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
}

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

.section-heading h2,
.page-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading p,
.page-heading p,
.category-card p,
.feature-panel p,
.detail-text p {
    color: var(--muted-light);
}

.section-more,
.text-link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--line-strong);
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.12);
}

.section-more:hover,
.text-link:hover {
    color: #fff;
    background: var(--accent);
}

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

.category-pill {
    min-height: 90px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.72));
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-pill:hover,
.category-card:hover,
.movie-card:hover,
.compact-card:hover,
.rank-item:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.55);
}

.category-pill strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 17px;
}

.category-pill span {
    color: var(--muted);
    font-size: 13px;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.92), rgba(17, 24, 39, 0.92));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.06);
    filter: brightness(0.82) saturate(1.08);
}

.poster-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(249, 115, 22, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(3, 7, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translateY(0);
}

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

.movie-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 12px;
}

.movie-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 17px;
    line-height: 1.32;
}

.movie-card h3 a:hover,
.rank-content h3 a:hover,
.detail-related h3 a:hover {
    color: #fb923c;
}

.movie-card p {
    min-height: 46px;
    margin: 0 0 12px;
    color: var(--muted-light);
    font-size: 13px;
    line-height: 1.55;
}

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

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.11);
    font-size: 12px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.feature-panel,
.category-card,
.filter-panel,
.detail-panel,
.player-panel,
.rank-item,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 24, 39, 0.86);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
}

.feature-panel {
    padding: 28px;
    background:
        radial-gradient(circle at 15% 10%, rgba(249, 115, 22, 0.18), transparent 20rem),
        linear-gradient(145deg, rgba(31, 41, 55, 0.94), rgba(17, 24, 39, 0.9));
}

.compact-list {
    display: grid;
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(31, 41, 55, 0.62);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.compact-card img {
    width: 76px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 11px;
}

.compact-card strong,
.compact-card em {
    display: block;
}

.compact-card strong {
    color: #fff;
    font-size: 15px;
}

.compact-card em {
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

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

.category-card {
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-samples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.page-hero {
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 18% 10%, rgba(249, 115, 22, 0.16), transparent 30rem),
        linear-gradient(180deg, rgba(17, 24, 39, 0.74), rgba(3, 7, 18, 0));
}

.page-heading {
    align-items: center;
    min-height: 270px;
    margin-bottom: 0;
    padding: 72px 0 54px;
}

.page-heading h1 {
    max-width: 900px;
}

.page-heading p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(140px, 0.7fr)) auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    margin-bottom: 26px;
}

.filter-control {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(3, 7, 18, 0.52);
}

.filter-control select {
    appearance: none;
    color: var(--text);
}

.search-card.is-hidden,
.rank-filtered.is-hidden {
    display: none;
}

.empty-state {
    display: none;
    padding: 32px;
    text-align: center;
    color: var(--muted-light);
}

.empty-state.is-visible {
    display: block;
}

.rank-list {
    display: grid;
    gap: 14px;
}

.rank-item {
    display: grid;
    grid-template-columns: 86px 58px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-poster img {
    width: 86px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}

.rank-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    font-size: 20px;
    font-weight: 900;
}

.rank-content h3 {
    margin: 0 0 4px;
    font-size: 20px;
}

.rank-content p {
    margin: 4px 0 8px;
    color: var(--muted-light);
}

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

.player-panel,
.detail-panel {
    overflow: hidden;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #000;
    aspect-ratio: 16 / 9;
}

.player-shell video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at center, rgba(249, 115, 22, 0.20), transparent 16rem),
        linear-gradient(180deg, rgba(3, 7, 18, 0.18), rgba(3, 7, 18, 0.78));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: var(--accent);
    box-shadow: 0 18px 50px rgba(249, 115, 22, 0.36);
    font-size: 34px;
    transform: translateX(3px);
}

.player-caption {
    padding: 20px 22px;
}

.player-caption h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.player-caption p {
    margin: 16px 0 0;
    color: var(--muted-light);
}

.detail-panel {
    padding: 24px;
}

.detail-poster {
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 18px;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-text {
    margin-top: 24px;
}

.detail-text h2,
.detail-related h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.detail-text p {
    margin: 0 0 16px;
}

.detail-related {
    margin-top: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pagination-note {
    margin-top: 28px;
    color: var(--muted);
    text-align: center;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(3, 7, 18, 0.74);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 36px;
    padding: 42px 0;
}

.footer-inner p {
    max-width: 560px;
    color: var(--muted);
}

.footer-inner h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a {
    color: var(--muted-light);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 16px;
    color: var(--muted);
    text-align: center;
}

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

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

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

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

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

    body.nav-open .mobile-nav {
        display: block;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-slider,
    .hero-slide {
        position: relative;
    }

    .hero-slide {
        display: none;
        min-height: 680px;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 104px 0 90px;
    }

    .hero-poster-card {
        max-width: 360px;
    }

    .feature-grid,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 720px) {
    .header-inner {
        width: min(100% - 24px, 1280px);
        min-height: 64px;
    }

    .brand,
    .footer-brand {
        font-size: 19px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-summary,
    .page-heading p {
        font-size: 16px;
    }

    .section,
    .page-section {
        width: min(100% - 24px, 1280px);
        padding: 42px 0;
    }

    .section-heading,
    .page-heading {
        display: block;
    }

    .section-more {
        margin-top: 18px;
    }

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

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

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

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

    .rank-item {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-number {
        position: absolute;
        width: 34px;
        height: 34px;
        margin-left: 8px;
        margin-top: 8px;
        font-size: 14px;
    }

    .rank-poster img {
        width: 68px;
    }

    .rank-item .text-link {
        grid-column: 2;
        width: fit-content;
    }

    .play-icon {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }

    .player-caption,
    .detail-panel {
        padding: 18px;
    }
}

@media (max-width: 440px) {
    .movie-grid,
    .related-grid,
    .category-samples {
        grid-template-columns: 1fr;
    }

    .hero-controls {
        right: 18px;
        bottom: 18px;
    }

    .hero-arrow {
        display: none;
    }
}
