* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1f2937;
    background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 48%, #faf5ff 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(244, 114, 182, 0.18);
    box-shadow: 0 12px 30px rgba(219, 39, 119, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 900;
    color: #be185d;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #db2777, #7e22ce);
    box-shadow: 0 12px 24px rgba(219, 39, 119, 0.28);
}

.brand-name {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #db2777;
    background: #fdf2f8;
    transform: translateY(-1px);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
}

.header-search input {
    width: 220px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 8px 10px;
    color: #374151;
}

.header-search button,
.primary-btn {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #db2777, #7e22ce);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(219, 39, 119, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 32px rgba(126, 34, 206, 0.28);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fdf2f8;
    color: #db2777;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    border-radius: 999px;
}

.hero-section {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(219, 39, 119, 0.92), rgba(126, 34, 206, 0.72) 44%, rgba(17, 24, 39, 0.58));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    padding: 72px 0 140px;
}

.hero-content h1,
.hero-content h2 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.hero-content h2 {
    margin-top: 10px;
    font-size: clamp(32px, 5vw, 58px);
}

.hero-kicker {
    width: fit-content;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    font-weight: 800;
}

.hero-content p:not(.hero-kicker) {
    max-width: 680px;
    margin: 22px 0 0;
    font-size: clamp(17px, 2vw, 24px);
    color: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.detail-badges,
.card-tags,
.tag-cloud,
.hot-terms,
.overview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span,
.detail-badges span,
.detail-badges a,
.card-tags span,
.tag-cloud a,
.overview-chips span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
}

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

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 42px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero-dot.active {
    background: #ffffff;
}

.hero-picks {
    position: absolute;
    z-index: 4;
    right: max(16px, calc((100vw - 1180px) / 2));
    bottom: 92px;
    width: min(360px, calc(100% - 32px));
    display: grid;
    gap: 12px;
}

.mini-card {
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: 18px;
    padding: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini-card:hover {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.22);
}

.mini-card img {
    width: 86px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
}

.mini-card strong,
.mini-card em {
    display: block;
}

.mini-card strong {
    font-size: 14px;
}

.mini-card em {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-style: normal;
}

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

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.section-title.align-left {
    text-align: left;
}

.section-title span,
.rank-head span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #be185d;
    background: #fce7f3;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.section-title h2,
.rank-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    color: #1f2937;
}

.section-title p,
.rank-head a {
    margin: 10px 0 0;
    color: #6b7280;
}

.light-title h2,
.light-title p,
.light-title span {
    color: #ffffff;
}

.light-title span {
    background: rgba(255, 255, 255, 0.18);
}

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

.movie-card {
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(31, 41, 55, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(219, 39, 119, 0.16);
}

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

.poster-wrap {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111827;
}

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

.movie-card:hover .poster-wrap img,
.category-tile:hover img,
.feature-tile:hover img,
.mosaic-card:hover img,
.ranking-card:hover img,
.poster-card:hover img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    margin: 0;
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.82));
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-overlay p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

.region-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: #ec4899;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(236, 72, 153, 0.28);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    min-height: 48px;
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: #db2777;
}

.card-meta {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 13px;
}

.card-tags span,
.tag-cloud a,
.overview-chips span {
    color: #db2777;
    background: #fdf2f8;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    color: #6b7280;
    font-size: 12px;
}

.gradient-band {
    padding: 72px 16px;
    background: linear-gradient(135deg, #db2777, #7e22ce);
}

.feature-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-tile,
.category-tile,
.mosaic-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.16);
}

.feature-tile {
    aspect-ratio: 1 / 1;
}

.feature-tile img,
.category-tile img,
.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-tile::after,
.category-tile::after,
.mosaic-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.82));
}

.feature-tile span,
.feature-tile em,
.category-tile span,
.category-tile em,
.mosaic-card span,
.mosaic-card em {
    position: absolute;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #ffffff;
}

.feature-tile span,
.category-tile span,
.mosaic-card span {
    bottom: 48px;
    font-size: 20px;
    font-weight: 900;
}

.feature-tile em,
.category-tile em,
.mosaic-card em {
    bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    font-size: 13px;
}

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

.category-tile {
    aspect-ratio: 4 / 3;
}

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

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 190px;
    gap: 16px;
}

.mosaic-wide {
    grid-column: span 2;
}

.rank-panel {
    position: sticky;
    top: 100px;
    border-radius: 28px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(31, 41, 55, 0.1);
}

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

.rank-head a {
    color: #db2777;
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 34px 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px;
    border-radius: 18px;
    background: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: #fdf2f8;
    transform: translateX(4px);
}

.rank-row strong {
    color: #db2777;
    font-size: 18px;
}

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

.rank-row b,
.rank-row em {
    display: block;
}

