:root {
    color-scheme: light;
    --amber-50: #fff7ed;
    --amber-100: #ffedd5;
    --amber-200: #fed7aa;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --red-700: #b91c1c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(146, 64, 14, 0.14);
    --shadow-card: 0 14px 35px rgba(17, 24, 39, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-900);
    background:
        radial-gradient(circle at 0 0, rgba(245, 158, 11, 0.16), transparent 34rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fff7ed 100%);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(251, 191, 36, 0.32);
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 237, 213, 0.94));
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
}

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

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.brand-mark.large {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 22px;
    font-size: 28px;
}

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

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

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

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 237, 213, 0.72);
}

.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--gray-700);
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(251, 191, 36, 0.32);
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-link {
    display: block;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 4px;
}

.mobile-link.active {
    color: var(--amber-600);
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 760px;
    padding-top: 68px;
    color: white;
    background: #241006;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

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

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

.hero-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(15, 8, 3, 0.92), rgba(31, 18, 10, 0.66) 45%, rgba(0, 0, 0, 0.34)),
        linear-gradient(0deg, rgba(15, 8, 3, 0.95), transparent 38%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 380px;
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    min-height: 760px;
    margin: 0 auto;
    padding: 72px 0 122px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(251, 191, 36, 0.34);
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(120, 53, 15, 0.42);
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 247, 237, 0.88);
    font-size: 19px;
    line-height: 1.9;
}

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

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.detail-tags span {
    color: white;
    background: rgba(245, 158, 11, 0.82);
}

.hero-actions,
.page-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

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

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.36);
}

.ghost-button {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.ghost-button.bright {
    color: var(--gray-900);
    border-color: rgba(245, 158, 11, 0.26);
    background: rgba(255, 255, 255, 0.86);
}

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

.hero-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster div {
    padding: 20px;
}

.hero-poster strong {
    display: block;
    margin-bottom: 6px;
    font-size: 24px;
}

.hero-poster span {
    color: #fed7aa;
}

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

.hero-arrow,
.hero-dot {
    border: 0;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

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

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

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

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

.hero-search {
    position: absolute;
    left: 50%;
    bottom: 96px;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(220px, 430px) 110px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transform: translateX(-50%);
}

.hero-search input,
.hero-search button {
    height: 54px;
    border: 0;
    outline: none;
}

.hero-search input {
    padding: 0 22px;
    color: var(--gray-900);
    background: transparent;
}

.hero-search button {
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-weight: 800;
}

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

.content-section.inner {
    padding: 72px 0;
}

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

.section-heading h2 {
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 0;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    color: var(--amber-600);
    font-weight: 800;
}

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

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

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

.browse-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
}

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

.movie-link {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

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

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #2b170c;
}

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

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

.poster-wrap::after {
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
}

.poster-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 5px 9px;
    overflow: hidden;
    border-radius: 999px;
    color: white;
    background: rgba(245, 158, 11, 0.88);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poster-badge.left {
    left: 12px;
}

.poster-badge.right {
    right: 12px;
    background: rgba(37, 99, 235, 0.84);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.24s ease, transform 0.24s ease;
    backdrop-filter: blur(10px);
}

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

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.movie-card-body h2,
.movie-card-body h3 {
    display: -webkit-box;
    min-height: 2.8em;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
}

.tag-row.compact {
    margin-top: auto;
}

.category-section {
    background:
        radial-gradient(circle at 20% 0, rgba(254, 215, 170, 0.78), transparent 30rem),
        linear-gradient(135deg, #fff7ed, #ffedd5);
}

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

.category-card,
.overview-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 35px rgba(146, 64, 14, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card {
    padding: 22px;
}

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

.category-card span,
.overview-main span {
    color: var(--amber-600);
    font-weight: 900;
}

.category-card h3,
.overview-main h2 {
    margin: 8px 0 10px;
    color: var(--gray-900);
    font-size: 22px;
}

.category-card p,
.overview-main p {
    margin: 0;
    color: var(--gray-500);
    line-height: 1.7;
}

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

.ranking-list,
.ranking-table {
    display: grid;
    gap: 14px;
}

.mini-card,
.ranking-row {
    position: relative;
    display: grid;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card {
    grid-template-columns: 86px 1fr 34px;
    padding: 10px;
}

.mini-card:hover,
.ranking-row:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.mini-card img {
    width: 86px;
    height: 104px;
    border-radius: 12px;
    object-fit: cover;
}

.mini-card h3,
.ranking-row h2 {
    margin: 0 0 6px;
    color: var(--gray-900);
    font-size: 17px;
}

.mini-card p,
.ranking-row p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.mini-card span,
.ranking-row span {
    color: var(--gray-500);
    font-size: 12px;
}

.rank-number,
.rank-cell {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    color: white !important;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-weight: 900;
}

.cta-section {
    padding: 86px 16px;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600), var(--red-700));
}

.cta-section h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-section p {
    margin: 0 auto 30px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.white-button {
    color: var(--orange-600);
    background: white;
}

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

.page-hero,
.detail-hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 20rem),
        linear-gradient(135deg, #78350f, #c2410c 56%, #7f1d1d);
    box-shadow: var(--shadow-soft);
}

.page-hero {
    padding: 72px;
    color: white;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 247, 237, 0.9);
    font-size: 18px;
    line-height: 1.9;
}

.overview-card {
    padding: 0;
}

.overview-main {
    display: block;
    padding: 24px;
}

.overview-links {
    display: grid;
    gap: 8px;
    padding: 0 24px 24px;
}

.overview-links a {
    overflow: hidden;
    color: var(--gray-700);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-links a:hover {
    color: var(--amber-600);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.large-filter {
    grid-template-columns: minmax(260px, 1fr) 180px 180px 160px;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 14px;
    outline: none;
    color: var(--gray-900);
    background: white;
}

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

.filter-note,
.empty-state {
    margin: -10px 0 28px;
    color: var(--gray-500);
}

.empty-state {
    display: none;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    background: white;
}

.empty-state.show {
    display: block;
}

.ranking-row {
    grid-template-columns: 46px 72px minmax(0, 1fr) 88px;
    padding: 12px;
}

.ranking-row img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-row strong {
    color: var(--amber-600);
    text-align: right;
}

.detail-hero {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    padding: 42px;
    color: white;
}

.detail-poster img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 237, 213, 0.86);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: white;
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

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

.detail-tags {
    margin-top: 24px;
}

.player-section {
    padding-bottom: 36px;
}

.compact-heading {
    align-items: start;
}

.player-stage {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #0f0a06;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.26);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: white;
    background: linear-gradient(0deg, rgba(15, 10, 6, 0.62), rgba(15, 10, 6, 0.18));
    cursor: pointer;
}

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

.play-overlay strong {
    display: block;
    margin-top: 12px;
    font-size: 20px;
}

.play-symbol {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.38);
    font-size: 36px;
}

.detail-info-section {
    display: grid;
    grid-template-columns: 0.82fr 1fr 1fr;
    gap: 22px;
    padding-top: 28px;
}

.detail-info-card,
.text-card {
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
}

.detail-info-card {
    padding: 24px;
}

.text-card {
    padding: 26px;
}

.detail-info-card h2,
.text-card h2 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: 24px;
}

