* {
    box-sizing: border-box;
}

:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-400: #fb7185;
    --rose-500: #f43f5e;
    --pink-50: #fdf2f8;
    --pink-500: #ec4899;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-soft: 0 18px 45px rgba(244, 63, 94, 0.12);
    --shadow-card: 0 14px 35px rgba(17, 24, 39, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.35), #ffffff 30%, rgba(255, 241, 242, 0.2));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.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.94);
    border-bottom: 1px solid rgba(251, 113, 133, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
    box-shadow: 0 10px 28px rgba(244, 63, 94, 0.32);
}

.brand-text strong,
.footer-brand strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    color: transparent;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--rose-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-text small {
    color: var(--gray-500);
    font-size: 12px;
}

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

.desktop-nav a,
.mobile-nav a {
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--rose-500);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--rose-50);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--rose-500);
    border-radius: 4px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px 24px;
    border-top: 1px solid var(--rose-100);
}

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

.hero-zone {
    position: relative;
    overflow: hidden;
    padding: 72px 0 132px;
    background: linear-gradient(135deg, #ffe4e6 0%, #fdf2f8 48%, #fff1f2 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.34;
}

.hero-glow-a {
    top: 42px;
    left: 8%;
    width: 250px;
    height: 250px;
    background: var(--rose-400);
}

.hero-glow-b {
    right: 8%;
    bottom: 24px;
    width: 340px;
    height: 340px;
    background: var(--pink-500);
}

.hero-title {
    position: relative;
    text-align: center;
}

.hero-kicker,
.page-hero span,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rose-500);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title h1 {
    margin: 12px 0 14px;
    color: transparent;
    font-size: clamp(42px, 8vw, 72px);
    line-height: 1;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--rose-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-title p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: var(--gray-600);
    font-size: 19px;
}

.hero-search,
.search-page-form {
    display: flex;
    width: min(640px, 100%);
    margin: 0 auto;
    padding: 7px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(244, 63, 94, 0.14);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
}

.hero-search input,
.search-page-form input,
.inline-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gray-800);
    padding: 13px 18px;
}

.hero-search button,
.search-page-form button,
.callout-panel a,
.featured-copy b {
    border: 0;
    color: #ffffff;
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 24px;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

.hero-card-panel {
    position: relative;
    margin-top: -88px;
    margin-bottom: 48px;
}

.featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
}

.featured-poster {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50));
}

.featured-poster img,
.poster-wrap img,
.list-thumb img,
.rank-cover img,
.top-rank-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.featured-poster:hover img,
.movie-card:hover .poster-wrap img,
.movie-list-card:hover .list-thumb img,
.top-rank-card:hover img {
    transform: scale(1.08);
}

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

.featured-copy {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: #ffffff;
}

.featured-copy em,
.type-badge,
.play-badge,
.top-rank-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: var(--rose-500);
}

.featured-copy em {
    padding: 5px 12px;
    margin-bottom: 14px;
}

.featured-copy strong {
    display: block;
    margin-bottom: 9px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.featured-copy small {
    display: block;
    max-width: 720px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
}

.featured-copy b {
    display: inline-flex;
    color: var(--rose-500);
    background: #ffffff;
    box-shadow: none;
}

.hot-panel {
    padding: 34px;
    background: linear-gradient(135deg, var(--rose-50), var(--pink-50));
}

.hot-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.hot-heading span {
    color: var(--gray-800);
    font-size: 26px;
    font-weight: 900;
}

.hot-heading a {
    color: var(--rose-500);
    font-weight: 800;
}

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

.hot-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border-radius: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hot-item:hover {
    background: #ffffff;
    transform: translateX(3px);
}

.hot-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
}