.rank-row b {
    overflow: hidden;
    color: #1f2937;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row em {
    overflow: hidden;
    color: #6b7280;
    font-style: normal;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row small {
    color: #9ca3af;
    font-weight: 800;
}

.page-hero,
.search-hero {
    padding: 74px 16px;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, #db2777, #7e22ce);
}

.page-hero-inner,
.search-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.page-hero p,
.search-inner p {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.page-hero span,
.search-inner span {
    display: block;
    max-width: 760px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

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

.category-overview-card a {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 18px;
    height: 100%;
    padding: 16px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card a:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(219, 39, 119, 0.14);
}

.category-overview-card img {
    width: 148px;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
}

.category-overview-card h2 {
    margin: 8px 0 8px;
    color: #1f2937;
}

.category-overview-card p {
    margin: 0 0 14px;
    color: #6b7280;
    line-height: 1.7;
}

.filter-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.filter-search {
    display: grid;
    gap: 8px;
    flex: 1 1 auto;
    color: #6b7280;
    font-weight: 800;
}

.filter-search input,
.search-page-form input {
    width: 100%;
    border: 1px solid #fbcfe8;
    outline: 0;
    border-radius: 999px;
    padding: 13px 16px;
    color: #374151;
    background: #fdf2f8;
}

.filter-search input:focus,
.search-page-form input:focus,
.header-search input:focus {
    box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
}

.sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sort-buttons button,
.hot-terms button {
    border: 0;
    cursor: pointer;
    padding: 11px 16px;
    border-radius: 999px;
    color: #be185d;
    background: #fdf2f8;
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.sort-buttons button.active,
.sort-buttons button:hover,
.hot-terms button:hover {
    color: #ffffff;
    background: #db2777;
    transform: translateY(-1px);
}

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

.ranking-card a {
    display: grid;
    grid-template-columns: 70px 116px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(219, 39, 119, 0.13);
}

.ranking-number {
    color: #db2777;
    font-size: 26px;
    font-weight: 950;
    text-align: center;
}

.ranking-card img {
    width: 116px;
    height: 76px;
    object-fit: cover;
    border-radius: 16px;
}

.ranking-card h2 {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 20px;
}

.ranking-card p {
    margin: 0 0 6px;
    color: #6b7280;
}

.ranking-card span,
.ranking-card em {
    color: #9ca3af;
    font-style: normal;
    font-size: 13px;
}

.ranking-card em {
    color: #db2777;
    font-weight: 900;
}

.search-hero {
    text-align: center;
}

.search-page-form {
    display: flex;
    gap: 10px;
    width: min(720px, 100%);
    margin: 28px auto 18px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.search-page-form input {
    border: 0;
    background: #ffffff;
}

.search-page-form button {
    border: 0;
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 999px;
    color: #ffffff;
    background: #db2777;
    font-weight: 900;
}

.hot-terms {
    justify-content: center;
}

.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: #db2777;
    font-weight: 800;
}

.breadcrumb em {
    font-style: normal;
}

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

.player-card,
.detail-card,
.poster-card,
.related-card {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(31, 41, 55, 0.1);
}

.player-card {
    overflow: hidden;
    margin-bottom: 24px;
    background: #000000;
}

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

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72));
    cursor: pointer;
}

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

.play-ring {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #db2777, #7e22ce);
    box-shadow: 0 18px 38px rgba(219, 39, 119, 0.34);
}

.play-ring i {
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #ffffff;
}

.video-overlay strong {
    max-width: 80%;
    font-size: clamp(20px, 3vw, 34px);
    text-align: center;
}

.detail-card {
    padding: 28px;
}

.detail-badges {
    margin-bottom: 16px;
}

.detail-badges span,
.detail-badges a {
    color: #be185d;
    background: #fdf2f8;
}

.detail-card h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.12;
}

.lead-text {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 19px;
    line-height: 1.8;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    color: #6b7280;
}

.detail-stats span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #f9fafb;
}

.detail-card section {
    border-top: 1px solid #f3f4f6;
    padding-top: 24px;
    margin-top: 24px;
}

.detail-card h2,
.related-card h2,
.poster-card h2 {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 22px;
}

.detail-card p {
    color: #4b5563;
    line-height: 1.9;
}

.tag-cloud {
    margin-top: 24px;
}

.tag-cloud a:hover {
    color: #ffffff;
    background: #db2777;
}

.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.prev-next a {
    padding: 14px 16px;
    border-radius: 18px;
    color: #be185d;
    background: #fdf2f8;
    font-weight: 800;
}

.detail-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 22px;
}

.poster-card,
.related-card {
    padding: 20px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 16px;
    transition: transform 0.5s ease;
}

.poster-card p {
    color: #6b7280;
}

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

.detail-side .mini-card {
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: none;
}

.detail-side .mini-card:hover {
    background: #fdf2f8;
}

.detail-side .mini-card em {
    color: #6b7280;
}

.site-footer {
    color: #4b5563;
    background: linear-gradient(180deg, #ffffff, #fdf2f8);
    border-top: 1px solid #fbcfe8;
}

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

.footer-brand strong {
    display: inline-block;
    margin-left: 10px;
    color: #be185d;
    font-size: 20px;
}

.footer-brand p {
    max-width: 420px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: start;
}

.footer-links a {
    padding: 9px 12px;
    border-radius: 999px;
    color: #be185d;
    background: #fdf2f8;
    font-weight: 800;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #9ca3af;
    border-top: 1px solid #fce7f3;
}

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

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

    .two-columns,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .detail-side {
        position: static;
    }

    .hero-picks {
        display: none;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav,
    .header-search {
        display: none;
        width: 100%;
    }

    .main-nav.open,
    .header-search.open {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search input {
        width: 100%;
    }

    .hero-section,
    .hero-content {
        min-height: 560px;
    }

    .hero-content {
        padding: 60px 0 100px;
    }

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

    .mosaic-wide {
        grid-column: span 1;
    }

    .ranking-card a {
        grid-template-columns: 46px 86px minmax(0, 1fr);
    }

    .ranking-card em {
        display: none;
    }

    .filter-bar,
    .search-page-form {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }
}

@media (max-width: 560px) {
    .movie-grid,
    .feature-grid,
    .category-grid,
    .category-overview-grid,
    .mosaic-grid {
        grid-template-columns: 1fr;
    }

    .hero-tags,
    .hero-actions {
        gap: 10px;
    }

    .category-overview-card a {
        grid-template-columns: 1fr;
    }

    .category-overview-card img {
        width: 100%;
        height: 220px;
    }

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

    .rank-row small {
        display: none;
    }

    .prev-next {
        grid-template-columns: 1fr;
    }

    .detail-card,
    .poster-card,
    .related-card {
        padding: 18px;
    }
}
