:root {
    --color-bg: #f8fafc;
    --color-card: #ffffff;
    --color-ink: #1f2937;
    --color-muted: #64748b;
    --color-line: #e2e8f0;
    --color-red: #dc2626;
    --color-red-soft: #fee2e2;
    --color-orange: #f97316;
    --color-slate: #0f172a;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 25px 55px rgba(15, 23, 42, 0.25);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: var(--color-ink);
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 46%, #0f172a 100%);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
}

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

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

.brand-icon,
.footer-brand span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    color: #fff;
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.35);
}

.brand-text {
    font-size: 24px;
    background: linear-gradient(90deg, #ef4444, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
}

.nav-link {
    position: relative;
    color: #d1d5db;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red), var(--color-orange));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

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

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    border-radius: 2px;
    background: #fff;
}

.home-hero {
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.35), transparent 36%),
        linear-gradient(90deg, #0f172a 0%, #7f1d1d 52%, #0f172a 100%);
    overflow: hidden;
}

.hero-shell,
.content-section,
.detail-layout,
.footer-grid,
.footer-bottom,
.page-hero {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-shell {
    padding: 56px 0 64px;
}

.hero-title-block {
    max-width: 780px;
    margin-bottom: 28px;
}

.eyebrow {
    margin: 0 0 10px;
    color: #fca5a5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-title-block h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    background: linear-gradient(90deg, #f87171, #fb923c, #f87171);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title-block p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 16px 0 0;
    color: #d1d5db;
    font-size: clamp(16px, 2vw, 22px);
}

.hero-carousel {
    position: relative;
    min-height: 500px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: rgba(2, 6, 23, 0.58);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: center;
    gap: 36px;
    padding: 56px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) brightness(0.45) saturate(1.2);
    transform: scale(1.08);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(127, 29, 29, 0.76), rgba(2, 6, 23, 0.86));
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.hero-copy h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.hero-summary {
    max-width: 700px;
    margin: 18px 0 0;
    color: #e5e7eb;
    font-size: 18px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-row span,
.tag-row a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
}

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

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

.primary-button {
    color: #fff;
    background: linear-gradient(90deg, var(--color-red), var(--color-orange));
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.34);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.pill-link:hover {
    transform: translateY(-2px);
}

.ghost-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.10);
}

.hero-poster {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

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

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

.hero-mini-list {
    position: absolute;
    left: 56px;
    right: 56px;
    bottom: 24px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.hero-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.62);
    color: #e5e7eb;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-mini-card.is-active,
.hero-mini-card:hover {
    border-color: rgba(248, 113, 113, 0.85);
    background: rgba(127, 29, 29, 0.72);
}

.hero-mini-card img {
    width: 56px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 10px;
    object-fit: cover;
}

.hero-mini-card span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 700;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 36px;
    line-height: 1;
    transform: translateY(-50%);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-search {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.38);
    backdrop-filter: blur(10px);
}

.hero-search input,
.filter-line input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 14px;
    color: var(--color-ink);
    background: #fff;
    outline: none;
}

.quick-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.quick-cats a {
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
}

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

.soft-section {
    width: 100%;
    max-width: none;
    padding: 56px max(16px, calc((100% - 1200px) / 2));
    background: linear-gradient(90deg, #eff6ff, #fff7ed);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 900;
}

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

.section-more,
.text-button {
    color: var(--color-red);
    font-weight: 800;
}

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

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

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

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

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

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

.poster-link img,
.wide-cover img,
.rank-cover img,
.category-art img,
.overview-images img,
.poster-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .poster-link img,
.movie-card:hover .wide-cover img,
.rank-card:hover .rank-cover img,
.category-card:hover .category-art img,
.overview-card:hover .overview-images img {
    transform: scale(1.08);
}

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

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.86);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 2px 9px;
    border-radius: 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.badge-red {
    left: 10px;
    top: 10px;
    background: var(--color-red);
}

.badge-dark {
    right: 10px;
    top: 10px;
    background: rgba(15, 23, 42, 0.78);
}

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

