:root {
    --red-600: #dc2626;
    --red-500: #ef4444;
    --red-50: #fef2f2;
    --amber-500: #f59e0b;
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-200: #e7e5e4;
    --stone-100: #f5f5f4;
    --stone-50: #fafaf9;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.12);
    --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.2);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--stone-800);
    background: var(--stone-50);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--stone-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.header-inner {
    max-width: var(--container);
    height: 66px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-icon,
.footer-logo span {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: var(--white);
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
}

.brand-text strong {
    display: block;
    color: var(--stone-800);
    font-size: 20px;
    line-height: 1.05;
}

.brand-text small {
    display: block;
    color: var(--stone-500);
    font-size: 12px;
    margin-top: 4px;
}

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

.nav-link {
    color: var(--stone-600);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red-600);
}

.header-search {
    position: relative;
    width: 260px;
}

.header-search input,
.mobile-search input,
.home-search input,
.filter-controls input,
.filter-controls select {
    width: 100%;
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    background: var(--stone-50);
    color: var(--stone-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    padding: 10px 14px 10px 38px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--stone-400);
    pointer-events: none;
}

.header-search input:focus,
.mobile-search input:focus,
.home-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: var(--red-500);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
    background: var(--white);
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--stone-200);
    padding: 14px 20px 20px;
    background: var(--white);
}

.mobile-nav.open {
    display: grid;
    gap: 10px;
}

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--stone-600);
    font-weight: 700;
}

.mobile-nav a:hover {
    color: var(--red-600);
    background: var(--red-50);
}

.mobile-search input {
    padding: 11px 14px;
}

.hero {
    position: relative;
    min-height: 72vh;
    background: var(--stone-900);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(239, 68, 68, 0.35), transparent 30%),
        linear-gradient(90deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.48) 45%, rgba(12, 10, 9, 0.12)),
        linear-gradient(0deg, rgba(12, 10, 9, 0.94), transparent 42%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - var(--container)) / 2));
    right: 24px;
    bottom: 86px;
    max-width: 760px;
    color: var(--white);
}

.hero-kicker,
.detail-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--red-500);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.hero p {
    max-width: 680px;
    margin: 0 0 18px;
    color: var(--stone-200);
    font-size: clamp(16px, 2vw, 21px);
}

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

.hero-meta span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--stone-100);
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.hero-actions,
.detail-title-row,
.prev-next {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button,
.home-search button,
.filter-controls button,
.ranking-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.home-search button:hover,
.filter-controls button:hover,
.ranking-more:hover {
    transform: translateY(-1px);
}

.button-primary,
.home-search button,
.filter-controls button,
.ranking-more {
    color: var(--white);
    background: var(--red-500);
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.28);
}

.button-primary:hover,
.home-search button:hover,
.filter-controls button:hover,
.ranking-more:hover {
    background: var(--red-600);
}

.button-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-control {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.45);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-1px);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

.hero-dot.active {
    width: 34px;
    background: var(--amber-500);
}

.quick-search-panel,
.category-strip,
.content-section,
.page-main,
.detail-layout,
.detail-main > .content-section,
.ranking-list-section {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.quick-search-panel {
    margin-top: -42px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.home-search label {
    display: block;
    margin-bottom: 8px;
    color: var(--stone-500);
    font-size: 13px;
    font-weight: 800;
}

.home-search div {
    display: flex;
    gap: 12px;
}

.home-search input {
    padding: 13px 16px;
}

.quick-stats {
    display: flex;
    gap: 16px;
    color: var(--stone-500);
    font-size: 13px;
    white-space: nowrap;
}

.quick-stats strong {
    display: block;
    color: var(--red-600);
    font-size: 26px;
    line-height: 1;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding-top: 34px;
    padding-bottom: 10px;
}

.category-chip {
    padding: 18px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-chip:hover {
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-chip strong,
.category-chip span {
    display: block;
}

.category-chip strong {
    color: var(--stone-800);
    font-size: 16px;
}

.category-chip span {
    color: var(--stone-500);
    font-size: 13px;
    margin-top: 4px;
}

.content-section {
    padding-top: 50px;
    padding-bottom: 20px;
}

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

.section-heading > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 12px;
}

.section-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--red-50);
    color: var(--red-600);
}

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

.section-heading p {
    grid-column: 2;
    margin: 0;
    color: var(--stone-500);
    font-size: 14px;
}

.section-more {
    color: var(--red-600);
    font-weight: 800;
}

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

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

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

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.movie-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--stone-200);
}

