:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --rose-700: #be123c;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow: 0 16px 38px rgba(190, 18, 60, 0.13);
    --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-900);
    background: linear-gradient(135deg, var(--orange-50), #fff7fb 45%, var(--rose-50));
    -webkit-font-smoothing: antialiased;
}

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

img,
video,
svg {
    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: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 228, 230, 0.9);
    box-shadow: 0 6px 20px rgba(190, 18, 60, 0.06);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.brand-icon,
.footer-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, #fb7185, #fb923c);
    box-shadow: 0 14px 26px rgba(225, 29, 72, 0.25);
}

.brand-icon svg,
.footer-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-text strong {
    display: block;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: transparent;
    background: linear-gradient(90deg, var(--rose-600), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
}

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

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

.nav-link {
    position: relative;
    color: var(--gray-700);
    font-weight: 650;
    transition: color 180ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose-600), var(--orange-600));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(280px, 24vw);
    padding: 4px;
    border: 1px solid var(--rose-100);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(225, 29, 72, 0.06);
}

.header-search input,
.mobile-search input,
.filter-input,
.filter-select {
    border: 0;
    outline: 0;
    color: var(--gray-700);
    background: transparent;
}

.header-search input {
    min-width: 0;
    flex: 1;
    padding: 8px 12px;
}

.header-search button,
.mobile-search button,
.primary-button,
.ghost-button,
.search-button {
    border: 0;
    border-radius: 999px;
    font-weight: 750;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-search button,
.mobile-search button,
.search-button,
.primary-button {
    color: #fff;
    background: linear-gradient(90deg, var(--rose-600), var(--orange-600));
    box-shadow: 0 12px 22px rgba(225, 29, 72, 0.22);
}

.header-search button {
    padding: 8px 14px;
}

.primary-button,
.ghost-button,
.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
}

.primary-button:hover,
.search-button:hover,
.header-search button:hover,
.mobile-search button:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 28px rgba(225, 29, 72, 0.25);
}

.ghost-button {
    color: var(--rose-600);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--rose-50);
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--gray-700);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--rose-100);
    background: #fff;
    padding: 12px 16px 16px;
}

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

.mobile-link {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 650;
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 18px;
    background: var(--rose-50);
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 10px;
}

.mobile-search button {
    padding: 10px 15px;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
    background: #8f1230;
}

.hero-media {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(90deg, rgba(225, 29, 72, 0.94), rgba(234, 88, 12, 0.88));
    z-index: 1;
}

.hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    z-index: 2;
    background: linear-gradient(0deg, var(--orange-50), rgba(255, 247, 237, 0));
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 58px 0 86px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffe4e6;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.13);
}

.hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;
    color: #ffe4e6;
}

.hero-copy {
    max-width: 670px;
    margin: 22px 0 30px;
    color: #fff1f2;
    font-size: 20px;
    line-height: 1.75;
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-tags a,
.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(8px);
    font-size: 14px;
}

.hero-panel {
    border-radius: 32px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 54px rgba(127, 29, 29, 0.28);
    backdrop-filter: blur(14px);
}

.hero-feature {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.13);
}

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

.hero-feature div {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 22px 22px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
}

.hero-feature strong {
    display: block;
    font-size: 24px;
}

.hero-feature small {
    display: block;
    margin-top: 6px;
    color: #ffe4e6;
}

.hero-picks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.hero-pick {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    padding: 9px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-pick:hover,
.hero-pick.is-active {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-pick img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: 14px;
}

.hero-pick strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.hero-pick small {
    display: block;
    margin-top: 4px;
    color: #ffe4e6;
    font-size: 12px;
}

.section {
    padding: 74px 0;
}

.section-tight {
    padding: 48px 0;
}

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

.section-head.center {
    display: block;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--rose-600);
    font-size: 14px;
    font-weight: 850;
}

.section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
}

.section-head h2,
.page-title h1,
.detail-info h1 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--gray-900);
}

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

.section-head p,
.page-title p {
    margin: 10px 0 0;
    color: var(--gray-600);
    line-height: 1.75;
}

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

.movie-grid.dense {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(255, 228, 230, 0.9);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(225, 29, 72, 0.24);
    box-shadow: var(--shadow);
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

.movie-card .poster-wrap {
    aspect-ratio: 4 / 3;
}

.movie-grid.dense .poster-wrap,
.related-grid .poster-wrap {
    aspect-ratio: 3 / 4;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.rating-pill,
.type-pill,
.rank-badge,
.year-pill {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}

.rating-pill {
    top: 12px;
    right: 12px;
    background: #eab308;
}

.type-pill {
    left: 12px;
    bottom: 12px;
    background: rgba(225, 29, 72, 0.9);
}

.rank-badge {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
}

.year-pill {
    right: 12px;
    bottom: 12px;
    background: rgba(17, 24, 39, 0.75);
}

.card-body {
    padding: 17px;
}

.card-body strong {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 850;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 180ms ease;
}

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

.meta-line {
    margin-top: 8px;
    overflow: hidden;
    color: var(--gray-500);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
}

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

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

.tag-row span,
.info-tags span,
.filter-chip,
.breadcrumb a,
.breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-size: 12px;
    font-weight: 700;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 184px;
    padding: 24px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
    box-shadow: var(--shadow);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.category-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -65px;
    top: -65px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(190, 18, 60, 0.24);
}

.category-card h2,
.category-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 24px;
}