.hot-item strong {
    overflow: hidden;
    color: var(--gray-800);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot-item em {
    color: var(--gray-400);
    font-size: 12px;
    font-style: normal;
}

.category-strip,
.category-nav-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.category-strip button,
.category-nav-strip a {
    border: 0;
    color: var(--gray-600);
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-strip button:hover,
.category-strip button.is-active,
.category-nav-strip a:hover,
.category-nav-strip a.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    transform: translateY(-1px);
}

.movie-section {
    margin-bottom: 72px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 6px 0 8px;
    color: var(--gray-800);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
}

.section-heading p {
    margin: 0;
    color: var(--gray-500);
}

.inline-search {
    display: flex;
    max-width: 480px;
    margin: 0 0 24px;
    background: #ffffff;
    border: 1px solid var(--rose-100);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.wide-search {
    max-width: none;
}

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

.movie-card,
.movie-list-card,
.category-overview-card,
.text-page,
.side-card,
.detail-info-card,
.content-card,
.player-card {
    background: #ffffff;
    border: 1px solid rgba(244, 63, 94, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.movie-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.14);
}

.movie-link,
.card-body,
.poster-wrap {
    display: block;
}

.poster-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50));
}

.poster-gradient {
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient {
    opacity: 1;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.type-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
}

.card-body {
    padding: 18px;
}

.card-body strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3em;
    color: var(--gray-800);
    font-size: 18px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body small {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.15em;
    margin: 8px 0 12px;
    color: var(--gray-500);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meta-line {
    display: block;
    color: var(--gray-400);
    font-size: 13px;
}

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

.tag-line span {
    color: var(--rose-500);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--rose-50);
}

.soft-panel {
    padding: 38px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.72), rgba(253, 242, 248, 0.72));
}

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

.category-tile,
.category-overview-card > a {
    display: block;
    min-height: 178px;
    padding: 22px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(244, 63, 94, 0.16);
}

.category-tile span,
.category-overview-card span {
    color: var(--rose-500);
    font-size: 13px;
    font-weight: 900;
}

.category-tile strong,
.category-overview-card h2 {
    display: block;
    margin: 10px 0;
    color: var(--gray-800);
    font-size: 22px;
}

.category-tile em,
.category-overview-card p {
    color: var(--gray-500);
    font-size: 14px;
    font-style: normal;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 32px;
    align-items: start;
}

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

.movie-list-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.movie-list-card:hover {
    background: var(--rose-50);
    transform: translateX(3px);
}

.list-thumb {
    display: block;
    height: 92px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50));
}

.list-copy {
    display: block;
    min-width: 0;
}

.list-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-800);
    font-size: 15px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-copy small {
    display: block;
    overflow: hidden;
    margin: 5px 0;
    color: var(--gray-500);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-copy em {
    color: var(--gray-400);
    font-size: 12px;
    font-style: normal;
}

.callout-panel {
    margin-bottom: 76px;
    padding: 54px 28px;
    color: #ffffff;
    text-align: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--rose-400));
    box-shadow: 0 24px 58px rgba(244, 63, 94, 0.25);
}

.callout-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 46px);
}

.callout-panel p {
    max-width: 680px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.88);
}

.callout-panel a {
    display: inline-flex;
    color: var(--rose-500);
    background: #ffffff;
    box-shadow: none;
}

.page-hero {
    padding: 56px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--rose-400));
}

.page-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}

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

.page-hero span {
    color: rgba(255, 255, 255, 0.78);
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.crumb a:hover {
    color: #ffffff;
}

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

.category-overview-card {
    padding: 0;
    overflow: hidden;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 22px;
}

.category-samples a {
    color: var(--gray-600);
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gray-50);
}

.category-samples a:hover {
    color: var(--rose-500);
    background: var(--rose-50);
}

.category-grid-full {
    margin-bottom: 80px;
}

.top-rank-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 22px;
    margin: 48px auto;
}

.top-rank-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    color: #ffffff;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50));
    box-shadow: var(--shadow-card);
}

.top-rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.05));
}

.top-rank-card img {
    position: absolute;
    inset: 0;
}

.top-rank-card span,
.top-rank-card strong,
.top-rank-card em {
    position: absolute;
    z-index: 2;
    left: 24px;
}

.top-rank-card span {
    top: 24px;
    padding: 6px 12px;
}

.top-rank-card strong {
    right: 24px;
    bottom: 54px;
    font-size: 24px;
    line-height: 1.25;
}

