:root {
    --page-bg: #f9fafb;
    --text-main: #111827;
    --text-soft: #4b5563;
    --text-muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --primary: #ea580c;
    --primary-light: #f97316;
    --primary-dark: #c2410c;
    --amber: #f59e0b;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    --shadow-soft: 0 10px 26px rgba(17, 24, 39, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #fff7ed 0, var(--page-bg) 320px, #f3f4f6 100%);
    color: var(--text-main);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), #dc2626);
    box-shadow: 0 12px 28px rgba(194, 65, 12, 0.22);
}

.site-header-inner {
    width: min(1280px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

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

.site-nav a,
.mobile-nav a {
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover {
    color: #fde68a;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.14);
}

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

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    right: 24px;
    bottom: 72px;
    z-index: 2;
    max-width: 720px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.92);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.04;
    font-weight: 900;
    text-shadow: 0 20px 44px rgba(0, 0, 0, 0.6);
}

.hero p {
    max-width: 650px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.card-tags span,
.inline-meta span {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span,
.detail-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.card-action,
.rank-play,
.quick-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-button {
    min-height: 50px;
    padding: 0 28px;
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.36);
}

.primary-button:hover,
.card-action:hover,
.rank-play:hover,
.quick-search button:hover {
    transform: translateY(-2px) scale(1.02);
    background: var(--primary-dark);
    box-shadow: 0 18px 36px rgba(194, 65, 12, 0.32);
}

.ghost-button {
    min-height: 50px;
    padding: 0 24px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.ghost-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.23);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    font-size: 32px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: var(--primary-light);
}

.intro-panel,
.page-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.intro-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: center;
    margin-top: -36px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.intro-panel h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.18;
    color: var(--text-main);
}

.intro-panel p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

.quick-search,
.filter-form {
    display: grid;
    gap: 12px;
}

.quick-search {
    grid-template-columns: minmax(0, 1fr) 110px;
}

.quick-search input,
.filter-form input,
.filter-form select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    background: #ffffff;
    color: var(--text-main);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.filter-form input:focus,
.filter-form select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.quick-search button {
    color: #ffffff;
    background: var(--primary);
}

.page-shell {
    padding: 54px 0 74px;
}

.top-gap {
    padding-top: 42px;
}

.content-section {
    padding: 28px;
    margin-bottom: 38px;
    border: 1px solid rgba(229, 231, 235, 0.84);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.flat-section {
    height: 100%;
}

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

.section-head h2 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-head a {
    color: var(--primary);
    font-weight: 800;
}

.section-head a:hover {
    color: var(--primary-dark);
}

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

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 24px 44px rgba(17, 24, 39, 0.14);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7c2d12);
}

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

.movie-card:hover .poster-link img,
.category-card:hover img,
.category-overview-link:hover img {
    transform: scale(1.06);
}

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.62);
    font-size: 12px;
    font-weight: 800;
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.card-tags span {
    color: var(--primary-dark);
    background: #ffedd5;
}

.card-content h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.card-content h2 a:hover,
.rank-info h2 a:hover {
    color: var(--primary);
}

.card-content p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.58;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-action {
    min-height: 38px;
    margin-top: auto;
    color: #ffffff;
    background: var(--primary);
}

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

.category-card {
    position: relative;
    min-height: 188px;
    overflow: hidden;
    border-radius: 22px;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow-soft);
}

.category-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0, rgba(0, 0, 0, 0.16) 100%);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 188px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card span,
.category-card small {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 1;
}

.category-card span {
    bottom: 50px;
    font-size: 22px;
    font-weight: 900;
}

.category-card small {
    bottom: 18px;
    color: #e5e7eb;
    line-height: 1.45;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 28px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 42px 74px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
}

.rank-row:hover {
    transform: translateY(-3px);
}

.rank-index {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #dc2626);
    font-weight: 900;
}

.rank-thumb {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: #111827;
}

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

.rank-info h2 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.32;
}

.rank-info p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.inline-meta span {
    color: #92400e;
    background: #fef3c7;
}

.rank-play {
    min-height: 36px;
    padding: 0 14px;
    color: #ffffff;
    background: var(--primary);
}

.large-rank-list .rank-row {
    grid-template-columns: 56px 96px minmax(0, 1fr) auto;
}

.page-title-panel {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    padding: 38px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #7c2d12 48%, var(--primary) 100%);
    box-shadow: var(--shadow);
}

