:root {
    --cream-50: #fffaf0;
    --cream-100: #fff4dc;
    --cream-200: #f2ddb8;
    --cocoa-100: #ead2bb;
    --cocoa-200: #d9b895;
    --cocoa-300: #b88b68;
    --cocoa-500: #8b5e3c;
    --cocoa-600: #70452d;
    --cocoa-700: #5b3523;
    --cocoa-800: #432818;
    --cocoa-900: #2a160c;
    --chocolate-600: #7f5539;
    --chocolate-800: #3b1d0f;
    --ink: #25170f;
    --muted: #7b6253;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(67, 40, 24, 0.16);
    --soft-shadow: 0 12px 32px rgba(67, 40, 24, 0.12);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 236, 198, 0.85), transparent 34rem),
        linear-gradient(180deg, #fff8ea 0%, #fffdf8 36%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(67, 40, 24, 0.98), rgba(112, 69, 45, 0.98), rgba(127, 85, 57, 0.98));
    box-shadow: 0 12px 34px rgba(42, 22, 12, 0.24);
    backdrop-filter: blur(18px);
}

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

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

.brand {
    color: var(--cream-50);
    white-space: nowrap;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--cocoa-800);
    background: linear-gradient(135deg, #ffe7ad, #fff7db);
    box-shadow: inset 0 -6px 16px rgba(112, 69, 45, 0.12), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.brand-name {
    font-size: 20px;
}

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

.nav-link {
    color: rgba(255, 250, 240, 0.78);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cream-50);
    transform: translateY(-1px);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 244, 220, 0.24);
    background: rgba(42, 22, 12, 0.35);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input,
.mobile-search input {
    width: 220px;
    border: 0;
    outline: 0;
    color: var(--cream-50);
    background: transparent;
    padding: 10px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 244, 220, 0.62);
}

.header-search button,
.mobile-search button {
    border: 0;
    color: var(--cocoa-800);
    background: var(--cream-100);
    padding: 10px 18px;
    font-weight: 800;
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 244, 220, 0.12);
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--cream-50);
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-panel.open {
    display: block;
}

.mobile-search {
    margin: 10px 0;
}

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

.mobile-link {
    display: block;
    color: var(--cream-100);
    padding: 13px 12px;
    border-radius: 14px;
    font-weight: 800;
}

.mobile-link:hover {
    background: rgba(255, 244, 220, 0.1);
}

.hero {
    position: relative;
    padding: 0;
    background: var(--cocoa-900);
    overflow: hidden;
}

.hero-stage {
    position: relative;
    height: min(760px, calc(100vh - 68px));
    min-height: 580px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.75s ease, transform 0.75s ease;
    pointer-events: none;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 42%, rgba(255, 244, 220, 0.16), transparent 18rem),
        linear-gradient(90deg, rgba(42, 22, 12, 0.96) 0%, rgba(67, 40, 24, 0.82) 45%, rgba(67, 40, 24, 0.2) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(42, 22, 12, 0.88));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 380px;
    align-items: center;
    gap: 56px;
    padding: 40px 0 70px;
}

.hero-copy {
    color: var(--cream-50);
    max-width: 760px;
}

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

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-title-row p {
    color: rgba(255, 250, 240, 0.82);
    font-size: 18px;
    line-height: 1.8;
    margin: 22px 0 0;
}

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

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

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

.hero-tags span {
    color: var(--cream-50);
    background: rgba(255, 244, 220, 0.15);
    border: 1px solid rgba(255, 244, 220, 0.18);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

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

.primary-button {
    color: var(--cocoa-900);
    background: linear-gradient(135deg, #ffe7ad, #fff8dc);
    box-shadow: 0 14px 24px rgba(255, 219, 145, 0.22);
}

.secondary-button {
    color: var(--cream-50);
    background: rgba(255, 244, 220, 0.13);
    border: 1px solid rgba(255, 244, 220, 0.22);
}

.text-button {
    color: var(--cream-100);
    padding-inline: 8px;
}

.primary-button:hover,
.secondary-button:hover,
.inline-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    aspect-ratio: 3 / 4.25;
    background: rgba(255, 244, 220, 0.08);
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    color: var(--cocoa-900);
    background: rgba(255, 250, 240, 0.88);
    border-radius: 50%;
    box-shadow: var(--shadow);
    font-size: 24px;
}

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 244, 220, 0.22);
    border-radius: 50%;
    color: var(--cream-50);
    background: rgba(42, 22, 12, 0.34);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 244, 220, 0.5);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
    width: 34px;
    background: var(--cream-100);
}

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

