:root {
    --bg: #fff8f0;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(31, 41, 55, 0.12);
    --red: #ef4444;
    --orange: #f97316;
    --amber: #f59e0b;
    --green: #10b981;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 45%, #ecfdf5 100%);
    min-height: 100vh;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.nav-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.28);
    transition: transform 0.25s ease;
}

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

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

.brand-text strong {
    font-size: 22px;
    line-height: 1;
    background: linear-gradient(90deg, #dc2626, #f97316);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link,
.mobile-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: #16a34a;
}

.top-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search input,
.mobile-search input,
.catalog-tools input,
.catalog-tools select {
    border: 1px solid rgba(107, 114, 128, 0.28);
    border-radius: 999px;
    padding: 11px 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.catalog-tools input:focus,
.catalog-tools select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.top-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    color: white;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 0 22px 18px;
    max-width: 1240px;
    margin: 0 auto;
}

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

.mobile-nav nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: linear-gradient(135deg, #ef4444, #f97316 48%, #db2777);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
    background-image: linear-gradient(90deg, rgba(127, 29, 29, 0.84), rgba(249, 115, 22, 0.62), rgba(15, 23, 42, 0.72)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 16% 22%, rgba(254, 240, 138, 0.22), transparent 24%), rgba(0, 0, 0, 0.22);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    min-height: 640px;
    margin: 0 auto;
    padding: 72px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 48px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
}

.hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: white;
    max-width: 820px;
    margin: 22px 0;
}

.hero p {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 52px;
    padding: 0 26px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
    color: #dc2626;
    background: white;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.button.ghost {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 34px;
    background: linear-gradient(135deg, #fed7aa, #fecaca);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
    transform: rotate(2deg);
}

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

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    color: #ef4444;
    background: white;
    transform: translate(-50%, -50%);
    font-size: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-glow {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.62;
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow.one {
    width: 280px;
    height: 280px;
    left: 8%;
    top: 12%;
    background: rgba(254, 240, 138, 0.28);
}

.hero-glow.two {
    width: 380px;
    height: 380px;
    right: 8%;
    bottom: 5%;
    background: rgba(248, 113, 113, 0.28);
    animation-delay: -2s;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.04);
    }
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
    width: 32px;
    background: white;
}

.section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 22px;
}

.section.alt {
    max-width: none;
    padding-left: max(22px, calc((100vw - 1240px) / 2 + 22px));
    padding-right: max(22px, calc((100vw - 1240px) / 2 + 22px));
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.82), rgba(236, 253, 245, 0.82));
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-title-row h2,
.rank-head h2,
.related-panel h2,
.content-block h2,
.footer-col h2,
.side-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    color: #111827;
}

.section-title-row p,
.sub-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more,
.rank-head a,
.category-overview-head a {
    color: #dc2626;
    font-weight: 900;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.compact .poster-link {
    aspect-ratio: 2 / 3;
}

.wide .poster-link {
    aspect-ratio: 16 / 9;
}

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

.movie-card:hover .poster-link img,
.mini-card:hover img,
.rank-item:hover img {
    transform: scale(1.08);
}

.play-chip {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    font-size: 42px;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
}

.year-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    font-weight: 800;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 18px;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.card-title:hover {
    color: #16a34a;
}

.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.card-meta span,
.detail-meta span {
    border-radius: 999px;
    padding: 6px 10px;
    color: #047857;
    background: #ecfdf5;
    font-size: 12px;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
    gap: 34px;
    align-items: start;
}

.rank-panel,
.related-panel,
.detail-info,
.player-card,
.category-overview-card {
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.rank-panel {
    padding: 22px;
}

.rank-panel.big {
    min-width: 0;
}

.rank-head,
.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 42px 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.92));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    border-color: rgba(239, 68, 68, 0.34);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.rank-item img,
.mini-card img {
    width: 100%;
    height: 62px;
    object-fit: cover;
    border-radius: 14px;
    background: #fee2e2;
    transition: transform 0.3s ease;
}

.rank-info,
.mini-card span {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.rank-info strong,
.mini-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111827;
}

