:root {
    color-scheme: light;
    --stone-950: #1c1917;
    --stone-900: #292524;
    --stone-800: #44403c;
    --stone-700: #57534e;
    --stone-600: #78716c;
    --stone-500: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-200: #e7e5e4;
    --stone-100: #f5f5f4;
    --amber-950: #451a03;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    --white: #ffffff;
    --shadow-sm: 0 10px 25px rgba(41, 37, 36, 0.08);
    --shadow-md: 0 18px 48px rgba(41, 37, 36, 0.14);
    --shadow-lg: 0 28px 80px rgba(41, 37, 36, 0.22);
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--stone-900);
    background:
        radial-gradient(circle at 15% 5%, rgba(245, 158, 11, 0.18), transparent 26rem),
        linear-gradient(180deg, #fff8eb 0%, #f7f1e7 32%, #ffffff 68%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--stone-900), var(--amber-950), var(--stone-900));
    border-bottom: 2px solid var(--amber-700);
    box-shadow: 0 16px 36px rgba(69, 26, 3, 0.25);
}

.header-inner {
    width: min(1220px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-100);
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-800));
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.26);
}

.brand-text strong,
.footer-logo {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fff7cc, var(--amber-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    display: block;
    margin-top: 4px;
    color: var(--amber-300);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.mobile-nav-link {
    border-radius: 12px;
    color: var(--amber-100);
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link {
    padding: 10px 14px;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--white);
    background: rgba(217, 119, 6, 0.92);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(180, 83, 9, 0.95);
    color: var(--white);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    margin-top: 8px;
}

.section-wrap {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone-950) 0%, var(--amber-950) 54%, var(--stone-900) 100%);
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.34), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(252, 211, 77, 0.18), transparent 24rem),
        linear-gradient(90deg, rgba(28, 25, 23, 0.98), rgba(69, 26, 3, 0.56), rgba(28, 25, 23, 0.88));
    pointer-events: none;
    z-index: 2;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: center;
    gap: 52px;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 58px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border: 1px solid rgba(252, 211, 77, 0.35);
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 800;
}

.hero h1 {
    margin: 22px 0 0;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: var(--amber-300);
}

.hero h2 {
    margin: 20px 0 0;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.hero-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: 12px 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
    box-shadow: 0 16px 34px rgba(217, 119, 6, 0.36);
}

.btn-ghost {
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(252, 211, 77, 0.32);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(41, 37, 36, 0.18);
}

.hero-poster {
    position: relative;
    z-index: 3;
    max-width: 420px;
    margin-left: auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(28, 25, 23, 0.76));
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transform: scale(1.015);
}

.hero-poster span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(217, 119, 6, 0.9);
    font-size: 14px;
    font-weight: 900;
}

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

.hero-arrow,
.hero-dot {
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: var(--amber-300);
}

.quick-channel {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 28px 0 0;
}

.channel-card {
    min-height: 118px;
    padding: 18px;
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(68, 64, 60, 0.92), rgba(146, 64, 14, 0.88));
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.channel-card strong {
    display: block;
    font-size: 18px;
}

.channel-card span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}

.main-content {
    padding: 54px 0 76px;
}

.page-hero,
.category-hero,
.detail-hero {
    padding: 62px 0 34px;
}

.page-hero-card,
.category-hero-card {
    padding: clamp(28px, 5vw, 54px);
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 80% 12%, rgba(252, 211, 77, 0.26), transparent 20rem),
        linear-gradient(135deg, var(--stone-900), var(--amber-950));
    box-shadow: var(--shadow-lg);
}

.page-hero-card h1,
.category-hero-card h1,
.detail-title h1 {
    margin: 18px 0 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.page-hero-card p,
.category-hero-card p,
.detail-title p {
    max-width: 860px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 50px 0 22px;
}

.section-heading h2 {
    margin: 0;
    color: var(--stone-900);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading p {
    max-width: 580px;
    margin: 8px 0 0;
    color: var(--stone-600);
}

.section-heading a {
    color: var(--amber-800);
    font-weight: 900;
}

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

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

.movie-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(231, 229, 228, 0.78);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.card-poster {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone-200), var(--amber-100));
}

.card-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.card-poster figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(28, 25, 23, 0.72);
    font-size: 12px;
    font-weight: 900;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.card-meta span,
.tag-row span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--amber-800);
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 800;
}

.card-body h3 {
    margin: 0;
    color: var(--stone-900);
    font-size: 19px;
    line-height: 1.28;
}

.card-body p {
    display: -webkit-box;
    margin: 10px 0 14px;
    color: var(--stone-600);
    font-size: 14px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 22px;
}

