
:root {
    color-scheme: light;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e2e8f0;
    --red: #dc2626;
    --red-dark: #991b1b;
    --orange: #f97316;
    --gold: #fbbf24;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
    --radius: 22px;
    --radius-sm: 14px;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(127, 29, 29, 0.96), rgba(15, 23, 42, 0.96));
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(16px);
}

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

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

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    border: 0;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    padding: 10px 4px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fca5a5;
    transform: translateY(-1px);
}

.nav-drop {
    position: relative;
}

.nav-drop-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: 180px;
    display: none;
    padding: 10px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow);
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
    display: grid;
    gap: 6px;
}

.nav-drop-menu a {
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.nav-drop-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 11px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 999px;
}

.hero-section {
    min-height: 650px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.04);
}

.hero-shadow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 76% 42%, rgba(249, 115, 22, 0.12), transparent 32%), linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(127, 29, 29, 0.72), rgba(15, 23, 42, 0.32)), linear-gradient(0deg, rgba(15, 23, 42, 1), transparent 48%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 130px;
    color: #fff;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fed7aa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-content h1 {
    width: min(720px, 100%);
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.95;
    margin: 18px 0 22px;
    letter-spacing: -0.06em;
}

.hero-content p {
    width: min(640px, 100%);
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.8;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

.card-body .tag-row span {
    color: #b91c1c;
    background: #fee2e2;
    border: 0;
}

.hero-actions,
.hero-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

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

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 32px rgba(220, 38, 38, 0.28);
}

.btn.ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.hero-panel {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 40px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    justify-content: space-between;
}

