:root {
    color-scheme: light;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #142033;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --orange-500: #f97316;
    --blue-500: #3b82f6;
    --violet-500: #8b5cf6;
    --rose-500: #f43f5e;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 26px 70px rgba(2, 6, 23, 0.35);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--slate-50), #eef3f8 55%, var(--slate-100));
    color: var(--slate-800);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 60vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800) 45%, var(--slate-900));
    color: var(--white);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.26);
}

.site-header__inner {
    width: min(var(--container), calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 172px;
}

.site-logo__mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
    color: var(--slate-950);
    font-weight: 900;
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.12);
}

.site-logo__text {
    display: grid;
    line-height: 1.2;
}

.site-logo__text strong {
    font-size: 22px;
    letter-spacing: -0.04em;
}

.site-logo__text em {
    color: var(--slate-400);
    font-size: 12px;
    font-style: normal;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a,
.mobile-nav a {
    border-radius: 999px;
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--white);
    background: rgba(16, 185, 129, 0.18);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

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

.mobile-nav {
    display: none;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

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

.hero-carousel {
    position: relative;
    min-height: 74vh;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 32%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 650ms ease, transform 850ms ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.32)), linear-gradient(0deg, var(--slate-950), transparent 38%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 56px;
    color: var(--white);
    padding: 80px 0 96px;
}

.hero-copy {
    max-width: 720px;
}

.hero-badge,
.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(16, 185, 129, 0.95);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-copy h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy h2 {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0 0 24px;
    color: rgba(226, 232, 240, 0.92);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-tags,
.movie-card__tags,
.category-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span,
.movie-card__tags span,
.category-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}

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

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 14px;
    padding: 0 20px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
    background: var(--emerald-500);
    color: var(--white);
    box-shadow: 0 16px 28px rgba(16, 185, 129, 0.26);
}

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

.btn-primary:hover {
    background: var(--emerald-600);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.btn-ghost {
    background: var(--white);
    color: var(--emerald-700);
    border-color: rgba(16, 185, 129, 0.22);
}

.hero-poster {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
    background: rgba(255, 255, 255, 0.08);
}

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.68));
}

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

.hero-dot {
    width: 42px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
    width: 64px;
    background: var(--emerald-400);
}

.section,
.page-section {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 68px 0 0;
}

.section:last-child,
.page-section:last-child {
    padding-bottom: 68px;
}

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

.section-heading__copy h2,
.section-heading__copy h1,
.page-hero h1 {
    margin: 10px 0 0;
    color: var(--slate-900);
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.section-heading__copy p,
.page-hero p {
    margin: 10px 0 0;
    color: var(--slate-600);
    max-width: 720px;
}

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

.movie-grid.is-large {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.34);
    box-shadow: var(--shadow-soft);
}

.movie-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--slate-800), var(--slate-600));
}

.movie-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease, opacity 220ms ease;
}

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

.movie-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.42));
    opacity: 0;
    transition: opacity 220ms ease;
}

.movie-card:hover .movie-card__image::after {
    opacity: 1;
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.88);
    background: rgba(16, 185, 129, 0.94);
    color: var(--white);
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
}

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

.movie-card__year {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--emerald-500);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.movie-card__body {
    padding: 16px;
}

.movie-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--emerald-700);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.3;
}

.movie-card h3 a:hover,
.ranking-row h3 a:hover,
.detail-related h3 a:hover {
    color: var(--emerald-700);
}

.movie-card p {
    margin: 9px 0 12px;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.55;
}

.movie-card__tags span {
    background: var(--slate-100);
    color: var(--slate-600);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: var(--radius-xl);
    padding: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
    box-shadow: var(--shadow-soft);
}

.category-card:nth-child(2n) {
    background: linear-gradient(135deg, #064e3b, #0f766e);
}

.category-card:nth-child(3n) {
    background: linear-gradient(135deg, #1e1b4b, #7c3aed);
}

.category-card:nth-child(4n) {
    background: linear-gradient(135deg, #7c2d12, #ea580c);
}

.category-card h2,
.category-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.category-card p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.84);
}

.category-card__chips span {
    background: rgba(255, 255, 255, 0.16);
}

.category-card__link {
    position: absolute;
    left: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    color: var(--white);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 0.7fr)) auto;
    align-items: end;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.42);
    border-radius: 14px;
    padding: 0 13px;
    background: var(--white);
    color: var(--slate-900);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.filter-reset {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    background: var(--slate-900);
    color: var(--white);
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.26), transparent 28%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
    color: var(--white);
}

