:root {
    color-scheme: light;
    --color-ink: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --color-card: #ffffff;
    --color-border: #f1d6b8;
    --color-primary: #92400e;
    --color-primary-deep: #78350f;
    --color-primary-bright: #f59e0b;
    --shadow-card: 0 18px 40px rgba(120, 53, 15, 0.14);
    --shadow-soft: 0 8px 24px rgba(120, 53, 15, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--color-ink);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fffaf4 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #78350f 0%, #9a3412 48%, #78350f 100%);
    box-shadow: 0 12px 32px rgba(120, 53, 15, 0.22);
}

.site-header__inner {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.site-logo__mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #78350f;
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.52);
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.site-logo__text strong {
    font-size: 20px;
    letter-spacing: 0.04em;
}

.site-logo__text small {
    margin-top: 4px;
    color: #fde68a;
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 700;
}

.site-nav a,
.site-nav__dropdown > a {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav__dropdown > a:hover,
.site-nav__dropdown > a.is-active {
    color: #fde68a;
}

.site-nav__dropdown {
    position: relative;
    padding: 22px 0;
}

.site-nav__panel {
    position: absolute;
    top: 64px;
    left: 50%;
    width: 220px;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    color: #374151;
    box-shadow: var(--shadow-card);
    transform: translate(-50%, 10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.18s ease;
}

.site-nav__dropdown:hover .site-nav__panel {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.site-nav__panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #374151;
    font-size: 14px;
}

.site-nav__panel a:hover {
    color: #92400e;
    background: #fff7ed;
}

.header-search {
    position: relative;
    margin-left: auto;
    width: min(320px, 28vw);
}

.header-search input {
    width: 100%;
    height: 42px;
    padding: 0 46px 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    outline: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    transition: all 0.2s ease;
}

.header-search input::placeholder {
    color: #fde68a;
}

.header-search input:focus {
    border-color: #fde68a;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(253, 230, 138, 0.18);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: #78350f;
    background: #fde68a;
    cursor: pointer;
    transform: translateY(-50%);
}

.search-results {
    position: absolute;
    top: 48px;
    right: 0;
    width: min(440px, 92vw);
    max-height: 430px;
    overflow: auto;
    padding: 10px;
    border-radius: 18px;
    color: #1f2937;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    display: none;
}

.search-results.is-open {
    display: block;
}

.search-results a {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.search-results a:hover {
    background: #fff7ed;
}

.search-results img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    background: #fef3c7;
}

.search-results strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-results small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 12px 24px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: #78350f;
}

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

.mobile-menu a {
    display: block;
    padding: 10px 0;
    color: #ffffff;
    font-weight: 700;
}

.mobile-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 6px;
}

.page-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 38px 24px 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #ffffff;
    background: #421407;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(32, 11, 4, 0.92) 0%, rgba(32, 11, 4, 0.72) 42%, rgba(32, 11, 4, 0.24) 100%), var(--hero-image);
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero-slide__content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 84px 24px 104px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(253, 230, 138, 0.32);
    border-radius: 999px;
    color: #fde68a;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.hero-slide h1,
.hero-slide h2 {
    max-width: 760px;
    margin: 22px 0 18px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
}

.hero-slide p {
    max-width: 660px;
    margin: 0 0 28px;
    color: #ffedd5;
    font-size: 19px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

.button-primary {
    color: #78350f;
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.28);
}

.button-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

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

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

.hero-dots button.is-active {
    width: 34px;
    background: #fbbf24;
}

.section-block {
    margin-top: 44px;
}

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

.section-heading h2,
.section-heading h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
    font-weight: 900;
}

.section-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.section-heading a {
    flex: 0 0 auto;
    color: #ea580c;
    font-weight: 900;
}

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

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

.movie-card__link {
    display: block;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: 22px;
    background: var(--color-card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card__link:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: var(--shadow-card);
    transform: translateY(-6px);
}

.movie-card__cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #fef3c7, #fdba74);
}

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

.movie-card__link:hover img {
    transform: scale(1.08);
}

.movie-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.58) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card__link:hover .movie-card__cover::after {
    opacity: 1;
}

.movie-card__badge,
.movie-card__year {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.movie-card__badge {
    left: 12px;
    background: rgba(146, 64, 14, 0.88);
}

.movie-card__year {
    right: 12px;
    background: rgba(17, 24, 39, 0.72);
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #78350f;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: all 0.25s ease;
}

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

.movie-card__body {
    padding: 18px;
}

.movie-card__body h3,
.movie-card__body h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card__body p {
    min-height: 46px;
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 12px;
}

.movie-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-card__tags span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #92400e;
    background: #fff7ed;
    font-size: 12px;
    font-weight: 700;
}

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

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: var(--shadow-card);
    background: #421407;
}

