:root {
    color-scheme: light;
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.10);
}

body {
    min-width: 320px;
    background: linear-gradient(180deg, var(--slate-50), var(--white));
    color: var(--slate-800);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

button,
input {
    font: inherit;
}

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

.container-wide {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--sky-600), var(--blue-700));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.25);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    font-weight: 800;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-title {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

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

.nav-link {
    padding: 8px 2px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
}

.header-search,
.mobile-search,
.large-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);
}

.header-search input,
.mobile-search input,
.large-search input {
    width: 210px;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 11px 14px 11px 18px;
    background: transparent;
    color: var(--white);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.header-search button,
.mobile-search button,
.large-search button {
    border: 0;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sky-600);
    font-weight: 800;
}

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

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-nav {
    display: grid;
    gap: 8px;
    padding: 12px 0;
}

.mobile-nav .nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-search input {
    width: 100%;
}

.hero-carousel {
    position: relative;
    min-height: 74vh;
    overflow: hidden;
    background: linear-gradient(120deg, #0369a1, #1d4ed8 55%, #0f172a);
    color: var(--white);
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.20), transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(255, 255, 255, 0.18), transparent 32%);
    opacity: 0.9;
}

.hero-stage {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 74vh;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 48px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: -40px -80px;
    z-index: -1;
    background-image: linear-gradient(90deg, rgba(3, 105, 161, 0.86), rgba(29, 78, 216, 0.72), rgba(15, 23, 42, 0.80)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(115%);
    transform: scale(1.06);
    opacity: 0.56;
}

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

.hero-content {
    max-width: 730px;
}

.hero-kicker,
.detail-category,
.card-category {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.92);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-kicker {
    padding: 8px 16px;
    margin-bottom: 20px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-summary {
    max-width: 720px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.7;
}

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

.hero-tags span,
.tag-list span {
    padding: 8px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.90);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

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

.primary-button,
.ghost-button,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    min-height: 48px;
    padding: 0 28px;
    background: var(--white);
    color: var(--sky-600);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

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

.ghost-button {
    min-height: 48px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.ghost-button.dark {
    background: rgba(14, 165, 233, 0.10);
    color: var(--sky-600);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.24);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
    transform: perspective(900px) rotateY(-7deg);
}

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

.hero-poster span {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 44px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.94);
    color: var(--white);
    font-weight: 900;
}

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

.hero-arrow,
.hero-dot {
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    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: 50%;
}

.hero-dot.is-active {
    width: 34px;
    border-radius: 999px;
    background: var(--white);
}

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

.section-soft {
    background: linear-gradient(90deg, var(--slate-100), var(--slate-50));
}

.section-blue {
    background: linear-gradient(135deg, var(--sky-50), #eff6ff);
}

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

.section-heading h2 {
    margin: 0;
    color: var(--slate-800);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 680px;
    margin-top: 10px;
    color: var(--slate-600);
    line-height: 1.8;
}

.section-link {
    flex-shrink: 0;
    min-height: 42px;
    padding: 0 20px;
    background: var(--sky-100);
    color: var(--sky-600);
}

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

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

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

.movie-card > a {
    display: block;
    overflow: hidden;
    height: 100%;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card > a:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.large-card {
    grid-column: span 2;
    grid-row: span 2;
}

.card-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--slate-200);
}

.large-card .card-poster {
    aspect-ratio: 16 / 10;
}

.card-poster img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

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

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.72));
}

.card-category {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 11px;
    font-size: 12px;
}

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.90);
    color: var(--white);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 10px;
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 16px;
    overflow: hidden;
    color: var(--slate-600);
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--slate-100);
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border-radius: 28px;
    background: var(--slate-900);
    box-shadow: var(--shadow-card);
    color: var(--white);
}

.category-card img,
.category-overview-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transition: transform 0.3s ease;
}

.category-card:hover img,
.category-overview-card:hover img {
    transform: scale(1.06);
}

.category-card div,
.category-overview-body {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.84));
}

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

.category-card p,
.category-overview-card p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.category-card span,
.category-overview-card strong,
.category-overview-card span {
    color: var(--sky-100);
}

.cta-panel {
    padding: 56px;
    border-radius: 36px;
    background: linear-gradient(90deg, var(--sky-500), var(--blue-600));
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
}

.cta-panel p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.cta-panel div {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.page-hero {
    background: linear-gradient(90deg, var(--sky-600), var(--blue-700));
    color: var(--white);
}

.compact-hero {
    padding: 56px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
}

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

.compact-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

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

.large-search {
    max-width: 680px;
    margin-top: 28px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.large-search input {
    flex: 1;
    width: auto;
    color: var(--slate-800);
    padding: 16px 22px;
}

.large-search button {
    padding: 16px 26px;
    background: var(--sky-500);
    color: var(--white);
}

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

.toolbar strong {
    display: block;
    color: var(--slate-800);
    font-size: 22px;
}

.toolbar span {
    color: var(--slate-500);
}

.sort-buttons {
    display: flex;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    background: var(--slate-100);
}

.sort-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--slate-600);
    background: transparent;
    font-weight: 800;
}

