:root {
    --page-bg: #fff7ed;
    --surface: #ffffff;
    --surface-soft: #fffbeb;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(146, 64, 14, 0.16);
    --brand: #f59e0b;
    --brand-dark: #b45309;
    --brand-deep: #7c2d12;
    --shadow: 0 24px 60px rgba(124, 45, 18, 0.16);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 34rem), var(--page-bg);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
    line-height: 1.65;
}

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: 100;
    background: rgba(255, 251, 235, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--brand-deep);
    white-space: nowrap;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.32);
}

.logo-text {
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

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

.nav-link {
    padding: 8px 12px;
    border-radius: 999px;
    color: #78350f;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-active {
    color: #ffffff;
    background: var(--brand);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(124, 45, 18, 0.08);
}

.header-search input {
    width: 230px;
    border: 0;
    outline: 0;
    padding: 11px 14px;
    background: transparent;
}

.header-search button,
.primary-button,
.inline-button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.28);
}

.header-search button {
    padding: 11px 18px;
}

.mobile-menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-deep);
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.mobile-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--brand-deep);
    font-weight: 700;
}

.mobile-nav a:hover {
    background: var(--surface-soft);
}

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

.hero-section {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
    gap: 44px;
    align-items: center;
    width: 100%;
    min-height: 620px;
    padding: 86px max(32px, calc((100vw - 1180px) / 2)) 96px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
    opacity: 0.42;
}

.hero-shade,
.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 36%, rgba(245, 158, 11, 0.22), transparent 27rem),
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.7) 48%, rgba(17, 24, 39, 0.36));
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-content h2 {
    margin: 0 0 14px;
    color: #fde68a;
    font-size: clamp(1.45rem, 3vw, 2.5rem);
}

.hero-summary {
    max-width: 720px;
    margin: 0;
    color: #f3f4f6;
    font-size: 1.08rem;
}

.hero-tags,
.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.detail-tags a,
.movie-tags span,
.movie-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #92400e;
    background: rgba(255, 251, 235, 0.92);
    font-size: 0.82rem;
    font-weight: 800;
}

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

.primary-button,
.ghost-button,
.inline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.ghost-button.light {
    color: #78350f;
    border-color: rgba(146, 64, 14, 0.2);
    background: rgba(255, 255, 255, 0.84);
}

.hero-poster {
    justify-self: end;
    width: min(370px, 100%);
    aspect-ratio: 3 / 4.1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transform: rotate(2deg);
}

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.page-hero {
    position: relative;
    padding: 88px 0 76px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.38), transparent 28rem),
        linear-gradient(135deg, #111827, #7c2d12);
}

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

.page-hero p:not(.eyebrow) {
    max-width: 780px;
    margin: 0;
    color: #fef3c7;
    font-size: 1.08rem;
}

.category-hero {
    background:
        radial-gradient(circle at 76% 16%, rgba(253, 186, 116, 0.38), transparent 25rem),
        linear-gradient(135deg, #78350f, #111827);
}

.search-hero {
    background:
        radial-gradient(circle at 76% 0%, rgba(251, 191, 36, 0.3), transparent 25rem),
        linear-gradient(135deg, #1f2937, #92400e);
}

.ranking-hero {
    background:
        radial-gradient(circle at 18% 12%, rgba(251, 191, 36, 0.34), transparent 24rem),
        linear-gradient(135deg, #111827, #451a03);
}

section.container,
.content-layout {
    margin-top: 48px;
    margin-bottom: 58px;
}

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

.section-heading p {
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-heading h2 {
    margin: 0;
    color: #451a03;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.section-heading a {
    flex: 0 0 auto;
    color: var(--brand-dark);
    font-weight: 900;
}

.intro-search-section {
    margin-top: 36px;
}

.filter-panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 40px rgba(124, 45, 18, 0.08);
    backdrop-filter: blur(12px);
}

.filter-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.site-filter-input {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: 0;
    background: #ffffff;
}

.site-filter-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-reset {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: #78350f;
    background: #fffbeb;
    font-weight: 900;
    cursor: pointer;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.filter-chip {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(146, 64, 14, 0.18);
    border-radius: 999px;
    color: #78350f;
    background: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
}

.filter-empty {
    margin: 14px 0 0;
    color: var(--muted);
    font-weight: 700;
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 26px;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.56;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.9));
}

.category-tile span,
.category-tile strong {
    position: relative;
    z-index: 2;
    display: block;
    padding: 0 18px;
}

.category-tile span {
    margin-top: 108px;
    font-size: 1.28rem;
    font-weight: 900;
}

.category-tile strong {
    margin-top: 4px;
    padding-bottom: 18px;
    color: #fef3c7;
    font-size: 0.9rem;
}

.category-tile:hover img {
    transform: scale(1.08);
    opacity: 0.72;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
}

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

.search-grid {
    margin-top: 26px;
}

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 42px rgba(124, 45, 18, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: var(--shadow);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.1;
    overflow: hidden;
    background: linear-gradient(135deg, #fde68a, #fed7aa);
}

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

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

.poster-play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.76);
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    backdrop-filter: blur(8px);
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35);
}

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

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 900;
}