.movie-title {
    display: block;
    color: var(--color-ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.movie-title:hover {
    color: var(--color-red);
}

.movie-card-body p,
.rank-info p,
.wide-info p {
    display: -webkit-box;
    margin: 8px 0 12px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 13px;
}

.movie-meta span,
.movie-meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #f1f5f9;
}

.movie-meta strong {
    color: #b45309;
    background: #fef3c7;
}

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

.category-card,
.overview-card,
.side-card,
.detail-info-card,
.player-card,
.rank-card {
    border-radius: 22px;
    background: var(--color-card);
    box-shadow: var(--shadow-soft);
}

.category-card {
    overflow: hidden;
}

.category-art {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 150px;
    overflow: hidden;
    background: #111827;
}

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

.category-card h3,
.overview-content h2,
.side-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.category-card p,
.overview-content p,
.side-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.category-samples,
.overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.category-samples a,
.overview-links a,
.side-card a {
    color: var(--color-red);
    font-weight: 700;
    font-size: 14px;
}

.page-hero {
    margin-top: 36px;
    padding: 60px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.35), transparent 35%),
        linear-gradient(90deg, #0f172a, #7f1d1d, #111827);
    box-shadow: var(--shadow-strong);
}

.small-hero,
.category-hero,
.ranking-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.overview-card {
    overflow: hidden;
}

.overview-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 210px;
    overflow: hidden;
    background: #111827;
}

.overview-content {
    padding: 22px;
}

.filter-line {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    color: var(--color-muted);
    background: #fff;
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    color: #fff;
    border-color: var(--color-red);
    background: linear-gradient(90deg, var(--color-red), var(--color-orange));
}

.search-panel {
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.category-movie-grid {
    align-items: stretch;
}

.category-pager {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
}

.category-pager a {
    flex: 1;
    padding: 18px;
    border-radius: 16px;
    color: var(--color-red);
    background: #fff;
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 3 / 4;
    background: #111827;
}

.rank-cover span {
    position: absolute;
    left: 10px;
    top: 10px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    font-weight: 900;
}

.rank-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-layout {
    padding: 34px 0 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--color-muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-red);
    font-weight: 700;
}

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

.detail-main {
    min-width: 0;
}

.player-card {
    overflow: hidden;
    margin-bottom: 24px;
    background: #020617;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.58);
}

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

.big-play {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 34px;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.36);
}

.detail-info-card {
    padding: 28px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.detail-title-row h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
}

.pill-link {
    align-self: flex-start;
    color: #fff;
    background: linear-gradient(90deg, var(--color-red), var(--color-orange));
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--color-line);
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
}

.detail-tags {
    margin: 0 0 24px;
}

.detail-tags a {
    color: #334155;
    background: #f1f5f9;
}

.text-block,
.review-block {
    margin-top: 24px;
}

.text-block h2,
.review-block h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 900;
}

.text-block p,
.review-block p {
    margin: 0;
    color: #475569;
    font-size: 16px;
}

.review-block {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff1f2, #fffbeb);
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 18px;
}

.poster-side img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 14px;
}

.full {
    width: 100%;
}

.side-card a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
}

.side-card a:last-child {
    border-bottom: 0;
}

.related-section {
    padding-top: 30px;
}

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

.movie-card-wide {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
}

.wide-cover {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
    background: #111827;
}

.wide-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.site-footer {
    margin-top: 56px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 48px 0;
}

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

.footer-grid p {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: #cbd5e1;
    font-size: 14px;
}

.footer-grid a:hover {
    color: #f87171;
}

.footer-bottom {
    padding: 18px 0 26px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
        padding: 42px;
    }

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

    .detail-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 18px;
        background: #0f172a;
        box-shadow: var(--shadow-strong);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 8px 0;
    }

    .hero-carousel {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 30px;
    }

    .hero-poster {
        width: min(260px, 80%);
        margin: 0 auto 120px;
    }

    .hero-mini-list {
        left: 24px;
        right: 24px;
        grid-template-columns: 1fr;
    }

    .hero-mini-card img {
        width: 46px;
        height: 34px;
    }

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

    .filter-line {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 36px 24px;
    }
}

@media (max-width: 580px) {
    .header-inner,
    .hero-shell,
    .content-section,
    .detail-layout,
    .footer-grid,
    .footer-bottom,
    .page-hero {
        width: min(100% - 22px, 1200px);
    }

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

    .hero-shell {
        padding: 36px 0 44px;
    }

    .hero-carousel {
        min-height: 710px;
        border-radius: 20px;
    }

    .hero-slide {
        padding: 22px;
    }

    .hero-copy h2 {
        font-size: 34px;
    }

    .hero-summary {
        font-size: 15px;
    }

    .hero-arrow {
        display: none;
    }

    .poster-grid,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .related-list,
    .footer-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

    .movie-card-wide,
    .rank-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .category-pager,
    .detail-title-row {
        flex-direction: column;
    }

    .big-play {
        width: 72px;
        height: 72px;
    }
}
