:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --blue-50: #eff6ff;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-500: #f97316;
    --text: #111827;
    --muted: #64748b;
    --card: #ffffff;
    --line: rgba(15, 23, 42, 0.08);
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, var(--blue-50) 48%, #ffffff 100%);
}

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

img {
    display: block;
    width: 100%;
    height: auto;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.26);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.brand-name {
    font-size: 20px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fde68a, #fdba74, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-400);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -21px;
    height: 2px;
    border-radius: 999px;
    background: var(--amber-400);
}

.menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    padding: 10px 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.98);
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 700;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: #ffffff;
    background: rgba(245, 158, 11, 0.95);
}

.hero-carousel {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: var(--slate-950);
}

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

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.12)), var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.32), transparent 28%), linear-gradient(180deg, transparent 70%, rgba(2, 6, 23, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 600px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 92px 24px 170px;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
    color: #ffffff;
}

.hero-labels,
.detail-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-labels span,
.detail-labels span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: rgba(245, 158, 11, 0.94);
}

.hero-labels span + span,
.detail-labels span + span {
    color: #fde68a;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
    max-width: 620px;
    margin: 22px 0 0;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span {
    padding: 5px 10px;
    border-radius: 999px;
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    background: #fef3c7;
}

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

.btn {
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.35);
}

.btn.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.btn.text {
    color: #fde68a;
    background: rgba(0, 0, 0, 0.24);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 126px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
}

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

.hero-search-panel {
    position: absolute;
    z-index: 6;
    left: 50%;
    right: auto;
    bottom: 28px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 14px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.hero-search,
.inline-filter {
    display: flex;
    gap: 10px;
}

.hero-search input,
.inline-filter input,
.inline-filter select {
    min-width: 0;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 999px;
    padding: 0 18px;
    outline: none;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.94);
}

.hero-search input,
.inline-filter input {
    flex: 1;
}

.hero-search button {
    height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0 24px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.hero-category-links a {
    padding: 10px 13px;
    border-radius: 999px;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
}

.hero-thumbs {
    position: absolute;
    z-index: 4;
    top: 92px;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    width: 280px;
    display: grid;
    gap: 12px;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 18px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(14px);
}

.hero-thumb img {
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    font-weight: 800;
}

.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 24px 0;
}

.alt-section {
    max-width: none;
    margin-top: 70px;
    padding-top: 70px;
    padding-bottom: 70px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 246, 255, 0.82));
}

.alt-section > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    margin-bottom: 26px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 16px;
}

.section-heading > span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-link {
    color: #b45309;
    font-weight: 900;
}

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #0f172a;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
}

.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.92);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.movie-info {
    padding: 16px;
}

.movie-meta,
.movie-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta a {
    color: #b45309;
}

.movie-info h3 {
    margin: 10px 0 8px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
}

.movie-info h3 a:hover {
    color: #d97706;
}

.movie-info p {
    min-height: 42px;
    margin: 0 0 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.tag-row {
    margin-bottom: 14px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 26px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    background: #0f172a;
    box-shadow: var(--shadow);
}

.category-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.5s ease;
}

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

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.88));
}

.category-card span,
.category-card p {
    position: relative;
    z-index: 1;
}

.category-card span {
    font-size: 22px;
    font-weight: 900;
}

.category-card p {
    margin: 8px 0 0;
    color: #e2e8f0;
    line-height: 1.6;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 42px;
}

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