.movie-card h3 {
    margin: 9px 0 8px;
    font-size: 1.05rem;
    line-height: 1.32;
}

.movie-card h3 a:hover {
    color: var(--brand-dark);
}

.movie-card p {
    margin: 0;
    min-height: 52px;
    color: var(--muted);
    font-size: 0.92rem;
}

.movie-tags {
    margin-top: 14px;
}

.movie-tags span,
.movie-tags a {
    color: #78350f;
    background: #fffbeb;
    border: 1px solid rgba(146, 64, 14, 0.14);
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

.movie-card-compact p {
    min-height: 42px;
}

.sidebar-column,
.detail-aside {
    min-width: 0;
}

.sticky-panel {
    position: sticky;
    top: 96px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(124, 45, 18, 0.08);
    backdrop-filter: blur(14px);
}

.rank-list {
    display: grid;
    gap: 10px;
}

.rank-list-item {
    display: grid;
    grid-template-columns: 34px 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #fff7ed;
    transition: transform 0.2s ease, background 0.2s ease;
}

.rank-list-item:hover {
    transform: translateX(4px);
    background: #ffedd5;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--brand);
    font-weight: 900;
}

.rank-list-item img {
    width: 58px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-info {
    min-width: 0;
}

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

.rank-info strong {
    color: #451a03;
    font-size: 0.95rem;
}

.rank-info em {
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
}

.category-list-grid {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.category-card-large {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 42px rgba(124, 45, 18, 0.08);
}

.category-card-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 22px;
    background: #fef3c7;
}

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

.category-card-large h2 {
    margin: 0 0 8px;
    color: #451a03;
    font-size: 1.7rem;
}

.category-card-large p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.category-preview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.category-preview-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: #78350f;
    background: #fffbeb;
    font-weight: 800;
    font-size: 0.86rem;
}

.inline-button {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
}

.detail-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 58px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #fde68a;
    font-weight: 800;
    font-size: 0.92rem;
}

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

.detail-title-block {
    max-width: 820px;
    margin-top: 54px;
}

.detail-title-block h1 {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.08;
}

.detail-title-block p:not(.eyebrow) {
    margin: 0;
    color: #fef3c7;
    font-size: 1.08rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
}

.player-card,
.detail-section {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 42px rgba(124, 45, 18, 0.08);
}

.player-card {
    padding: 14px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #000000;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.66;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.24), rgba(0, 0, 0, 0.54));
}

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

.play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    font-size: 2.1rem;
    box-shadow: 0 20px 50px rgba(234, 88, 12, 0.45);
    transform: translate(-50%, -50%);
}

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

.detail-section h2 {
    margin: 0 0 12px;
    color: #451a03;
    font-size: 1.5rem;
}

.detail-section p {
    margin: 0;
    color: #374151;
}

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

.info-grid div {
    padding: 14px;
    border-radius: 18px;
    background: #fff7ed;
}

.info-grid span,
.info-grid strong {
    display: block;
}

.info-grid span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.info-grid strong {
    margin-top: 4px;
    color: #451a03;
}

.related-grid {
    margin-top: 20px;
}

.detail-poster {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 3 / 4.1;
    background: #fef3c7;
}

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

.detail-aside-info {
    padding: 16px 0;
}

.detail-aside-info h2 {
    margin: 0 0 6px;
    color: #451a03;
    font-size: 1.3rem;
}

.detail-aside-info p {
    margin: 0 0 14px;
    color: var(--muted);
}

.full-button {
    width: 100%;
}

.compact-rank {
    margin-top: 12px;
}

.site-footer {
    margin-top: 70px;
    padding: 46px 0;
    color: #fef3c7;
    background: linear-gradient(135deg, #111827, #451a03);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.2fr;
    gap: 36px;
}

.footer-logo {
    color: #ffffff;
}

.footer-brand p {
    max-width: 520px;
    margin: 16px 0 0;
    color: #fde68a;
}

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

.footer-links h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    color: #fde68a;
}

.footer-links a:hover {
    color: #ffffff;
}

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

@media (max-width: 1080px) {
    .header-search input {
        width: 170px;
    }

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

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

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 66px;
    }

    .main-nav,
    .header-search {
        display: none;
    }

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

    .hero-section,
    .hero-slide {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 26px;
        padding-top: 74px;
        padding-bottom: 88px;
    }

    .hero-poster {
        justify-self: start;
        width: min(240px, 70vw);
        transform: none;
    }

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

    .category-card-large {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 22px, 1180px);
    }

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

    .hero-content h1 {
        font-size: 2.35rem;
    }

    .hero-summary,
    .detail-title-block p:not(.eyebrow) {
        font-size: 1rem;
    }

    .hero-actions,
    .filter-search-row,
    .section-heading {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .category-grid,
    .movie-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .movie-card p {
        min-height: auto;
    }

    .page-hero {
        padding: 64px 0;
    }

    .detail-title-block {
        margin-top: 36px;
    }

    .detail-section,
    .player-card,
    .sticky-panel {
        border-radius: 20px;
    }
}
