* {
    box-sizing: border-box;
}

:root {
    --bg: #fffaf3;
    --panel: #ffffff;
    --panel-soft: #fff7ed;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #fed7aa;
    --brand: #f97316;
    --brand-dark: #ea580c;
    --brand-soft: #ffedd5;
    --gold: #f59e0b;
    --shadow: 0 24px 70px rgba(234, 88, 12, 0.16);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.2), transparent 32rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #fffaf3 100%);
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 247, 237, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(251, 146, 60, 0.22);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.08);
}

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

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

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316 55%, #ef4444);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.35);
    font-size: 14px;
}

.brand-text {
    font-size: 20px;
    background: linear-gradient(90deg, #b45309, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 650;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-dark);
    background: rgba(255, 237, 213, 0.9);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(249, 115, 22, 0.12);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--brand-dark);
    border-radius: 99px;
}

main {
    min-height: 60vh;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 52px 0 38px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 16%, rgba(251, 191, 36, 0.38), transparent 26rem),
        radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.28), transparent 28rem),
        linear-gradient(135deg, rgba(255, 237, 213, 0.9), rgba(255, 255, 255, 0.92));
    z-index: -2;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% -10%;
    height: 420px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(249, 115, 22, 0.18));
    filter: blur(70px);
    z-index: -1;
}

.hero-shell,
.section-block,
.page-hero,
.detail-hero,
.site-footer .footer-grid,
.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-shell {
    position: relative;
}

.hero-slides {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 44px;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    pointer-events: none;
    transition: 0.55s ease;
}

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

.hero-copy {
    padding: 30px 0;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #9a3412;
    background: rgba(255, 237, 213, 0.9);
    border: 1px solid rgba(251, 146, 60, 0.22);
    font-size: 13px;
    font-weight: 750;
}

.hero-copy h1 {
    margin: 22px 0 16px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.03;
    letter-spacing: -0.06em;
}

.hero-copy p {
    margin: 0;
    max-width: 680px;
    color: #4b5563;
    font-size: clamp(17px, 2vw, 22px);
}

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

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

.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    font-size: 12px;
    font-weight: 700;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 15px;
    font-weight: 800;
    transition: 0.22s ease;
}

.btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.28);
}

.btn.ghost {
    color: #9a3412;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(251, 146, 60, 0.25);
}

.btn:hover,
.text-link:hover,
.section-head a:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: block;
    min-height: 500px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    isolation: isolate;
}

.hero-visual::after,
.poster-link::after,
.detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(17, 24, 39, 0.58));
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-visual:hover img,
.movie-card:hover .poster-image,
.category-tile:hover img {
    transform: scale(1.06);
}

.hero-play,
.poster-play {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    box-shadow: 0 16px 38px rgba(249, 115, 22, 0.35);
    z-index: 2;
}

.hero-play {
    left: 28px;
    bottom: 28px;
    width: 66px;
    height: 66px;
    border-radius: 24px;
    font-size: 22px;
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    color: var(--brand-dark);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.14);
    font-size: 28px;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fdba74;
}

.hero-dot.is-active {
    width: 30px;
    background: var(--brand);
}

.home-search-wrap {
    padding: 18px 0 0;
}

.home-search-card {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(251, 146, 60, 0.2);
    box-shadow: 0 20px 55px rgba(249, 115, 22, 0.1);
    text-align: center;
}

.home-search-card h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 42px);
}

.home-search-card p {
    margin: 0 auto 20px;
    max-width: 740px;
    color: var(--muted);
}

.home-search-form {
    display: flex;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    padding: 7px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.home-search-form input,
.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.home-search-form input {
    padding: 0 14px;
}

.home-search-form button {
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    font-weight: 800;
    cursor: pointer;
}

.section-block {
    padding: 58px 0;
}

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

.section-head h2,
.page-hero h1,
.detail-info h1 {
    margin: 10px 0 0;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

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

.section-head a,
.text-link {
    color: var(--brand-dark);
    font-weight: 800;
    transition: 0.2s ease;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.09);
    transition: 0.24s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.68);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 13px;
}

.card-body {
    padding: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

.card-body h3 {
    margin: 8px 0 6px;
    font-size: 18px;
    line-height: 1.28;
}

.card-body h3 a:hover {
    color: var(--brand-dark);
}

.card-body p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    gap: 6px;
}

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

.amber-panel {
    width: min(1180px, calc(100% - 32px));
    margin-top: 32px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(254, 243, 199, 0.7));
    border: 1px solid rgba(251, 146, 60, 0.2);
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    background: #fb923c;
    box-shadow: 0 16px 38px rgba(249, 115, 22, 0.14);
}

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

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

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

.category-tile span {
    font-size: 22px;
    font-weight: 850;
}

.category-tile em {
    margin-top: 6px;
    font-style: normal;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
}

