:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-soft: #111c33;
    --bg-panel: rgba(15, 23, 42, 0.78);
    --bg-panel-strong: rgba(30, 41, 59, 0.92);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --line: rgba(148, 163, 184, 0.18);
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --cyan: #22d3ee;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 34rem),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 26rem),
        linear-gradient(180deg, #020617 0%, #0f172a 45%, #111827 100%);
    color: var(--text);
    line-height: 1.6;
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.site-logo {
    font-size: 21px;
}

.site-logo__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a,
.mobile-nav a,
.footer-links a {
    color: var(--muted-strong);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.24);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: white;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.96);
}

.mobile-nav a {
    display: block;
    padding: 13px 14px;
    border-radius: 12px;
}

.hero {
    position: relative;
    height: min(720px, 70vh);
    min-height: 540px;
    overflow: hidden;
    background: #020617;
}

.hero-track,
.hero-slide,
.hero-slide__image,
.hero-slide__shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

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

.hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide__shade {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.22) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.88) 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 22px;
}

.hero-kicker,
.section-eyebrow,
.section-head span,
.category-card__body span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.88);
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.hero h2 {
    max-width: 760px;
    margin: 18px 0 16px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 700px;
    margin: 0 0 24px;
    color: var(--muted-strong);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.detail-facts,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.hero-meta span,
.detail-facts span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
}

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

.primary-button,
.ghost-button,
.search-bar button,
.filter-panel__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 13px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button,
.search-bar button {
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.ghost-button,
.page-hero__links a,
.filter-panel__search button {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
}

.primary-button:hover,
.ghost-button:hover,
.search-bar button:hover,
.filter-panel__search button:hover {
    transform: translateY(-2px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(2, 6, 23, 0.62);
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(14px);
}

.hero-control--prev {
    left: 26px;
}

.hero-control--next {
    right: 26px;
}

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

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: white;
}

.content-section,
.section-card,
.page-shell,
.detail-content {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

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

.content-section--panel,
.section-card,
.filter-panel {
    border: 1px solid var(--line);
    background: var(--bg-panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.content-section--panel {
    padding: 42px;
    border-radius: var(--radius-xl);
}

.quick-search {
    margin-top: -48px;
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
    align-items: center;
    gap: 28px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.quick-search h2,
.section-head h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2,
.detail-side h2 {
    margin: 0;
    letter-spacing: -0.03em;
}

.quick-search h2 {
    margin-top: 10px;
    font-size: clamp(24px, 3vw, 34px);
}

.search-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.search-bar input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    outline: none;
}

.search-bar input,
.filter-panel input {
    padding: 0 16px;
}

.filter-panel select {
    padding: 0 14px;
}

.search-bar input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
}

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

.section-head--small {
    margin-bottom: 20px;
}

.section-head h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.section-head a {
    color: var(--blue-light);
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.movie-card__link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 46px rgba(2, 6, 23, 0.24);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card__link:hover {
    transform: translateY(-7px);
    border-color: rgba(96, 165, 250, 0.42);
    background: rgba(30, 41, 59, 0.92);
}

.movie-card__cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #111827;
}

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

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

.movie-card__link:hover img {
    transform: scale(1.06);
    filter: saturate(1.12);
}

.play-mark {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.movie-card__body {
    padding: 18px;
}

.movie-card__body h3,
.latest-item__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card__link:hover h3,
.latest-item__title:hover {
    color: var(--blue-light);
}

.movie-card__body p,
.latest-item p,
.category-card__body p,
.site-footer p,
.page-hero p,
.detail-one-line,
.detail-article p {
    color: var(--muted-strong);
}

.movie-card__body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 46px;
    margin: 0 0 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
}

.movie-meta {
    gap: 7px;
    font-size: 12px;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-row span,
.detail-tags a {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.13);
    color: #bfdbfe;
    font-size: 12px;
}

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

.category-chip-grid a,
.page-hero__links a {
    min-height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.74);
    color: var(--muted-strong);
    font-weight: 800;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-chip-grid a:hover,
.page-hero__links a:hover {
    transform: translateY(-3px);
    color: white;
    border-color: rgba(96, 165, 250, 0.42);
}

.category-strip {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0;
}

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

.latest-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.68);
}

.latest-item__cover {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

.latest-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-item__title {
    margin-bottom: 8px;
    color: white;
    font-size: 17px;
    font-weight: 800;
}

.latest-item p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
}

.page-shell {
    padding: 44px 0 72px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.24), transparent 55%),
        rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin-top: 14px;
    font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
    max-width: 780px;
    margin: 16px 0 0;
    font-size: 18px;
}