.page-title-panel > p:first-child {
    margin: 0 0 10px;
    color: #fed7aa;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.page-title-panel h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
}

.page-title-panel > p:last-child {
    max-width: 780px;
    margin: 18px 0 0;
    color: #f3f4f6;
    font-size: 17px;
    line-height: 1.8;
}

.title-line {
    width: 82px;
    height: 5px;
    margin-top: 20px;
    border-radius: 999px;
    background: var(--primary-light);
}

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

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

.breadcrumb.light {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
}

.breadcrumb.light a {
    color: #fed7aa;
}

.filter-form {
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 210px));
    margin-bottom: 24px;
}

.filter-form:not(.wide) {
    grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(150px, 210px));
}

.filter-empty {
    display: none;
    padding: 28px;
    margin-bottom: 20px;
    border-radius: 18px;
    color: var(--text-soft);
    background: #fff7ed;
    text-align: center;
    font-weight: 800;
}

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

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

.category-overview-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-overview-link {
    display: grid;
    grid-template-columns: 46% minmax(0, 1fr);
    min-height: 260px;
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    overflow: hidden;
    background: #111827;
}

.category-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-overview-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.category-overview-body h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.category-overview-body p {
    margin: 0 0 22px;
    color: var(--text-muted);
    line-height: 1.7;
}

.category-overview-body span {
    color: var(--primary);
    font-weight: 900;
}

.detail-page {
    background: #f3f4f6;
}

.detail-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #ffffff;
    background: #000000;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
    transform: scale(1.05);
}

.detail-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.98) 0, rgba(17, 24, 39, 0.62) 48%, rgba(17, 24, 39, 0.42) 100%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 72px;
}

.detail-intro {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

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

.detail-kicker {
    margin: 0 0 12px;
    color: #fed7aa;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.detail-copy h1 {
    max-width: 840px;
    margin: 0 0 18px;
    font-size: clamp(38px, 5.8vw, 72px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 820px;
    margin: 24px 0 28px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

.detail-shell {
    margin-top: -72px;
    position: relative;
    z-index: 5;
}

.player-section {
    background: #111827;
    color: #ffffff;
}

.player-section .section-head h2 {
    color: #ffffff;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.26));
    cursor: pointer;
}

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

.play-circle {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary);
    font-size: 34px;
    box-shadow: 0 18px 36px rgba(234, 88, 12, 0.36);
    transition: transform 0.25s ease, background 0.25s ease;
}

.player-overlay:hover .play-circle {
    transform: scale(1.08);
    background: var(--primary-light);
}

.detail-text h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

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

.detail-text p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.95;
}

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

.footer-grid {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 38px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
}

.footer-logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.site-footer p {
    max-width: 420px;
    margin: 0;
    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:hover {
    color: #fb923c;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    text-align: center;
}

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

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

    .intro-panel,
    .split-layout,
    .footer-grid,
    .detail-intro {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(320px, 100%);
    }

    .filter-form,
    .filter-form:not(.wide) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .menu-toggle {
        display: block;
    }

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

    .hero {
        height: 540px;
    }

    .hero-content {
        left: 20px;
        bottom: 64px;
    }

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

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

    .hero-arrow {
        display: none;
    }

    .intro-panel,
    .content-section,
    .page-title-panel {
        padding: 22px;
    }

    .quick-search,
    .filter-form,
    .filter-form:not(.wide) {
        grid-template-columns: 1fr;
    }

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

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

    .category-overview-link {
        grid-template-columns: 1fr;
    }

    .category-collage {
        min-height: 210px;
    }

    .rank-row,
    .large-rank-list .rank-row {
        grid-template-columns: 38px 68px minmax(0, 1fr);
    }

    .rank-play {
        grid-column: 2 / -1;
        width: fit-content;
    }

    .detail-hero {
        min-height: 720px;
    }

    .detail-hero-inner {
        padding-top: 30px;
    }

    .detail-copy h1 {
        font-size: 38px;
    }

    .footer-grid {
        gap: 26px;
    }
}

@media (max-width: 520px) {
    .site-header-inner,
    .intro-panel,
    .page-shell,
    .footer-grid,
    .footer-bottom,
    .detail-hero-inner {
        width: min(100% - 20px, 1280px);
    }

    .site-logo,
    .footer-logo {
        font-size: 18px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

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

    .hero {
        height: 520px;
    }

    .hero-content {
        right: 18px;
    }

    .card-content h2 {
        font-size: 17px;
    }

    .detail-poster {
        width: 220px;
    }
}
