:root {
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-300: #f9a8d4;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 24px 60px rgba(219, 39, 119, 0.18);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background:
        radial-gradient(circle at top left, rgba(244, 114, 182, 0.24), transparent 34rem),
        linear-gradient(180deg, #fff7fb 0%, #ffffff 44%, #fff7fb 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(252, 231, 243, 0.9);
    background: linear-gradient(90deg, rgba(253, 242, 248, 0.96), rgba(255, 255, 255, 0.94), rgba(255, 241, 242, 0.96));
    box-shadow: 0 8px 30px rgba(219, 39, 119, 0.08);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(236, 72, 153, 0.32);
}

.brand-text,
.footer-brand {
    font-size: 1.45rem;
    color: transparent;
    background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
    background-clip: text;
    -webkit-background-clip: text;
}

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

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

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
    border-radius: 999px;
    opacity: 0;
    transform: translateY(4px);
    transition: 0.2s ease;
}

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

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

.header-search,
.mobile-search,
.quick-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.quick-search-form input,
.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid var(--pink-100);
    color: var(--gray-900);
    background: rgba(255, 255, 255, 0.92);
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input,
.mobile-search input,
.quick-search-form input {
    width: 240px;
    padding: 11px 16px;
    border-radius: 999px;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--pink-300);
    box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
}

.header-search button,
.mobile-search button,
.quick-search-form button,
.primary-button,
.small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.24);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.quick-search-form button:hover,
.primary-button:hover,
.small-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(236, 72, 153, 0.32);
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
}

.mobile-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: var(--pink-600);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 18px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.mobile-nav-link {
    color: var(--gray-700);
    font-weight: 800;
}

.hero-carousel {
    position: relative;
    width: min(100% - 32px, var(--container));
    min-height: 640px;
    margin: 34px auto 0;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
}

.hero-stage,
.hero-slide,
.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-stage {
    overflow: hidden;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 44px;
    padding: 68px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px) saturate(1.12);
    transform: scale(1.08);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(136, 19, 79, 0.64), rgba(255, 255, 255, 0.24)),
        radial-gradient(circle at 20% 20%, rgba(244, 114, 182, 0.48), transparent 28rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--white);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 12px;
    color: var(--pink-600);
    background: var(--pink-50);
    border: 1px solid var(--pink-100);
    border-radius: 999px;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-kicker {
    color: #ffe4f1;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-content h1 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.hero-content h2 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.hero-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.85;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-tags span {
    color: #ffe4f1;
    background: rgba(255, 255, 255, 0.16);
}

.tag-row span {
    color: var(--pink-600);
    background: var(--pink-50);
}

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

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    font-weight: 900;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 9px 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    border-radius: 999px;
    font-weight: 900;
}

.hero-controls {
    position: absolute;
    right: 30px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 1.7rem;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 34px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.page-main {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.page-top-space {
    padding-top: 38px;
}

.quick-search-card,
.page-hero,
.category-overview-card,
.filter-panel,
.detail-hero,
.player-section,
.detail-article,
.detail-side-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--pink-100);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.quick-search-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: center;
    margin: 34px 0 64px;
    padding: 30px;
    border-radius: var(--radius-xl);
}

.quick-search-card h2,
.page-hero h1,
.section-heading h2,
.category-overview-card h2,
.detail-summary h1,
.detail-article h2,
.detail-side-card h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.quick-search-card h2,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.quick-search-card p,
.page-hero p,
.category-overview-card p,
.section-heading p {
    color: var(--gray-500);
    line-height: 1.8;
}

.quick-search-form input {
    width: 100%;
}

.content-section {
    margin: 0 0 72px;
}

.section-heading,
.category-overview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-heading a {
    color: var(--pink-600);
    font-weight: 900;
}

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

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

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

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

.compact-grid {
    gap: 16px;
}

.horizontal-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 190px;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x proximity;
}

.movie-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    border-color: var(--pink-300);
    box-shadow: 0 22px 48px rgba(236, 72, 153, 0.16);
    transform: translateY(-6px);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--pink-50);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.72));
}

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    color: var(--white);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.rank-badge {
    top: 12px;
    left: 12px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--pink-600);
    font-size: 0.78rem;
    font-weight: 900;
}

.movie-card h3 {
    display: -webkit-box;
    min-height: 3em;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.movie-card p {
    display: -webkit-box;
    min-height: 4.65em;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.movie-card-small .movie-card-body {
    padding: 13px;
}

.movie-card-small p {
    display: none;
}

.movie-card-small h3 {
    min-height: 2.8em;
    font-size: 0.94rem;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
}

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

.category-tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.82));
}

.category-tile strong,
.category-tile em {
    position: absolute;
    left: 18px;
    z-index: 2;
    color: var(--white);
}

.category-tile strong {
    bottom: 46px;
    font-size: 1.25rem;
}

.category-tile em {
    bottom: 22px;
    font-style: normal;
    opacity: 0.88;
}

.page-hero {
    margin-bottom: 30px;
    padding: 42px;
    border-radius: var(--radius-xl);
}