.page-hero__inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.page-hero h1 {
    color: var(--white);
}

.page-hero p {
    color: rgba(226, 232, 240, 0.86);
}

.page-kicker {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(52, 211, 153, 0.32);
}

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

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

.ranking-row {
    display: grid;
    grid-template-columns: 62px 130px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ranking-row__rank {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--emerald-500), var(--blue-500));
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
}

.ranking-row__poster {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    background: var(--slate-800);
}

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

.ranking-row h3 {
    margin: 0 0 8px;
    color: var(--slate-900);
    font-size: 20px;
}

.ranking-row p {
    margin: 0 0 10px;
    color: var(--slate-600);
}

.ranking-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-row__meta span {
    border-radius: 999px;
    padding: 4px 9px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 800;
}

.sidebar-panel {
    position: sticky;
    top: 92px;
    border-radius: var(--radius-xl);
    padding: 22px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.sidebar-panel h2 {
    margin: 0 0 16px;
    color: var(--slate-900);
    font-size: 22px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    background: var(--slate-50);
    transition: background 180ms ease, transform 180ms ease;
}

.compact-card:hover {
    background: #eafdf6;
    transform: translateX(3px);
}

.compact-card img {
    width: 74px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--slate-800);
}

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

.compact-card strong {
    color: var(--slate-900);
    font-size: 14px;
}

.compact-card em {
    color: var(--slate-500);
    font-size: 12px;
    font-style: normal;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--slate-500);
    font-size: 14px;
    font-weight: 700;
}

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

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

.detail-main,
.detail-side,
.detail-related {
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.detail-main {
    overflow: hidden;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: var(--slate-950);
    aspect-ratio: 16 / 9;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.56));
    transition: opacity 180ms ease, visibility 180ms ease;
}

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

.player-cover span {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--emerald-500);
    box-shadow: 0 18px 38px rgba(16, 185, 129, 0.42);
    font-size: 32px;
    transform: translateX(3px);
}

.detail-content {
    padding: 28px;
}

.detail-content h1 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

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

.detail-content h2 {
    margin: 30px 0 12px;
    color: var(--slate-900);
    font-size: 24px;
}

.detail-content p {
    margin: 0 0 16px;
    color: var(--slate-700);
    font-size: 16px;
}

.detail-tags span {
    background: #ecfdf5;
    color: var(--emerald-700);
}

.detail-side {
    padding: 20px;
}

.detail-side img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    object-fit: cover;
    background: var(--slate-800);
}

.detail-side__box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.detail-side__box a,
.detail-side__box span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--slate-50);
    color: var(--slate-700);
    font-weight: 800;
}

.detail-side__box a:hover {
    background: #ecfdf5;
    color: var(--emerald-700);
}

.detail-related {
    margin-top: 30px;
    padding: 26px;
}

.detail-related h2 {
    margin: 0 0 20px;
    color: var(--slate-900);
    font-size: 26px;
}

.site-footer {
    margin-top: 48px;
    background: var(--slate-950);
    color: rgba(226, 232, 240, 0.82);
}

.site-footer__inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
    padding: 48px 0;
}

.site-footer__brand {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    color: rgba(203, 213, 225, 0.74);
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.site-footer__bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 18px 16px;
    text-align: center;
    color: rgba(148, 163, 184, 0.78);
    font-size: 14px;
}

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

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

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

    .hero-inner,
    .detail-layout,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

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

    .filter-panel__search {
        grid-column: 1 / -1;
    }

    .sidebar-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .site-header__inner {
        width: min(100% - 24px, var(--container));
    }

    .site-logo__text strong {
        font-size: 19px;
    }

    .hero-carousel {
        min-height: 78vh;
    }

    .hero-inner {
        width: min(100% - 24px, var(--container));
        padding: 58px 0 88px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-ghost {
        width: 100%;
    }

    .section,
    .page-section,
    .page-hero__inner {
        width: min(100% - 24px, var(--container));
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

    .ranking-row {
        grid-template-columns: 46px 92px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .ranking-row__rank {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 15px;
    }

    .ranking-row h3 {
        font-size: 17px;
    }

    .ranking-row p {
        display: none;
    }

    .detail-content,
    .detail-related {
        padding: 20px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}
