@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Serif+SC:wght@400;700&display=swap");

:root {
    --sunrise-50: #fff5ec;
    --sunrise-100: #ffe8d5;
    --sunrise-400: #ff883c;
    --sunrise-500: #ff6916;
    --sunrise-600: #f04e0c;
    --sunrise-700: #c73a0c;
    --morning-50: #fef6ee;
    --morning-500: #f0601f;
    --dawn-50: #fff9f0;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-soft: 0 22px 60px rgba(17, 24, 39, 0.14);
    --shadow-card: 0 14px 35px rgba(17, 24, 39, 0.10);
    --radius-xl: 1.25rem;
    --radius-2xl: 1.65rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--dawn-50), #ffffff 34%, var(--gray-50));
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 18px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--sunrise-600);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    box-shadow: 0 10px 24px rgba(255, 105, 22, 0.35);
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--gray-700);
    font-weight: 600;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--sunrise-500);
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 0.85rem;
    background: var(--gray-100);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--gray-800);
}

.mobile-nav {
    display: none;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--gray-100);
    background: rgba(255, 255, 255, 0.98);
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0.25rem;
    color: var(--gray-700);
    font-weight: 600;
}

.hero {
    position: relative;
    height: min(74vh, 720px);
    min-height: 560px;
    overflow: hidden;
    background: #000000;
}

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

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
}

.hero-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42) 47%, rgba(0, 0, 0, 0.08));
}

.hero-copy {
    position: absolute;
    left: 50%;
    bottom: clamp(4rem, 9vw, 7rem);
    z-index: 2;
    transform: translateX(-50%);
    color: #ffffff;
}

.hero-copy > * {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--sunrise-400);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(2.5rem, 7vw, 5.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-desc {
    margin: 1.2rem 0 1.7rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions,
.center-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.78rem 1.55rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    box-shadow: 0 14px 32px rgba(255, 105, 22, 0.34);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.015);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tags {
    margin-top: 1.2rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    color: var(--sunrise-700);
    background: var(--sunrise-100);
    font-size: 0.85rem;
    font-weight: 700;
}

.hero .tag {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.36);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    font-size: 2.2rem;
    line-height: 1;
}

.hero-prev {
    left: 1.25rem;
}

.hero-next {
    right: 1.25rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    z-index: 6;
    display: flex;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.hero-dot {
    width: 0.75rem;
    height: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 2rem;
    background: var(--sunrise-500);
}

.section-block {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title > span {
    width: 0.35rem;
    height: 2.4rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sunrise-500), var(--morning-500));
}

.section-title h2,
.rank-section h2,
.detail-section h2,
.side-card h2 {
    margin: 0;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.15;
}

.section-title p {
    margin: 0.35rem 0 0;
    color: var(--gray-600);
}

.warm-band {
    background: linear-gradient(90deg, var(--morning-50), var(--dawn-50));
}

.dark-band {
    color: #ffffff;
    background: linear-gradient(135deg, var(--gray-900), #1b2230);
}

.dark-band .section-title p {
    color: var(--gray-300);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

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

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

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

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

.movie-poster,
.movie-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--gray-900);
}

.movie-poster {
    aspect-ratio: 2 / 3;
}

.movie-card-image {
    aspect-ratio: 16 / 9;
}

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

.movie-card:hover img {
    transform: scale(1.07);
}

.movie-badge,
.movie-type {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 800;
}

.movie-badge {
    top: 0.75rem;
    left: 0.75rem;
}

.movie-type {
    right: 0.75rem;
    bottom: 0.75rem;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
}

.movie-card-body {
    padding: 1rem;
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--gray-500);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card h3 {
    margin: 0.45rem 0 0.45rem;
    font-size: 1.08rem;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--sunrise-600);
}

.movie-card p {
    margin: 0 0 0.75rem;
    color: var(--gray-600);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-wide {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: stretch;
}

.movie-card-wide .movie-card-body {
    padding: 1.35rem;
}

.movie-card-wide h3 {
    font-size: 1.38rem;
}

.category-link-grid,
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

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

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 160px;
    padding: 1.35rem;
    background: linear-gradient(135deg, #ffffff, var(--dawn-50));
}

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

.category-tile strong,
.category-overview-copy h2 {
    font-family: "Noto Serif SC", serif;
    font-size: 1.35rem;
}

.category-tile span,
.category-overview-copy p {
    color: var(--gray-600);
}

.rail-wrap {
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
}

.rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rail-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.rail-head a {
    color: var(--sunrise-600);
    font-weight: 800;
}

.rail-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0 1rem;
    scroll-snap-type: x proximity;
}

.rail-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rank-item {
    display: grid;
    grid-template-columns: auto 74px 1fr;
    align-items: center;
    gap: 0.9rem;
    min-height: 92px;
    padding: 0.7rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.rank-item img {
    width: 74px;
    height: 74px;
    border-radius: 0.85rem;
    object-fit: cover;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    font-weight: 900;
}

.rank-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    color: var(--gray-300);
    font-style: normal;
    font-size: 0.9rem;
}

.center-action {
    justify-content: center;
    margin-top: 2rem;
}

.page-main {
    min-height: 60vh;
}