.section-block,
.search-panel,
.category-strip {
    margin-bottom: 62px;
}

.search-panel {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(184, 139, 104, 0.18);
}

.search-panel h2,
.section-heading h2,
.prose-block h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--cocoa-900);
    letter-spacing: -0.04em;
}

.search-controls input {
    width: 100%;
    height: 54px;
    border: 1px solid rgba(112, 69, 45, 0.18);
    outline: 0;
    border-radius: 999px;
    color: var(--cocoa-900);
    background: #fffdf8;
    padding: 0 20px;
    box-shadow: inset 0 2px 8px rgba(67, 40, 24, 0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    color: var(--cocoa-700);
    background: #f4e1c8;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    color: var(--cream-50);
    background: var(--cocoa-700);
}

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

.section-heading a,
.inline-link {
    color: var(--cocoa-700);
    font-weight: 900;
}

.light-heading h2,
.light-heading .section-kicker,
.light-heading a {
    color: var(--cream-50);
}

.featured-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x mandatory;
}

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

.latest-grid,
.small-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(184, 139, 104, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    scroll-snap-align: start;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.15;
    overflow: hidden;
    background: var(--cocoa-800);
}

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(42, 22, 12, 0.78));
    opacity: 0.9;
}

.play-chip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--cocoa-900);
    background: rgba(255, 250, 240, 0.9);
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.rank-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    color: var(--cocoa-900);
    background: linear-gradient(135deg, #ffe8a8, #fff7dc);
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(42, 22, 12, 0.2);
}

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

.compact-card .movie-card-body {
    padding: 14px;
}

.card-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 9px;
}

.movie-card h3,
.wide-card h3 {
    margin: 0;
    color: var(--cocoa-900);
    font-size: 18px;
    line-height: 1.35;
}

.compact-card h3 {
    font-size: 16px;
}

.movie-card p,
.wide-card p,
.category-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 10px 0 14px;
    font-size: 14px;
}

.tag-row a,
.tag-row span,
.detail-tags span {
    color: var(--cocoa-700);
    background: #f4e1c8;
}

.highlight-block {
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--cocoa-800), var(--chocolate-600));
    box-shadow: var(--shadow);
}

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

.mini-category,
.category-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(184, 139, 104, 0.16);
    box-shadow: var(--soft-shadow);
}

.mini-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 138px;
    padding: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-category:hover,
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.mini-category span {
    color: var(--cocoa-900);
    font-size: 20px;
    font-weight: 900;
}

.mini-category em {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    font-style: normal;
}

.page-hero,
.detail-hero {
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 226, 164, 0.22), transparent 18rem),
        linear-gradient(135deg, var(--cocoa-900), var(--cocoa-700) 58%, var(--chocolate-600));
    color: var(--cream-50);
}

.page-hero {
    padding: 86px 0;
}

.page-hero > div,
.detail-hero > div {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero p {
    max-width: 760px;
}

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

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

.category-visual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 176px;
    overflow: hidden;
    background: var(--cocoa-800);
}

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

.category-card-body {
    padding: 24px;
}

.category-card h2 {
    margin: 0;
    color: var(--cocoa-900);
    font-size: 26px;
}

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

.wide-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(184, 139, 104, 0.16);
}

.wide-poster {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--cocoa-800);
}

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

.wide-rank {
    position: absolute;
    left: 10px;
    top: 10px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--cocoa-900);
    background: var(--cream-100);
    border-radius: 50%;
    font-weight: 900;
}

.wide-body {
    padding: 6px 8px 6px 0;
}

.detail-hero {
    padding: 46px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(255, 250, 240, 0.72);
    font-weight: 800;
    margin-bottom: 28px;
}