.filter-panel {
    margin: 0 auto 36px;
    padding: 22px;
    border-radius: var(--radius-lg);
}

.filter-panel__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-panel__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.filter-panel label span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

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

.category-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.75);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card a:hover {
    transform: translateY(-7px);
    border-color: rgba(96, 165, 250, 0.42);
}

.category-card__covers {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 6px;
    padding: 12px;
}

.category-card__covers img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

.category-card__covers img:not(:first-child) {
    height: 180px;
}

.category-card__body {
    padding: 0 24px 24px;
}

.category-card__body h2 {
    margin: 14px 0 10px;
    font-size: 24px;
}

.empty-state {
    display: none;
    margin-top: 22px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted-strong);
    text-align: center;
}

.empty-state.is-visible {
    display: block;
}

.detail-page {
    overflow: hidden;
}

.detail-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #020617;
}

.detail-hero__backdrop,
.detail-hero__shade {
    position: absolute;
    inset: 0;
}

.detail-hero__backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.05);
    transform: scale(1.08);
    opacity: 0.55;
}

.detail-hero__shade {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.84)),
        linear-gradient(180deg, transparent, #0f172a);
}

.detail-hero__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 92px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-hero__grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: #111827;
    box-shadow: var(--shadow);
}

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

.detail-copy h1 {
    max-width: 830px;
    margin-top: 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 760px;
    margin: 18px 0 22px;
    font-size: 20px;
}

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

.watch-section {
    width: min(1180px, calc(100% - 32px));
    margin: -56px auto 56px;
    position: relative;
    z-index: 4;
}

.watch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 28px;
    background: #020617;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.watch-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.72));
    color: white;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.watch-cover__icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
    font-size: 32px;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    margin-bottom: 12px;
}

.detail-article,
.detail-side {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 16px 46px rgba(2, 6, 23, 0.24);
}

.detail-article {
    padding: 34px;
}

.detail-article h2 {
    margin-bottom: 14px;
    font-size: 28px;
}

.detail-article h2:not(:first-child) {
    margin-top: 32px;
}

.detail-article p {
    margin: 0;
    font-size: 17px;
}

.detail-side {
    height: fit-content;
    padding: 28px;
}

.detail-side h2 {
    margin-bottom: 20px;
}

.detail-side dl {
    margin: 0;
}

.detail-side div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.detail-side div:last-child {
    border-bottom: 0;
}

.detail-side dt {
    color: var(--muted);
}

.detail-side dd {
    margin: 0;
    color: var(--muted-strong);
}

.site-footer {
    margin-top: 36px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.82);
}

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

.footer-logo {
    margin-bottom: 8px;
    font-size: 20px;
}

.site-footer p {
    max-width: 650px;
    margin: 0;
}

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

.footer-links a:hover {
    color: white;
}

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

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

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

    .detail-poster {
        width: min(310px, 72vw);
    }
}

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

    .mobile-menu-button {
        display: block;
    }

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

    .hero {
        min-height: 620px;
        height: 78vh;
    }

    .hero-slide__shade {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.94) 76%);
    }

    .hero-slide__content {
        justify-content: flex-end;
        padding-bottom: 96px;
    }

    .hero-control {
        display: none;
    }

    .quick-search,
    .filter-panel__search,
    .filter-panel__groups,
    .latest-grid,
    .ranking-list,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .quick-search {
        margin-top: 22px;
    }

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

    .content-section--panel,
    .page-hero,
    .detail-article,
    .detail-side {
        padding: 24px;
    }

    .detail-hero {
        min-height: auto;
    }

    .detail-hero__inner {
        padding: 64px 0 88px;
    }

    .watch-section {
        margin-top: -42px;
    }

    .site-footer__inner {
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .site-header__inner,
    .content-section,
    .section-card,
    .page-shell,
    .detail-content,
    .category-strip,
    .watch-section,
    .detail-hero__inner,
    .site-footer__inner {
        width: min(100% - 22px, 1180px);
    }

    .hero h1,
    .hero h2,
    .detail-copy h1 {
        font-size: 38px;
    }

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

    .hero-actions,
    .page-hero__links,
    .search-bar {
        grid-template-columns: 1fr;
    }

    .search-bar {
        display: grid;
    }

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

    .latest-item {
        grid-template-columns: 108px 1fr;
    }

    .latest-item__cover {
        aspect-ratio: 3 / 4;
    }

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

    .category-card__covers img {
        height: 130px;
    }
}
