/* Static movie site styles inspired by the uploaded orange-red card layout. */
:root {
    --color-orange: #ea580c;
    --color-orange-dark: #c2410c;
    --color-red: #dc2626;
    --color-yellow: #facc15;
    --color-green: #16a34a;
    --color-blue: #2563eb;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-soft: #f9fafb;
    --color-line: #e5e7eb;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-hover: 0 20px 45px rgba(234, 88, 12, 0.20);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f3f4f6;
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--color-orange), var(--color-red));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.20);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    transition: transform 0.25s ease;
}

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

.brand-name {
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: 0.02em;
}

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

.nav-link {
    position: relative;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: #fde68a;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fef3c7;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.nav-search input {
    width: 230px;
    border: 0;
    outline: 0;
    padding: 10px 14px 10px 18px;
    color: #111827;
    background: transparent;
}

.nav-search button {
    border: 0;
    color: #6b7280;
    background: transparent;
    padding: 10px 14px;
}

.mobile-toggle {
    display: none;
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 8px 12px;
}

.mobile-nav {
    display: none;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(194, 65, 12, 0.98);
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
}

.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fef3c7;
    color: #9a3412;
    font-weight: 700;
}

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

.hero-carousel {
    position: relative;
    height: clamp(420px, 58vw, 620px);
    overflow: hidden;
    background: #111827;
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(234, 88, 12, 0.34), transparent 36%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.25) 58%, rgba(0, 0, 0, 0.15));
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2));
    right: 24px;
    bottom: clamp(48px, 9vw, 100px);
    max-width: 760px;
    color: #ffffff;
}

.hero-kicker,
.hero-tags,
.detail-meta,
.card-meta,
.mini-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hero-kicker span,
.hero-tags span,
.detail-tags span,
.mini-tags span {
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
}

.hero-kicker span:first-child {
    background: var(--color-orange);
    color: #ffffff;
}

.hero-kicker span:not(:first-child),
.hero-tags span {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.hero-content h1 {
    margin: 16px 0 14px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(16px, 2vw, 20px);
}

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

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

.primary-button {
    background: var(--color-orange);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(234, 88, 12, 0.35);
}

.primary-button:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(12px);
}

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

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.56);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.50);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.home-shell {
    padding-top: 48px;
    padding-bottom: 64px;
}

.content-section {
    margin-bottom: 64px;
}

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

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.section-icon {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    color: var(--color-orange);
    background: #ffedd5;
    font-weight: 900;
}

.section-more {
    color: var(--color-orange);
    font-weight: 750;
}

.section-more:hover {
    color: var(--color-orange-dark);
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #1f2937;
    aspect-ratio: 3 / 4;
}

.movie-card:not(.movie-card-compact) .poster-link {
    aspect-ratio: 16 / 10;
}

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

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

.poster-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    padding: 4px 9px;
    color: #ffffff;
    background: var(--color-orange);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 36px;
    opacity: 0;
    transform: scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: scale(1);
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    margin: 0 0 8px;
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    color: #1f2937;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.card-body h3 a:hover {
    color: var(--color-orange);
}

.card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    justify-content: space-between;
    color: #6b7280;
    font-size: 12px;
}

.mini-tags {
    margin-top: 10px;
}

.mini-tags span {
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
}

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

.category-tile {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #dc2626);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    mix-blend-mode: multiply;
}

.category-tile span,
.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 1;
}

.category-tile span {
    font-weight: 900;
    opacity: 0.86;
}

.category-tile strong {
    font-size: 24px;
}

.category-tile em {
    font-style: normal;
    opacity: 0.90;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 28px;
}

.media-list,
.mini-rank-list,
.related-list,
.rank-list {
    display: grid;
    gap: 14px;
}

.media-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
    transition: background 0.2s ease, transform 0.2s ease;
}

.media-row:hover {
    background: #fff7ed;
    transform: translateX(3px);
}

.list-rank {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--color-orange);
    background: #ffedd5;
    font-weight: 900;
}

.media-row img {
    flex: 0 0 112px;
    width: 112px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: #1f2937;
}

.media-row-body {
    display: grid;
    min-width: 0;
}

.media-row-body strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-row-body em {
    display: -webkit-box;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    font-style: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.media-row-body small {
    color: #9ca3af;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 237, 213, 0.22), transparent 32%),
        linear-gradient(90deg, var(--color-orange), var(--color-red));
    padding: 56px 0;
}

.compact-hero,
.search-hero,
.ranking-hero,
.category-hero {
    margin-bottom: 38px;
}

.page-hero h1 {
    margin: 6px 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 18px;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 900;
    color: #fef3c7 !important;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.detail-shell > .breadcrumb {
    color: #6b7280;
    margin: 28px 0 18px;
}

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

.detail-shell > .breadcrumb a:hover {
    color: var(--color-orange);
}

.filter-panel {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: #374151;
    font-weight: 750;
}

.filter-panel input,
.filter-panel select {
    min-width: 220px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    outline: 0;
    padding: 10px 14px;
    background: #ffffff;
    color: #111827;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.16);
}

.multi-filter {
    align-items: end;
}

.reset-button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    color: #ffffff;
    background: var(--color-orange);
    font-weight: 750;
}

