* {
    box-sizing: border-box;
}

:root {
    --amber-50: #fff7ed;
    --amber-100: #ffedd5;
    --amber-200: #fed7aa;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(251, 146, 60, 0.22);
    --card: rgba(255, 255, 255, 0.94);
    --shadow: 0 18px 45px rgba(146, 64, 14, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 48%, #ffedd5 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(251, 146, 60, 0.18);
    box-shadow: 0 12px 30px rgba(120, 53, 15, 0.09);
    backdrop-filter: blur(14px);
}

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

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), var(--rose-500));
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(217, 119, 6, 0.32);
}

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

.logo-text strong {
    font-size: 24px;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
    -webkit-background-clip: text;
    color: transparent;
}

.logo-text em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

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

.nav-link,
.mobile-nav a {
    padding: 10px 16px;
    border-radius: 14px;
    color: #374151;
    font-weight: 650;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav a:hover {
    color: #92400e;
    background: rgba(254, 215, 170, 0.75);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: #92400e;
    background: var(--amber-100);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0 16px 16px;
}

.mobile-nav.open {
    display: flex;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b, #f97316 50%, #f43f5e);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 20% 20%, #fff 0 3px, transparent 3px), radial-gradient(circle at 80% 70%, #fff 0 2px, transparent 2px);
    background-size: 58px 58px, 42px 42px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: blur(3px) saturate(1.1);
    transform: scale(1.04);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(146, 64, 14, 0.92), rgba(249, 115, 22, 0.78), rgba(244, 63, 94, 0.72));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 56px;
    padding: 88px 0;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    color: #9a3412;
    background: rgba(255, 247, 237, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    color: #fff;
    line-height: 1.05;
    text-shadow: 0 12px 28px rgba(80, 28, 0, 0.28);
}

.hero-copy h1 {
    max-width: 920px;
    font-size: clamp(36px, 6vw, 72px);
}

.hero-copy h2 {
    margin-top: 18px;
    font-size: clamp(24px, 3vw, 38px);
}

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

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span {
    padding: 8px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 850;
    transition: 0.25s ease;
}

.btn-light {
    color: #b45309;
    background: #fff;
    box-shadow: 0 16px 32px rgba(120, 53, 15, 0.2);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

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

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.22);
    border-radius: 34px;
    box-shadow: 0 28px 75px rgba(80, 28, 0, 0.36);
    transform: rotate(2deg);
}

.hero-poster img {
    aspect-ratio: 3 / 4;
    height: 430px;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    color: #fff;
    background: rgba(15, 23, 42, 0.68);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

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

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

.hero-dot.active {
    width: 34px;
    background: #fff;
}

.filter-panel {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: -34px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(251, 146, 60, 0.22);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

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

.filter-search input,
.filter-selects select {
    height: 48px;
    border: 1px solid rgba(251, 146, 60, 0.25);
    border-radius: 16px;
    color: #374151;
    background: #fff;
    outline: none;
}

.filter-search input {
    width: 100%;
    padding: 0 18px;
}

.search-clear {
    min-width: 72px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    cursor: pointer;
}

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

.filter-selects select {
    min-width: 128px;
    padding: 0 12px;
}

.section {
    padding: 72px 0;
}

.section-warm {
    background: linear-gradient(135deg, rgba(254, 215, 170, 0.65), rgba(255, 247, 237, 0.8), rgba(255, 228, 230, 0.75));
}

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

.section-head.center {
    justify-content: center;
    text-align: center;
}

.section-head.compact {
    align-items: flex-start;
    margin-bottom: 22px;
}

.section-head h2,
.sub-hero h1,
.detail-copy h1,
.content-card h2,
.cta-inner h2 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.section-head p,
.sub-hero p,
.cta-inner p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.more-link {
    color: #d97706;
    font-weight: 800;
    white-space: nowrap;
}

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

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

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

.movie-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(251, 146, 60, 0.16);
    border-radius: 22px;
    box-shadow: 0 12px 26px rgba(146, 64, 14, 0.1);
    transition: 0.28s ease;
}

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

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--amber-200));
}

.poster-wrap img {
    aspect-ratio: 3 / 4;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.24);
    transition: 0.25s ease;
}

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

.year-badge,
.region-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.year-badge {
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: #92400e;
}

.region-badge {
    left: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
}

.rank-badge {
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
}

.play-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #d97706;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65);
    transition: 0.25s ease;
}

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

.card-body {
    padding: 16px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 0 6px;
    overflow: hidden;
    color: #1f2937;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-genre,
.card-line {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
}

.card-genre {
    -webkit-line-clamp: 1;
}

.card-line {
    margin-top: 6px;
    -webkit-line-clamp: 2;
}

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

.movie-card-large .card-body h3 {
    font-size: 22px;
}

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

.split-section.wide-left {
    grid-template-columns: minmax(0, 1fr) 330px;
}

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

.category-tile,
.category-overview-card,
.rank-panel,
.content-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(146, 64, 14, 0.1);
}

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    transition: 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-tile strong {
    color: #9a3412;
    font-size: 22px;
}

