:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background:
        radial-gradient(circle at top left, rgba(244, 63, 94, 0.08), transparent 36rem),
        linear-gradient(180deg, #fff7fa 0%, #ffffff 22rem, #ffffff 100%);
    font-family: ui-sans-serif, system-ui, -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,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.nav-bar {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
    box-shadow: 0 16px 30px rgba(236, 72, 153, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-3deg);
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong,
.footer-brand strong {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: transparent;
    background: linear-gradient(90deg, var(--pink-500), var(--rose-600));
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-text small,
.footer-brand small {
    margin-top: 4px;
    color: var(--gray-500);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

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

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

.top-search {
    position: relative;
    width: 260px;
}

.top-search input,
.mobile-search input,
.filter-control input,
.filter-control select {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 12px 44px 12px 18px;
    outline: none;
    background: white;
    color: var(--gray-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-control input:focus,
.filter-control select:focus {
    border-color: var(--pink-500);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.top-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    border: none;
    background: transparent;
    color: var(--gray-700);
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--gray-100);
    padding: 16px;
    background: white;
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-search input {
    padding-right: 18px;
}

.mobile-search button {
    border: none;
    color: white;
    border-radius: 999px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
}

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

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

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

.hero-carousel {
    position: relative;
    min-height: 650px;
}

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

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

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) saturate(1.14);
    transform: scale(1.06);
    opacity: 0.62;
}

.hero-background span {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62) 46%, rgba(190, 24, 93, 0.34)),
        radial-gradient(circle at 72% 24%, rgba(236, 72, 153, 0.42), transparent 34rem);
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 56px;
    padding: 80px 0;
}

.hero-copy {
    max-width: 760px;
    color: white;
}

.hero-eyebrow,
.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #f9a8d4;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    color: white;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.08em;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-summary {
    margin: 24px 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    max-width: 700px;
}

.hero-tags,
.detail-tags,
.movie-tags,
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags span,
.tag-chip,
.detail-tags a,
.footer-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    color: var(--pink-600);
    background: var(--rose-50);
}

.hero-tags span {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
    box-shadow: 0 18px 32px rgba(225, 29, 72, 0.34);
}

.btn-light {
    color: var(--rose-600);
    background: white;
}

.btn-ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
}

.hero-poster-card {
    position: relative;
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(244, 63, 94, 0.20));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster-card:hover {
    transform: rotate(0deg) scale(1.03);
}

.hero-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster-card strong {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    color: white;
    font-size: 20px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

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

.hero-dot {
    width: 42px;
    height: 8px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 72px;
    background: white;
}

.section {
    padding: 70px 0 0;
}

.section-heading,
.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2,
.page-heading h1,
.page-heading h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.section-heading p,
.page-heading p {
    margin: 8px 0 0;
    color: var(--gray-500);
    max-width: 720px;
}

.section-more {
    flex: none;
    color: var(--pink-600);
    font-weight: 900;
}

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

.category-card {
    position: relative;
    min-height: 168px;
    padding: 22px;
    border-radius: var(--radius-lg);
    color: white;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.28), transparent 9rem),
        linear-gradient(135deg, var(--pink-500), var(--rose-600));
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:nth-child(2n) {
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.28), transparent 9rem),
        linear-gradient(135deg, #fb7185, #db2777);
}

.category-card:nth-child(3n) {
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.28), transparent 9rem),
        linear-gradient(135deg, #f472b6, #e11d48);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(225, 29, 72, 0.24);
}

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

.category-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.category-card span {
    position: relative;
    z-index: 1;
    font-weight: 900;
}

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

.movie-card {
    border: 1px solid rgba(229, 231, 235, 0.88);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.28);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(244, 63, 94, 0.12)),
        var(--gray-100);
}

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

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

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(17, 24, 39, 0.72));
    opacity: 0.8;
}

.play-symbol {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: white;
    background: rgba(236, 72, 153, 0.86);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

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

.score-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

.score-badge {
    right: 12px;
    min-width: 46px;
    height: 28px;
}

.rank-badge {
    left: 12px;
    height: 28px;
    padding: 0 10px;
    background: rgba(17, 24, 39, 0.78);
}

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

.movie-card-body h2,
.movie-card-body h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 950;
    color: var(--gray-900);
}

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

.movie-meta {
    margin: 0 0 9px;
    color: var(--gray-500);
    font-size: 13px;
}

.movie-desc {
    margin: 0 0 12px;
    color: var(--gray-700);
    font-size: 14px;
}

.movie-tags {
    gap: 6px;
}

.tag-chip {
    padding: 5px 9px;
    font-size: 11px;
}

