:root {
    --primary-50: #fef9ee;
    --primary-100: #fdf2d7;
    --primary-300: #f7ca7a;
    --primary-500: #f08d1f;
    --primary-600: #e17015;
    --primary-700: #bb5413;
    --primary-800: #954217;
    --secondary-50: #faf9f6;
    --secondary-100: #f5f3ec;
    --secondary-600: #a58a66;
    --secondary-700: #897256;
    --accent-50: #fef6ee;
    --accent-100: #fdebd7;
    --accent-600: #df5015;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-900);
    background: linear-gradient(to bottom, var(--gray-50), #ffffff);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(to right, var(--primary-800), var(--primary-700), var(--primary-600));
    box-shadow: var(--shadow-lg);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--primary-800);
    background: var(--primary-100);
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.04em;
}

.brand-text em {
    margin-top: 4px;
    color: var(--primary-100);
    font-size: 12px;
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #ffffff;
    font-weight: 600;
}

.nav-links a {
    color: #ffffff;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-100);
    transform: translateY(-1px);
}

.nav-toggle,
.search-button {
    border: 0;
    color: #ffffff;
    background: transparent;
    font-size: 24px;
}

.nav-toggle {
    display: none;
}

.header-search {
    display: none;
    padding: 0 0 16px;
}

.header-search.open {
    display: block;
}

.header-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid rgb(255 255 255 / 0.35);
    border-radius: 12px;
    padding: 12px 16px;
    outline: none;
    color: #ffffff;
    background: rgb(255 255 255 / 0.12);
}

.header-search input::placeholder {
    color: var(--primary-100);
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: #000000;
}

.hero-track,
.hero-slide {
    width: 100%;
    height: 100%;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000000, rgb(0 0 0 / 0.52), rgb(0 0 0 / 0.08));
}

.hero-copy {
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    color: #ffffff;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 760px;
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.75;
}

.hero-rating,
.hero-tags,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-rating {
    color: #facc15;
    font-size: 22px;
    font-weight: 800;
}

.hero-rating span {
    color: #d1d5db;
    font-size: 16px;
    font-weight: 500;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.hero-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgb(255 255 255 / 0.2);
    backdrop-filter: blur(4px);
}

.hero-actions {
    margin-top: 24px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 24px;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.primary-button:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.ghost-button {
    color: #ffffff;
    border: 1px solid rgb(255 255 255 / 0.42);
    background: rgb(0 0 0 / 0.25);
    backdrop-filter: blur(4px);
}

.ghost-button:hover {
    background: rgb(255 255 255 / 0.2);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgb(0 0 0 / 0.5);
    font-size: 42px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgb(0 0 0 / 0.72);
    transform: translateY(-2px);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.5);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.section-block {
    padding-top: 66px;
    padding-bottom: 66px;
}

.section-head,
.sub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-head h2,
.sub-head h3 {
    margin: 0;
    color: var(--gray-900);
}

.section-head h2 {
    flex: 1;
    font-size: 32px;
}

.section-head span {
    color: var(--primary-600);
    font-size: 24px;
}

.section-head a,
.sub-head a {
    color: var(--primary-600);
    font-weight: 700;
}

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

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card.hidden,
.rank-row.hidden {
    display: none;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--gray-200);
}

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

.movie-card-link:hover .poster-wrap img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.2), transparent);
    transition: opacity 0.3s ease;
}

.movie-card-link:hover .poster-shade {
    opacity: 1;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary-600);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 8px;
    padding: 5px 8px;
    color: #ffffff;
    background: rgb(0 0 0 / 0.72);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(4px);
}

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

.movie-card-body h3 {
    overflow: hidden;
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
    color: var(--primary-600);
}