.top-rank-card em {
    right: 24px;
    bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.ranking-list {
    margin-bottom: 80px;
}

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

.rank-line {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.rank-line > b {
    color: var(--rose-500);
    font-size: 22px;
    text-align: center;
}

.rank-row {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 12px 12px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.rank-cover {
    display: block;
    height: 64px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose-100), var(--pink-50));
}

.rank-info strong {
    display: block;
    overflow: hidden;
    color: var(--gray-800);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-info em,
.rank-action {
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
}

.rank-action {
    color: var(--rose-500);
    font-weight: 800;
}

.search-page-form {
    margin: 24px 0 0;
}

.search-status {
    margin-bottom: 18px;
    color: var(--gray-600);
    font-weight: 800;
}

.detail-page {
    padding: 34px 0 78px;
}

.detail-crumb {
    color: var(--gray-500);
}

.detail-crumb a:hover {
    color: var(--rose-500);
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 22px;
}

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

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000000;
}

.video-frame video,
.play-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-frame video {
    display: block;
    background: #000000;
}

.play-layer {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    z-index: 3;
}

.play-layer span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    padding-left: 6px;
    font-size: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.play-layer.is-hidden {
    opacity: 0;
    pointer-events: none;
}

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

.detail-info-card h1 {
    margin: 0 0 12px;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
}

.lead-text {
    margin: 0 0 18px;
    color: var(--gray-600);
    font-size: 17px;
}

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

.detail-meta span {
    color: var(--gray-600);
    font-weight: 800;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--gray-50);
}

.detail-tags {
    margin-top: 18px;
}

.content-card h2,
.side-card h2,
.text-page h2 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: 24px;
}

.content-card p,
.text-page p {
    margin: 0 0 14px;
    color: var(--gray-700);
    font-size: 16px;
}

.detail-side {
    position: sticky;
    top: 98px;
}

.side-card .movie-list-card {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 10px;
    box-shadow: none;
    border: 1px solid var(--gray-100);
}

.side-card .list-thumb {
    height: 76px;
}

.text-page {
    margin: 48px auto 80px;
    padding: 34px;
}

.cards-text {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.cards-text article {
    padding: 28px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.site-footer {
    border-top: 1px solid var(--rose-100);
    background: linear-gradient(180deg, var(--rose-50), #ffffff);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 34px;
    padding: 48px 0 34px;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--gray-800);
    font-size: 16px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: var(--gray-600);
    font-size: 14px;
}

.footer-grid p {
    margin: 12px 0 0;
}

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

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

.footer-grid a:hover,
.footer-bottom a:hover {
    color: var(--rose-500);
}

.footer-bottom {
    padding: 18px 0 28px;
    text-align: center;
    border-top: 1px solid var(--rose-100);
}

.is-filter-hidden {
    display: none !important;
}

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

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

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

    .detail-side {
        position: static;
    }
}

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

    .nav-toggle {
        display: inline-block;
    }

    .hero-zone {
        padding: 52px 0 112px;
    }

    .featured-card,
    .top-rank-grid,
    .category-overview-grid,
    .cards-text {
        grid-template-columns: 1fr;
    }

    .hot-panel {
        padding: 24px;
    }

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

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

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

    .rank-action {
        display: none;
    }
}

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

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

    .hero-search,
    .search-page-form {
        flex-direction: column;
        border-radius: 22px;
    }

    .hero-search button,
    .search-page-form button {
        width: 100%;
    }

    .featured-poster {
        min-height: 360px;
    }

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

    .poster-wrap {
        height: 300px;
    }

    .movie-list-card,
    .rank-row,
    .rank-row .rank-row,
    .rank-row a,
    .rank-row .rank-row {
        grid-template-columns: 1fr;
    }

    .rank-row {
        gap: 6px;
    }

    .rank-row > b {
        text-align: left;
    }

    .rank-row .rank-row {
        display: block;
    }

    .rank-row .rank-cover {
        height: 160px;
    }

    .rank-row .rank-row,
    .rank-row .rank-info,
    .rank-row .rank-action {
        display: block;
    }
}
