:root {
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 36%, var(--gray-50) 100%);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(90deg, var(--green-700), var(--green-500));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.logo-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.16);
}

.logo-text {
    font-size: 1.15rem;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(22, 163, 74, 0.18);
    border-radius: 999px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    color: var(--gray-900);
    background: rgba(255, 255, 255, 0.95);
}

.header-search button,
.mobile-search button,
.large-search button {
    border: 0;
    color: var(--green-700);
    background: var(--white);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

.mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 14px 16px 18px;
}

.mobile-nav {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
}

.mobile-nav-link.is-active {
    background: rgba(255, 255, 255, 0.22);
    font-weight: 700;
}

.mobile-search input {
    flex: 1;
    padding: 12px 14px;
    color: var(--gray-900);
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--gray-900);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 30%, rgba(34, 197, 94, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 40%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(680px, 100%);
    color: var(--white);
    padding-top: 12px;
}

.hero-kickers,
.hero-stats,
.detail-tags,
.tag-list,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-kickers span,
.detail-tags span,
.tag-list span {
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-kickers span {
    background: var(--green-600);
    color: var(--white);
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
    width: min(620px, 100%);
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
}

.hero-stats {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.86);
}

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

.primary-button,
.ghost-button,
.panel-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    background: var(--green-600);
    color: var(--white);
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.32);
}

.primary-button:hover,
.ghost-button:hover,
.panel-link:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    padding: 12px 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

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

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

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

.stats-band {
    background: linear-gradient(90deg, var(--green-700), var(--green-500));
    color: var(--white);
    padding: 34px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1;
}

.stats-grid span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.content-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

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

.section-heading h2,
.rank-panel h2,
.related-panel h2,
.prose-card h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.15;
}

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

.section-more {
    color: var(--green-700);
    white-space: nowrap;
}

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

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

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

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

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-200);
}

.movie-poster img,
.category-tile img,
.category-cover img,
.ranking-thumb img,
.poster-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .movie-poster img,
.category-tile:hover img,
.ranking-row:hover .ranking-thumb img {
    transform: scale(1.06);
}

.poster-shade,
.tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.76));
    opacity: 0.72;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 0.9;
}

.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(22, 163, 74, 0.88);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration,
.region-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.76rem;
    font-weight: 800;
}

.duration {
    right: 10px;
    bottom: 10px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.72);
}

.region-badge {
    left: 10px;
    top: 10px;
    color: var(--white);
    background: var(--green-600);
}

.rank-badge {
    right: 10px;
    top: 10px;
    color: var(--green-800);
    background: var(--green-100);
}

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

.movie-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.movie-card-body h3 a:hover,
.ranking-info h2 a:hover,
.category-overview-card h2 a:hover {
    color: var(--green-700);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    gap: 8px 12px;
    color: var(--gray-500);
    font-size: 0.82rem;
}

.tag-list {
    margin-top: 12px;
    gap: 6px;
}

.tag-list span,
.detail-tags span {
    color: var(--green-800);
    background: var(--green-100);
}

.movie-card-large .movie-card-body {
    padding: 22px;
}

.movie-card-large .movie-card-body h3 {
    font-size: 1.25rem;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 128px 1fr;
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

.movie-card-horizontal .movie-poster {
    height: 100%;
    min-height: 96px;
}

.movie-card-horizontal .movie-card-body {
    padding: 12px;
}

.movie-card-horizontal .movie-card-body p,
.movie-card-horizontal .tag-list,
.movie-card-horizontal .duration,
.movie-card-horizontal .region-badge {
    display: none;
}

.category-band {
    background: rgba(240, 253, 244, 0.8);
}

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

.category-tile {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.category-tile img {
    position: absolute;
    inset: 0;
}

.category-tile div {
    position: absolute;
    inset: auto 16px 16px;
    z-index: 2;
}

.category-tile strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.6;
}

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

.rank-panel,
.detail-card,
.related-panel,
.poster-panel,
.filter-panel,
.category-overview-card,
.ranking-row {
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.rank-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.rank-panel ol {
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.rank-panel li + li {
    border-top: 1px solid var(--gray-100);
}

.rank-panel li a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
}

.rank-panel li span {
    color: var(--green-700);
    font-weight: 900;
}

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

.rank-panel li em {
    color: #ca8a04;
    font-style: normal;
    font-weight: 800;
}

.panel-link {
    width: 100%;
    border-radius: 999px;
    padding: 12px 16px;
    color: var(--white);
    background: var(--green-600);
}

.page-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
        linear-gradient(90deg, var(--green-700), var(--green-500));
    padding: 74px 0;
}

.compact-hero {
    padding: 54px 0;
}

.search-hero {
    padding-bottom: 68px;
}

.eyebrow {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.page-hero p {
    width: min(820px, 100%);
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

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

.breadcrumb a {
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--white);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    padding: 18px;
}

.category-cover {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 180px;
    border-radius: var(--radius-md);
}

.category-cover span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.68);
    font-weight: 800;
}

