:root {
    --bg: #fffaf0;
    --bg-soft: #fffbeb;
    --surface: #ffffff;
    --surface-strong: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #f3e8d1;
    --accent: #d97706;
    --accent-dark: #b45309;
    --accent-soft: #fef3c7;
    --shadow: 0 24px 60px rgba(120, 53, 15, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(245, 158, 11, 0.14);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.32);
}

.brand-name {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 13px;
    color: #374151;
    border-radius: 999px;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.header-search {
    display: flex;
    align-items: center;
    min-width: 260px;
    padding: 4px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 999px;
}

.header-search input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    color: #111827;
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button,
.primary-btn,
.ghost-btn,
.section-link,
.filter-btn {
    cursor: pointer;
}

.header-search button {
    padding: 8px 14px;
    color: #fff;
    background: var(--accent);
    border: 0;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: #fff7ed;
    border: 0;
    border-radius: 14px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #92400e;
    border-radius: 999px;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    padding: 112px 0 48px;
    background:
        radial-gradient(circle at 14% 18%, rgba(251, 191, 36, 0.35), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(217, 119, 6, 0.18), transparent 30%),
        linear-gradient(135deg, #fff7ed 0%, #fff 48%, #fef3c7 100%);
}

.hero-stage {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    min-height: 590px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

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

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

.hero-backdrop,
.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    filter: blur(2px) saturate(1.15);
}

.hero-slide::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.90), rgba(17, 24, 39, 0.66), rgba(180, 83, 9, 0.52));
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    gap: 48px;
    align-items: center;
    padding: 56px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 7px 12px;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    max-width: 820px;
    margin: 18px 0 12px;
    color: #fff;
    font-size: clamp(32px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 0 0 14px;
    color: #fbbf24;
    font-size: clamp(24px, 3vw, 40px);
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.hero-tags,
.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags a,
.card-tags span {
    padding: 6px 10px;
    color: #92400e;
    background: rgba(254, 243, 199, 0.94);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

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

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

.primary-btn {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover {
    transform: translateY(-2px);
}

.ghost-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.ghost-btn.dark {
    color: var(--accent-dark);
    background: #fff7ed;
    border-color: #fed7aa;
}

.hero-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4.25;
    border: 10px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    color: #fff;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 5;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    border-radius: 999px;
}

.hero-dot.is-active {
    width: 32px;
    background: #fbbf24;
}

.hero-search {
    width: min(980px, calc(100% - 32px));
    margin: -28px auto 0;
    position: relative;
    z-index: 6;
    padding: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: 26px;
    box-shadow: 0 20px 45px rgba(120, 53, 15, 0.14);
}

.hero-search label {
    display: block;
    margin: 0 0 10px;
    color: #92400e;
    font-weight: 800;
}

.hero-search div {
    display: flex;
    gap: 10px;
}

.hero-search input,
.toolbar input {
    flex: 1;
    width: 100%;
    padding: 14px 16px;
    color: #111827;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 16px;
    outline: 0;
}

.hero-search button {
    padding: 0 24px;
    color: #fff;
    background: var(--accent);
    border: 0;
    border-radius: 16px;
    font-weight: 800;
}

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

.section-light {
    width: 100%;
    padding-left: max(16px, calc((100% - 1200px) / 2));
    padding-right: max(16px, calc((100% - 1200px) / 2));
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.72), rgba(255, 255, 255, 0.7));
}

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

.section-head.compact {
    align-items: center;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 10px 0 6px;
    color: #111827;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.15;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.section-link {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(120, 53, 15, 0.16);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4.2;
    background: #fef3c7;
}

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

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

