:root {
    --page-bg: #fff8ed;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --line-soft: rgba(31, 41, 55, 0.1);
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --orange: #ea580c;
    --red: #ef4444;
    --shadow-soft: 0 18px 45px rgba(110, 63, 12, 0.12);
    --shadow-card: 0 12px 30px rgba(31, 41, 55, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-main);
    background:
        radial-gradient(circle at 12% 8%, rgba(251, 191, 36, 0.28), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(249, 115, 22, 0.18), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, var(--page-bg) 48%, #ffffff 100%);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.nav-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 900;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.34);
}

.brand-text {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1;
    background: linear-gradient(90deg, var(--amber-dark), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: #374151;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 2px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-dropdown:hover > button {
    color: var(--amber-dark);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 180px;
    transform: translateX(-50%) translateY(8px);
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(245, 158, 11, 0.16);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
    font-size: 14px;
}

.dropdown-panel a:hover {
    color: var(--amber-dark);
    background: #fff7e6;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-search {
    position: relative;
    width: min(280px, 26vw);
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.08);
}

.nav-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 11px 12px 11px 18px;
    color: var(--text-main);
}

.nav-search button {
    border: 0;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #ffffff;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    margin-right: 2px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #fff2d6;
    margin-left: auto;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--amber-dark);
    border-radius: 999px;
}

main {
    overflow: hidden;
}

.page-shell,
.home-sections {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-carousel {
    width: min(1320px, calc(100% - 32px));
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.hero-stage {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(135deg, #111827, #7c2d12 42%, #f59e0b);
    box-shadow: 0 30px 80px rgba(120, 53, 15, 0.22);
}

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

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

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(251, 191, 36, 0.24), transparent 30%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.62) 46%, rgba(17, 24, 39, 0.18) 100%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.82) 0%, transparent 46%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(660px, 88%);
    min-height: 610px;
    padding: clamp(36px, 7vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.hero-kicker {
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(16px, 2.1vw, 21px);
    line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 11px;
    background: #fff7e6;
    color: #a16207;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: #fff7d6;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-btn,
.ghost-btn,
.section-more,
.ranking-action,
.side-more,
.play-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.play-primary {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35);
}

.ghost-btn {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.ranking-action:hover,
.side-more:hover,
.play-primary:hover {
    transform: translateY(-2px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: clamp(32px, 6vw, 76px);
    bottom: 30px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-side {
    border-radius: 34px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-title {
    font-size: 20px;
    font-weight: 900;
    color: #7c2d12;
}

.side-more,
.section-more,
.ranking-action {
    min-height: 42px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
}

.home-sections {
    padding: 56px 0 72px;
}

.content-section {
    margin-bottom: 64px;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
    color: #1f2937;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--text-muted);
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(245, 158, 11, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(31, 41, 55, 0.18);
}

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

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

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

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    min-height: 32px;
    padding: 0 13px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

.rank-badge {
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.32);
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.card-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7e6;
}

.card-body h3,
.ranking-copy h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.32;
}

.card-body h3 a:hover,
.ranking-copy h3 a:hover {
    color: var(--amber-dark);
}

.card-body p,
.ranking-copy p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 10px 0 14px;
}

.card-mini {
    display: grid;
    grid-template-columns: 96px 1fr;
    min-height: 128px;
}

.card-mini .poster-link {
    aspect-ratio: auto;
    height: 100%;
}

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

.card-mini .card-body h3 {
    font-size: 16px;
}

.card-mini .card-body p,
.card-mini .tag-row {
    display: none;
}

.card-horizontal,
.card-large {
    display: grid;
    grid-template-columns: 190px 1fr;
}

.card-horizontal .poster-link,
.card-large .poster-link {
    aspect-ratio: auto;
    height: 100%;
}

.category-band {
    border-radius: 34px;
    padding: clamp(24px, 4vw, 44px);
    background: linear-gradient(135deg, #fff7ed, #ffedd5 48%, #fef3c7);
    box-shadow: var(--shadow-soft);
}

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

.category-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 10px 28px rgba(120, 53, 15, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-icon {
    font-size: 36px;
}

.category-card h3 {
    margin: 0;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.category-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    background: #fed7aa;
}

.page-hero {
    margin: 30px auto 30px;
    padding: clamp(34px, 6vw, 64px);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(135deg, #7c2d12 0%, #ea580c 48%, #f59e0b 100%);
    box-shadow: 0 26px 70px rgba(120, 53, 15, 0.22);
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(140px, 180px));
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.15);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    width: 100%;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-main);
    outline: 0;
    padding: 0 16px;
    font: inherit;
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.12);
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.08);
}

.ranking-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
    background: #fed7aa;
}

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

.ranking-poster span {
    position: absolute;
    left: 8px;
    top: 8px;
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.detail-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 30px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.player-card {
    overflow: hidden;
    border-radius: 34px;
    background: #111827;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.28);
}

.player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #020617;
}

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: rgba(2, 6, 23, 0.24);
    pointer-events: auto;
}

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