.feature-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.86));
}

.feature-card__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 24px;
}

.feature-card__body span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f59e0b;
    font-size: 12px;
    font-weight: 900;
}

.feature-card__body h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.feature-card__body p {
    margin: 0;
    color: #fed7aa;
    line-height: 1.7;
}

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

.category-tile {
    display: block;
    min-height: 168px;
    padding: 22px;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #92400e, #ea580c 70%, #f59e0b);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile h2,
.category-tile h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 900;
}

.category-tile p {
    margin: 0;
    color: #ffedd5;
    line-height: 1.7;
}

.category-tile span {
    display: inline-flex;
    margin-top: 18px;
    color: #fef3c7;
    font-weight: 900;
}

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

.ranking-item__link {
    display: grid;
    grid-template-columns: 46px 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item__link:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.ranking-item__number {
    color: #ea580c;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.ranking-item img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    background: #fef3c7;
}

.ranking-item h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.32;
}

.ranking-item p {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-item small {
    color: #9ca3af;
}

.page-hero {
    margin: 34px 0 28px;
    padding: 48px;
    border-radius: 28px;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.38), transparent 32%), linear-gradient(135deg, #78350f 0%, #9a3412 52%, #ea580c 100%);
    box-shadow: var(--shadow-card);
}

.page-hero h1 {
    max-width: 860px;
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #ffedd5;
    font-size: 18px;
    line-height: 1.85;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(251, 191, 36, 0.26);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #f1d6b8;
    border-radius: 14px;
    outline: none;
    color: #374151;
    background: #fffaf4;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 26px 0 18px;
    color: #9ca3af;
    font-size: 14px;
}

.breadcrumb a {
    color: #ea580c;
    font-weight: 800;
}

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

.detail-card,
.player-card,
.related-card,
.text-card {
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
}

.detail-card__poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: #fef3c7;
}

.detail-card__poster img {
    height: 100%;
    object-fit: cover;
}

.detail-card h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.12;
    font-weight: 900;
}

.detail-card__lead {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #92400e;
    background: #fff7ed;
    font-weight: 800;
}

.player-card {
    margin-top: 28px;
    padding: 22px;
}

.player-card h2,
.text-card h2,
.related-card h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

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

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #111827;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #78350f;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.54));
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.play-overlay span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    font-size: 34px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.play-overlay.is-hidden {
    pointer-events: none;
    opacity: 0;
}

.text-card {
    margin-top: 28px;
    padding: 26px;
}

.text-card p {
    margin: 0 0 18px;
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

.related-card {
    padding: 20px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.compact-card:hover {
    background: #fff7ed;
}

.compact-card img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    background: #fef3c7;
}

.compact-card span {
    color: #111827;
    font-weight: 900;
    line-height: 1.45;
}

.site-footer {
    margin-top: 68px;
    color: #ffffff;
    background: linear-gradient(90deg, #78350f 0%, #9a3412 52%, #78350f 100%);
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
    gap: 34px;
}

.site-footer p {
    max-width: 520px;
    color: #ffedd5;
    line-height: 1.8;
}

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

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 10px;
}

.site-footer a {
    color: #ffedd5;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer__bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fde68a;
    font-size: 14px;
}

.is-hidden-by-filter {
    display: none !important;
}

@media (max-width: 1080px) {
    .site-header__inner {
        gap: 18px;
    }

    .site-nav {
        display: none;
    }

    .header-search {
        width: min(360px, 42vw);
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

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

    .related-card {
        order: 2;
    }
}

@media (max-width: 820px) {
    .site-header__inner {
        height: auto;
        min-height: 66px;
        padding: 12px 18px;
        flex-wrap: wrap;
    }

    .header-search {
        order: 4;
        width: 100%;
        margin-left: 0;
    }

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

    .hero-slide__content {
        padding: 72px 20px 100px;
    }

    .feature-strip,
    .ranking-list,
    .site-footer__inner,
    .detail-card,
    .filter-bar {
        grid-template-columns: 1fr;
    }

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

    .detail-card__poster {
        max-width: 280px;
    }

    .page-hero {
        padding: 32px 24px;
    }
}

@media (max-width: 560px) {
    .site-logo__text strong {
        font-size: 17px;
    }

    .page-main {
        padding: 28px 16px 0;
    }

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

    .ranking-item__link {
        grid-template-columns: 38px 72px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

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

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