:root {
    --red-950: #450a0a;
    --red-900: #7f1d1d;
    --red-800: #991b1b;
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --amber-900: #78350f;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-100: #f5f5f4;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(69, 10, 10, 0.18);
    --shadow-soft: 0 12px 32px rgba(69, 10, 10, 0.12);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffbeb 100%);
    color: var(--stone-900);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 242, 242, 0.96), rgba(255, 251, 235, 0.96));
    border-bottom: 4px solid var(--red-900);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.12);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red-800), var(--amber-700));
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(153, 27, 27, 0.24);
}

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

.brand-text strong,
.footer-brand strong {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--red-900), var(--amber-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--stone-600);
    font-size: 12px;
    margin-top: 2px;
}

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

.nav-link {
    padding: 10px 16px;
    color: var(--stone-700);
    border-radius: 12px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red-800);
    background: #fee2e2;
    transform: translateY(-1px);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fee2e2;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--red-900);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid #fecaca;
}

.mobile-nav.open {
    display: grid;
    gap: 8px;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--red-950);
}

.hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    min-height: 720px;
    background-image: radial-gradient(circle at 22% 22%, rgba(245, 158, 11, 0.28), transparent 36%), linear-gradient(110deg, rgba(69, 10, 10, 0.96) 0%, rgba(127, 29, 29, 0.88) 48%, rgba(120, 53, 15, 0.72) 100%), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    display: block;
    animation: heroFade 0.75s ease both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: scale(1.015);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 52px, rgba(255, 255, 255, 0.16) 53px), repeating-linear-gradient(90deg, transparent, transparent 52px, rgba(255, 255, 255, 0.08) 53px);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
    gap: 56px;
    align-items: center;
    padding-top: 36px;
}

.hero-copy {
    color: var(--white);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.14);
    color: #fbbf24;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 20px 0 18px;
    max-width: 820px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #fee2e2;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.8;
}

.hero-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff7ed;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions,
.section-more {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    padding: 12px 20px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--amber-600));
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.28);
}

.btn-secondary {
    color: var(--red-900);
    background: #fff7ed;
    border: 2px solid #fecaca;
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.btn.wide {
    width: 100%;
}

.hero-poster-link {
    position: relative;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(1deg);
}

.poster {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background-image: linear-gradient(145deg, rgba(127, 29, 29, 0.88), rgba(180, 83, 9, 0.72)), var(--poster-image);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.62) 100%);
    z-index: -1;
}

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

.poster-badge,
.play-chip,
.rank-no,
.top-rank-medal {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-weight: 900;
}

.poster-badge {
    top: 14px;
    left: 14px;
    padding: 7px 12px;
    color: var(--white);
    background: rgba(127, 29, 29, 0.84);
    backdrop-filter: blur(8px);
    font-size: 12px;
}

.hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--amber-600));
    box-shadow: 0 24px 48px rgba(220, 38, 38, 0.35);
    transform: translate(-50%, -50%);
    font-size: 30px;
}

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

.hero-thumbs {
    display: flex;
    gap: 10px;
    max-width: calc(100vw - 120px);
    overflow: auto;
    padding: 6px;
}

.hero-thumb,
.hero-arrow {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 154px;
    min-height: 50px;
    border-radius: 14px;
    padding: 9px 12px;
    text-align: left;
}

.hero-thumb span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.72);
    font-weight: 900;
}

.hero-thumb strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}

.hero-thumb.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.82), rgba(217, 119, 6, 0.82));
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
}

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

.quick-search-inner,
.filter-panel,
.detail-card,
.player-card,
.sidebar-card,
.category-overview-card {
    border: 1px solid #fed7aa;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.quick-search-inner {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 24px;
    align-items: center;
    padding: 28px;
}

.quick-search h2,
.section-heading h2,
.page-hero h1,
.detail-intro h1 {
    margin: 8px 0 10px;
    color: var(--stone-950);
    font-weight: 950;
    letter-spacing: -0.03em;
}