.category-overview-card h2 {
    margin: 8px 0 10px;
    font-size: 1.6rem;
}

.category-overview-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.muted {
    color: var(--gray-500) !important;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.mini-links a {
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--green-800);
    background: var(--green-100);
    font-size: 0.88rem;
    font-weight: 700;
}

.filter-panel {
    padding: 18px;
    margin-bottom: 24px;
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 14px;
}

.filter-row label {
    display: grid;
    gap: 7px;
    color: var(--gray-700);
    font-weight: 700;
}

.filter-row input,
.filter-row select {
    width: 100%;
    padding: 12px 14px;
    color: var(--gray-900);
    background: var(--white);
}

.filter-count {
    margin: 12px 0 0;
    color: var(--gray-500);
}

.large-search {
    display: flex;
    gap: 10px;
    width: min(720px, 100%);
    margin-top: 26px;
}

.large-search input {
    flex: 1;
    padding: 16px 20px;
    color: var(--gray-900);
    background: var(--white);
}

.large-search button {
    padding-inline: 24px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 76px 180px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    font-weight: 900;
}

.ranking-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}

.ranking-info h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.ranking-info p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-600);
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail-top {
    padding: 24px 0;
    background: linear-gradient(90deg, var(--green-700), var(--green-500));
}

.detail-top .breadcrumb {
    margin-bottom: 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    padding-top: 32px;
    padding-bottom: 64px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    background: #020617;
    box-shadow: var(--shadow-lg);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background:
        radial-gradient(circle at center, rgba(22, 163, 74, 0.38), transparent 32%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--green-600);
    box-shadow: 0 18px 48px rgba(22, 163, 74, 0.38);
    font-size: 2.4rem;
    text-indent: 0.12em;
}

.player-overlay strong {
    font-size: 1.05rem;
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    font-size: 0.92rem;
}

.detail-card,
.poster-panel,
.related-panel {
    padding: 24px;
    margin-top: 22px;
}

.detail-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.detail-heading h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.detail-heading p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.8;
}

.score-box {
    min-width: 112px;
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    background: #fefce8;
}

.score-box strong {
    display: block;
    color: #ca8a04;
    font-size: 2rem;
    line-height: 1;
}

.score-box span {
    display: block;
    margin-top: 6px;
    color: var(--gray-600);
    font-size: 0.8rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.detail-meta div {
    border-radius: 14px;
    padding: 12px;
    background: var(--gray-50);
}

.detail-meta dt {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.detail-meta dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.detail-meta a {
    color: var(--green-700);
}

.detail-tags {
    gap: 8px;
}

.prose-card h2 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.prose-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.95;
}

.detail-sidebar {
    position: sticky;
    top: 92px;
}

.poster-panel {
    margin-top: 0;
}

.poster-panel img {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    background: var(--gray-100);
}

.full-width {
    width: 100%;
}

.related-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.86);
    background: #052e16;
    padding-top: 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1rem;
}

.footer-grid a:not(.footer-logo) {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 34px;
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

[hidden],
.is-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .header-search {
        display: none;
    }

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

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

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

    .rank-panel,
    .detail-sidebar {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

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

    .hero-copy h1 {
        font-size: clamp(2.4rem, 13vw, 4.3rem);
    }

    .hero-stats {
        display: grid;
        align-items: start;
    }

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

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

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

    .category-overview-card,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .category-cover,
    .ranking-thumb {
        min-height: auto;
    }

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

    .detail-heading {
        flex-direction: column;
    }

    .detail-meta {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-container {
        min-height: 64px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 1rem;
    }

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

    .hero-actions,
    .large-search {
        flex-direction: column;
    }

    .primary-button,
    .ghost-button,
    .large-search button {
        width: 100%;
    }

    .stats-grid,
    .movie-grid-four,
    .movie-grid-two,
    .category-grid,
    .filter-row,
    .detail-meta {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal {
        grid-template-columns: 112px 1fr;
    }

    .detail-card,
    .poster-panel,
    .related-panel {
        padding: 18px;
    }
}
