:root {
    color-scheme: light;
    --rose-950: #4c0519;
    --rose-900: #881337;
    --rose-800: #9f1239;
    --rose-700: #be123c;
    --rose-600: #e11d48;
    --amber-900: #78350f;
    --amber-700: #b45309;
    --amber-500: #f59e0b;
    --amber-300: #fcd34d;
    --gray-950: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --soft-bg: #fff7ed;
    --card-bg: rgba(255, 255, 255, 0.94);
    --shadow: 0 18px 45px rgba(76, 5, 25, 0.14);
    --shadow-strong: 0 28px 70px rgba(76, 5, 25, 0.26);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background:
        radial-gradient(circle at top left, rgba(252, 211, 77, 0.25), transparent 34rem),
        radial-gradient(circle at top right, rgba(225, 29, 72, 0.18), transparent 38rem),
        linear-gradient(180deg, #fff7ed 0%, #fff 32%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--rose-950), var(--rose-800) 52%, var(--amber-900));
    box-shadow: 0 16px 40px rgba(76, 5, 25, 0.28);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 72px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb7185, #f59e0b);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
    transform: translateZ(0);
}

.logo-text {
    white-space: nowrap;
    font-size: 20px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: auto;
}

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

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

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 148px;
    padding: 10px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
    color: var(--gray-700);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
}

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

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.dropdown-panel a:hover {
    background: #fff1f2;
    color: var(--rose-800);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-nav input,
.filter-bar input,
.filter-bar select {
    border: 1px solid rgba(159, 18, 57, 0.14);
    outline: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--gray-800);
    transition: 0.2s ease;
}

.header-search input {
    width: 240px;
    padding: 10px 16px;
}

.header-search button,
.mobile-nav button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--rose-950);
    background: var(--amber-300);
    cursor: pointer;
    font-weight: 700;
}

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

.mobile-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

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

.mobile-nav {
    display: none;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px 18px;
    color: var(--white);
}

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

.mobile-nav form {
    display: flex;
    gap: 8px;
    margin: 8px 0 14px;
}

.mobile-nav input {
    flex: 1;
    padding: 11px 15px;
}

.mobile-links,
.mobile-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-links a,
.mobile-category-links a {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--rose-950);
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

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

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

.hero-slide img,
.page-hero > img,
.detail-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--rose-900), var(--amber-700));
}

.hero-shade,
.page-hero-shade,
.detail-hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 48%, rgba(245, 158, 11, 0.2), transparent 24rem),
        linear-gradient(90deg, rgba(17, 24, 39, 0.9) 0%, rgba(76, 5, 25, 0.74) 42%, rgba(17, 24, 39, 0.12) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 130px 20px 80px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.hero-content > * {
    max-width: 680px;
}

.hero-kicker,
.hero-meta,
.detail-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-kicker span,
.detail-meta span,
.movie-tags span,
.cover-badge,
.cover-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.hero-kicker span {
    padding: 8px 14px;
    background: rgba(245, 158, 11, 0.18);
    color: var(--amber-300);
    border: 1px solid rgba(252, 211, 77, 0.28);
    font-weight: 700;
}

.hero h1,
.hero h2 {
    margin: 20px 0 14px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.8;
}

.hero-meta span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

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

.primary-button {
    color: var(--white);
    background: linear-gradient(90deg, var(--rose-600), var(--amber-500));
    box-shadow: 0 18px 38px rgba(225, 29, 72, 0.32);
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 48px rgba(225, 29, 72, 0.42);
}

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

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.22);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: 0.2s ease;
}

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

.section-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 20px;
}

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

.section-heading span,
.panel-title span,
.page-hero span {
    display: block;
    margin-bottom: 6px;
    color: var(--rose-700);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.story-card h2,
.side-card h2 {
    margin: 0;
    color: var(--gray-950);
    letter-spacing: -0.03em;
}

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

.section-heading a {
    flex: 0 0 auto;
    color: var(--rose-800);
    font-weight: 800;
}

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

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

.category-card {
    position: relative;
    min-height: 248px;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    box-shadow: var(--shadow);
    transform: translateZ(0);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(76, 5, 25, 0.86));
    z-index: 1;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    background: linear-gradient(135deg, var(--rose-900), var(--amber-700));
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card span,
.category-card strong,
.category-card p {
    position: relative;
    z-index: 2;
}

.category-card span {
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(252, 211, 77, 0.2);
    color: var(--amber-300);
    font-weight: 800;
    margin-bottom: 10px;
}

.category-card strong {
    font-size: 22px;
    line-height: 1.25;
}

.category-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.compact-heading {
    margin-bottom: 22px;
}

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

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

.catalog-grid {
    margin-top: 24px;
}

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
    position: relative;
    aspect-ratio: 2 / 3;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-900), var(--amber-700));
}

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

.movie-card:hover .movie-cover img {
    transform: scale(1.08);
}

