:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --pink: #ec4899;
    --amber: #f59e0b;
    --blue: #0ea5e9;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #f1d7c5;
    --soft: #fff7ed;
    --soft-pink: #fdf2f8;
    --card: #ffffff;
    --shadow: 0 20px 50px rgba(249, 115, 22, 0.14);
    --shadow-strong: 0 28px 80px rgba(236, 72, 153, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.75), #ffffff 38%, rgba(253, 242, 248, 0.78));
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(135deg, #fb923c, #ec4899);
    box-shadow: 0 14px 28px rgba(236, 72, 153, 0.24);
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #f97316, #ec4899);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

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

.nav-link,
.mobile-nav-link {
    color: #374151;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.nav-link.is-active,
.mobile-nav-link.is-active {
    color: var(--orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search input,
.mobile-search input,
.wide-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid #fed7aa;
    background: #ffffff;
    border-radius: 999px;
    outline: none;
    color: var(--ink);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-search input {
    width: 260px;
    padding: 12px 46px 12px 18px;
}

.header-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #9ca3af;
    background: transparent;
    cursor: pointer;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    color: #374151;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 20px;
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.mobile-search input {
    width: 100%;
    padding: 12px 18px;
}

.mobile-search button,
.wide-search button,
.filter-panel button {
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(90deg, #f97316, #ec4899);
    cursor: pointer;
}

.mobile-nav {
    display: grid;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #ffedd5;
}

.hero-carousel {
    position: relative;
    height: min(720px, 72vh);
    min-height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffedd5, #fce7f3);
}

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.06));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #fff7ed;
    background: rgba(249, 115, 22, 0.88);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.hero-content h1 {
    max-width: 800px;
    margin: 22px 0 18px;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.hero-content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.75;
}

.hero-tags,
.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin: 24px 0 30px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    color: #7c2d12;
    background: #ffedd5;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

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

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #ec4899);
    box-shadow: 0 18px 42px rgba(236, 72, 153, 0.32);
}

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

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

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    cursor: pointer;
}

.hero-prev {
    left: 26px;
}

.hero-next {
    right: 26px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

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

.search-band,
.page-wrap,
.content-section,
.site-footer .footer-inner,
.footer-bottom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.search-band {
    margin-top: -44px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 24px;
    align-items: center;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
}

.search-band h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 34px);
}

.search-band p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.wide-search {
    display: flex;
    gap: 10px;
}

.wide-search input {
    width: 100%;
    padding: 15px 18px;
}

.content-section {
    padding: 70px 24px 0;
}

.content-section.soft-panel,
.content-section.soft-blue {
    margin-top: 70px;
    padding: 42px;
    border-radius: 36px;
}

.content-section.soft-panel {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.content-section.soft-blue {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
}

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

.section-heading a {
    color: var(--orange);
    font-weight: 800;
    white-space: nowrap;
}

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

.movie-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.movie-card {
    min-width: 0;
}

.poster-link {
    display: block;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(249, 115, 22, 0.18);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

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

.poster-link:hover img {
    transform: scale(1.1);
}

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 62%);
    transition: opacity 0.3s ease;
}

.poster-link:hover .poster-shade {
    opacity: 1;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--orange);
    font-size: 25px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.poster-link:hover .play-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.duration-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
}

.card-body {
    display: block;
    padding: 16px;
}

.card-body strong {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-body em {
    display: -webkit-box;
    min-height: 42px;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    font-style: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 13px 0 10px;
    color: #6b7280;
    font-size: 12px;
}

.card-meta span + span::before {
    content: "·";
    margin-right: 8px;
    color: #f97316;
}

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

.category-card,
.category-overview-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(236, 72, 153, 0.16);
}

.category-thumbs,
.category-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.category-thumbs img,
.category-mosaic img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.category-card strong,
.category-overview-card strong {
    font-size: 21px;
    font-weight: 900;
}

.category-card em,
.category-overview-card em {
    color: var(--muted);
    line-height: 1.65;
    font-style: normal;
    font-size: 14px;
}

.year-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 26px;
}

.year-tab {
    flex: 0 0 auto;
    border: 2px solid #fed7aa;
    border-radius: 16px;
    padding: 12px 26px;
    color: #7c2d12;
    font-weight: 900;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.year-tab.is-active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.2);
}

.year-panel {
    display: none;
}

.year-panel.is-active {
    display: block;
}

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

.ranking-item,
.ranking-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(31, 41, 55, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-item:hover,
.ranking-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.14);
}