.simple-hero,
.category-hero,
.ranking-hero {
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, 0.2), transparent 28rem),
        rgba(255, 255, 255, 0.94);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gray-500);
    font-weight: 700;
}

.breadcrumb a {
    color: var(--pink-600);
}

.category-overview-card {
    margin-bottom: 26px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius-lg);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--gray-700);
    font-size: 0.86rem;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;
}

.filter-result {
    min-height: 24px;
    margin: -12px 0 22px;
    color: var(--pink-600);
    font-weight: 800;
}

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

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 74px;
}

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

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

.ranking-row {
    display: grid;
    grid-template-columns: 48px 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 94px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
    border-color: var(--pink-300);
    transform: translateX(4px);
}

.ranking-number {
    color: var(--pink-600);
    font-size: 1.15rem;
    font-weight: 900;
}

.ranking-row img {
    width: 68px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-info {
    display: grid;
    gap: 7px;
}

.ranking-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-info em {
    overflow: hidden;
    color: var(--gray-500);
    font-size: 0.86rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-action {
    color: var(--pink-600);
    font-weight: 900;
}

.detail-hero {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 30px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 54px rgba(17, 24, 39, 0.16);
}

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

.detail-summary h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.detail-one-line {
    color: var(--gray-700);
    font-size: 1.08rem;
    line-height: 1.9;
}

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

.detail-meta span {
    padding: 8px 12px;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 999px;
    font-weight: 800;
}

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

.player-section {
    margin-bottom: 30px;
    padding: 18px;
    border-radius: var(--radius-xl);
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    border-radius: 22px;
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.26), rgba(15, 23, 42, 0.78));
    text-align: center;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-cover.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.player-play-icon {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    padding-left: 6px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    border-radius: 999px;
    box-shadow: 0 18px 44px rgba(236, 72, 153, 0.34);
    font-size: 2rem;
}

.player-cover strong {
    max-width: min(680px, 90%);
    font-size: clamp(1.3rem, 3vw, 2.3rem);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-bottom: 70px;
}

.detail-article,
.detail-side-card {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.detail-article h2,
.detail-side-card h2 {
    margin-bottom: 14px;
    font-size: 1.45rem;
}

.detail-article p {
    margin: 0 0 24px;
    color: var(--gray-700);
    font-size: 1.02rem;
    line-height: 2;
}

.detail-side-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.detail-side-card div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.detail-side-card dt {
    color: var(--gray-500);
    font-weight: 800;
}

.detail-side-card dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 700;
}

.detail-side-card a {
    color: var(--pink-600);
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0 0 70px;
    padding: 0;
    list-style: none;
}

.sitemap-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: 14px;
}

.sitemap-list a {
    overflow: hidden;
    color: var(--gray-900);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sitemap-list span {
    flex: 0 0 auto;
    color: var(--gray-500);
    font-size: 0.86rem;
}

.site-footer {
    margin-top: 42px;
    padding: 42px 0;
    background: linear-gradient(90deg, rgba(253, 242, 248, 0.96), rgba(255, 255, 255, 0.96), rgba(255, 241, 242, 0.96));
    border-top: 1px solid var(--pink-100);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.footer-inner p {
    max-width: 620px;
    color: var(--gray-500);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 10px;
    min-width: 160px;
}

.footer-links a {
    color: var(--gray-700);
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--pink-600);
}

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

    .movie-grid-five,
    .movie-grid-six {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

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

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

    .hero-carousel {
        min-height: 760px;
        border-radius: 26px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px;
    }

    .hero-poster {
        width: min(270px, 72vw);
        margin: 0 auto;
    }

    .hero-controls {
        right: 18px;
        bottom: 18px;
    }

    .quick-search-card,
    .filter-panel,
    .detail-hero,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        display: grid;
    }

    .movie-grid-four,
    .movie-grid-five,
    .movie-grid-six,
    .category-grid,
    .ranking-lead,
    .sitemap-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading,
    .category-overview-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .header-inner,
    .page-main,
    .hero-carousel,
    .footer-inner {
        width: min(100% - 22px, var(--container));
    }

    .brand-text {
        font-size: 1.08rem;
    }

    .hero-carousel {
        min-height: 690px;
        margin-top: 18px;
    }

    .hero-slide {
        padding: 24px;
    }

    .hero-content h1 {
        font-size: 2.15rem;
    }

    .hero-content p {
        font-size: 0.96rem;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
    }

    .quick-search-card,
    .page-hero,
    .category-overview-card,
    .detail-hero,
    .detail-article,
    .detail-side-card {
        padding: 20px;
        border-radius: 22px;
    }

    .movie-grid-four,
    .movie-grid-five,
    .movie-grid-six,
    .category-grid,
    .ranking-lead,
    .sitemap-list {
        grid-template-columns: 1fr;
    }

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

    .ranking-action {
        display: none;
    }

    .detail-hero {
        gap: 20px;
    }

    .detail-poster {
        max-width: 260px;
        margin: 0 auto;
    }

    .player-section {
        padding: 8px;
    }
}