.reset-button:hover {
    background: var(--color-orange-dark);
}

.filter-count {
    margin-left: auto;
    color: #6b7280;
    font-weight: 750;
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-covers {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3px;
    height: 150px;
    background: #1f2937;
}

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

.category-overview-card > div {
    padding: 18px;
}

.category-overview-card h2 {
    margin: 0 0 8px;
}

.category-overview-card p {
    min-height: 50px;
    margin: 0 0 12px;
    color: #4b5563;
}

.category-overview-card span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 12px;
    color: #9a3412;
    background: #ffedd5;
    font-weight: 750;
}

.top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.top-rank-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.top-rank-card > a {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
}

.top-rank-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.rank-crown {
    position: absolute;
    top: 14px;
    left: 14px;
    border-radius: 999px;
    padding: 6px 13px;
    color: #ffffff;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    font-weight: 900;
}

.top-rank-card div {
    padding: 18px;
}

.top-rank-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.top-rank-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 10px;
    color: #4b5563;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.top-rank-card small {
    color: #9ca3af;
}

.rank-row {
    display: grid;
    grid-template-columns: 48px 92px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--color-orange);
    background: #ffedd5;
    font-weight: 900;
}

.rank-row img {
    width: 92px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}

.rank-info {
    display: grid;
    min-width: 0;
}

.rank-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.rank-meta {
    color: #6b7280;
    white-space: nowrap;
}

.rank-score {
    border-radius: 999px;
    padding: 5px 10px;
    color: #ffffff;
    background: var(--color-orange);
    font-weight: 900;
}

.detail-page {
    padding-bottom: 64px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.86fr);
    gap: 28px;
}

.watch-card,
.detail-card,
.poster-card,
.related-panel {
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.watch-card {
    overflow: hidden;
}

.video-player-shell {
    position: relative;
    overflow: hidden;
    background: #020617;
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(234, 88, 12, 0.32), rgba(0, 0, 0, 0.48));
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    color: #ffffff;
    background: var(--color-orange);
    box-shadow: 0 16px 35px rgba(234, 88, 12, 0.40);
    font-size: 30px;
}

.player-status {
    position: absolute;
    left: 14px;
    bottom: 12px;
    border-radius: 999px;
    padding: 5px 12px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(0, 0, 0, 0.48);
    font-size: 12px;
    pointer-events: none;
}

.detail-title-block {
    padding: 24px;
}

.detail-title-block h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 5px 12px;
    color: #4b5563;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 700;
}

.lead-text {
    margin: 0;
    color: #374151;
    font-size: 18px;
    font-weight: 650;
}

.detail-card {
    margin-top: 22px;
    padding: 24px;
}

.detail-card h2,
.related-panel h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.detail-card p {
    margin: 0;
    color: #374151;
    white-space: pre-line;
}

.detail-tags span {
    color: #9a3412;
    background: #ffedd5;
}

.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}

.poster-card {
    overflow: hidden;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #1f2937;
}

.poster-card dl {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 18px;
}

.poster-card dl div {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.poster-card dd {
    margin: 0;
    font-weight: 700;
}

.poster-card a {
    color: var(--color-orange);
}

.related-panel {
    position: sticky;
    top: 88px;
    padding: 20px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.related-card:hover {
    background: #fff7ed;
}

.related-card img {
    flex: 0 0 96px;
    width: 96px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
}

.related-card span {
    display: grid;
    min-width: 0;
}

.related-card strong {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-card em {
    margin-top: 5px;
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding: 46px 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

.site-footer p,
.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

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

.footer-note {
    margin-top: 14px !important;
    color: #fb923c;
}

[data-card][hidden] {
    display: none !important;
}

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

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

    .nav-search input {
        width: 180px;
    }
}

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

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

    .split-section,
    .detail-layout,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .related-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .page-shell,
    .nav-shell,
    .footer-shell {
        width: min(100% - 24px, 1180px);
    }

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

    .hero-carousel {
        height: 540px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 62px;
    }

    .hero-control {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .movie-grid.six-columns,
    .movie-grid.four-columns,
    .category-grid,
    .category-overview-grid,
    .top-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body h3 {
        font-size: 15px;
    }

    .card-body p {
        display: none;
    }

    .filter-panel,
    .multi-filter {
        display: grid;
        align-items: stretch;
    }

    .filter-panel input,
    .filter-panel select {
        min-width: 0;
        width: 100%;
    }

    .filter-count {
        margin-left: 0;
    }

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

    .rank-meta,
    .rank-score {
        display: none;
    }

    .rank-row img {
        width: 74px;
        height: 52px;
    }

    .media-row img {
        flex-basis: 88px;
        width: 88px;
        height: 62px;
    }
}

@media (max-width: 460px) {
    .movie-grid.six-columns,
    .movie-grid.four-columns,
    .category-grid,
    .category-overview-grid,
    .top-rank-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .category-tile {
        min-height: 128px;
        padding: 16px;
    }

    .category-tile strong {
        font-size: 20px;
    }

    .detail-title-block,
    .detail-card {
        padding: 18px;
    }
}
