:root {
    color-scheme: dark;
    --forest-950: #07120f;
    --forest-900: #0d211a;
    --forest-800: #143126;
    --forest-700: #1b4332;
    --earth-950: #17100c;
    --earth-900: #251911;
    --earth-800: #392619;
    --moss-700: #426634;
    --moss-600: #5f8b4c;
    --moss-500: #7fb466;
    --moss-400: #a0c77c;
    --parchment-100: #f8f0d8;
    --parchment-200: #e8dcc0;
    --parchment-300: #cfc0a3;
    --parchment-400: #a99a82;
    --white-soft: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--parchment-100);
    background:
        radial-gradient(circle at 10% 0%, rgba(127, 180, 102, 0.14), transparent 32rem),
        linear-gradient(180deg, var(--forest-950), var(--forest-900) 45%, var(--earth-950));
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(160, 199, 124, 0.14);
    background: rgba(13, 33, 26, 0.94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, var(--moss-700), var(--moss-500));
    box-shadow: 0 12px 24px rgba(95, 139, 76, 0.32);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-tagline {
    margin-top: 4px;
    color: var(--parchment-300);
    font-size: 0.78rem;
}

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

.nav-link,
.mobile-nav-link {
    color: var(--parchment-200);
    font-weight: 650;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search {
    min-width: 280px;
}

.header-search input,
.mobile-search input,
.quick-search input,
.filter-search input {
    width: 100%;
    border: 1px solid rgba(248, 240, 216, 0.12);
    border-radius: 999px;
    outline: none;
    color: var(--parchment-100);
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search input:focus,
.filter-search input:focus {
    border-color: rgba(160, 199, 124, 0.65);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(127, 180, 102, 0.14);
}

.header-search button,
.mobile-search button,
.quick-search button,
.filter-search button,
.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 750;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-search button,
.mobile-search button,
.quick-search button,
.filter-search button,
.primary-button {
    color: white;
    background: var(--moss-600);
    padding: 10px 18px;
}

.header-search button:hover,
.mobile-search button:hover,
.quick-search button:hover,
.filter-search button:hover,
.primary-button:hover {
    background: var(--moss-500);
    transform: translateY(-1px);
}

.ghost-button,
.section-more {
    border: 1px solid rgba(248, 240, 216, 0.18);
    color: var(--parchment-100);
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
}

.ghost-button:hover,
.section-more:hover {
    border-color: rgba(160, 199, 124, 0.65);
    color: white;
    background: rgba(127, 180, 102, 0.22);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--parchment-100);
    border-radius: 2px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(248, 240, 216, 0.08);
    padding: 0 16px 16px;
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 14px 0;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 540px;
    overflow: hidden;
    background: var(--forest-950);
}

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

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

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

.hero-slide.is-active img {
    transform: scale(1);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 18, 15, 0.94) 0%, rgba(7, 18, 15, 0.62) 48%, rgba(7, 18, 15, 0.18) 100%),
        linear-gradient(0deg, var(--forest-950) 0%, rgba(7, 18, 15, 0.76) 36%, rgba(7, 18, 15, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 82px;
}

.hero-copy {
    max-width: 780px;
}

.hero-label,
.eyebrow {
    margin: 0 0 12px;
    color: var(--moss-400);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    max-width: 900px;
    color: var(--parchment-100);
    font-size: clamp(2.4rem, 7vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    text-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
}

.hero-summary {
    display: -webkit-box;
    max-width: 760px;
    margin: 22px 0 0;
    overflow: hidden;
    color: var(--parchment-200);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

.hero-meta {
    margin-top: 22px;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(248, 240, 216, 0.12);
    border-radius: 999px;
    color: var(--parchment-200);
    background: rgba(0, 0, 0, 0.24);
    padding: 6px 11px;
    font-size: 0.83rem;
}

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

.hero-actions .primary-button,
.hero-actions .ghost-button {
    padding: 13px 26px;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.42);
    cursor: pointer;
    font-size: 2.2rem;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 30px;
    background: var(--moss-400);
}

.quick-search {
    position: relative;
    z-index: 5;
    margin-top: -44px;
}

.quick-search-card,
.filter-panel,
.detail-card,
.poster-card,
.category-overview-block,
.ranking-section,
.content-section {
    border: 1px solid rgba(248, 240, 216, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(37, 25, 17, 0.58);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.quick-search-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
}

.quick-search h2,
.section-heading h2,
.page-hero h1,
.detail-card h1,
.detail-card h2,
.poster-card h2 {
    margin: 0;
    color: var(--parchment-100);
}

.quick-search p,
.page-hero p,
.section-heading p,
.detail-card p,
.category-desc {
    color: var(--parchment-300);
    line-height: 1.75;
}

.page-stack {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 46px 0 72px;
}

.content-section,
.category-overview-block,
.ranking-section {
    padding: 24px;
}

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

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

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

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

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

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(248, 240, 216, 0.08);
    border-radius: var(--radius-md);
    background: rgba(37, 25, 17, 0.55);
    box-shadow: var(--shadow-soft);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card-link:hover {
    border-color: rgba(160, 199, 124, 0.38);
    box-shadow: var(--shadow-strong);
    transform: translateY(-6px) scale(1.015);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--earth-800);
}

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

.movie-card-link:hover .movie-cover img {
    filter: saturate(1.1) contrast(1.04);
    transform: scale(1.1);
}

.movie-cover-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
    transition: opacity 0.25s ease;
}

.movie-card-link:hover .movie-cover-shade {
    opacity: 1;
}

.play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    color: white;
    background: rgba(95, 139, 76, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.tag-row {
    position: absolute;
    left: 12px;
    top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--parchment-100);
    background: rgba(20, 49, 38, 0.86);
    padding: 5px 9px;
    font-size: 0.76rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.rank-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    border-radius: 999px;
    color: #07120f;
    background: var(--moss-400);
    font-weight: 900;
}

.movie-info {
    display: block;
    padding: 16px;
}

.movie-title {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    color: var(--parchment-100);
    font-size: 1.08rem;
    font-weight: 780;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card-link:hover .movie-title {
    color: var(--moss-400);
}

.movie-desc {
    display: -webkit-box;
    min-height: 3.1em;
    margin-top: 9px;
    overflow: hidden;
    color: var(--parchment-300);
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    gap: 7px;
    margin-top: 14px;
}

.movie-meta span {
    padding: 4px 8px;
    font-size: 0.75rem;
}

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

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

.category-tile a {
    position: relative;
    display: flex;
    min-height: 210px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(248, 240, 216, 0.1);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(95, 139, 76, 0.22), transparent 46%),
        linear-gradient(160deg, rgba(20, 49, 38, 0.92), rgba(37, 25, 17, 0.72));
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.category-tile a:hover .category-glow {
    transform: translate(-18%, -15%) scale(1.2);
}

.category-glow {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(160, 199, 124, 0.22);
    filter: blur(8px);
    transition: transform 0.3s ease;
}

.category-name {
    position: relative;
    z-index: 2;
    font-size: 1.45rem;
    font-weight: 850;
}

.category-desc,
.category-sample {
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

.category-sample {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-sample a {
    display: inline;
    min-height: auto;
    border: 0;
    border-radius: 999px;
    color: var(--parchment-200);
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 9px;
    box-shadow: none;
    font-size: 0.78rem;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(248, 240, 216, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(7, 18, 15, 0.35);
    padding: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-list li a:hover {
    background: rgba(95, 139, 76, 0.18);
    transform: translateX(4px);
}

.ranking-number {
    color: var(--moss-400);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ranking-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 750;
}

.ranking-meta,
.ranking-list-plain em {
    color: var(--parchment-400);
    font-size: 0.86rem;
    font-style: normal;
}

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

.ranking-list-plain li a {
    grid-template-columns: auto 1fr;
}

.ranking-list-plain em {
    grid-column: 2;
}

.subpage {
    min-height: 70vh;
}

.page-hero {
    border-bottom: 1px solid rgba(248, 240, 216, 0.08);
    background:
        radial-gradient(circle at 85% 18%, rgba(127, 180, 102, 0.18), transparent 34rem),
        linear-gradient(135deg, rgba(20, 49, 38, 0.92), rgba(23, 16, 12, 0.95));
    padding: 70px 0 64px;
}

.page-hero-small {
    padding: 58px 0;
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 1.06rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--parchment-400);
    font-size: 0.92rem;
}

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

.filter-panel {
    padding: 20px;
}

.filter-search {
    margin-bottom: 16px;
}

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

.filter-chip {
    border: 1px solid rgba(248, 240, 216, 0.14);
    border-radius: 999px;
    color: var(--parchment-200);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    padding: 8px 13px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    border-color: rgba(160, 199, 124, 0.62);
    color: white;
    background: rgba(95, 139, 76, 0.34);
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    border: 1px solid rgba(248, 240, 216, 0.1);
    border-radius: var(--radius-md);
    color: var(--parchment-300);
    background: rgba(0, 0, 0, 0.18);
    padding: 26px;
    text-align: center;
}

.empty-state.is-visible {
    display: block;
}

.detail-container {
    padding: 34px 0 72px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(248, 240, 216, 0.08);
    border-radius: var(--radius-lg);
    background: black;
    box-shadow: var(--shadow-strong);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: var(--parchment-100);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42));
    cursor: pointer;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    text-align: center;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    color: white;
    background: rgba(95, 139, 76, 0.96);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.48);
}

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

.detail-card h1 {
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

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

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.detail-card h2 {
    margin-top: 24px;
    font-size: 1.35rem;
}

.detail-card p {
    margin: 12px 0 0;
    font-size: 1.02rem;
}

.detail-aside {
    position: sticky;
    top: 96px;
}

.poster-card {
    overflow: hidden;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.poster-card > div {
    padding: 22px;
}

.poster-card dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 16px;
    margin: 18px 0 0;
}

.poster-card dt {
    color: var(--parchment-400);
}

.poster-card dd {
    margin: 0;
    color: var(--parchment-100);
    font-weight: 700;
}

.related-section {
    margin-top: 34px;
}

.site-footer {
    border-top: 1px solid rgba(248, 240, 216, 0.08);
    background: rgba(7, 18, 15, 0.72);
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--parchment-400);
}

.footer-brand {
    color: var(--parchment-100);
    font-weight: 850;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a:hover {
    color: var(--moss-400);
}

.footer-inner p {
    margin: 0;
}

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

    .menu-toggle {
        display: block;
    }

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

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

    .detail-aside {
        position: static;
    }

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

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

    .header-inner {
        min-height: 64px;
    }

    .brand {
        min-width: 0;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-tagline {
        font-size: 0.68rem;
    }

    .hero-slider {
        height: 76vh;
        min-height: 560px;
    }

    .hero-shade {
        background:
            linear-gradient(0deg, var(--forest-950) 0%, rgba(7, 18, 15, 0.8) 56%, rgba(7, 18, 15, 0.28) 100%);
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 76px;
    }

    .hero-summary {
        -webkit-line-clamp: 4;
    }

    .hero-control {
        display: none;
    }

    .quick-search {
        margin-top: 0;
    }

    .quick-search-card {
        grid-template-columns: 1fr;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .quick-search form,
    .filter-search {
        flex-direction: column;
        align-items: stretch;
    }

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

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .content-section,
    .category-overview-block,
    .ranking-section,
    .detail-card {
        padding: 18px;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-title {
        font-size: 0.96rem;
    }

    .movie-desc {
        font-size: 0.84rem;
    }

    .movie-meta span {
        font-size: 0.68rem;
    }

    .category-tile a {
        min-height: 190px;
        padding: 18px;
    }

    .detail-container {
        padding-top: 24px;
    }

    .player-play-icon {
        width: 68px;
        height: 68px;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-grid-large {
        grid-template-columns: 1fr;
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 0.76rem;
    }

    .ranking-list li a {
        grid-template-columns: auto 1fr;
    }

    .ranking-meta {
        grid-column: 2;
    }
}
