:root {
    --color-amber-50: #fffbeb;
    --color-amber-100: #fef3c7;
    --color-amber-200: #fde68a;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-orange-500: #f97316;
    --color-orange-600: #ea580c;
    --color-brown-900: #78350f;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-line: rgba(245, 158, 11, 0.25);
    --shadow-card: 0 18px 40px rgba(120, 53, 15, 0.12);
    --shadow-hover: 0 28px 60px rgba(120, 53, 15, 0.20);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body {
    background: #ffffff;
    color: var(--color-text);
    min-height: 100vh;
}

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

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(18px);
}

.nav-inner {
    max-width: 1280px;
    height: 66px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-600));
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.35);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    color: #374151;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-amber-600);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 0;
    background: rgba(245, 158, 11, 0.12);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: var(--color-brown-900);
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--color-line);
    padding: 12px 22px 18px;
    background: rgba(255, 255, 255, 0.97);
}

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

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
    background: var(--color-amber-100);
    color: var(--color-amber-600);
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 92vh;
    padding: 112px 22px 72px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 26%, rgba(245, 158, 11, 0.24), transparent 28%),
        radial-gradient(circle at 82% 32%, rgba(249, 115, 22, 0.22), transparent 32%),
        linear-gradient(135deg, #fffbeb 0%, #fff7ed 45%, #fef3c7 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(0deg, #ffffff, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 52px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--color-amber-600);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.055em;
    margin: 0 0 24px;
    background: linear-gradient(90deg, var(--color-amber-600), var(--color-orange-600), #ca8a04);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 660px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.85;
    margin: 0 0 28px;
}

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

.btn-primary,
.btn-ghost,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-amber-500), var(--color-orange-600));
    box-shadow: 0 16px 30px rgba(217, 119, 6, 0.34);
}

.btn-ghost {
    color: var(--color-amber-600);
    background: #ffffff;
    border: 2px solid var(--color-amber-500);
}

.btn-light {
    color: var(--color-brown-900);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-light:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags a,
.tag-row span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-amber-600);
    border: 1px solid rgba(245, 158, 11, 0.22);
    font-size: 13px;
    font-weight: 700;
}

.hero-carousel {
    position: relative;
    min-height: 630px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 36px 80px rgba(120, 53, 15, 0.24);
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

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

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.15) 58%, rgba(0, 0, 0, 0.04));
}

.hero-slide-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 34px;
    z-index: 2;
    color: #ffffff;
}

.hero-slide-content span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.86);
    font-weight: 800;
    font-size: 13px;
}

.hero-slide-content h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 900;
    margin: 14px 0 10px;
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 18px;
}

.hero-slide-content a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-amber-600);
    font-weight: 900;
}

.hero-dots {
    position: absolute;
    right: 26px;
    top: 26px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    border: 0;
    cursor: pointer;
}

.hero-dots button.active {
    width: 30px;
    background: #ffffff;
}

.section-wrap {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
    padding: 72px 0;
}

.compact-section {
    padding: 64px 0;
}

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

.section-heading h2,
.center-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 8px;
    color: #111827;
}

.section-heading p,
.center-heading p {
    color: var(--color-muted);
    margin: 0;
}

.section-heading a,
.text-link {
    color: var(--color-amber-600);
    font-weight: 800;
}

.center-heading {
    text-align: center;
    margin-bottom: 34px;
}

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

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

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

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

.movie-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.16);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, var(--color-amber-100), #fff7ed);
    overflow: hidden;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.03) 58%);
    opacity: 0;
    transition: opacity 0.24s ease;
}

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

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%) scale(0.75);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-orange-600);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
    font-weight: 900;
}

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

.year-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(245, 158, 11, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.rank-badge {
    left: auto;
    right: 12px;
    background: rgba(17, 24, 39, 0.74);
}

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

.movie-card-body h2 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    color: #111827;
    margin: 0 0 8px;
}

.movie-card-body h2 a:hover {
    color: var(--color-amber-600);
}

.movie-meta {
    color: var(--color-amber-600);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    margin-bottom: 10px;
}

.movie-card-body p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
    margin: 0 0 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-section {
    background: linear-gradient(135deg, var(--color-amber-50), #fff7ed);
}

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

.category-card {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: var(--shadow-hover);
}

.category-card span {
    display: block;
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
}

.category-card p {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

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

.ranking-card {
    display: grid;
    grid-template-columns: auto 108px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.ranking-number {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-600));
    font-weight: 900;
}

.ranking-thumb {
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-amber-100);
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info h2 {
    margin: 0 0 7px;
    font-size: 20px;
    font-weight: 900;
}

.ranking-info p {
    margin: 0 0 10px;
    color: #4b5563;
    line-height: 1.7;
}

.page-main {
    padding-top: 66px;
}

.page-hero {
    min-height: 310px;
    display: grid;
    place-items: center;
    padding: 68px 22px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.28), transparent 28%),
        linear-gradient(135deg, #fffbeb, #fff7ed 52%, #fde68a);
}

