* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    color: #1f2933;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 28%, #fffaf0 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 251, 235, 0.9);
    border-bottom: 1px solid rgba(251, 146, 60, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(154, 52, 18, 0.08);
}

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

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

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 16px 36px rgba(249, 115, 22, 0.32);
}

.brand-text strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #c2410c;
}

.brand-text small {
    display: block;
    margin-top: 3px;
    color: #7c2d12;
    font-size: 12px;
}

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

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    color: #4b5563;
    transition: 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ea580c;
    background: #ffedd5;
}

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

.top-search input,
.filter-panel input,
.search-page-box input,
.quick-search-box input {
    width: 100%;
    border: 2px solid #fed7aa;
    color: #374151;
    background: #ffffff;
    border-radius: 16px;
    outline: none;
    transition: 0.22s ease;
}

.top-search input {
    width: 180px;
    padding: 10px 14px;
}

.top-search input:focus,
.filter-panel input:focus,
.search-page-box input:focus,
.quick-search-box input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.top-search button,
.quick-search-box button {
    border: 0;
    padding: 10px 16px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.22);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: #c2410c;
    background: #ffedd5;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: radial-gradient(circle at 18% 20%, rgba(251, 191, 36, 0.24), transparent 32%), linear-gradient(135deg, #fff7ed, #fffbeb 48%, #fff1e5);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.75), rgba(255, 237, 213, 0.34)), radial-gradient(circle at 72% 28%, rgba(249, 115, 22, 0.2), transparent 32%);
}

.hero-inner {
    position: relative;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: 56px;
    align-items: center;
    padding: 58px 0 78px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 34px -80px 40px 42%;
    border-radius: 36px;
    background-image: linear-gradient(90deg, rgba(255, 247, 237, 0.12), rgba(17, 24, 39, 0.32)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.08);
    opacity: 0.2;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ea580c;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.04;
    color: #111827;
    letter-spacing: -0.05em;
}

.hero p {
    margin: 0;
    max-width: 620px;
    color: #4b5563;
    font-size: 20px;
}

.hero-tags,
.detail-tags,
.tag-row,
.movie-meta-row,
.hero-actions,
.detail-actions,
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    border-radius: 999px;
    padding: 6px 11px;
    color: #9a3412;
    background: rgba(255, 237, 213, 0.86);
    border: 1px solid rgba(251, 146, 60, 0.28);
    font-size: 13px;
    font-weight: 700;
}

.hero-actions,
.detail-actions {
    margin-top: 28px;
}

.primary-button,
.ghost-button,
.page-hero-actions a,
.cta-band a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 900;
    transition: 0.24s ease;
}

.primary-button,
.cta-band a {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.28);
}

.ghost-button,
.page-hero-actions a {
    color: #9a3412;
    background: #ffffff;
    border: 2px solid #fed7aa;
}

.primary-button:hover,
.ghost-button:hover,
.page-hero-actions a:hover,
.cta-band a:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    z-index: 2;
    width: min(390px, 100%);
    justify-self: center;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(124, 45, 18, 0.28);
    background: linear-gradient(135deg, #fdba74, #f97316);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(17, 24, 39, 0.45));
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 34px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 42px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #fed7aa;
    cursor: pointer;
    transition: 0.22s ease;
}

.hero-dots button.active {
    width: 66px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.quick-search-section {
    margin-top: -42px;
    position: relative;
    z-index: 8;
}

.quick-search-box {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 0.9fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(251, 146, 60, 0.2);
    box-shadow: 0 28px 80px rgba(124, 45, 18, 0.13);
    backdrop-filter: blur(18px);
}

.quick-search-box h2,
.section-heading h2,
.section-title-row h2,
.page-hero h1,
.detail-info h1,
.detail-article h2,
.info-card h2 {
    margin: 0;
    color: #111827;
    line-height: 1.15;
}

.quick-search-box h2 {
    font-size: 28px;
}

.quick-search-box p,
.section-heading p,
.page-hero p,
.category-tile p,
.category-overview-body p,
.detail-one-line,
.detail-article p,
.info-card dd,
.site-footer p {
    color: #5f6b7a;
}

.quick-search-box form {
    display: flex;
    gap: 12px;
}

.quick-search-box input {
    padding: 14px 16px;
}

.section-block {
    padding: 72px 0;
}

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

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

.section-title-row h2,
.section-heading h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 40px);
}

.text-link {
    color: #ea580c;
    font-weight: 900;
}

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

.category-tile,
.category-overview-card,
.movie-card,
.ranking-panel,
.info-card,
.detail-article,
.filter-panel,
.search-page-box {
    background: #ffffff;
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 18px 50px rgba(124, 45, 18, 0.08);
}

.category-tile {
    padding: 20px;
    border-radius: 24px;
    transition: 0.24s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(124, 45, 18, 0.14);
}

.category-tile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.category-tile-head span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 15px;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.category-tile-head a,
.category-more {
    color: #ea580c;
    font-weight: 900;
}

.category-tile h3,
.movie-card h3,
.category-overview-body h2 {
    margin: 0 0 10px;
    color: #111827;
}

.category-mini-links,
.category-overview-links {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.category-mini-links a,
.category-overview-links a {
    color: #7c2d12;
    font-size: 14px;
    font-weight: 700;
}

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

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

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

.movie-card {
    border-radius: 24px;
    overflow: hidden;
    transition: 0.24s ease;
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #f97316);
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: 0.24s ease;
}

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

.movie-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.9);
    font-size: 12px;
    font-weight: 900;
}

