:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --orange-500: #f97316;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
    --soft-shadow: 0 12px 32px rgba(244, 63, 94, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --font-main: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7f9 0%, #ffffff 42%, #fff9fb 100%);
    color: var(--gray-900);
    font-family: var(--font-main);
}

body,
button,
input {
    font-family: var(--font-main);
}

img {
    background: linear-gradient(135deg, var(--rose-100), #ffffff);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.24);
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.desktop-nav a,
.mobile-nav a,
.footer-grid a,
.section-link,
.prev-next-links a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active,
.footer-grid a:hover,
.section-link:hover,
.prev-next-links a:hover {
    color: var(--rose-600);
}

.nav-search,
.mobile-search,
.hero-search,
.page-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.page-filter input,
.filter-bar input {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: #ffffff;
    color: var(--gray-900);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    width: 220px;
    padding: 10px 16px;
    font-size: 13px;
}

.nav-search button,
.mobile-search button,
.hero-search button,
.page-filter button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button {
    padding: 10px 18px;
    font-size: 13px;
}

.nav-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.page-filter input:focus,
.filter-bar input:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.nav-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.page-filter button:hover,
.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.26);
}

.mobile-nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    padding: 8px 11px;
    background: var(--gray-100);
    color: var(--gray-900);
    font-size: 22px;
}

.mobile-nav {
    display: none;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--gray-200);
    background: #ffffff;
}

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

.mobile-nav a {
    display: block;
    padding: 10px 0;
    font-weight: 700;
}

.mobile-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
    margin: 8px 0 14px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
}

.mobile-search input {
    padding: 11px 15px;
}

.mobile-search button {
    padding: 11px 18px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background:
        radial-gradient(circle at 12% 16%, rgba(244, 63, 94, 0.20), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(236, 72, 153, 0.18), transparent 30%),
        linear-gradient(135deg, #fff1f2 0%, #ffffff 48%, #ffe4ee 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-glow-one {
    left: -80px;
    top: 40px;
    width: 260px;
    height: 260px;
    background: rgba(244, 63, 94, 0.20);
}

.hero-glow-two {
    right: -90px;
    bottom: 40px;
    width: 320px;
    height: 320px;
    background: rgba(236, 72, 153, 0.18);
}

.hero-grid,
.page-hero-grid,
.detail-head-grid,
.detail-layout,
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 44px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(244, 63, 94, 0.16);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.08);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 22px 0 18px;
    color: var(--gray-900);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.hero-copy h1 span,
.page-hero h1 span,
.detail-copy h1 span {
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    color: var(--gray-500);
    font-size: 18px;
    line-height: 1.8;
}

.hero-search {
    margin: 30px 0 20px;
    max-width: 620px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
}

.hero-search input {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-search button {
    min-height: 48px;
    padding: 0 26px;
    white-space: nowrap;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 24px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.22);
}

.ghost-button {
    border: 1px solid var(--gray-200);
    background: #ffffff;
    color: var(--gray-700);
}

.ghost-button:hover {
    border-color: rgba(244, 63, 94, 0.32);
    color: var(--rose-600);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.hero-stats span {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hero-stats strong {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.hero-stats em {
    color: var(--gray-500);
    font-style: normal;
    font-size: 14px;
}

.hero-visual {
    position: relative;
}

.hero-slider-frame {
    position: relative;
    min-height: 560px;
    border-radius: 36px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.24);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.74));
}

.hero-slide-copy {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    color: #ffffff;
}

.hero-slide-copy strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
}

.hero-slide-copy em {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.24);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: var(--rose-500);
}

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

.soft-section {
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.78), rgba(255, 255, 255, 0.95));
}

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

.section-heading h2 {
    margin: 10px 0 8px;
    color: var(--gray-900);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

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

.section-link {
    flex: 0 0 auto;
    font-weight: 900;
}

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

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

.movie-card {
    min-width: 0;
}

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

.movie-card-link {
    display: block;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.poster-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), #ffffff);
}

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

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.78));
}

.poster-year,
.poster-score,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.poster-year {
    left: 10px;
    top: 10px;
    background: rgba(17, 24, 39, 0.72);
}

.poster-score {
    right: 10px;
    bottom: 10px;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.rank-badge {
    left: 10px;
    bottom: 10px;
    background: var(--orange-500);
}

.movie-card-body {
    padding: 15px 15px 17px;
}

.movie-card-body h3 {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 16px;
    line-height: 1.42;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta,
.movie-line {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
}

.movie-meta {
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
}

.movie-line {
    -webkit-line-clamp: 2;
}

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

.category-card,
.category-overview-card a {
    position: relative;
    display: block;
    min-height: 170px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--soft-shadow);
}

.category-card img,
.category-overview-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.5s ease;
}

.category-card:hover img,
.category-overview-card a:hover img {
    transform: scale(1.08);
}

.category-card-overlay,
.category-overview-card a::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(120deg, rgba(17, 24, 39, 0.82), rgba(244, 63, 94, 0.46));
}

.category-card strong,
.category-card em,
.category-card p {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
}