.quick-search h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.quick-search p,
.section-heading p,
.page-hero p,
.category-overview-card p {
    margin: 0;
    color: var(--stone-600);
    line-height: 1.8;
}

.search-jump,
.filter-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

input,
select {
    width: 100%;
    min-height: 46px;
    border: 2px solid #fed7aa;
    border-radius: 14px;
    padding: 0 14px;
    background: #fffaf0;
    color: var(--stone-900);
    outline: none;
    font: inherit;
}

input:focus,
select:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

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

.tinted-section {
    background: linear-gradient(90deg, rgba(254, 242, 242, 0.72), rgba(255, 251, 235, 0.88));
}

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

.section-heading h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.section-line {
    flex: 1;
    height: 4px;
    min-width: 80px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red-600), transparent);
    margin-bottom: 18px;
}

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

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

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

.movie-card,
.ranking-card,
.category-card,
.top-rank-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover,
.ranking-card:hover,
.category-card:hover,
.top-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.card-poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.card-poster-wrap .poster,
.ranking-poster-wrap .poster,
.category-card .poster,
.top-rank-card .poster {
    width: 100%;
    height: 100%;
    min-height: 0;
}

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

.poster {
    transition: transform 0.45s ease;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--red-800);
    font-size: 12px;
}

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

.movie-type {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fee2e2;
    color: var(--red-800);
    font-size: 12px;
    font-weight: 900;
}

.movie-card h3,
.ranking-card h3,
.category-card h3 {
    margin: 12px 0 8px;
    color: var(--stone-950);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-card p,
.ranking-card p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 16px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--stone-600);
    font-size: 14px;
    line-height: 1.7;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #f5e7d3;
    padding-top: 12px;
    color: #78716c;
    font-size: 12px;
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 132px 1fr;
    min-height: 130px;
}

.ranking-poster-wrap {
    position: relative;
}

.rank-no {
    top: 10px;
    left: 10px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: var(--red-600);
    color: var(--white);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.22);
}

.ranking-body {
    padding: 16px;
}

.ranking-body h3 {
    margin-top: 0;
}

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

.category-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 154px;
}

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

.category-card span {
    color: var(--red-700);
    font-size: 12px;
    font-weight: 900;
}

.category-card p {
    color: var(--stone-600);
    line-height: 1.65;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.28), transparent 32%), linear-gradient(110deg, var(--red-950), var(--red-800) 52%, var(--amber-900));
}

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

.page-hero h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 68px);
}

.page-hero p {
    max-width: 780px;
    color: #fee2e2;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.category-overview-card {
    padding: 28px;
}

.category-overview-card h2 {
    margin: 10px 0;
    font-size: 28px;
    font-weight: 950;
}

.category-overview-top span {
    color: var(--red-700);
    font-weight: 900;
}

.category-overview-card ul {
    margin: 22px 0;
    padding-left: 20px;
    color: var(--stone-700);
    line-height: 1.9;
}

.filter-panel {
    padding: 22px;
    margin-bottom: 28px;
}

.filter-search-row select {
    max-width: 180px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.filter-pill {
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--stone-700);
    padding: 8px 14px;
    font-weight: 800;
    cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--red-600);
    color: var(--white);
}

.filter-count {
    margin: 14px 0 0;
    color: var(--stone-600);
    font-weight: 800;
}

.movie-filter-item.hidden {
    display: none;
}

.top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.top-rank-card {
    min-height: 360px;
    display: flex;
    align-items: end;
}

.top-rank-card .poster {
    position: absolute;
    inset: 0;
}

.top-rank-card > div:last-child {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: var(--white);
}

.top-rank-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 950;
}

.top-rank-card p {
    color: #fee2e2;
    line-height: 1.7;
}

.top-rank-medal {
    top: 18px;
    left: 18px;
    z-index: 3;
    padding: 8px 12px;
    background: var(--amber-600);
    color: var(--white);
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: var(--white);
    background-image: linear-gradient(115deg, rgba(69, 10, 10, 0.98), rgba(127, 29, 29, 0.86), rgba(120, 53, 15, 0.72)), var(--detail-image);
    background-position: center;
    background-size: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 76% 20%, rgba(245, 158, 11, 0.22), transparent 36%);
}

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