.text-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
}

.info-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--amber-100);
}

.info-list span {
    color: var(--gray-500);
}

.info-list strong {
    color: var(--gray-900);
    text-align: right;
}

.site-footer {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #78350f, #9a3412 58%, #7f1d1d);
}

.footer-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.22);
    filter: blur(20px);
}

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

.footer-logo {
    margin-bottom: 16px;
    color: white;
    font-size: 22px;
}

.footer-logo span {
    color: #fed7aa;
}

.footer-brand p,
.footer-group p,
.footer-group a {
    color: rgba(255, 237, 213, 0.84);
    line-height: 1.8;
}

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

.footer-group h2 {
    margin: 0 0 8px;
    color: #fed7aa;
    font-size: 18px;
}

.footer-group p {
    margin: 0;
}

.footer-group a:hover {
    color: white;
}

.footer-bottom {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 237, 213, 0.18);
    color: rgba(255, 237, 213, 0.76);
    font-size: 14px;
}

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

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

    .split-section,
    .detail-info-section {
        grid-template-columns: 1fr;
    }
}

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

    .menu-button {
        display: block;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 52px 0 150px;
    }

    .hero-poster {
        max-width: 320px;
    }

    .hero-search {
        grid-template-columns: 1fr 94px;
        width: calc(100% - 32px);
    }

    .page-hero,
    .detail-hero {
        padding: 32px;
    }

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

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

    .filter-bar,
    .large-filter {
        grid-template-columns: 1fr;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .nav-shell {
        height: 62px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding-top: 62px;
    }

    .hero h1 {
        font-size: 42px;
    }

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

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

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

    .movie-grid,
    .featured-grid,
    .tight-grid,
    .browse-grid,
    .category-grid,
    .overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

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

    .movie-card-body h2,
    .movie-card-body h3 {
        font-size: 15px;
    }

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

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

    .page-hero,
    .detail-hero {
        margin-top: 18px;
        border-radius: 22px;
    }

    .ranking-row {
        grid-template-columns: 38px 58px minmax(0, 1fr);
    }

    .ranking-row img {
        width: 58px;
        height: 78px;
    }

    .ranking-row strong {
        grid-column: 3;
        text-align: left;
    }

    .footer-shell {
        grid-template-columns: 1fr;
    }
}
