:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --stone-900: #1c1917;
    --stone-100: #f5f5f4;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --rose-500: #f43f5e;
    --teal-500: #14b8a6;
    --cyan-500: #06b6d4;
    --indigo-500: #6366f1;
    --violet-500: #8b5cf6;
    --emerald-500: #10b981;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.13);
    --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-800);
    background: linear-gradient(135deg, var(--slate-50), var(--stone-100), var(--slate-100));
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-800), var(--stone-900), var(--slate-800));
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.nav-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.1) rotate(-3deg);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    color: var(--slate-300);
    font-size: 12px;
    font-style: normal;
}

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

.desktop-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.25s ease, color 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-search {
    display: flex;
    align-items: center;
    width: 260px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-search input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    outline: 0;
    color: var(--white);
    background: transparent;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.nav-search button {
    height: 100%;
    padding: 10px 14px;
    border: 0;
    color: var(--white);
    cursor: pointer;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    color: var(--white);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
    display: none;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(15, 23, 42, 0.96);
}

.mobile-nav.open {
    display: grid;
    gap: 8px;
    animation: slideDown 0.25s ease-out;
}

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-950), var(--stone-900), var(--slate-800));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background:
        radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.22), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(249, 115, 22, 0.18), transparent 28%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: auto, auto, 54px 54px, 54px 54px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-slide {
    display: none;
    min-height: 560px;
    padding: 72px 0;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 52px;
}

.hero-slide.active {
    display: grid;
}

.hero-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--amber-400);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-kicker span,
.page-kicker span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.35);
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.12;
}

.hero p {
    max-width: 660px;
    margin: 0 0 24px;
    color: var(--slate-300);
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-tags span {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
}

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

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    border: 0;
    font-weight: 800;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.button-primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 38px rgba(245, 158, 11, 0.33);
}

.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    opacity: 0.8;
    filter: blur(10px);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    transition: opacity 0.3s ease;
}

.hero-visual img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--shadow-strong);
}

.hero-poster-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(12px);
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dots button.active {
    width: 34px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.section {
    padding: 66px 0;
}

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

.section-cool {
    background: linear-gradient(135deg, var(--slate-100), var(--stone-100));
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-title h2 {
    margin: 0;
    color: var(--slate-800);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.section-title p {
    margin: 6px 0 0;
}

.section-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 16px;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.25);
}

.section-title-teal .section-icon {
    background: linear-gradient(90deg, var(--teal-500), var(--cyan-500));
}

.section-title-rose .section-icon {
    background: linear-gradient(90deg, var(--rose-500), #ec4899);
}

.section-title-indigo .section-icon {
    background: linear-gradient(90deg, #3b82f6, var(--indigo-500));
}

.section-title-emerald .section-icon {
    background: linear-gradient(90deg, var(--emerald-500), var(--teal-500));
}

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

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

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

.movie-card {
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

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

.movie-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--slate-800), var(--stone-900));
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.movie-card:hover .movie-cover img {
    transform: scale(1.1);
}

.movie-cover-glow {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18), transparent);
    transition: opacity 0.35s ease;
}

.movie-card:hover .movie-cover-glow {
    opacity: 1;
}

.movie-cover-glow span {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--amber-500);
    transform: scale(0.6);
    transition: transform 0.35s ease;
}

.movie-card:hover .movie-cover-glow span {
    transform: scale(1);
}

.type-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
}

.rank-badge {
    left: auto;
    right: 12px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.movie-info {
    padding: 18px;
}

.movie-info h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.25s ease;
}

.movie-card:hover .movie-info h3 {
    color: var(--amber-600);
}

.movie-info p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 14px;
    color: var(--slate-500);
    font-size: 12px;
}

.movie-meta span::before {
    content: "•";
    margin-right: 6px;
    color: var(--amber-500);
}

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