.movie-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.88);
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: 0.24s ease;
}

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

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

.movie-card-kicker {
    margin-bottom: 8px;
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
}

.movie-card h3 {
    font-size: 19px;
    line-height: 1.3;
}

.movie-card h3 a:hover {
    color: #ea580c;
}

.movie-line {
    min-height: 44px;
    margin: 0 0 14px;
    color: #5f6b7a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-meta-row {
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    font-size: 12px;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.ranking-panel {
    border-radius: 26px;
    padding: 20px;
}

.sticky-panel {
    position: sticky;
    top: 100px;
}

.ranking-panel-title {
    margin-bottom: 12px;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.ranking-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #ffedd5;
}

.ranking-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    font-weight: 900;
}

.ranking-title {
    color: #111827;
    font-weight: 900;
    line-height: 1.25;
}

.ranking-meta {
    grid-column: 2;
    margin-top: -6px;
    color: #6b7280;
    font-size: 13px;
}

.cta-band {
    padding: 72px 0;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #f97316, #f59e0b, #ea580c);
}

.cta-band h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-band p {
    margin: 0 auto 28px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.cta-band a {
    color: #ea580c;
    background: #ffffff;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 84px;
    background: radial-gradient(circle at 16% 10%, rgba(251, 191, 36, 0.3), transparent 32%), linear-gradient(135deg, #fff7ed, #ffedd5);
}

.page-hero-inner {
    text-align: center;
}

.page-hero h1 {
    margin-top: 18px;
    font-size: clamp(36px, 6vw, 62px);
}

.page-hero p {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 18px;
}

.page-hero-actions {
    justify-content: center;
    margin-top: 28px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    border-radius: 28px;
    overflow: hidden;
    transition: 0.24s ease;
}

.category-cover {
    position: relative;
    min-height: 260px;
    background: linear-gradient(135deg, #fed7aa, #f97316);
}

.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}

.category-cover span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.category-overview-body {
    padding: 24px;
}

.category-more {
    display: inline-block;
    margin-top: 16px;
}

.filter-panel,
.search-page-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 24px;
}

.filter-panel input,
.search-page-box input {
    padding: 15px 16px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chips button {
    border: 2px solid #fed7aa;
    border-radius: 999px;
    padding: 9px 14px;
    color: #9a3412;
    background: #ffffff;
    cursor: pointer;
    font-weight: 800;
    transition: 0.22s ease;
}

.filter-chips button.active,
.filter-chips button:hover {
    color: #ffffff;
    border-color: #f97316;
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.empty-state {
    display: none;
    margin: 34px 0 0;
    padding: 26px;
    color: #9a3412;
    text-align: center;
    border-radius: 22px;
    background: #ffedd5;
    font-weight: 900;
}

.empty-state.is-visible {
    display: block;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
}

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

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 220px 1fr;
}

.movie-card-horizontal .movie-poster img {
    height: 100%;
    min-height: 250px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.9)), var(--detail-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.08);
}

.detail-hero-inner {
    position: relative;
    padding: 34px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fdba74;
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #f97316);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-info h1 {
    margin-top: 18px;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
}

.detail-one-line {
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.detail-tags {
    margin-top: 22px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #0f172a;
    box-shadow: 0 26px 72px rgba(15, 23, 42, 0.26);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.play-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.72));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-layer span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.38);
    font-size: 30px;
}

.play-layer strong {
    max-width: min(80%, 620px);
    font-size: 22px;
}

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

.detail-article,
.info-card {
    margin-top: 24px;
    padding: 28px;
    border-radius: 28px;
}

.detail-article h2:not(:first-child) {
    margin-top: 28px;
}

.detail-article p {
    margin: 14px 0 0;
    font-size: 17px;
}

.info-card dl {
    margin: 16px 0 0;
}

.info-card div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #ffedd5;
}

.info-card dt {
    color: #9a3412;
    font-weight: 900;
}

.info-card dd {
    margin: 0;
}

.compact-panel {
    margin-top: 24px;
}

.site-footer {
    color: #7c2d12;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border-top: 1px solid rgba(251, 146, 60, 0.18);
}

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

.footer-brand {
    margin-bottom: 12px;
    color: #c2410c;
    font-size: 28px;
    font-weight: 900;
}

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

.site-footer a,
.site-footer span {
    display: block;
    margin-top: 8px;
    color: #9a3412;
    font-weight: 700;
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(251, 146, 60, 0.18);
    font-size: 14px;
}

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

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

    .two-column-layout,
    .ranking-layout,
    .detail-content-layout {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .nav-shell {
        flex-wrap: wrap;
        min-height: auto;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        display: none;
        flex-basis: 100%;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding-top: 10px;
    }

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

    .top-search {
        flex-basis: 100%;
        order: 4;
        margin: 0;
    }

    .top-search input {
        width: 100%;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
        align-content: center;
    }

    .hero-slide::before {
        inset: 46% -20px 28px -20px;
    }

    .hero-poster {
        width: min(260px, 78vw);
    }

    .quick-search-box {
        grid-template-columns: 1fr;
    }

    .quick-search-box form {
        flex-direction: column;
    }

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

    .category-overview-card,
    .movie-card-horizontal,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(290px, 80vw);
    }

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

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

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

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

    .hero h1,
    .detail-info h1 {
        font-size: 38px;
    }

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

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

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

    .section-block {
        padding: 52px 0;
    }

    .movie-card-horizontal .movie-poster img {
        min-height: 0;
    }
}