.page-hero,
.detail-hero {
    padding: 64px 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(236, 72, 153, 0.15), transparent 30rem),
        radial-gradient(circle at 90% 0%, rgba(244, 63, 94, 0.12), transparent 28rem),
        linear-gradient(180deg, #fff7fa, white);
}

.page-heading {
    align-items: flex-start;
    margin-bottom: 0;
}

.page-actions {
    margin-top: 0;
}

.filter-panel {
    margin: 34px 0;
    padding: 22px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-card);
}

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

.filter-control {
    display: grid;
    gap: 7px;
}

.filter-control label {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 900;
}

.filter-control input,
.filter-control select {
    border-radius: 14px;
    padding: 12px 14px;
}

.empty-state {
    display: none;
    margin-top: 26px;
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--gray-500);
    background: var(--gray-50);
}

.empty-state.is-visible {
    display: block;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 84px 120px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: white;
    box-shadow: var(--shadow-card);
}

.rank-number {
    color: var(--pink-600);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-align: center;
}

.rank-cover {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 2 / 3;
    background: var(--rose-50);
}

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

.rank-info h2 {
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 22px;
    font-weight: 950;
}

.rank-info h2 a:hover {
    color: var(--pink-600);
}

.rank-info p {
    margin: 0 0 8px;
    color: var(--gray-600);
}

.rank-score {
    display: grid;
    gap: 6px;
    justify-items: end;
    color: var(--gray-500);
    font-weight: 800;
}

.rank-score strong {
    color: var(--pink-600);
    font-size: 26px;
}

.detail-hero {
    padding-bottom: 42px;
}

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

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

.detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-xl);
    aspect-ratio: 2 / 3;
    background: var(--rose-50);
    box-shadow: var(--shadow-soft);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy h1 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.detail-one {
    margin: 0 0 18px;
    color: var(--gray-700);
    font-size: 18px;
}

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

.detail-meta span {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--gray-700);
    font-weight: 800;
    background: white;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.player-section {
    padding: 52px 0 0;
}

.player-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #050816;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.player-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    color: white;
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.30), rgba(225, 29, 72, 0.12));
}

.player-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.player-title span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

.player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
}

.player-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    color: white;
    background:
        radial-gradient(circle at center, rgba(236, 72, 153, 0.22), transparent 18rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.66));
}

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

.player-layer span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
    box-shadow: 0 20px 46px rgba(236, 72, 153, 0.38);
    font-size: 36px;
    padding-left: 5px;
    transition: transform 0.2s ease;
}

.player-layer:hover span {
    transform: scale(1.08);
}

.detail-content {
    padding: 50px 0 0;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.article-panel,
.side-panel {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-card);
}

.article-panel {
    padding: 28px;
}

.article-panel h2,
.side-panel h2 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: 24px;
    font-weight: 950;
}

.article-panel p {
    margin: 0 0 22px;
    color: var(--gray-700);
    font-size: 16px;
}

.side-panel {
    padding: 22px;
}

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

.side-list a {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: var(--gray-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.side-list img {
    width: 54px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--rose-50);
}

.side-list strong {
    display: block;
    color: var(--gray-900);
    line-height: 1.35;
}

.side-list small {
    color: var(--gray-500);
}

.site-footer {
    margin-top: 80px;
    color: white;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 34px;
    padding: 48px 0;
}

.footer-brand .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 19px;
}

.footer-brand strong {
    color: white;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-size: 21px;
}

.footer-brand small,
.site-footer p {
    color: rgba(255, 255, 255, 0.66);
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 950;
}

.site-footer nav {
    display: grid;
    gap: 9px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-tags {
    gap: 8px;
}

.footer-tags a {
    color: #f9a8d4;
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 18px 16px;
    color: rgba(255, 255, 255, 0.62);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 13px;
}

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

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .top-search {
        width: 220px;
    }
}

@media (max-width: 860px) {
    .nav-links,
    .top-search {
        display: none;
    }

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

    .nav-bar {
        gap: 12px;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 56px 0 88px;
    }

    .hero-poster-card {
        max-width: 240px;
        margin: 0 auto;
    }

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

    .section-heading,
    .page-heading {
        display: grid;
        align-items: start;
    }

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

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

    .rank-item {
        grid-template-columns: 58px 90px minmax(0, 1fr);
    }

    .rank-score {
        grid-column: 2 / -1;
        justify-items: start;
    }
}

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

    .brand {
        min-width: auto;
    }

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

    .brand-text small {
        display: none;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 40px;
    }

    .hero-summary,
    .detail-one {
        font-size: 16px;
    }

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

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

    .rank-item {
        grid-template-columns: 50px 76px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .rank-info h2 {
        font-size: 18px;
    }

    .footer-bottom {
        display: grid;
        text-align: center;
    }

    .player-title {
        display: grid;
    }

    .player-layer span {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}