.category-tile span,
.category-overview-card p {
    color: var(--muted);
    line-height: 1.7;
}

.rank-panel {
    padding: 24px;
}

.sticky-panel {
    position: sticky;
    top: 98px;
}

.compact-list {
    display: grid;
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: 36px 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 247, 237, 0.76);
    border: 1px solid rgba(251, 146, 60, 0.16);
    border-radius: 18px;
    transition: 0.25s ease;
}

.compact-card:hover {
    background: #fff;
    transform: translateX(4px);
}

.compact-rank {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-600), var(--rose-500));
    border-radius: 12px;
    font-weight: 850;
}

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

.compact-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.compact-info strong {
    overflow: hidden;
    color: #1f2937;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-info em {
    overflow: hidden;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sub-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 92px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316 50%, #f43f5e);
}

.sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle at 18% 30%, #fff 0 4px, transparent 4px), radial-gradient(circle at 70% 80%, #fff 0 3px, transparent 3px);
    background-size: 64px 64px, 42px 42px;
}

.sub-hero .container {
    position: relative;
}

.sub-hero h1 {
    color: #fff;
    font-size: clamp(38px, 6vw, 68px);
    text-shadow: 0 16px 30px rgba(120, 53, 15, 0.28);
}

.sub-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 700;
}

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

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

.category-overview-card {
    overflow: hidden;
    transition: 0.25s ease;
}

.category-overview-main {
    display: block;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.85), rgba(255, 255, 255, 0.92));
}

.category-overview-main span {
    color: #d97706;
    font-weight: 850;
}

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

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 28px;
}

.category-samples a {
    padding: 8px 12px;
    color: #92400e;
    background: #fff7ed;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.detail-hero {
    padding: 64px 0;
    color: #fff;
    background: radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.44), transparent 32%), linear-gradient(135deg, #7c2d12, #c2410c 48%, #be123c);
}

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

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.detail-poster img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: #d97706;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.detail-copy h1 {
    color: #fff;
    font-size: clamp(36px, 6vw, 62px);
    text-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.detail-one-line {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1.8;
}

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

.meta-grid span {
    display: flex;
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.meta-grid strong {
    color: #fff7ed;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.player-section {
    padding: 64px 0 24px;
    background: #111827;
}

.player-frame {
    position: relative;
    overflow: hidden;
    background: #020617;
    border-radius: 28px;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.35);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

.play-overlay.hidden {
    display: none;
}

.play-overlay span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    color: #d97706;
    background: #fff;
    border-radius: 50%;
    font-size: 34px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.play-overlay strong {
    max-width: min(720px, calc(100% - 40px));
    font-size: clamp(20px, 4vw, 34px);
    text-align: center;
}

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

.content-card {
    padding: clamp(24px, 4vw, 44px);
}

.content-card h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 34px);
}

.content-card p {
    margin: 0 0 28px;
    color: #374151;
    font-size: 17px;
    line-height: 2;
}

.cta-section {
    color: #fff;
    background: linear-gradient(135deg, #d97706, #f97316 52%, #e11d48);
}

.cta-inner {
    text-align: center;
}

.cta-inner h2,
.cta-inner p {
    color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.center-actions {
    justify-content: center;
}

.site-footer {
    padding: 56px 0 28px;
    color: #ffedd5;
    background: linear-gradient(135deg, #78350f, #92400e 60%, #7f1d1d);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 32px;
}

.footer-logo {
    color: #fff;
    font-size: 26px;
}

.site-footer p {
    max-width: 430px;
    color: #fed7aa;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff7ed;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 8px 0;
    color: #fed7aa;
    font-size: 14px;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 36px auto 0;
    padding-top: 24px;
    color: #fdba74;
    border-top: 1px solid rgba(254, 215, 170, 0.22);
    text-align: center;
    font-size: 14px;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-600), var(--rose-500));
    box-shadow: 0 12px 24px rgba(146, 64, 14, 0.28);
    cursor: pointer;
}

.back-top.show {
    display: block;
}

.hidden-by-filter {
    display: none !important;
}

@media (max-width: 1100px) {
    .movie-grid,
    .library-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .hero-content,
    .detail-grid,
    .split-section,
    .split-section.wide-left,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

    .sticky-panel {
        position: static;
    }
}

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

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

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

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

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 62px 0 86px;
    }

    .filter-panel,
    .filter-search,
    .filter-selects,
    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-selects select {
        width: 100%;
    }

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

    .section {
        padding: 50px 0;
    }

    .detail-grid {
        gap: 26px;
    }

    .detail-poster {
        max-width: 280px;
    }

    .footer-grid {
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .library-grid,
    .featured-grid,
    .category-grid,
    .category-overview-grid,
    .meta-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .compact-card {
        grid-template-columns: 32px 52px minmax(0, 1fr);
    }
}