.large-card .movie-poster {
    aspect-ratio: 16 / 9;
}

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

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

.poster-badge,
.poster-year {
    position: absolute;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.poster-badge {
    left: 12px;
    background: var(--red-500);
}

.poster-year {
    right: 12px;
    background: rgba(0, 0, 0, 0.72);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    padding: 42px 14px 14px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
}

.poster-shade h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.25;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.poster-shade p {
    margin: 0;
    color: var(--stone-200);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.movie-card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0;
    overflow: hidden;
    color: var(--stone-600);
    font-size: 14px;
    line-height: 1.7;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.tag-row span {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--stone-100);
    color: var(--stone-600);
    font-size: 12px;
    font-weight: 700;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.ranking-panel {
    position: sticky;
    top: 90px;
    align-self: start;
    padding: 22px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(160deg, var(--stone-900), #3f1f1f 62%, var(--stone-950));
    box-shadow: var(--shadow-lg);
}

.ranking-heading span {
    color: var(--amber-500);
    font-weight: 900;
    letter-spacing: 0.2em;
}

.ranking-heading h2 {
    margin: 4px 0 16px;
    font-size: 26px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 34px 56px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-number {
    color: var(--amber-500);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ranking-item img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}

.ranking-title,
.ranking-meta {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-title {
    color: var(--white);
    font-weight: 800;
}

.ranking-meta {
    grid-column: 3;
    color: var(--stone-400);
    font-size: 12px;
}

.ranking-more {
    width: 100%;
    margin-top: 14px;
}

.page-main {
    padding-top: 32px;
    padding-bottom: 50px;
}

.page-hero {
    margin-bottom: 30px;
    padding: 42px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(239, 68, 68, 0.38), transparent 28%),
        linear-gradient(135deg, var(--stone-900), #32201e 58%, var(--stone-800));
    box-shadow: var(--shadow-lg);
}

.page-hero h1 {
    margin: 16px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--stone-200);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
    color: var(--stone-300);
    font-size: 14px;
}

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

.breadcrumb em {
    font-style: normal;
    color: var(--stone-500);
}

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

.category-overview-card {
    overflow: hidden;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 118px;
    background: var(--stone-200);
}

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

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

.category-overview-body h2 {
    margin: 0 0 6px;
    color: var(--stone-800);
}

.category-overview-body p {
    margin: 0 0 10px;
    color: var(--stone-600);
}

.category-overview-body span {
    color: var(--red-600);
    font-weight: 800;
}

.filter-panel {
    padding: 24px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 160px 160px auto;
    gap: 12px;
}

.search-controls {
    grid-template-columns: minmax(240px, 1fr) 150px 150px 160px auto;
}

.filter-controls input,
.filter-controls select {
    padding: 12px 14px;
}

.filter-count {
    margin: 16px 0 22px;
    color: var(--stone-500);
    font-weight: 700;
}

.filter-count span {
    color: var(--red-600);
}

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

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

.detail-hero {
    padding: 24px 20px 0;
    background: var(--stone-900);
}

.detail-hero .breadcrumb {
    max-width: var(--container);
    margin: 0 auto 18px;
}

.player-shell {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: #000;
    box-shadow: var(--shadow-lg);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 10px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--red-500);
    box-shadow: 0 16px 36px rgba(239, 68, 68, 0.42);
    font-size: 30px;
}

.play-overlay strong {
    font-size: 18px;
    letter-spacing: 0.06em;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    padding-top: 34px;
}

.detail-content,
.detail-side {
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.detail-content {
    padding: 28px;
}

.detail-title-row {
    justify-content: space-between;
    align-items: flex-start;
}

.detail-content h1 {
    margin: 12px 0 0;
    color: var(--stone-800);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

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

.detail-meta span {
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--stone-100);
    color: var(--stone-600);
    font-weight: 800;
    font-size: 13px;
}

.detail-tags {
    margin-bottom: 20px;
}

.detail-one-line {
    padding: 18px;
    border-left: 4px solid var(--red-500);
    border-radius: 14px;
    background: var(--red-50);
    color: var(--stone-700);
    font-size: 17px;
    font-weight: 700;
}

.detail-content h2 {
    margin: 26px 0 10px;
    color: var(--stone-800);
    font-size: 22px;
}

.detail-content p {
    color: var(--stone-700);
}

.prev-next {
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--stone-200);
}

.prev-next a {
    color: var(--red-600);
    font-weight: 800;
}

.detail-side {
    overflow: hidden;
    align-self: start;
}

.detail-side > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--stone-200);
}

.side-info {
    padding: 20px;
}

.side-info h2 {
    margin: 0 0 14px;
}

.side-info dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    margin: 0;
    font-size: 14px;
}