.page-hero p {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-amber-600);
    font-weight: 900;
    margin: 0 0 14px;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 14px;
    color: #111827;
}

.page-hero span {
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    width: min(1280px, calc(100% - 44px));
    margin: -38px auto 0;
    position: relative;
    z-index: 5;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.filter-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 14px;
}

.filter-search input,
.filter-selects select {
    width: 100%;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.26);
    padding: 0 16px;
    color: #111827;
    background: #ffffff;
    outline: none;
}

.filter-search input:focus,
.filter-selects select:focus {
    border-color: var(--color-amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-search button,
.filter-chips button {
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    min-height: 42px;
    color: var(--color-amber-600);
    background: var(--color-amber-100);
    font-weight: 900;
    cursor: pointer;
}

.filter-selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

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

.filter-chips button.active {
    background: linear-gradient(90deg, var(--color-amber-500), var(--color-orange-600));
    color: #ffffff;
}

.no-result {
    padding: 28px;
    text-align: center;
    color: #6b7280;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.18);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    border-radius: 26px;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(245, 158, 11, 0.16);
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.category-cover-stack img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--color-amber-100);
}

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

.category-overview-card p {
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 14px;
}

.detail-main {
    background: linear-gradient(180deg, #fff7ed, #ffffff 520px);
}

.detail-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 108px 22px 60px;
    color: #ffffff;
    overflow: hidden;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
    background: var(--color-amber-100);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

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

.detail-copy h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 18px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-meta span {
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.detail-copy p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.9;
    margin: 0 0 22px;
}

.large-tags span {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.player-section {
    width: min(1180px, calc(100% - 44px));
    margin: -42px auto 0;
    position: relative;
    z-index: 3;
}

.video-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
    aspect-ratio: 16 / 9;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000000;
    display: block;
}

.player-cover.is-hidden {
    display: none;
}

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

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66));
}

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-orange-600);
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.two-column-detail {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 26px;
    align-items: start;
}

.content-panel,
.side-panel {
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.16);
    box-shadow: var(--shadow-card);
    padding: 28px;
}

.content-panel h2,
.side-panel h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 16px;
    color: #111827;
}

.content-panel p {
    line-height: 2;
    color: #374151;
    margin: 0 0 26px;
}

.content-panel p:last-child {
    margin-bottom: 0;
}

.side-panel {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 12px;
}

.side-panel a {
    padding: 13px 14px;
    border-radius: 16px;
    background: var(--color-amber-50);
    color: var(--color-amber-600);
    font-weight: 800;
}

.side-panel a:hover {
    background: var(--color-amber-100);
}

.site-footer {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-brown-900), #9a3412);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(253, 230, 138, 0.2), transparent 28%);
}

.footer-inner {
    position: relative;
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
    padding: 54px 0 38px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
}

.footer-logo span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(253, 230, 138, 0.16);
    display: grid;
    place-items: center;
    color: #fde68a;
}

.footer-brand p,
.footer-col a,
.footer-col span {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.footer-col h2 {
    font-size: 18px;
    color: #fde68a;
    margin: 0 0 14px;
    font-weight: 900;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 9px;
}

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

.footer-bottom {
    position: relative;
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .hero-inner,
    .detail-inner,
    .two-column-detail {
        grid-template-columns: 1fr;
    }

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

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

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

    .detail-poster {
        width: min(320px, 100%);
    }
}

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

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

    .brand-text {
        font-size: 17px;
    }

    .hero {
        padding-top: 94px;
        min-height: auto;
    }

    .hero-inner {
        gap: 30px;
    }

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

    .hero-carousel {
        min-height: 460px;
        border-radius: 24px;
    }

    .section-wrap {
        width: min(100% - 32px, 1280px);
        padding: 52px 0;
    }

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

    .movie-grid,
    .dense-grid,
    .related-grid,
    .featured-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

    .movie-card-body h2 {
        font-size: 16px;
    }

    .movie-card-body p {
        font-size: 13px;
    }

    .ranking-card {
        grid-template-columns: 48px 78px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-info p:not(.movie-meta) {
        display: none;
    }

    .filter-panel {
        width: min(100% - 32px, 1280px);
    }

    .filter-search,
    .filter-selects,
    .category-overview-card,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        padding-top: 92px;
    }

    .detail-copy h1 {
        font-size: 38px;
    }

    .detail-copy p {
        font-size: 16px;
    }

    .player-section {
        width: min(100% - 32px, 1180px);
    }

    .content-panel,
    .side-panel {
        padding: 22px;
    }

    .side-panel {
        position: static;
    }
}

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

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

    .btn-primary,
    .btn-ghost,
    .btn-light {
        width: 100%;
    }

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

    .ranking-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .ranking-thumb {
        display: none;
    }
}