.category-card strong {
    bottom: 74px;
    font-size: 25px;
    font-weight: 900;
}

.category-card em {
    top: 20px;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.18);
    font-style: normal;
    font-weight: 900;
}

.category-card p {
    bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
}

.hot-panel {
    align-self: start;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--soft-shadow);
}

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

.ranking-row-link {
    display: grid;
    grid-template-columns: 44px 58px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    border-radius: 18px;
    padding: 10px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row-link:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.14);
}

.ranking-number {
    color: var(--rose-600);
    font-weight: 900;
    font-size: 18px;
    text-align: center;
}

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

.ranking-info {
    min-width: 0;
}

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

.ranking-info strong {
    color: var(--gray-900);
    font-size: 15px;
}

.ranking-info em {
    margin-top: 5px;
    color: var(--gray-500);
    font-style: normal;
    font-size: 12px;
}

.ranking-score {
    border-radius: 999px;
    padding: 6px 9px;
    background: var(--rose-50);
    color: var(--rose-600);
    font-weight: 900;
}

.page-hero,
.detail-hero {
    padding: 74px 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(244, 63, 94, 0.16), transparent 26%),
        linear-gradient(135deg, #fff1f2 0%, #ffffff 72%);
}

.slim-hero {
    padding: 70px 0 58px;
}

.page-hero h1,
.detail-copy h1 {
    font-size: clamp(34px, 4vw, 54px);
}

.page-filter {
    justify-self: end;
    width: min(100%, 440px);
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
}

.page-filter input {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    background: transparent;
}

.page-filter button {
    min-height: 48px;
    padding: 0 22px;
    white-space: nowrap;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.filter-bar label,
.filter-bar span {
    flex: 0 0 auto;
    color: var(--gray-700);
    font-weight: 900;
}

.filter-bar input {
    min-height: 44px;
    padding: 0 16px;
}

.search-filter {
    max-width: 820px;
    margin-top: 26px;
    margin-bottom: 0;
}

.category-overview-card a {
    min-height: 260px;
}

.category-overview-card div {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 26px;
}

.category-overview-card span {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 900;
}

.category-overview-card h2 {
    margin: 14px 0 8px;
    font-size: 30px;
    font-weight: 900;
}

.category-overview-card p,
.category-overview-card em {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    line-height: 1.6;
}

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

.breadcrumb a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 800;
}

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

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

.detail-poster {
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tag-list span {
    border-radius: 999px;
    padding: 7px 12px;
    background: #ffffff;
    color: var(--rose-600);
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.10);
}

.player-section {
    padding: 48px 0 18px;
    background: #111827;
}

.static-player {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.static-player video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.16), rgba(2, 6, 23, 0.68));
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 36px rgba(244, 63, 94, 0.34);
    font-size: 30px;
    text-indent: 4px;
}

.player-start strong {
    font-size: 20px;
}

.player-message {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 4;
    margin: 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(2, 6, 23, 0.64);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

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

.detail-article,
.detail-meta-card {
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.detail-article {
    padding: 34px;
}

.detail-article h2,
.detail-meta-card h2 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: 24px;
    font-weight: 900;
}

.detail-article h2:not(:first-child) {
    margin-top: 32px;
}

.detail-article p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.9;
}

.detail-meta-card {
    padding: 26px;
}

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

.detail-meta-card dt {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.detail-meta-card dd {
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-900);
    font-weight: 800;
    line-height: 1.55;
}

.prev-next-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.prev-next-links a,
.prev-next-links span {
    flex: 1;
    border-radius: 18px;
    padding: 14px 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    font-weight: 900;
}

.prev-next-links a:last-child {
    text-align: right;
}

.site-footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.76);
}

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

.footer-brand {
    margin-bottom: 15px;
}

.footer-brand strong {
    color: #ffffff;
    font-size: 22px;
}

.footer-grid p {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.footer-grid ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.66);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
}

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

    .nav-search {
        display: none;
    }
}

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

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .hero-grid,
    .page-hero-grid,
    .detail-head-grid,
    .detail-layout,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 58px 0 60px;
    }

    .hero-slider-frame,
    .hero-slide img {
        min-height: 420px;
    }

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

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

    .page-filter {
        justify-self: stretch;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 22px, 1180px);
    }

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

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.05em;
    }

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

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

    .hero-stats {
        gap: 14px;
    }

    .hero-stats strong {
        font-size: 26px;
    }

    .hero-slider-frame,
    .hero-slide img {
        min-height: 360px;
        border-radius: 26px;
    }

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

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

    .movie-card-body h3 {
        font-size: 14px;
        min-height: 40px;
    }

    .movie-meta,
    .movie-line {
        font-size: 12px;
    }

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

    .detail-article,
    .detail-meta-card {
        padding: 22px;
    }

    .ranking-row-link {
        grid-template-columns: 34px 46px minmax(0, 1fr);
    }

    .ranking-row img {
        width: 46px;
        height: 62px;
    }

    .ranking-score {
        display: none;
    }

    .prev-next-links,
    .footer-bottom {
        flex-direction: column;
    }

    .prev-next-links a:last-child {
        text-align: left;
    }
}
