:root {
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --card: rgba(30, 41, 59, 0.62);
    --line: rgba(71, 85, 105, 0.62);
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --text: #f8fafc;
    --emerald: #10b981;
    --emerald-light: #34d399;
    --amber: #f59e0b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.10), transparent 34rem),
        radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.08), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(51, 65, 85, 0.75);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
}

.nav-bar {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.02em;
}

.brand {
    font-size: 21px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--emerald), #0f766e);
    color: #ffffff;
    font-size: 13px;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.30);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--soft);
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.82);
    color: var(--text);
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    display: block;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--text);
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(51, 65, 85, 0.75);
    background: rgba(15, 23, 42, 0.98);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    padding: 12px 0 16px;
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--soft);
    background: rgba(30, 41, 59, 0.38);
}

main {
    min-height: 70vh;
}

.hero-slider {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.05);
}

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.28) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.10) 45%, rgba(2, 6, 23, 0.62) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-top: 110px;
    padding-bottom: 132px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(52, 211, 153, 0.34);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: var(--emerald-light);
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 670px;
    margin: 0 0 24px;
    color: var(--soft);
    font-size: clamp(17px, 2.1vw, 21px);
}

.hero-tags,
.detail-meta,
.detail-tags,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span,
.detail-tags span,
.card-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(71, 85, 105, 0.72);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: var(--soft);
    font-size: 13px;
}

.hero-tags span,
.detail-meta span,
.detail-tags span {
    padding: 6px 12px;
}

.card-meta span {
    padding: 4px 9px;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    border: 1px solid rgba(52, 211, 153, 0.42);
    background: var(--emerald);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.24);
}

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

.primary-btn:hover {
    background: #059669;
}

.primary-btn.full {
    width: 100%;
}

.ghost-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.58);
    color: var(--text);
}

.ghost-btn:hover {
    border-color: rgba(52, 211, 153, 0.46);
    background: rgba(16, 185, 129, 0.18);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 34px;
    background: var(--emerald-light);
}

.hero-thumbs {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    transform: translateX(-50%);
}

.hero-thumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.68);
    color: var(--soft);
    backdrop-filter: blur(10px);
}

.hero-thumb.active {
    border-color: rgba(52, 211, 153, 0.55);
    background: rgba(16, 185, 129, 0.18);
}

.hero-thumb img {
    width: 50px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-strip {
    margin-top: -36px;
    position: relative;
    z-index: 12;
}

.filter-panel {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(71, 85, 105, 0.76);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.filter-input,
.filter-select {
    min-height: 46px;
    border: 1px solid rgba(71, 85, 105, 0.82);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.56);
    color: var(--text);
    outline: none;
}

.filter-input {
    flex: 1 1 auto;
    padding: 0 16px;
}

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

.filter-input:focus,
.filter-select:focus {
    border-color: rgba(52, 211, 153, 0.72);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.filter-empty {
    margin: 18px 0 0;
    color: var(--muted);
}

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

.content-band,
.rank-band {
    border-top: 1px solid rgba(51, 65, 85, 0.44);
    border-bottom: 1px solid rgba(51, 65, 85, 0.44);
    background: rgba(15, 23, 42, 0.42);
}

.rank-band {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.72));
}

.section-head {
    margin-bottom: 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-head h2 {
    margin: 0 0 6px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.section-more {
    flex: 0 0 auto;
    color: var(--emerald-light);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    min-width: 0;
    border: 1px solid rgba(71, 85, 105, 0.58);
    border-radius: 18px;
    background: var(--card);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover,
.rank-card:hover,
.category-overview-card:hover,
.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.58);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.card-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-year,
.card-play {
    position: absolute;
    z-index: 2;
}

.card-year {
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-play {
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    color: #ffffff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(8px);
}

.movie-card:hover .card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--text);
    font-size: 17px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--emerald-light);
}

.card-body p {
    height: 45px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
}

.movie-card.compact .card-body p {
    height: 42px;
}

.scroll-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 18px;
    scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
    width: 290px;
    flex: 0 0 290px;
    scroll-snap-align: start;
}

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

.feature-card {
    position: relative;
    min-height: 270px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.84);
}

.feature-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.feature-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.18));
}

.feature-info {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
}

.feature-info strong,
.feature-info em {
    display: block;
}

.feature-info strong {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.2;
}

.feature-info em {
    color: var(--soft);
    font-style: normal;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    padding: 64px 0;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid rgba(71, 85, 105, 0.52);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.62);
}

.rank-index {
    color: var(--emerald-light);
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-kind {
    color: var(--muted);
    font-size: 13px;
}

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

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

.category-card,
.category-overview-card {
    border: 1px solid rgba(71, 85, 105, 0.58);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.48);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
    display: block;
    min-height: 155px;
    padding: 18px;
}