.rank-no {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.rank-no.slim {
    width: 42px;
    height: 42px;
    font-size: 16px;
}

.ranking-item img,
.ranking-row img {
    width: 104px;
    height: 66px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-info,
.ranking-row strong {
    min-width: 0;
    flex: 1;
}

.rank-info strong,
.ranking-row strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 850;
}

.rank-info em,
.ranking-row em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.score {
    color: var(--amber);
    font-size: 20px;
    font-weight: 900;
}

.page-wrap {
    padding: 34px 24px 0;
}

.page-hero {
    margin: 12px 0 34px;
    padding: 54px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.28), transparent 30%),
        linear-gradient(135deg, #f97316, #ec4899);
    box-shadow: var(--shadow-strong);
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 900;
}

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

.small-hero {
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.25), transparent 32%),
        linear-gradient(135deg, #fb923c, #ec4899 58%, #f59e0b);
}

.category-hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, #f97316, #db2777);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.filter-panel {
    position: sticky;
    top: 88px;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 220px 180px;
    gap: 14px;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #ffedd5;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.08);
    backdrop-filter: blur(16px);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 13px 16px;
}

.category-overview-grid {
    padding-bottom: 40px;
}

.category-overview-card {
    min-height: 300px;
}

.category-overview-card > span:last-child {
    margin-top: auto;
    color: var(--orange);
    font-weight: 900;
}

.ranking-table {
    display: grid;
    gap: 12px;
    padding: 0 0 40px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 42px 96px 1fr minmax(160px, auto) 70px;
}

.detail-page {
    max-width: 1340px;
}

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

.watch-main,
.watch-aside,
.detail-copy,
.related-section {
    min-width: 0;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 28px;
    background: #111827;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.24);
}

.player-frame video {
    width: 100%;
    height: 100%;
    background: #111827;
    object-fit: cover;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 6px;
    font-size: 40px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    box-shadow: 0 24px 50px rgba(236, 72, 153, 0.32);
}

.detail-copy {
    margin-top: 26px;
    padding: 34px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(31, 41, 55, 0.08);
}

.detail-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    font-weight: 900;
}

.detail-copy .lead {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 19px;
    line-height: 1.8;
}

.detail-copy section {
    margin-top: 28px;
}

.detail-copy h2,
.aside-related h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 900;
}

.detail-copy p {
    margin: 0;
    color: #374151;
    line-height: 2;
    font-size: 16px;
}

.watch-aside {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 18px;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.detail-info,
.aside-related {
    margin: 0;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(31, 41, 55, 0.08);
}

.detail-info {
    list-style: none;
    display: grid;
    gap: 12px;
}

.detail-info li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
}

.detail-info li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-info strong {
    color: var(--ink);
    text-align: right;
}

.aside-related {
    display: grid;
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: center;
}

.compact-card img {
    width: 88px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

.compact-card strong,
.compact-card em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.compact-card strong {
    font-weight: 850;
}

.compact-card em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.site-footer {
    margin-top: 84px;
    border-top: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 54px 24px 38px;
}

.footer-main p {
    max-width: 600px;
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.footer-col h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-col ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col a {
    color: var(--muted);
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding: 24px;
    border-top: 1px solid #fed7aa;
    color: var(--muted);
    font-size: 14px;
}

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

@media (max-width: 1120px) {
    .main-nav {
        gap: 18px;
    }

    .header-search input {
        width: 210px;
    }

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

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

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

    .watch-aside {
        position: static;
        grid-template-columns: 280px 1fr;
    }

    .aside-related {
        grid-column: 1 / -1;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-carousel {
        min-height: 600px;
        height: 78vh;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22));
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 92px;
    }

    .hero-arrow {
        display: none;
    }

    .search-band {
        grid-template-columns: 1fr;
        margin: 18px 24px 0;
    }

    .wide-search {
        flex-direction: column;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .movie-grid.three-col,
    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .ranking-list,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
        grid-template-columns: 1fr;
    }

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

    .ranking-row em {
        display: none;
    }

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

@media (max-width: 560px) {
    .header-inner {
        min-height: 64px;
        padding: 0 16px;
    }

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

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

    .hero-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-actions {
        width: 100%;
    }

    .btn-primary,
    .btn-ghost {
        flex: 1 1 100%;
    }

    .search-band,
    .content-section.soft-panel,
    .content-section.soft-blue,
    .page-hero,
    .detail-copy {
        border-radius: 22px;
        padding: 24px;
    }

    .content-section,
    .page-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .movie-grid,
    .movie-grid.three-col,
    .library-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .ranking-item img,
    .ranking-row img {
        width: 82px;
        height: 54px;
    }

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

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