:root {
    --sand-50: #fbf7ef;
    --sand-100: #f4eadb;
    --sand-200: #e6d5bd;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --pink-500: #ec4899;
    --desert-500: #c08457;
    --desert-600: #a15f35;
    --white: #ffffff;
    --shadow-sand: 0 18px 50px rgba(120, 83, 47, 0.14);
    --shadow-card: 0 14px 38px rgba(41, 37, 36, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sand-50);
    color: var(--stone-800);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
    background: rgba(251, 247, 239, 0.94);
    box-shadow: 0 12px 32px rgba(41, 37, 36, 0.12);
    backdrop-filter: blur(14px);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 14px 26px rgba(225, 29, 72, 0.22);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: clamp(19px, 2vw, 25px);
    background: linear-gradient(90deg, var(--rose-600), var(--purple-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 3px;
    font-size: 12px;
    color: var(--stone-600);
}

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

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    border-radius: 99px;
    background: var(--desert-500);
    transition: right 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
}

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

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--stone-800);
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    background: rgba(251, 247, 239, 0.98);
    border-top: 1px solid var(--sand-200);
}

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

.mobile-link {
    padding: 12px 16px;
    border-radius: 14px;
    color: var(--stone-700);
    font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
    background: var(--rose-100);
    color: var(--rose-600);
}

main {
    min-height: 60vh;
}

.hero-carousel {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600) 50%, var(--pink-500));
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(28px);
    pointer-events: none;
}

.hero-glow-one {
    width: 340px;
    height: 340px;
    top: 70px;
    left: 6%;
}

.hero-glow-two {
    width: 470px;
    height: 470px;
    right: -90px;
    bottom: -80px;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

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

.hero-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.88), rgba(88, 28, 135, 0.68), rgba(225, 29, 72, 0.46));
}

.hero-slide-copy {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    bottom: 120px;
    width: min(720px, calc(100% - 64px));
    color: var(--white);
}

.hero-kicker,
.page-hero span,
.section-heading span,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: currentColor;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
}

.hero-slide h1 {
    margin: 24px 0 16px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-slide p {
    max-width: 660px;
    margin: 0 0 22px;
    font-size: clamp(17px, 2.2vw, 22px);
    color: rgba(255, 255, 255, 0.9);
}

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

.tag-row span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--rose-100);
    color: var(--rose-600);
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span,
.detail-tags span {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

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

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

.primary-button {
    color: var(--white);
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 18px 38px rgba(225, 29, 72, 0.28);
}

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

.primary-button:hover,
.ghost-button:hover,
.text-link:hover,
.light-link:hover {
    transform: translateY(-2px);
}

.full-button {
    width: 100%;
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 54px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

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

.hero-dot.active {
    width: 38px;
    background: var(--white);
}

.section-overlap {
    position: relative;
    margin-top: -72px;
    z-index: 5;
}

.section {
    padding: 80px 0;
}

.section-white {
    background: var(--white);
}

.section-soft {
    background: linear-gradient(135deg, var(--stone-50), var(--stone-100));
}

.section-glow {
    background: linear-gradient(135deg, var(--rose-50), #faf5ff);
}

.section-dark {
    background: var(--stone-900);
    color: var(--white);
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading span {
    background: linear-gradient(135deg, var(--rose-100), #f3e8ff);
    color: var(--rose-600);
}

.section-heading h2 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--stone-600);
}

.dark-heading p {
    color: rgba(255, 255, 255, 0.7);
}

.row-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.text-link {
    min-height: 40px;
    color: var(--rose-600);
    background: var(--rose-100);
}

.light-link {
    min-height: 40px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.featured-grid .featured-card:first-child {
    grid-column: 1 / -1;
}

.featured-card {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    display: block;
    border-radius: var(--radius-md);
    background: var(--stone-200);
    box-shadow: var(--shadow-sand);
}

.featured-card:first-child {
    min-height: 360px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 70%, transparent);
}

.featured-play,
.play-hover {
    position: absolute;
    display: grid;
    place-items: center;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.featured-play {
    top: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    font-size: 22px;
}

.featured-card:hover .featured-play,
.movie-card:hover .play-hover {
    opacity: 1;
    transform: scale(1);
}

.featured-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    color: var(--white);
}

.featured-content strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.14;
}

.featured-content > span:last-child {
    color: rgba(255, 255, 255, 0.84);
}

.horizontal-scroll {
    display: flex;
    gap: 22px;
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(41, 37, 36, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-card-link {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sand-200), var(--stone-200));
}

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

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

.type-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    padding: 5px 9px;
    border-radius: 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.type-badge {
    left: 12px;
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
}

.rank-badge {
    right: 12px;
    background: rgba(28, 25, 23, 0.78);
}

.play-hover {
    inset: 50% auto auto 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
}

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

.movie-card-body h3 {
    margin: 12px 0 8px;
    color: var(--stone-800);
    font-size: 18px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--rose-600);
}

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

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--stone-500);
    font-size: 12px;
}

.card-meta span:first-child {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--stone-100);
    color: var(--stone-700);
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: var(--radius-md);
    background: var(--stone-200);
    box-shadow: 0 12px 30px rgba(41, 37, 36, 0.1);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(28, 25, 23, 0.8), rgba(28, 25, 23, 0.08));
}