.tag-row span {
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--slate-600);
    font-size: 12px;
    background: var(--slate-100);
}

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 24px;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-800), var(--stone-900));
    box-shadow: var(--shadow-soft);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: auto -18% -42% auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
}

.category-card strong {
    position: relative;
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
}

.category-card p {
    position: relative;
    margin: 0 0 18px;
    color: var(--slate-300);
    line-height: 1.7;
}

.category-card span {
    position: relative;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.page-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-950), var(--stone-900), var(--slate-800));
}

.page-hero .container {
    padding: 72px 0;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--slate-300);
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
    gap: 14px;
    padding: 18px;
    margin-bottom: 28px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.filter-panel input,
.filter-panel select,
.filter-panel button {
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: 12px;
    outline: 0;
    background: var(--white);
}

.filter-panel input {
    width: 100%;
    padding: 0 14px;
}

.filter-panel select {
    padding: 0 12px;
    color: var(--slate-700);
}

.filter-panel button {
    padding: 0 18px;
    color: var(--white);
    cursor: pointer;
    border: 0;
    font-weight: 800;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.hidden-by-filter {
    display: none;
}

.empty-state {
    display: none;
    padding: 42px;
    border-radius: 18px;
    text-align: center;
    color: var(--slate-600);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.empty-state.show {
    display: block;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
    gap: 34px;
    align-items: start;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--slate-950);
    box-shadow: var(--shadow-strong);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: var(--slate-950);
}

.play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 0;
    cursor: pointer;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.2));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-cover span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 34px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 45px rgba(245, 158, 11, 0.38);
}

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

.detail-card,
.side-card {
    padding: 26px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 16px;
    color: var(--slate-800);
    font-size: 26px;
}

.detail-card p {
    margin: 0 0 16px;
    color: var(--slate-600);
    line-height: 1.9;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.detail-meta div {
    padding: 14px;
    border-radius: 14px;
    background: var(--slate-100);
}

.detail-meta span {
    display: block;
    margin-bottom: 4px;
    color: var(--slate-500);
    font-size: 12px;
}

.detail-meta strong {
    color: var(--slate-800);
}

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

.mini-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--slate-50);
    transition: transform 0.25s ease, background 0.25s ease;
}

.mini-card:hover {
    transform: translateX(4px);
    background: #fff7ed;
}

.mini-card img {
    width: 108px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
    background: var(--slate-800);
}

.mini-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-800);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mini-card span {
    display: block;
    margin-top: 6px;
    color: var(--slate-500);
    font-size: 13px;
}

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

.breadcrumbs a {
    color: var(--amber-400);
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 72px 180px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.ranking-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.ranking-row img {
    width: 180px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    background: var(--slate-800);
}

.ranking-row h3 {
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 21px;
}

.ranking-row p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.7;
}

.ranking-row .button-primary {
    min-height: 42px;
}

.site-footer {
    color: var(--slate-300);
    background: linear-gradient(135deg, var(--slate-900), var(--stone-900), var(--slate-900));
    border-top: 1px solid rgba(245, 158, 11, 0.22);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
    padding: 52px 0 32px;
}

.footer-logo .brand-mark {
    width: 38px;
    height: 38px;
}

.footer-brand p {
    max-width: 520px;
    color: var(--slate-300);
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: var(--white);
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: var(--slate-300);
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    color: var(--slate-500);
    font-size: 14px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .nav-search {
        margin-left: auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

@media (max-width: 860px) {
    .nav-bar {
        min-height: 68px;
    }

    .nav-search {
        display: none;
    }

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

    .hero-slide {
        min-height: auto;
        padding: 52px 0 82px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

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

    .ranking-row img,
    .ranking-row .button-primary {
        grid-column: 1 / -1;
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .brand-text em {
        display: none;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .movie-grid,
    .movie-grid.three,
    .movie-grid.five,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .page-hero .container {
        padding: 46px 0;
    }

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

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

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

    .mini-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .mini-card img {
        width: 92px;
    }
}