.page-hero {
    padding: clamp(4rem, 8vw, 7rem) 0;
    color: #ffffff;
    background: radial-gradient(circle at 18% 10%, rgba(255, 105, 22, 0.42), transparent 28%), linear-gradient(135deg, var(--gray-900), #202738 62%, #3b1b12);
}

.small-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.small-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

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

.category-overview-card {
    display: flex;
    flex-direction: column;
}

.category-cover-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 138px;
    background: var(--gray-900);
}

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

.category-overview-copy {
    display: grid;
    gap: 0.65rem;
    padding: 1.3rem;
}

.category-overview-copy h2,
.category-overview-copy p {
    margin: 0;
}

.category-overview-copy span {
    color: var(--sunrise-600);
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr minmax(140px, 210px) minmax(140px, 210px);
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 105, 22, 0.12);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.strong-filter {
    position: sticky;
    top: 84px;
    z-index: 10;
}

.filter-panel label {
    display: grid;
    gap: 0.45rem;
    color: var(--gray-700);
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 3rem;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0 1rem;
    color: var(--gray-800);
    background: #ffffff;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--sunrise-500);
    box-shadow: 0 0 0 4px rgba(255, 105, 22, 0.12);
}

.empty-state {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: var(--radius-xl);
    color: var(--gray-600);
    background: #ffffff;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.rank-page {
    display: grid;
    gap: 3rem;
}

.rank-section h2 {
    margin-bottom: 1.2rem;
}

.rank-page .rank-item {
    color: var(--gray-900);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-page .rank-copy em {
    color: var(--gray-500);
}

.player-band {
    padding: 1.6rem 0 2rem;
    background: #050505;
}

.dark-breadcrumb {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: #000000;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.42);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000000;
    cursor: pointer;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.8rem;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.25));
    cursor: pointer;
}

.player-cover.is-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.play-icon {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    box-shadow: 0 20px 50px rgba(255, 105, 22, 0.38);
    font-size: 1.8rem;
}

.player-cover strong {
    font-size: 1.15rem;
}

.detail-main {
    background: linear-gradient(180deg, #080808 0, var(--gray-50) 14rem, #ffffff);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.detail-content {
    display: grid;
    gap: 1.35rem;
}

.detail-card,
.detail-section,
.side-card {
    border-radius: var(--radius-2xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.hero-detail-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.25rem;
}

.detail-poster {
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--gray-900);
    aspect-ratio: 2 / 3;
}

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

.detail-copy {
    align-self: center;
    padding: 0.5rem 0.75rem;
}

.detail-copy h1 {
    font-size: clamp(2rem, 4.6vw, 4rem);
}

.lead-text {
    margin: 1rem 0 1.2rem;
    color: var(--gray-700);
    font-size: 1.12rem;
}

.info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.info-list span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--gray-100);
    font-size: 0.92rem;
    font-weight: 700;
}

.large-tags .tag {
    font-size: 0.9rem;
}

.detail-section {
    padding: 1.45rem;
}

.detail-section h2 {
    margin-bottom: 0.9rem;
    font-size: 1.65rem;
}

.detail-section p {
    margin: 0;
    color: var(--gray-700);
    font-size: 1.03rem;
}

.pager-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pager-links a {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    color: var(--sunrise-700);
    background: var(--sunrise-50);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.detail-side {
    display: grid;
    gap: 1.25rem;
    align-content: start;
    position: sticky;
    top: 92px;
}

.side-card {
    padding: 1.15rem;
}

.side-card h2 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.side-list {
    display: grid;
    gap: 0.75rem;
}

.side-list .rank-item {
    grid-template-columns: auto 60px 1fr;
    min-height: 74px;
    color: var(--gray-900);
    background: var(--gray-50);
    box-shadow: none;
}

.side-list .rank-item img {
    width: 60px;
    height: 60px;
}

.side-list .rank-copy em {
    color: var(--gray-500);
}

.side-category {
    display: block;
    margin-top: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    color: var(--sunrise-700);
    background: var(--sunrise-50);
    font-weight: 800;
}

.site-footer {
    color: var(--gray-300);
    background: linear-gradient(135deg, var(--gray-900), #1f2937);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 0.9rem;
    color: #ffffff;
    font-family: "Noto Serif SC", serif;
}

.site-footer p {
    margin: 0;
    color: var(--gray-400);
}

.site-footer ul {
    display: grid;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer a {
    color: var(--gray-400);
}

.site-footer a:hover {
    color: var(--sunrise-400);
}

.footer-bottom {
    padding: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    text-align: center;
}

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

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

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

    .detail-side {
        position: static;
    }

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

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

    .nav-toggle {
        display: inline-block;
    }

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

    .hero {
        min-height: 520px;
        height: 72vh;
    }

    .hero-copy {
        bottom: 4.5rem;
    }

    .hero-arrow {
        display: none;
    }

    .featured-grid,
    .rank-grid,
    .filter-panel,
    .hero-detail-card,
    .pager-links {
        grid-template-columns: 1fr;
    }

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

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

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

    .movie-grid,
    .compact-grid,
    .related-grid,
    .category-link-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem;
    }

    .movie-card-body {
        padding: 0.85rem;
    }

    .movie-card h3 {
        font-size: 0.98rem;
    }

    .movie-card p,
    .tag-row {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        gap: 0.65rem;
    }

    .primary-button,
    .ghost-button {
        padding: 0.72rem 1rem;
    }

    .play-icon {
        width: 4rem;
        height: 4rem;
    }

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