.hero-search {
    display: flex;
    width: min(520px, 100%);
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 0 16px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.hero-search button {
    border: 0;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 800;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

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

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

.section {
    padding: 72px 0;
}

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

.section-head h2,
.page-hero h1,
.detail-info h1,
.story-card h2,
.detail-side h2 {
    margin: 8px 0 0;
    color: var(--dark);
    letter-spacing: -0.04em;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.text-link {
    color: var(--red);
    font-weight: 800;
}

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

.category-card,
.category-overview-card,
.story-card,
.detail-side,
.player-card,
.filter-bar {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.category-card {
    min-height: 180px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #7f1d1d 58%, #f97316);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -38px;
    top: -38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

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

.category-card span,
.category-overview-card span {
    color: #fed7aa;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
}

.category-card strong {
    position: relative;
    z-index: 2;
    font-size: 26px;
    margin: 10px 0;
}

.category-card em,
.category-overview-card p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    line-height: 1.7;
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.cover-box {
    display: block;
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111827;
}

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

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

.cover-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.76), transparent 48%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.score-pill,
.play-pill,
.rank-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.score-pill {
    right: 10px;
    top: 10px;
    min-width: 46px;
    height: 30px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-size: 13px;
}

.play-pill {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    opacity: 0;
    color: #fff;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.92);
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.rank-badge {
    left: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    color: #7c2d12;
    border-radius: 12px;
    background: #fef3c7;
}

.card-body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.card-body strong {
    color: var(--dark);
    font-size: 17px;
    line-height: 1.35;
}

.card-meta {
    color: var(--muted);
    font-size: 13px;
}

.card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    color: #475569;
    line-height: 1.55;
    font-size: 14px;
}

.compact-card .card-desc,
.compact-card .tag-row {
    display: none;
}

.ranking-strip {
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #7f1d1d 55%, #ea580c);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 40px;
    align-items: center;
}

.ranking-copy h2 {
    margin: 10px 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.05em;
}

.ranking-copy p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.mini-link {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.11);
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

.mini-link img {
    width: 78px;
    height: 106px;
    object-fit: cover;
    border-radius: 12px;
}

.mini-link strong,
.mini-link em {
    display: block;
}

.mini-link strong {
    color: inherit;
    line-height: 1.35;
}

.mini-link em {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
}

.page-hero {
    color: #fff;
    padding: 86px 0;
    background: radial-gradient(circle at 78% 22%, rgba(249, 115, 22, 0.24), transparent 32%), linear-gradient(135deg, #0f172a, #7f1d1d 64%, #0f172a);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    font-size: 18px;
}

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

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

.filter-bar {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 16px;
    padding: 18px;
    margin-bottom: 28px;
}

.filter-bar label,
.inline-search {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select,
.inline-search input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: #fff;
    outline: none;
    padding: 0 14px;
}

.filter-bar input:focus,
.filter-bar select:focus,
.inline-search input:focus {
    border-color: #fca5a5;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}

.inline-search {
    min-width: 280px;
}

.empty-state {
    display: none;
    padding: 28px;
    text-align: center;
    color: var(--muted);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.empty-state.show {
    display: block;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    padding: 22px;
}

.category-overview-card > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #991b1b, #f97316);
}

.category-overview-card h2 {
    margin: 10px 0;
    font-size: 30px;
}

.category-overview-card strong {
    margin-top: 16px;
    color: #fff7ed;
}

.category-preview-list,
.side-list {
    display: grid;
    gap: 12px;
}

.category-preview-list .mini-link,
.side-list .mini-link {
    color: var(--text);
    background: #f8fafc;
}

.category-preview-list .mini-link em,
.side-list .mini-link em {
    color: var(--muted);
}

.rank-table {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.rank-row {
    display: grid;
    grid-template-columns: 52px 58px 1fr 1.4fr 70px;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

.rank-row:hover {
    transform: translateX(5px);
}

.rank-row span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

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

.rank-row em {
    color: var(--muted);
    font-style: normal;
}

.rank-row b {
    color: var(--red);
    font-size: 18px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    color: #fff;
    background: #0f172a;
}

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

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(127, 29, 29, 0.78), rgba(15, 23, 42, 0.42)), linear-gradient(0deg, rgba(15, 23, 42, 1), transparent 55%);
}

.detail-head {
    position: relative;
    z-index: 2;
    padding: 74px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 38px;
    align-items: center;
}

.poster-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.poster-card span {
    position: absolute;
    right: 14px;
    top: 14px;
    padding: 8px 12px;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.detail-info h1 {
    color: #fff;
    font-size: clamp(40px, 6vw, 78px);
}

.lead-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.8;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

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

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

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-card video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: radial-gradient(circle at 50% 45%, rgba(220, 38, 38, 0.28), rgba(15, 23, 42, 0.78));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.36);
    font-size: 30px;
}

.player-overlay strong {
    font-size: 18px;
}

.story-card,
.detail-side {
    padding: 26px;
}

.story-card h2,
.detail-side h2 {
    font-size: 26px;
}

.story-card p {
    color: #475569;
    line-height: 2;
    font-size: 16px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #0f172a;
    padding: 52px 0 28px;
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr;
    gap: 30px;
}

.footer-grid p {
    line-height: 1.8;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: #fff;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin: 9px 0;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 22px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

@media (max-width: 860px) {
    .header-inner {
        min-height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        display: none;
        padding: 14px;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: grid;
        gap: 8px;
    }

    .nav-drop-menu {
        position: static;
        display: grid;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06);
    }

    .hero-content {
        padding-top: 96px;
    }

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

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

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

    .category-overview-grid,
    .category-overview-card,
    .filter-bar,
    .footer-grid,
    .detail-layout,
    .ranking-list {
        grid-template-columns: 1fr;
    }

    .poster-card {
        width: min(280px, 100%);
    }

    .rank-row {
        grid-template-columns: 42px 52px 1fr 54px;
    }

    .rank-row em {
        display: none;
    }
}

@media (max-width: 540px) {
    .container,
    .header-inner,
    .hero-content,
    .hero-panel,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 22px, 1180px);
    }

    .site-logo {
        font-size: 20px;
    }

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

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

    .hero-content p,
    .lead-text {
        font-size: 16px;
    }

    .section {
        padding: 52px 0;
    }

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

    .category-grid,
    .movie-grid,
    .compact-grid,
    .all-grid,
    .rank-grid,
    .wide-grid {
        grid-template-columns: 1fr;
    }

    .inline-search {
        min-width: 100%;
        width: 100%;
    }
}