.movie-meta {
    margin: 0 0 8px;
    color: var(--gray-500);
    font-size: 12px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    margin: 0 0 12px;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.tag-row span {
    padding: 4px 8px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 12px;
}

.soft-band {
    background: linear-gradient(to right, var(--primary-50), var(--secondary-50));
}

.gray-band {
    background: linear-gradient(to bottom, var(--gray-100), var(--gray-50));
}

.category-grid,
.category-overview-grid {
    display: grid;
    gap: 24px;
}

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

.category-card a,
.category-overview-card a {
    display: block;
    height: 100%;
    border-radius: 18px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-card h3,
.category-overview-card h2 {
    margin: 0 0 12px;
    color: var(--gray-900);
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
}

.category-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-mini-links a {
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 12px;
}

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

.sub-head h3 {
    border-left: 4px solid var(--primary-600);
    padding-left: 14px;
    font-size: 22px;
}

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

.rank-list.wide {
    max-width: 980px;
    margin: 0 auto;
}

.rank-row {
    display: grid;
    grid-template-columns: 48px 72px 1fr auto;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    padding: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.rank-number {
    color: var(--primary-600);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 72px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
}

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

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

.rank-copy strong {
    color: var(--gray-900);
    font-size: 18px;
}

.rank-copy em {
    overflow: hidden;
    margin-top: 6px;
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-score {
    color: var(--primary-600);
    font-weight: 900;
}

.inner-main {
    background: linear-gradient(to bottom, var(--gray-50), #ffffff);
}

.page-hero {
    padding: 52px 0 20px;
}

.small-hero {
    padding-bottom: 8px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary-600);
    font-weight: 900;
    letter-spacing: 0.1em;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

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

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

.breadcrumb a {
    color: var(--primary-600);
    font-weight: 700;
}

.breadcrumb.dark {
    color: #d1d5db;
}

.breadcrumb.dark a {
    color: var(--primary-300);
}

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

.category-overview-card a {
    padding: 0;
    overflow: hidden;
}

.category-overview-card h2,
.category-overview-card p,
.category-overview-card .category-mini-links {
    margin-left: 24px;
    margin-right: 24px;
}

.category-overview-card .category-mini-links {
    margin-bottom: 24px;
}

.category-posters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    background: linear-gradient(to right, var(--primary-100), var(--accent-100));
}

.category-posters img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
    gap: 14px;
    margin-top: 30px;
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(to right, var(--primary-800), var(--primary-600));
    box-shadow: var(--shadow-lg);
}

.large-filter {
    grid-template-columns: minmax(260px, 1fr) 170px 170px 170px 170px;
}

.filter-panel input,
.filter-panel select {
    border-color: rgb(255 255 255 / 0.28);
    color: #ffffff;
}

.filter-panel option {
    color: var(--gray-900);
}

.top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 16px;
}

.top-rank-card a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    color: #ffffff;
    background: #000000;
    box-shadow: var(--shadow-lg);
}

.top-rank-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    opacity: 0.72;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.top-rank-card a:hover img {
    opacity: 0.88;
    transform: scale(1.04);
}

.top-rank-label {
    position: absolute;
    top: 16px;
    left: 16px;
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffffff;
    background: var(--primary-600);
    font-weight: 900;
}

.top-rank-card h2,
.top-rank-card p {
    position: absolute;
    left: 20px;
    right: 20px;
}

.top-rank-card h2 {
    bottom: 48px;
    margin: 0;
    font-size: 28px;
}

.top-rank-card p {
    bottom: 18px;
    margin: 0;
    color: #e5e7eb;
}

.detail-main {
    background: var(--gray-50);
}

.player-area {
    padding: 30px 0 42px;
    background: #000000;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 24px 60px rgb(0 0 0 / 0.42);
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.08));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-600);
    box-shadow: 0 14px 38px rgb(0 0 0 / 0.4);
    font-size: 40px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 0.9fr);
    gap: 32px;
    padding-top: 34px;
    padding-bottom: 72px;
}

.detail-card,
.related-panel {
    border-radius: 18px;
    padding: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.detail-card + .detail-card {
    margin-top: 22px;
}

.title-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    object-fit: cover;
}

.detail-title-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-600);
}

.detail-meta span:first-child {
    color: var(--primary-600);
    font-weight: 900;
}

.lead-text {
    margin: 0 0 18px;
    color: var(--gray-700);
    font-size: 18px;
    line-height: 1.75;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tags span {
    padding: 7px 12px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 14px;
    font-weight: 700;
}

.detail-card h2,
.related-panel h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.detail-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
    line-height: 1.9;
}

.related-panel {
    position: sticky;
    top: 100px;
    align-self: start;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.related-item:last-child {
    border-bottom: 0;
}

.related-item img {
    width: 82px;
    height: 112px;
    border-radius: 12px;
    object-fit: cover;
}

.related-item span {
    min-width: 0;
}

.related-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-900);
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-item em {
    display: block;
    margin-top: 8px;
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
}

.similar-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.similar-links a {
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-weight: 700;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(to bottom, var(--gray-900), var(--gray-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    padding-top: 48px;
    padding-bottom: 34px;
}

.footer-brand {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.site-footer p {
    max-width: 540px;
    margin: 0;
    color: #9ca3af;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

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

.footer-links a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 22px 16px;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 1100px) {
    .movie-grid,
    .movie-grid.all-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        border-radius: 18px;
        background: linear-gradient(to bottom, var(--primary-800), var(--primary-700));
        box-shadow: var(--shadow-xl);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 15px 18px;
        border-bottom: 1px solid rgb(255 255 255 / 0.12);
    }

    .hero {
        min-height: 600px;
        height: 76vh;
    }

    .hero-copy {
        bottom: 84px;
    }

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

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .movie-grid.four,
    .movie-grid.compact,
    .movie-grid.all-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .split-panels,
    .category-overview-grid,
    .top-rank-grid,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .title-card {
        grid-template-columns: 120px 1fr;
    }

    .related-panel {
        position: static;
    }
}

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

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

    .brand-text em {
        font-size: 11px;
    }

    .hero {
        min-height: 610px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 38px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

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

    .section-block {
        padding-top: 46px;
        padding-bottom: 46px;
    }

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

    .rank-row {
        grid-template-columns: 40px 58px 1fr;
    }

    .rank-score {
        grid-column: 3;
    }

    .rank-row img {
        width: 58px;
        height: 82px;
    }

    .title-card {
        grid-template-columns: 1fr;
    }

    .detail-cover img {
        max-width: 210px;
    }

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