.poster-mask {
    position: absolute;
    inset: auto 14px 14px 14px;
    display: grid;
    min-height: 42px;
    place-items: center;
    color: #fff;
    background: rgba(17, 24, 39, 0.72);
    border-radius: 999px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.movie-card h3 {
    margin: 8px 0 8px;
    color: #111827;
    font-size: 19px;
    line-height: 1.3;
}

.movie-card p {
    min-height: 46px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.card-tags {
    margin-bottom: 12px;
}

.card-tags span {
    padding: 4px 8px;
    font-size: 12px;
}

.card-category {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.category-section {
    padding-top: 82px;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

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

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

.category-tile:hover img {
    transform: scale(1.06);
}

.category-tile span,
.category-tile p {
    position: relative;
    z-index: 1;
}

.category-tile span {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 900;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.split-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
}

.ranking-panel,
.spotlight-panel,
.article-card,
.side-card,
.player-card,
.category-card-large {
    background: #fff;
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
}

.ranking-panel,
.spotlight-panel {
    padding: 28px;
}

.spotlight-panel {
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.38), transparent 28%),
        linear-gradient(135deg, #111827, #78350f);
}

.spotlight-panel h2 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 38px;
    line-height: 1.15;
}

.spotlight-panel p {
    color: rgba(255, 255, 255, 0.72);
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li + li {
    border-top: 1px solid #f3f4f6;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
}

.ranking-list b {
    color: var(--accent);
    font-size: 22px;
}

.ranking-list span {
    font-weight: 800;
}

.ranking-list em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

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

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #111827, #78350f);
}

.compact-hero {
    width: min(1200px, calc(100% - 32px));
    margin: 36px auto 0;
    padding: 68px;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.compact-hero h1 {
    max-width: 880px;
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
}

.compact-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

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

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

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.toolbar-wrap {
    align-items: stretch;
    flex-direction: column;
}

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

.filter-btn {
    padding: 10px 15px;
    color: #92400e;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-weight: 800;
}

.filter-btn.is-active,
.filter-btn:hover {
    color: #fff;
    background: var(--accent);
}

.empty-state {
    padding: 40px;
    color: var(--muted);
    text-align: center;
    background: #fff;
    border-radius: 24px;
}

.category-large-grid {
    display: grid;
    gap: 24px;
}

.category-card-large {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 26px;
    align-items: center;
    padding: 24px;
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
}

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

.category-card-large h2 {
    margin: 12px 0 10px;
    font-size: 34px;
}

.category-card-large p {
    color: var(--muted);
}

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

.movie-card-wide {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.movie-card-wide .poster-wrap {
    aspect-ratio: auto;
    min-height: 230px;
}

.detail-main {
    padding-top: 76px;
}

.detail-hero {
    min-height: 650px;
}

.detail-shell {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 72px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 42px;
    align-items: center;
    margin-top: 32px;
}

.detail-poster {
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.05;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.detail-meta span {
    padding: 8px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.detail-tags {
    margin-bottom: 26px;
}

.watch-section {
    padding-top: 54px;
}

.player-card {
    position: relative;
    overflow: hidden;
    background: #020617;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 12px;
    place-items: center;
    align-content: center;
    color: #fff;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
    border: 0;
    transition: opacity 0.25s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(217, 119, 6, 0.34);
}

.play-overlay strong {
    font-size: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
}

.article-card,
.side-card {
    padding: 30px;
}

.article-card h2,
.side-card h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 26px;
}

.article-card h2:not(:first-child) {
    margin-top: 30px;
}

.article-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

.side-card dl {
    margin: 0;
}

.side-card dt {
    color: var(--muted);
    font-size: 13px;
}

.side-card dd {
    margin: 3px 0 16px;
    color: #111827;
    font-weight: 800;
}

.detail-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.detail-pager a {
    display: grid;
    min-height: 44px;
    place-items: center;
    color: #92400e;
    background: #fff7ed;
    border-radius: 14px;
    font-weight: 800;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
}

.footer-logo .brand-name {
    color: #fff;
}

.footer-brand p {
    max-width: 520px;
    color: #9ca3af;
}

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

.footer-links h3 {
    margin: 0 0 14px;
    color: #fff;
}

.footer-links a {
    display: block;
    margin: 8px 0;
    color: #9ca3af;
}

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

.footer-bottom {
    padding: 18px;
    color: #6b7280;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden] {
    display: none !important;
}

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

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

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

    .hero-content,
    .detail-layout,
    .content-grid,
    .split-section,
    .category-card-large,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

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

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        top: 66px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: #fff;
        border: 1px solid #fed7aa;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 13px 14px;
    }

    .hero {
        padding-top: 86px;
    }

    .hero-stage {
        min-height: 680px;
        border-radius: 26px;
    }

    .hero-content {
        min-height: 680px;
        padding: 34px 24px 76px;
    }

    .hero-poster {
        max-width: 230px;
        transform: none;
    }

    .hero-arrow {
        display: none;
    }

    .hero-search div {
        flex-direction: column;
    }

    .section,
    .section-light {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-head,
    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .movie-card-wide {
        grid-template-columns: 1fr;
    }

    .compact-hero {
        margin-top: 24px;
        padding: 38px 24px;
        border-radius: 26px;
    }

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

    .detail-shell {
        padding-top: 34px;
    }

    .detail-hero {
        min-height: auto;
    }

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

@media (max-width: 520px) {
    .movie-grid,
    .featured-grid,
    .ranking-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .detail-info h1,
    .compact-hero h1 {
        font-size: 34px;
    }

    .hero-copy p,
    .detail-one-line,
    .compact-hero p {
        font-size: 16px;
    }

    .category-covers {
        min-height: 160px;
    }

    .ranking-list a {
        grid-template-columns: 44px 1fr;
    }

    .ranking-list em {
        grid-column: 2;
    }
}