.detail-hero-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster .poster {
    min-height: 440px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.detail-intro h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 68px);
}

.detail-intro p {
    max-width: 820px;
    color: #fee2e2;
    font-size: 20px;
    line-height: 1.9;
}

.detail-section {
    padding-top: 48px;
}

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

.detail-main,
.detail-sidebar {
    display: grid;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #000;
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.big-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-600), var(--amber-600));
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 20px 48px rgba(220, 38, 38, 0.34);
    transform: translate(-50%, -50%);
}

.big-play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.detail-card,
.sidebar-card {
    padding: 28px;
}

.detail-card h2,
.sidebar-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--stone-950);
    font-size: 26px;
    font-weight: 950;
}

.detail-card h2::before,
.sidebar-card h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 28px;
    border-radius: 999px;
    background: var(--red-600);
}

.detail-card p {
    margin: 0;
    color: var(--stone-700);
    line-height: 2;
    font-size: 17px;
    text-align: justify;
}

.review-card {
    background: linear-gradient(120deg, #fff7ed, #fff1f2);
    border-left: 6px solid var(--red-600);
}

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

.meta-card div {
    padding: 14px;
    border-radius: 14px;
    background: #fff7ed;
}

.meta-card dt {
    color: var(--stone-600);
    font-size: 12px;
    font-weight: 900;
}

.meta-card dd {
    margin: 6px 0 0;
    color: var(--stone-950);
    font-weight: 900;
}

.sidebar-card {
    position: sticky;
    top: 100px;
}

.sidebar-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.sidebar-list .ranking-card {
    grid-template-columns: 96px 1fr;
    min-height: 100px;
    box-shadow: none;
    border: 1px solid #f5e7d3;
}

.sidebar-list .ranking-body {
    padding: 12px;
}

.sidebar-list .ranking-body p,
.sidebar-list .card-meta {
    display: none;
}

.site-footer {
    margin-top: 40px;
    color: #d6d3d1;
    background: linear-gradient(180deg, var(--stone-900), var(--stone-950));
    border-top: 4px solid var(--red-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 32px;
    padding: 52px 0;
}

.footer-brand strong {
    color: var(--white);
    background: none;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 18px;
}

.site-footer p,
.site-footer li {
    color: #a8a29e;
    line-height: 1.8;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer a:hover {
    color: #fca5a5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #292524;
    padding: 20px max(16px, calc((100vw - var(--container)) / 2));
    color: #78716c;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .movie-grid,
    .all-movie-grid,
    .featured-grid,
    .category-overview-grid,
    .top-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-content,
    .detail-layout,
    .quick-search-inner,
    .detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar,
    .sidebar-card {
        position: static;
    }

    .hero-poster-link {
        max-width: 360px;
    }

    .hero-poster {
        min-height: 460px;
    }
}

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

    .mobile-menu-button {
        display: block;
    }

    .brand-text strong {
        font-size: 20px;
    }

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

    .hero-content {
        min-height: 650px;
        gap: 28px;
        padding-top: 20px;
    }

    .hero-copy h1,
    .detail-intro h1,
    .page-hero h1 {
        font-size: 38px;
    }

    .hero-copy p,
    .detail-intro p {
        font-size: 17px;
    }

    .hero-controls {
        bottom: 16px;
    }

    .hero-thumb {
        min-width: 92px;
    }

    .hero-thumb strong {
        display: none;
    }

    .movie-grid,
    .all-movie-grid,
    .featured-grid,
    .ranking-grid,
    .full-ranking,
    .category-grid,
    .category-overview-grid,
    .top-rank-grid,
    .footer-grid,
    .meta-card dl {
        grid-template-columns: 1fr;
    }

    .ranking-card,
    .category-card {
        grid-template-columns: 112px 1fr;
    }

    .filter-search-row,
    .search-jump {
        flex-direction: column;
    }

    .filter-search-row select {
        max-width: none;
    }

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

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

    .section-line {
        width: 100%;
        margin: 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