.play-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.play-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.22), transparent 32%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.14));
}

.play-primary {
    position: relative;
    z-index: 2;
    min-width: 148px;
    min-height: 56px;
    border: 0;
    font-size: 18px;
}

.player-copy {
    padding: clamp(24px, 4vw, 36px);
    color: #ffffff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: #fde68a;
    font-weight: 700;
}

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

.player-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.05em;
}

.player-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    font-size: 17px;
}

.detail-poster {
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    box-shadow: var(--shadow-soft);
}

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

.detail-content {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.article-panel,
.related-panel {
    padding: clamp(24px, 4vw, 36px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.12);
    box-shadow: var(--shadow-soft);
}

.article-panel h2,
.related-panel h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.article-panel p {
    color: #374151;
    line-height: 2;
    font-size: 17px;
}

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

.info-grid div {
    padding: 14px;
    border-radius: 18px;
    background: #fff7e6;
}

.info-grid span {
    display: block;
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
}

.info-grid strong {
    color: #1f2937;
}

.related-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-panel .movie-card {
    box-shadow: none;
    border-color: rgba(245, 158, 11, 0.18);
}

.site-footer {
    background: linear-gradient(180deg, #1f2937, #111827);
    color: #ffffff;
    margin-top: 30px;
}

.footer-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.footer-shell p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-links a {
    color: #fde68a;
    font-weight: 700;
}

[data-filter-empty] {
    display: none;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    background: #ffffff;
    color: var(--text-muted);
    border: 1px solid rgba(245, 158, 11, 0.16);
}

@media (max-width: 1120px) {
    .hero-carousel,
    .detail-hero,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .hero-side {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .side-title,
    .side-more {
        grid-column: 1 / -1;
    }

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

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

@media (max-width: 860px) {
    .nav-shell {
        height: auto;
        min-height: 68px;
        flex-wrap: wrap;
        padding: 12px 0;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-nav,
    .nav-search {
        width: 100%;
        display: none;
    }

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

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        order: 3;
        gap: 4px;
    }

    .nav-search {
        order: 4;
    }

    .nav-link,
    .nav-dropdown > button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 14px;
        border-radius: 14px;
        background: #fff7e6;
    }

    .dropdown-panel {
        position: static;
        min-width: auto;
        transform: none;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 4px 0 0 16px;
    }

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

    .hero-content {
        padding: 30px;
    }

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

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

    .ranking-item {
        grid-template-columns: 90px 1fr;
    }

    .ranking-action {
        grid-column: 1 / -1;
    }

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

    .footer-shell {
        display: block;
    }

    .footer-links {
        justify-content: flex-start;
        margin-top: 18px;
    }
}

@media (max-width: 560px) {
    .hero-carousel,
    .home-sections,
    .page-shell,
    .detail-hero,
    .detail-content {
        width: min(100% - 20px, 1240px);
    }

    .hero-stage,
    .page-hero,
    .player-card,
    .detail-poster,
    .article-panel,
    .related-panel {
        border-radius: 24px;
    }

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

    .hero-control {
        display: none;
    }

    .hero-dots {
        left: 30px;
    }

    .movie-grid,
    .category-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .card-horizontal,
    .card-large,
    .card-mini {
        grid-template-columns: 1fr;
    }

    .card-mini .poster-link,
    .card-horizontal .poster-link,
    .card-large .poster-link {
        aspect-ratio: 3 / 4;
    }

    .ranking-item {
        grid-template-columns: 1fr;
    }

    .ranking-poster {
        width: 52%;
    }
}