.rank-info small,
.mini-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    min-height: 210px;
    color: white;
    background: linear-gradient(135deg, #ef4444, #f97316);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card strong,
.category-overview-card h2 {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
}

.category-card p,
.category-overview-card p {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.category-card div {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -40px;
    bottom: -56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.category-card.orange,
.category-overview-card.orange,
.sub-hero.orange {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.category-card.purple,
.category-overview-card.purple,
.sub-hero.purple {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.category-card.green,
.category-overview-card.green,
.sub-hero.green {
    background: linear-gradient(135deg, #10b981, #22c55e);
}

.category-card.blue,
.category-overview-card.blue,
.sub-hero.blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.category-card.slate,
.category-overview-card.slate,
.sub-hero.slate {
    background: linear-gradient(135deg, #334155, #0f172a);
}

.category-card.pink,
.category-overview-card.pink,
.sub-hero.pink {
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.category-card.amber,
.category-overview-card.amber,
.sub-hero.amber {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.category-card.cyan,
.category-overview-card.cyan,
.sub-hero.cyan {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.category-card.violet,
.category-overview-card.violet,
.sub-hero.violet {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.sub-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 22px;
    color: white;
    background: linear-gradient(135deg, #ef4444, #f97316, #db2777);
}

.sub-hero > div {
    max-width: 1240px;
    margin: 0 auto;
}

.sub-hero h1 {
    max-width: 920px;
    margin: 18px 0 14px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.sub-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

.category-overview-card {
    min-height: auto;
}

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

.mini-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    color: #111827;
    background: rgba(255, 255, 255, 0.9);
}

.catalog-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.catalog-tools label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-weight: 800;
}

.catalog-tools input,
.catalog-tools select {
    width: 100%;
    border-radius: 16px;
}

.movie-card.is-hidden {
    display: none;
}

.detail-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 22px 76px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--muted);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: #16a34a;
}

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    padding: 14px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.movie-video,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-video {
    z-index: 1;
    background: #020617;
}

.player-cover {
    z-index: 2;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #020617;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.45s ease, opacity 0.25s ease;
}

.player-cover:hover img {
    opacity: 0.72;
    transform: scale(1.04);
}

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

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    color: #ef4444;
    background: white;
    transform: translate(-50%, -50%);
    font-size: 30px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.detail-info {
    padding: 28px;
}

.detail-info h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #111827;
}

.detail-one-line {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-tags {
    margin-bottom: 26px;
}

.detail-tags span {
    color: #047857;
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.content-block {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.content-block + .content-block {
    margin-top: 24px;
}

.content-block h2 {
    font-size: 24px;
}

.content-block p {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 1.9;
}

.review-block {
    padding: 22px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ecfdf5, #fff7ed);
}

.related-panel {
    position: sticky;
    top: 108px;
    padding: 22px;
}

.related-panel h2 {
    font-size: 24px;
}

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

.ranking-page {
    grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.22fr);
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 22px 36px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
    gap: 34px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-col h2 {
    font-size: 18px;
    color: white;
}

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

.footer-col a:hover {
    color: #fca5a5;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 22px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
}

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

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

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

    .split-section,
    .detail-layout,
    .ranking-page {
        grid-template-columns: 1fr;
    }

    .related-panel {
        position: static;
    }
}

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

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

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 54px;
        padding-bottom: 84px;
    }

    .hero-poster {
        max-width: 280px;
        margin: 0 auto;
    }

    .movie-grid,
    .compact-grid,
    .catalog-grid,
    .editor-grid,
    .category-grid,
    .category-overview-grid,
    .footer-shell {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-tools {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .nav-shell {
        padding: 12px 16px;
    }

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

    .brand-text small {
        display: none;
    }

    .hero,
    .hero-inner {
        min-height: 610px;
    }

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

    .hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .section,
    .section.alt,
    .detail-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title-row,
    .rank-head,
    .category-overview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .compact-grid,
    .catalog-grid,
    .editor-grid,
    .category-grid,
    .category-overview-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 38px 74px minmax(0, 1fr);
    }

    .sub-hero {
        padding: 64px 16px;
    }

    .detail-info,
    .related-panel {
        padding: 20px;
    }

    .player-button {
        width: 70px;
        height: 70px;
    }
}