.breadcrumb a:hover {
    color: var(--cream-50);
}

.detail-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.detail-title-row h1 {
    max-width: 920px;
}

.detail-title-row p {
    max-width: 880px;
}

.detail-shell {
    padding-top: 36px;
}

.watch-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    margin-bottom: 56px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #090503;
    box-shadow: 0 22px 70px rgba(42, 22, 12, 0.24);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
    object-fit: contain;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 244, 220, 0.16), transparent 18rem),
        linear-gradient(180deg, rgba(42, 22, 12, 0.28), rgba(42, 22, 12, 0.84));
    cursor: pointer;
}

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

.player-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    color: var(--cocoa-900);
    background: rgba(255, 250, 240, 0.92);
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.player-cover strong {
    font-size: clamp(22px, 3vw, 36px);
    max-width: 80%;
    text-align: center;
}

.player-cover em {
    font-style: normal;
    color: var(--cream-200);
    font-weight: 900;
}

.detail-card {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    border: 1px solid rgba(184, 139, 104, 0.16);
}

.detail-card img {
    width: 100%;
    aspect-ratio: 3 / 3.9;
    object-fit: cover;
    background: var(--cocoa-800);
}

.detail-card dl {
    margin: 0;
    padding: 18px 20px 6px;
}

.detail-card dl div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(184, 139, 104, 0.14);
}

.detail-card dt {
    color: var(--muted);
    font-weight: 900;
}

.detail-card dd {
    margin: 0;
    color: var(--cocoa-900);
    font-weight: 800;
}

.detail-tags {
    padding: 16px 20px 22px;
}

.prose-block {
    padding: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(184, 139, 104, 0.16);
}

.prose-block p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.95;
    margin: 18px 0 0;
}

.site-footer {
    color: var(--cream-100);
    background: linear-gradient(180deg, var(--cocoa-900), var(--chocolate-800));
    padding: 44px 0 26px;
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 34px;
}

.footer-brand {
    color: var(--cream-50);
    font-size: 24px;
}

.site-footer p {
    color: rgba(255, 244, 220, 0.72);
    max-width: 520px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 244, 220, 0.82);
    font-weight: 800;
}

.copyright {
    width: min(1240px, calc(100% - 32px));
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 244, 220, 0.12);
    font-size: 13px;
}

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 32px;
    }

    .hero-poster {
        display: none;
    }

    .movie-grid,
    .library-grid,
    .latest-grid,
    .small-grid,
    .category-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .watch-section {
        grid-template-columns: 1fr;
    }

    .detail-card {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .detail-card img {
        height: 100%;
    }

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

@media (max-width: 760px) {
    .header-inner,
    .content-shell,
    .page-hero > div,
    .detail-hero > div,
    .footer-inner,
    .copyright {
        width: min(100% - 24px, 1240px);
    }

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

    .hero-stage {
        min-height: 620px;
        height: auto;
    }

    .hero-slide {
        position: relative;
        display: none;
        min-height: 620px;
    }

    .hero-slide.active {
        display: block;
    }

    .hero-content {
        padding: 80px 0 96px;
    }

    .hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

    .hero p,
    .page-hero p,
    .detail-title-row p {
        font-size: 16px;
    }

    .hero-arrow {
        display: none;
    }

    .search-panel {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .section-heading,
    .detail-title-row,
    .footer-inner {
        align-items: start;
        flex-direction: column;
    }

    .movie-grid,
    .library-grid,
    .latest-grid,
    .small-grid,
    .category-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .featured-row {
        grid-auto-columns: 78%;
    }

    .highlight-block,
    .prose-block {
        padding: 22px;
        border-radius: 24px;
    }

    .wide-card {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 14px;
        border-radius: 20px;
    }

    .wide-body p,
    .movie-card p {
        display: none;
    }

    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-card img {
        aspect-ratio: 16 / 9;
    }

    .player-frame {
        border-radius: 20px;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .library-grid,
    .latest-grid,
    .small-grid,
    .category-mini-grid {
        grid-template-columns: 1fr;
    }

    .featured-row {
        grid-auto-columns: 88%;
    }

    .category-visual {
        height: 130px;
    }
}