.cover-badge,
.cover-year {
    position: absolute;
    z-index: 2;
    top: 12px;
    min-height: 28px;
    padding: 0 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.cover-badge {
    left: 12px;
    background: rgba(190, 18, 60, 0.88);
}

.cover-year {
    right: 12px;
    background: rgba(17, 24, 39, 0.62);
}

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

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.movie-tags span {
    min-height: 24px;
    padding: 0 8px;
    background: #fff1f2;
    color: var(--rose-800);
    font-size: 12px;
    font-weight: 700;
}

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

.movie-card p {
    margin: 0 0 14px;
    color: var(--gray-600);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    margin-top: auto;
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 13px;
}

.compact-card .movie-card-body {
    padding: 14px;
}

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

.ranking-panel,
.side-card,
.story-card,
.player-card {
    border: 1px solid rgba(159, 18, 57, 0.08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.ranking-panel {
    position: sticky;
    top: 94px;
    padding: 20px;
}

.panel-title {
    margin-bottom: 18px;
}

.panel-title strong {
    display: block;
    color: var(--gray-950);
    font-size: 28px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 38px 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border-radius: 16px;
    transition: 0.2s ease;
}

.ranking-item:hover {
    background: #fff1f2;
}

.ranking-number {
    color: var(--rose-800);
    font-size: 18px;
    font-weight: 900;
}

.ranking-item img {
    width: 54px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--rose-900), var(--amber-700));
}

.ranking-text {
    min-width: 0;
}

.ranking-text strong,
.ranking-text em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-text strong {
    color: var(--gray-950);
    margin-bottom: 4px;
}

.ranking-text em {
    color: var(--gray-500);
    font-style: normal;
    font-size: 13px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--rose-950);
}

.page-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
}

.slim-hero {
    background:
        radial-gradient(circle at 72% 10%, rgba(252, 211, 77, 0.24), transparent 24rem),
        linear-gradient(135deg, var(--rose-950), var(--rose-800) 54%, var(--amber-900));
}

.page-hero > div:not(.page-hero-shade) {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 76px 20px;
}

.category-hero > img {
    position: absolute;
    inset: 0;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 64px);
}

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

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.filter-bar label {
    display: grid;
    gap: 8px;
    color: var(--gray-700);
    font-weight: 800;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    padding: 12px 15px;
}

.empty-state {
    padding: 32px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    color: var(--gray-600);
    text-align: center;
}

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

.detail-backdrop {
    position: absolute;
    inset: 0;
    filter: blur(2px);
    transform: scale(1.02);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    min-height: 620px;
    margin: 0 auto;
    padding: 74px 20px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.36);
    background: linear-gradient(135deg, var(--rose-900), var(--amber-700));
}

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

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

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

.detail-info h1 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 760px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.8;
}

.detail-meta span {
    min-height: 32px;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-tags {
    margin: 22px 0 28px;
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 22px;
}

.player-card {
    padding: 14px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #020617;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: radial-gradient(circle, rgba(76, 5, 25, 0.18), rgba(2, 6, 23, 0.54));
    cursor: pointer;
    transition: 0.2s ease;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-600), var(--amber-500));
    box-shadow: 0 18px 40px rgba(225, 29, 72, 0.42);
    font-size: 32px;
    padding-left: 6px;
}

.player-overlay:hover span {
    transform: scale(1.05);
}

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

.story-card,
.side-card {
    padding: 24px;
}

.story-card p {
    margin: 16px 0 0;
    color: var(--gray-600);
    line-height: 2;
    font-size: 17px;
}

.side-card dl {
    display: grid;
    gap: 14px;
    margin: 16px 0 0;
}

.side-card dl div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.side-card dt {
    color: var(--gray-500);
}

.side-card dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 700;
}

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

.related-side-list h2 {
    margin-bottom: 6px;
}

.ranking-page-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
}

.full-ranking-panel {
    max-height: calc(100vh - 118px);
    overflow: auto;
}

.site-footer {
    margin-top: 40px;
    background: linear-gradient(90deg, var(--rose-950), var(--rose-800), var(--amber-900));
    color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 42px 20px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 32px;
}

.footer-logo {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-inner p {
    margin: 12px 0 0;
    line-height: 1.8;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.footer-inner nav a {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.2s ease;
}

.footer-inner nav a:hover {
    background: rgba(252, 211, 77, 0.22);
    color: var(--white);
}

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

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

    .split-layout,
    .ranking-page-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

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

    .mobile-toggle {
        display: inline-flex;
    }

    .header-inner {
        height: 66px;
    }

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

    .hero-content {
        padding-top: 96px;
    }

    .hero p,
    .detail-one-line {
        font-size: 17px;
    }

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

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

    .detail-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 48px;
    }

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

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

    .footer-inner nav {
        justify-content: flex-start;
    }
}

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

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

    .hero-content,
    .section-wrap,
    .page-hero > div:not(.page-hero-shade),
    .detail-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1,
    .hero h2,
    .detail-info h1 {
        font-size: 40px;
    }

    .section-heading {
        display: block;
    }

    .section-heading a {
        display: inline-block;
        margin-top: 12px;
    }

    .category-grid,
    .large-category-grid,
    .movie-grid,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .movie-card {
        border-radius: 18px;
    }

    .ranking-item {
        grid-template-columns: 34px 48px minmax(0, 1fr);
    }

    .ranking-item img {
        width: 48px;
        height: 64px;
    }

    .side-card dl div {
        grid-template-columns: 1fr;
    }

    .player-overlay span {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }
}