.category-tile:hover img {
    transform: scale(1.06);
}

.category-tile span {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: var(--white);
}

.category-tile strong,
.category-tile em {
    display: block;
}

.category-tile strong {
    margin-bottom: 6px;
    font-size: 22px;
}

.category-tile em {
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 13px;
}

.editor-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.editor-grid > .featured-card {
    min-height: 100%;
}

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

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

.ranking-item a {
    display: grid;
    grid-template-columns: 54px 84px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    color: var(--stone-800);
    box-shadow: 0 10px 28px rgba(41, 37, 36, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-dark .ranking-item a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: none;
}

.ranking-item a:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-card);
}

.ranking-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    font-weight: 900;
}

.ranking-item img {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-copy {
    min-width: 0;
}

.ranking-copy strong,
.ranking-copy em,
.ranking-copy small {
    display: block;
}

.ranking-copy strong {
    font-size: 18px;
    line-height: 1.2;
}

.ranking-copy em {
    margin: 5px 0;
    color: var(--stone-600);
    font-style: normal;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-dark .ranking-copy em,
.section-dark .ranking-copy small {
    color: rgba(255, 255, 255, 0.68);
}

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

.ranking-action {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-100);
    font-weight: 800;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600) 55%, var(--pink-500));
}

.small-hero {
    padding: 150px 0 76px;
}

.page-hero h1 {
    margin: 18px 0 10px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

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

.category-overview-card a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sand);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

.category-overview-copy {
    padding: 22px;
}

.category-overview-copy h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-overview-copy p {
    min-height: 50px;
    margin: 0 0 16px;
    color: var(--stone-600);
}

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

.filter-panel {
    position: relative;
    z-index: 2;
    margin: -32px 0 34px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sand);
    backdrop-filter: blur(14px);
}

.filter-heading {
    margin-bottom: 18px;
}

.filter-heading h2 {
    margin: 0 0 4px;
}

.filter-heading p {
    margin: 0;
    color: var(--stone-600);
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 14px;
}

.filter-grid label {
    display: grid;
    gap: 8px;
    color: var(--stone-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--stone-200);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--stone-800);
    background: var(--white);
    outline: none;
}

.filter-grid input:focus,
.filter-grid select:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
}

.empty-state {
    margin-top: 18px;
    padding: 22px;
    border-radius: var(--radius-sm);
    color: var(--stone-600);
    background: var(--stone-100);
    text-align: center;
}

.list-section {
    padding-top: 30px;
}

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

.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.36;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.9), rgba(88, 28, 135, 0.62), rgba(225, 29, 72, 0.38));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 140px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

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

.detail-title-group {
    max-width: 860px;
}

.detail-title-group h1 {
    margin: 18px 0 14px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-title-group p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

.detail-section {
    padding-top: 50px;
}

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

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

.player-card,
.detail-card,
.poster-panel {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sand);
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050505;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08));
    text-align: center;
    z-index: 2;
}

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

.player-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
    font-size: 28px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.detail-card {
    padding: 28px;
}

.detail-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.detail-card p {
    margin: 0;
    color: var(--stone-600);
    font-size: 16px;
}

.poster-panel {
    position: sticky;
    top: 96px;
    padding: 18px;
}

.poster-panel img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 18px;
    background: var(--stone-200);
}

.poster-panel dl {
    margin: 18px 0;
    display: grid;
    gap: 10px;
}

.poster-panel div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
}

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

.poster-panel dd {
    margin: 0;
    color: var(--stone-800);
}

.site-footer {
    background: var(--stone-900);
    color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
}

.footer-brand p {
    max-width: 520px;
    margin: 18px 0 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 16px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--rose-100);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1040px) {
    .four-col,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .poster-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-carousel {
        min-height: 640px;
    }

    .hero-slide-copy {
        left: 20px;
        right: 20px;
        bottom: 105px;
        width: auto;
    }

    .hero-actions,
    .row-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .featured-grid,
    .three-col,
    .four-col,
    .two-col,
    .category-grid,
    .category-overview-grid,
    .footer-inner,
    .filter-grid {
        grid-template-columns: 1fr;
    }

    .featured-card,
    .featured-card:first-child {
        min-height: 260px;
    }

    .section {
        padding: 58px 0;
    }

    .ranking-item a {
        grid-template-columns: 42px 70px 1fr;
    }

    .ranking-action {
        display: none;
    }

    .ranking-number {
        width: 38px;
        height: 38px;
    }

    .ranking-item img {
        width: 70px;
        height: 70px;
    }

    .small-hero {
        padding: 130px 0 64px;
    }

    .filter-panel {
        margin-top: -22px;
        padding: 18px;
    }

    .detail-title-group h1,
    .page-hero h1 {
        letter-spacing: -0.03em;
    }

    .detail-hero-inner {
        padding: 125px 0 55px;
    }

    .footer-inner {
        padding: 42px 0;
    }
}

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

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero-slide h1 {
        font-size: 36px;
    }

    .hero-slide p,
    .page-hero p,
    .detail-title-group p {
        font-size: 16px;
    }

    .horizontal-scroll .movie-card {
        flex-basis: 250px;
    }

    .detail-card {
        padding: 22px;
    }
}