.side-info dt {
    color: var(--stone-500);
    font-weight: 800;
}

.side-info dd {
    margin: 0;
    color: var(--stone-800);
}

.side-info a {
    color: var(--red-600);
    font-weight: 800;
}

.ranking-list-section h2 {
    margin-top: 0;
}

.ranking-list {
    overflow: hidden;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.ranking-row {
    display: grid;
    grid-template-columns: 60px 74px minmax(160px, 1fr) 90px 220px;
    gap: 14px;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--stone-200);
}

.ranking-row:first-child {
    border-top: 0;
}

.ranking-row:hover {
    background: var(--stone-50);
}

.ranking-row img {
    width: 74px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.ranking-row strong,
.ranking-row small {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-row em {
    color: var(--red-600);
    font-style: normal;
    font-weight: 800;
}

.ranking-row small {
    color: var(--stone-500);
}

.site-footer {
    margin-top: 60px;
    color: var(--stone-300);
    background: var(--stone-900);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 46px 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 34px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--white);
    font-size: 18px;
}

.footer-inner h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 16px;
}

.footer-inner p,
.footer-inner ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--stone-400);
    font-size: 14px;
}

.footer-inner li + li {
    margin-top: 8px;
}

.footer-inner a:hover {
    color: var(--red-500);
}

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

    .header-search {
        margin-left: auto;
    }

    .mobile-menu-button {
        display: flex;
    }

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

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

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

    .ranking-panel {
        position: static;
    }

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

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

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

@media (max-width: 760px) {
    .header-inner {
        height: auto;
        min-height: 64px;
        gap: 12px;
    }

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

    .header-search {
        display: none;
    }

    .hero {
        min-height: 76vh;
    }

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

    .hero-control {
        display: none;
    }

    .quick-search-panel {
        grid-template-columns: 1fr;
        margin-top: 0;
        border-radius: 0;
    }

    .home-search div {
        flex-direction: column;
    }

    .quick-stats {
        justify-content: space-between;
        white-space: normal;
    }

    .category-strip,
    .category-overview-grid,
    .movie-grid,
    .large-grid,
    .all-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading p {
        grid-column: 1 / -1;
    }

    .page-hero {
        padding: 28px 22px;
    }

    .filter-controls,
    .search-controls {
        grid-template-columns: 1fr;
    }

    .detail-content {
        padding: 22px;
    }

    .detail-title-row {
        display: block;
    }

    .detail-title-row .button {
        margin-top: 16px;
    }

    .ranking-row {
        grid-template-columns: 44px 64px minmax(0, 1fr);
    }

    .ranking-row em,
    .ranking-row small {
        grid-column: 3;
    }

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