.page-hero,
.detail-hero {
    margin-top: 40px;
    padding: 46px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 88% 8%, rgba(249, 115, 22, 0.28), transparent 22rem),
        linear-gradient(135deg, rgba(255, 237, 213, 0.96), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(251, 146, 60, 0.2);
    box-shadow: 0 22px 70px rgba(249, 115, 22, 0.1);
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.page-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
}

.page-hero p {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.slim-hero {
    min-height: 260px;
}

.ranking-hero {
    background:
        radial-gradient(circle at 90% 14%, rgba(239, 68, 68, 0.22), transparent 22rem),
        linear-gradient(135deg, #fff7ed, #ffffff);
}

.filter-panel {
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(251, 146, 60, 0.18);
    box-shadow: 0 12px 38px rgba(249, 115, 22, 0.08);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.search-box span {
    color: var(--brand-dark);
    font-size: 22px;
}

.filter-chips {
    margin-top: 14px;
}

.filter-chip {
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 8px 13px;
    color: #9a3412;
    background: #ffffff;
    cursor: pointer;
    font-weight: 750;
    transition: 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    border-color: transparent;
}

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

.category-card-large {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 18px 50px rgba(249, 115, 22, 0.08);
}

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

.category-cover-stack img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    background: #fed7aa;
}

.category-card-large span {
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

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

.category-card-large p {
    margin: 0 0 18px;
    color: var(--muted);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 54px 72px minmax(0, 1fr) auto 74px;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 12px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(251, 146, 60, 0.15);
    transition: 0.22s ease;
}

.rank-row:hover {
    transform: translateX(6px);
    box-shadow: 0 16px 42px rgba(249, 115, 22, 0.1);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    font-weight: 900;
}

.rank-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    background: #fed7aa;
}

.rank-main {
    min-width: 0;
}

.rank-main strong,
.rank-main em {
    display: block;
}

.rank-main strong {
    font-size: 18px;
}

.rank-main em {
    color: var(--muted);
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-tags {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.rank-score {
    color: var(--brand-dark);
    font-weight: 900;
    text-align: right;
}

.detail-hero {
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: #9a3412;
    font-size: 14px;
    font-weight: 750;
}

.breadcrumb a:hover {
    color: var(--brand-dark);
}

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

.detail-cover {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: #fed7aa;
}

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

.detail-info h1 {
    font-size: clamp(36px, 6vw, 66px);
}

.detail-info p {
    margin: 18px 0 0;
    color: #4b5563;
    font-size: 19px;
}

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

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

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #111827;
    box-shadow: 0 25px 90px rgba(17, 24, 39, 0.28);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #111827;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.35), rgba(17, 24, 39, 0.74));
    cursor: pointer;
}

.player-overlay span {
    width: 74px;
    height: 74px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.36);
    font-size: 28px;
}

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

.player-card.is-playing .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    padding-top: 20px;
}

.detail-content article,
.info-table {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 14px 42px rgba(249, 115, 22, 0.08);
}

.detail-content article h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.detail-content article p {
    margin: 0;
    color: #4b5563;
}

.info-table {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.info-table div {
    padding: 14px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.info-table span,
.info-table strong {
    display: block;
}

.info-table span {
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

.info-table strong {
    margin-top: 4px;
    font-size: 15px;
}

.site-footer {
    margin-top: 50px;
    padding: 46px 0 24px;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border-top: 1px solid rgba(251, 146, 60, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-grid p {
    color: var(--muted);
    margin: 14px 0 0;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: #7c2d12;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: #6b7280;
}

.footer-grid a:hover {
    color: var(--brand-dark);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    color: #9a3412;
    border-top: 1px solid rgba(251, 146, 60, 0.2);
    text-align: center;
    font-size: 14px;
}

.is-hidden {
    display: none !important;
}

.empty-state {
    padding: 38px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #fed7aa;
    text-align: center;
    color: var(--muted);
}

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

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

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

@media (max-width: 820px) {
    .site-nav {
        min-height: 66px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 66px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        border: 1px solid #fed7aa;
    }

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

    .hero-section {
        padding-top: 26px;
    }

    .hero-slides {
        min-height: 760px;
    }

    .hero-slide,
    .detail-layout,
    .page-hero,
    .category-card-large {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        gap: 20px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 360px;
    }

    .home-search-form {
        flex-direction: column;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-list-grid,
    .detail-content,
    .info-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .rank-row {
        grid-template-columns: 42px 62px minmax(0, 1fr);
    }

    .rank-tags,
    .rank-score {
        display: none;
    }
}

@media (max-width: 560px) {
    .brand-text {
        font-size: 17px;
    }

    .hero-slides {
        min-height: 720px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-list-grid,
    .detail-content,
    .info-table,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-block {
        padding: 38px 0;
    }

    .amber-panel {
        padding: 22px;
    }

    .detail-cover {
        max-width: 260px;
    }

    .player-card {
        border-radius: 22px;
    }
}