.category-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
}

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

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

.category-overview-card {
    overflow: hidden;
}

.category-overview-card a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    height: 100%;
    padding: 18px;
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.category-cover-stack img {
    width: 100%;
    height: 154px;
    border-radius: 12px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.category-overview-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.category-overview-card span {
    color: var(--emerald-light);
    font-weight: 800;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-chip {
    padding: 8px 14px;
    border: 1px solid rgba(71, 85, 105, 0.58);
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.50);
    color: var(--soft);
    font-size: 14px;
    transition: all 0.2s ease;
}

.tag-chip:hover {
    border-color: rgba(52, 211, 153, 0.54);
    background: rgba(16, 185, 129, 0.18);
    color: var(--emerald-light);
}

.page-hero,
.detail-hero {
    padding: 112px 0 44px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.00));
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.page-hero p {
    max-width: 780px;
    margin: 0 0 26px;
    color: var(--soft);
    font-size: 18px;
}

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

.breadcrumb a {
    color: var(--emerald-light);
}

.breadcrumb span::before,
.breadcrumb a + a::before,
.breadcrumb a + span::before {
    content: "/";
    margin-right: 9px;
    color: rgba(148, 163, 184, 0.55);
}

.ranking-grid {
    display: grid;
    gap: 14px;
}

.rank-card {
    border: 1px solid rgba(71, 85, 105, 0.56);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.52);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rank-card a {
    display: grid;
    grid-template-columns: 72px 168px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 13px 16px;
}

.rank-number {
    color: var(--emerald-light);
    font-size: 22px;
    font-weight: 900;
}

.rank-card img {
    width: 168px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
}

.rank-content strong,
.rank-content em,
.rank-content small {
    display: block;
}

.rank-content strong {
    margin-bottom: 5px;
    font-size: 19px;
}

.rank-content em {
    margin-bottom: 7px;
    overflow: hidden;
    color: var(--soft);
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-content small {
    color: var(--muted);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.82fr);
    gap: 30px;
}

.movie-player {
    position: relative;
    border: 1px solid rgba(71, 85, 105, 0.70);
    border-radius: 22px;
    background: #000000;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.64));
    color: #ffffff;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.92);
    font-size: 30px;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.32);
}

.movie-player.is-playing .play-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-copy {
    padding: 26px 0 8px;
}

.detail-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.one-line {
    margin: 20px 0;
    color: var(--soft);
    font-size: 18px;
}

.detail-panel,
.side-card {
    border: 1px solid rgba(71, 85, 105, 0.58);
    border-radius: 18px;
    background: var(--panel);
}

.detail-panel {
    margin-top: 22px;
    padding: 24px;
}

.detail-panel h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.detail-panel p {
    margin: 0;
    color: var(--soft);
    white-space: pre-line;
}

.side-card {
    padding: 18px;
}

.side-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 16px;
}

.side-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.side-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.sticky-card {
    position: sticky;
    top: 88px;
}

.site-footer {
    margin-top: 36px;
    border-top: 1px solid rgba(51, 65, 85, 0.72);
    background: rgba(15, 23, 42, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 34px;
    padding: 48px 0 34px;
}

.footer-brand {
    margin-bottom: 14px;
    font-size: 18px;
}

.site-footer p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
}

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

.footer-bottom {
    padding: 22px 0 32px;
    border-top: 1px solid rgba(51, 65, 85, 0.64);
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

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

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

    .sticky-card {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-slider {
        min-height: 680px;
    }

    .hero-content {
        align-items: center;
        padding-bottom: 144px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 10vw, 54px);
    }

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

    .hero-thumb:nth-child(n+3) {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .filter-panel {
        flex-direction: column;
    }

    .filter-select {
        flex: 0 0 auto;
        width: 100%;
    }

    .index-grid,
    .movie-grid,
    .catalog-grid,
    .related-grid,
    .mini-grid,
    .feature-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .rank-card a {
        grid-template-columns: 44px 116px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-card img {
        width: 116px;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .brand {
        font-size: 18px;
    }

    .hero-slider {
        min-height: 640px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

    .hero-dots {
        bottom: 100px;
    }

    .index-grid,
    .movie-grid,
    .catalog-grid,
    .related-grid,
    .mini-grid,
    .feature-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .rank-kind {
        grid-column: 2;
    }

    .rank-card a {
        grid-template-columns: 40px 96px minmax(0, 1fr);
        padding: 10px;
    }

    .rank-card img {
        width: 96px;
    }

    .rank-content em {
        display: none;
    }
}