.featured-panel {
    min-height: 100%;
    padding: 32px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(28, 25, 23, 0.08), rgba(28, 25, 23, 0.9)),
        linear-gradient(135deg, var(--amber-800), var(--stone-900));
    box-shadow: var(--shadow-lg);
}

.featured-panel h2 {
    margin: 14px 0 0;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.05;
}

.featured-panel p {
    margin: 16px 0 26px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}

.side-ranking {
    display: grid;
    gap: 12px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 50px 78px minmax(0, 1fr) 62px;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border: 1px solid rgba(231, 229, 228, 0.85);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.rank-num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--amber-800));
    font-weight: 950;
}

.ranking-item img {
    width: 78px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-info {
    min-width: 0;
}

.rank-info strong {
    display: block;
    color: var(--stone-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    display: block;
    margin-top: 5px;
    color: var(--stone-600);
    font-size: 13px;
    font-style: normal;
}

.rank-score {
    justify-self: end;
    color: var(--amber-800);
    font-weight: 950;
}

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

.category-card {
    min-height: 188px;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 85% 15%, rgba(252, 211, 77, 0.28), transparent 9rem),
        linear-gradient(135deg, var(--stone-800), var(--amber-900));
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.category-card strong {
    display: block;
    font-size: 23px;
    line-height: 1.16;
}

.category-card p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 190px));
    gap: 12px;
    align-items: end;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid rgba(231, 229, 228, 0.9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.search-box span {
    display: block;
    margin: 0 0 7px;
    color: var(--stone-700);
    font-size: 13px;
    font-weight: 900;
}

.search-box input,
.filter-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--stone-200);
    border-radius: 14px;
    color: var(--stone-900);
    background: var(--white);
    outline: none;
}

.search-box input {
    padding: 0 15px;
}

.filter-select {
    padding: 0 12px;
}

.search-box input:focus,
.filter-select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.empty-state {
    display: none;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    text-align: center;
    color: var(--stone-600);
}

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

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

.detail-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.24), transparent 24rem),
        linear-gradient(135deg, var(--stone-950), var(--amber-950));
}

.detail-hero-inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.detail-cover {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    padding: 46px 0 76px;
}

.content-panel,
.sidebar-panel {
    border: 1px solid rgba(231, 229, 228, 0.9);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.content-panel {
    padding: clamp(24px, 4vw, 38px);
}

.sidebar-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.content-panel h2,
.sidebar-panel h2 {
    margin: 0 0 16px;
    color: var(--stone-900);
    font-size: 26px;
    line-height: 1.18;
}

.content-panel p {
    margin: 0 0 22px;
    color: var(--stone-700);
    font-size: 17px;
}

.player-wrap {
    margin-bottom: 30px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000;
    box-shadow: var(--shadow-lg);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.08), rgba(28, 25, 23, 0.72));
    cursor: pointer;
    z-index: 2;
}

.player-cover.is-hidden {
    display: none;
}

.play-button {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
    font-size: 30px;
    transform: translateZ(0);
}

.player-error {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #991b1b;
    background: #fee2e2;
    font-weight: 800;
}

.player-error.is-visible {
    display: block;
}

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

.related-card {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.related-card img {
    width: 94px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.related-card strong {
    display: block;
    color: var(--stone-900);
    font-size: 15px;
    line-height: 1.3;
}

.related-card span {
    display: block;
    margin-top: 6px;
    color: var(--stone-600);
    font-size: 12px;
}

.site-footer {
    color: var(--stone-300);
    background: linear-gradient(90deg, var(--stone-950), var(--amber-950), var(--stone-950));
    border-top: 2px solid var(--amber-800);
}

.footer-inner {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.footer-inner p {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--stone-300);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.copyright {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 34px;
    color: var(--stone-500);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero-slide,
    .featured-layout,
    .detail-body {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .sidebar-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-inner {
        width: min(100% - 24px, 1220px);
        height: 66px;
    }

    .brand-text em {
        display: none;
    }

    .brand-text strong {
        font-size: 19px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-slide {
        display: block;
        padding-top: 44px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .quick-channel {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

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

    .card-body {
        padding: 13px;
    }

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

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

    .ranking-item {
        grid-template-columns: 42px 68px minmax(0, 1fr);
    }

    .rank-score {
        grid-column: 3;
        justify-self: start;
    }

    .detail-hero-inner {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        max-width: 230px;
    }

    .footer-inner {
        display: block;
    }

    .footer-links {
        margin-top: 22px;
    }
}

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

    .hero-actions {
        display: grid;
    }
}