.sort-buttons button.is-active {
    color: var(--white);
    background: var(--sky-500);
}

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

.rank-card > a {
    display: grid;
    grid-template-columns: 72px 140px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 14px;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    color: var(--white);
    font-weight: 900;
}

.rank-poster {
    overflow: hidden;
    border-radius: 16px;
}

.rank-poster img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.rank-body h2 {
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 22px;
    font-weight: 900;
}

.rank-body p {
    margin: 0 0 12px;
    color: var(--slate-600);
    line-height: 1.7;
}

.detail-shell {
    padding: 36px 0 70px;
}

.detail-breadcrumb {
    color: var(--slate-500);
}

.detail-breadcrumb a:hover {
    color: var(--sky-600);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.player-card,
.detail-card,
.sticky-panel {
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.player-card {
    overflow: hidden;
    margin-bottom: 24px;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--slate-900);
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--slate-900);
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.72));
    color: var(--white);
    transition: opacity 0.2s ease;
}

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

.player-icon {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    padding-left: 6px;
    border-radius: 50%;
    background: var(--sky-500);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.35);
    font-size: 34px;
}

.player-text {
    font-size: 18px;
    font-weight: 900;
}

.detail-card {
    padding: 34px;
}

.detail-category {
    padding: 8px 14px;
    margin-bottom: 16px;
    font-size: 13px;
}

.detail-card h1 {
    margin: 0 0 18px;
    color: var(--slate-800);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 950;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--slate-200);
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: 14px;
    font-weight: 700;
}

.detail-one-line {
    margin: 0 0 26px;
    color: var(--slate-700);
    font-size: 19px;
    line-height: 1.8;
}

.detail-section {
    margin-top: 30px;
}

.detail-section h2,
.sticky-panel h2 {
    margin: 0 0 14px;
    color: var(--slate-800);
    font-size: 24px;
    font-weight: 900;
}

.detail-section p {
    margin: 0;
    color: var(--slate-600);
    font-size: 17px;
    line-height: 1.9;
}

.review-section {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--sky-50), #eff6ff);
}

.detail-card .tag-list span {
    background: var(--slate-100);
    color: var(--slate-700);
    box-shadow: none;
}

.sticky-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.compact-list {
    display: grid;
    gap: 14px;
}

.compact-card > a {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    box-shadow: none;
    background: var(--slate-50);
}

.compact-poster {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.compact-poster img {
    aspect-ratio: 16 / 10;
    height: 100%;
    object-fit: cover;
}

.play-dot {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.28);
    color: var(--white);
}

.compact-body h3 {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: var(--slate-800);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.compact-body p,
.compact-body span {
    display: block;
    margin: 0;
    color: var(--slate-500);
    font-size: 12px;
    line-height: 1.5;
}

.related-section {
    padding-bottom: 0;
}

.empty-state {
    max-width: 560px;
    margin: 40px auto 0;
    padding: 40px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 12px;
    color: var(--slate-800);
    font-size: 28px;
    font-weight: 900;
}

.empty-state p {
    margin: 0 0 24px;
    color: var(--slate-600);
}

.site-footer {
    margin-top: 48px;
    background: linear-gradient(180deg, var(--slate-800), var(--slate-900));
    color: var(--white);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.5fr));
    gap: 34px;
    padding: 48px 0;
}

.brand-footer .brand-mark {
    background: rgba(14, 165, 233, 0.20);
}

.footer-brand p {
    max-width: 520px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: var(--sky-100);
    font-size: 18px;
    font-weight: 900;
}

.footer-column ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.68);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

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

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

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

    .sticky-panel {
        position: static;
    }
}

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

    .mobile-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-header-inner {
        gap: 16px;
    }

    .hero-stage,
    .hero-carousel {
        min-height: 830px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
        align-content: center;
        padding: 48px 0 98px;
    }

    .hero-poster {
        max-width: 360px;
        margin: 0 auto;
        transform: none;
    }

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

    .large-card {
        grid-column: span 2;
        grid-row: auto;
    }

    .rank-card > a {
        grid-template-columns: 54px 110px minmax(0, 1fr);
        gap: 14px;
    }

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

@media (max-width: 560px) {
    .brand-subtitle {
        display: none;
    }

    .brand-title {
        font-size: 18px;
    }

    .content-section {
        padding: 52px 0;
    }

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

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

    .hero-summary {
        font-size: 16px;
    }

    .hero-actions,
    .cta-panel div {
        display: grid;
    }

    .movie-grid,
    .featured-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .large-card {
        grid-column: auto;
    }

    .section-heading,
    .toolbar {
        display: grid;
        align-items: start;
    }

    .sort-buttons {
        overflow-x: auto;
        border-radius: 18px;
    }

    .cta-panel,
    .detail-card {
        padding: 28px;
        border-radius: 26px;
    }

    .rank-card > a {
        grid-template-columns: 46px 86px minmax(0, 1fr);
        padding: 10px;
    }

    .rank-number {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .rank-body h2 {
        font-size: 17px;
    }

    .rank-body p {
        display: none;
    }

    .compact-card > a {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}