.ranking-row,
.ranking-wide-row {
    display: grid;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row {
    grid-template-columns: 42px 62px 1fr auto;
    padding: 10px 14px;
}

.ranking-wide-row {
    grid-template-columns: 58px 70px minmax(0, 1fr) minmax(160px, 0.6fr) 72px;
    padding: 12px 16px;
}

.ranking-row:hover,
.ranking-wide-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.ranking-row strong,
.ranking-wide-row strong {
    color: #f59e0b;
    font-size: 18px;
}

.ranking-row img,
.ranking-wide-row img {
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-row span,
.ranking-wide-row span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 900;
}

.ranking-row em,
.ranking-wide-row em,
.ranking-wide-row b {
    color: #64748b;
    font-style: normal;
    font-weight: 800;
}

.movie-card.compact {
    display: grid;
    grid-template-columns: 118px 1fr;
}

.movie-card.compact .poster-link {
    aspect-ratio: auto;
    min-height: 170px;
}

.movie-card.compact .movie-info p {
    -webkit-line-clamp: 3;
    min-height: 64px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.32), transparent 30%), linear-gradient(135deg, var(--slate-950), var(--blue-900), var(--slate-900));
}

.compact-hero {
    padding: 88px 24px;
}

.compact-hero > div {
    max-width: 1040px;
    margin: 0 auto;
}

.page-hero span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.8;
}

.inline-filter {
    margin-top: 28px;
    max-width: 760px;
}

.collection-card {
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.collection-cover {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 180px;
    overflow: hidden;
    background: #0f172a;
}

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

.collection-info {
    padding: 22px;
}

.collection-info h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.collection-info p {
    margin: 0 0 16px;
    color: #64748b;
    line-height: 1.7;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: #ffffff;
    background-image: var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.45)), radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.28), transparent 30%);
    backdrop-filter: blur(3px);
}

.detail-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 70px;
}

.breadcrumb {
    margin-bottom: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a:hover {
    color: #fbbf24;
}

.breadcrumb em {
    color: #ffffff;
    font-style: normal;
}

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

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 780px;
    margin: 22px 0 0;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.8;
}

.player-section {
    padding-top: 54px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
}

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

.big-play {
    width: 94px;
    height: 94px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 55px rgba(245, 158, 11, 0.32);
    font-size: 42px;
    line-height: 1;
}

.player-overlay strong {
    max-width: 80%;
    font-size: 24px;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.detail-text-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
}

.story-card {
    border-radius: 26px;
    padding: 28px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.story-card p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

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

.meta-card div {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: baseline;
}

.meta-card dt {
    color: #94a3b8;
    font-weight: 900;
}

.meta-card dd {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
}

.site-footer {
    margin-top: 88px;
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    gap: 18px;
}

.footer-inner p {
    max-width: 680px;
    margin: 0;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-weight: 800;
}

.footer-links a:hover {
    color: #fbbf24;
}

.copyright {
    color: #64748b;
    font-size: 14px;
}

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

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

    .hero-thumbs {
        display: none;
    }

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

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

    .menu-toggle {
        display: flex;
    }

    .header-inner {
        padding: 0 16px;
    }

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

    .hero-content {
        padding: 70px 18px 250px;
        align-items: flex-start;
    }

    .hero-copy p,
    .detail-one-line {
        font-size: 17px;
    }

    .hero-controls {
        bottom: 188px;
    }

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

    .hero-search,
    .inline-filter {
        flex-direction: column;
    }

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

    .hero-category-links {
        justify-content: flex-start;
    }

    .content-section {
        padding: 48px 16px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

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

    .movie-card.compact {
        grid-template-columns: 108px 1fr;
    }

    .ranking-wide-row {
        grid-template-columns: 48px 56px minmax(0, 1fr);
    }

    .ranking-wide-row em,
    .ranking-wide-row b {
        display: none;
    }

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

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

    .compact-hero {
        padding: 64px 16px;
    }
}

@media (max-width: 540px) {
    .brand-name {
        font-size: 17px;
    }

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

    .movie-card {
        display: grid;
        grid-template-columns: 118px 1fr;
    }

    .movie-card .poster-link {
        aspect-ratio: auto;
        min-height: 178px;
    }

    .ranking-row {
        grid-template-columns: 38px 54px 1fr;
    }

    .ranking-row em {
        display: none;
    }

    .collection-cover {
        min-height: 140px;
    }

    .detail-inner {
        padding: 28px 16px 54px;
    }

    .story-card {
        padding: 22px;
    }

    .player-overlay strong {
        font-size: 18px;
    }
}