.category-card p {
    position: relative;
    z-index: 2;
    margin: 12px 0 22px;
    color: #fff1f2;
    line-height: 1.65;
}

.category-card span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 800;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 48px 92px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--rose-100);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.rank-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
    font-weight: 900;
}

.rank-row img {
    width: 92px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

.rank-row strong {
    display: block;
    color: var(--gray-900);
}

.rank-row small {
    display: block;
    margin-top: 5px;
    color: var(--gray-500);
}

.rank-score {
    color: var(--orange-600);
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 52px;
    color: #fff;
    background: linear-gradient(120deg, var(--rose-600), var(--orange-600));
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% 40%;
    height: 250px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
}

.page-title {
    position: relative;
    z-index: 2;
    max-width: 840px;
}

.page-title h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
}

.page-title p {
    color: #fff1f2;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.breadcrumb a,
.breadcrumb span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 160px;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--rose-100);
    box-shadow: var(--soft-shadow);
}

.filter-input,
.filter-select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: var(--gray-50);
    color: var(--gray-700);
}

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

.detail-wrap {
    padding: 38px 0 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.panel {
    border: 1px solid var(--rose-100);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.player-card {
    overflow: hidden;
    background: #0f172a;
}

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

.site-video {
    width: 100%;
    height: 100%;
    background: #020617;
}

.video-cover-button {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #fff;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.2)),
        transparent;
    transition: opacity 180ms ease;
}

.video-cover-button span:first-child {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-600), var(--orange-600));
    box-shadow: 0 18px 38px rgba(225, 29, 72, 0.35);
    font-size: 28px;
}

.video-cover-button span:last-child {
    font-size: 18px;
    font-weight: 850;
}

.player-box.is-playing .video-cover-button {
    opacity: 0;
    pointer-events: none;
}

.detail-info {
    padding: 26px;
}

.detail-info h1 {
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 44px);
}

.detail-kicker {
    display: inline-flex;
    color: var(--rose-600);
    background: var(--rose-50);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 14px;
    font-weight: 850;
}

.detail-lead {
    margin: 14px 0 22px;
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.75;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.detail-stats span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--gray-600);
    background: var(--gray-50);
    font-weight: 700;
}

.content-block {
    margin-top: 24px;
}

.content-block h2 {
    margin: 0 0 12px;
    color: var(--gray-900);
    font-size: 23px;
}

.content-block p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.side-panel {
    position: sticky;
    top: 92px;
    padding: 20px;
}

.side-panel h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 17px;
    background: var(--gray-50);
    transition: background 180ms ease, transform 180ms ease;
}

.mini-card:hover {
    background: var(--rose-50);
    transform: translateY(-2px);
}

.mini-card img {
    width: 74px;
    height: 58px;
    object-fit: cover;
    border-radius: 13px;
    background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

.mini-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-900);
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-card small {
    display: block;
    margin-top: 4px;
    color: var(--gray-500);
}

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

.search-hero-form {
    display: flex;
    gap: 10px;
    max-width: 720px;
    margin-top: 26px;
    padding: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

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

.search-hero-form input::placeholder {
    color: #ffe4e6;
}

.search-hero-form button {
    border: 0;
    padding: 13px 22px;
    border-radius: 999px;
    color: var(--rose-600);
    background: #fff;
    font-weight: 850;
}

.site-footer {
    color: #fff;
    background: linear-gradient(135deg, #831843, #9a3412);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 52px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 21px;
}

.site-footer p {
    margin: 0;
    color: #ffe4e6;
    line-height: 1.75;
}

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

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 9px;
}

.site-footer a {
    color: #ffe4e6;
    transition: color 180ms ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffe4e6;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-button {
        display: block;
    }

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

    .hero-panel {
        max-width: 760px;
    }

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

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

    .side-panel {
        position: static;
    }
}

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

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

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

    .hero,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        padding: 46px 0 76px;
        gap: 28px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-picks,
    .movie-grid,
    .movie-grid.dense,
    .category-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section {
        padding: 50px 0;
    }

    .section-head {
        display: block;
    }

    .section-head .ghost-button {
        margin-top: 16px;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 38px 78px 1fr;
    }

    .rank-score {
        grid-column: 3;
    }

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

@media (max-width: 520px) {
    .hero-picks,
    .movie-grid,
    .movie-grid.dense,
    .category-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .hero-pick {
        grid-template-columns: 82px 1fr;
    }

    .search-hero-form {
        border-radius: 24px;
        align-items: stretch;
        flex-direction: column;
    }

    .search-hero-form input {
        min-height: 44px;
    }

    .detail-info {
        padding: 20px;
    }
}
