:root {
    --marshmallow-pink: #ffb6c1;
    --marshmallow-blue: #87ceeb;
    --marshmallow-mint: #98d8c8;
    --marshmallow-peach: #ffdab9;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #edf0f5;
    --card: rgba(255, 255, 255, 0.92);
    --shadow-soft: 0 16px 50px rgba(31, 41, 55, 0.09);
    --shadow-hover: 0 22px 70px rgba(31, 41, 55, 0.16);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 182, 193, 0.25), transparent 34rem),
        radial-gradient(circle at top right, rgba(135, 206, 235, 0.24), transparent 32rem),
        #fbfcff;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(237, 240, 245, 0.86);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

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

.logo-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--marshmallow-pink), var(--marshmallow-blue));
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(255, 182, 193, 0.34);
}

.logo-text,
.footer-logo {
    font-size: 1.3rem;
    color: transparent;
    background: linear-gradient(90deg, #ff8faf, #67bde8);
    -webkit-background-clip: text;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-link {
    color: #4b5563;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #f4729b;
}

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

.header-search input,
.mobile-panel input,
.filter-panel input,
.filter-panel select {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    border-radius: 999px;
}

.header-search button,
.mobile-panel button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--marshmallow-pink), var(--marshmallow-blue));
    cursor: pointer;
}

.header-search input:focus,
.mobile-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--marshmallow-pink);
    box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.23);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.7rem;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid var(--line);
}

.mobile-panel nav,
.mobile-panel form {
    display: grid;
    gap: 12px;
}

.mobile-panel nav {
    margin: 14px auto;
    width: min(100%, var(--container));
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
}

.mobile-panel form {
    width: min(100%, var(--container));
    margin: 0 auto;
}

.mobile-panel input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
}

.hero-carousel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2), rgba(135, 206, 235, 0.24));
}

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

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

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    filter: blur(12px) saturate(1.1);
    opacity: 0.24;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.66) 50%, rgba(255, 255, 255, 0.42)),
        radial-gradient(circle at 78% 25%, rgba(255, 182, 193, 0.36), transparent 28rem),
        radial-gradient(circle at 28% 82%, rgba(152, 216, 200, 0.28), transparent 24rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 640px;
    grid-template-columns: minmax(0, 1.06fr) 420px;
    align-items: center;
    gap: 58px;
    padding: 70px 0 86px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 14px 0 18px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy h2 {
    margin: 0 0 16px;
    color: #f4729b;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.hero-copy p {
    max-width: 700px;
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.9;
}

.eyebrow {
    margin: 0;
    color: #ef6d95;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

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

.hero-tags span,
.movie-card__tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: #ef6d95;
    background: rgba(255, 182, 193, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ff8faf, #65bfe8);
    box-shadow: 0 14px 28px rgba(255, 143, 175, 0.28);
}

.btn-secondary,
.btn-glass {
    color: #374151;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: var(--shadow-hover);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 26px;
    pointer-events: none;
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4.2;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-poster:hover img {
    transform: scale(1.04);
}

.hero-controls {
    position: absolute;
    inset-inline: 0;
    bottom: 32px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.18);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 38px;
    background: linear-gradient(90deg, #ff8faf, #67bde8);
}

.hero-rank {
    padding: 10px 16px;
    color: #ef6d95;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.08);
}

.quick-cats {
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.72);
    border-block: 1px solid rgba(237, 240, 245, 0.86);
}

.quick-cats__inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.quick-cats strong {
    white-space: nowrap;
    color: #f4729b;
}

.quick-cats div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-cats a {
    padding: 8px 13px;
    color: #4b5563;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
    transition: color 0.2s ease, transform 0.2s ease;
}

.quick-cats a:hover {
    color: #f4729b;
    transform: translateY(-2px);
}

.section-block {
    padding: 60px 0;
}

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

.section-heading.compact {
    align-items: center;
}

.section-heading h2,
.page-hero h1,
.watch-main h1,
.detail-content h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.section-heading h2 {
    font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.section-more {
    color: #ef6d95;
    font-weight: 800;
}

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

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

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

.movie-card.is-hidden,
.ranking-row.is-hidden {
    display: none;
}

.movie-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(135, 206, 235, 0.3));
}

.movie-card__media img {
    width: 100%;
    aspect-ratio: 3 / 4.25;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.movie-card__year {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(31, 41, 55, 0.72);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.movie-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.movie-card__title {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.movie-card__desc,
.movie-card__meta {
    color: var(--muted);
    line-height: 1.65;
}

.movie-card__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.92rem;
}

.movie-card__meta {
    margin-top: auto;
    font-size: 0.82rem;
}

.movie-card--wide .movie-card__link {
    display: grid;
    grid-template-columns: 44% 1fr;
}

.movie-card--wide .movie-card__media img {
    height: 100%;
    aspect-ratio: auto;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.ranking-card {
    position: sticky;
    top: 98px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.rank-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-list a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list a:hover {
    background: rgba(255, 182, 193, 0.12);
    transform: translateX(3px);
}

.rank-index {
    grid-row: span 2;
    color: #f4729b;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.rank-meta {
    overflow: hidden;
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.82rem;
}

.page-main {
    padding-top: 32px;
}

.page-hero {
    overflow: hidden;
    margin-top: 24px;
    padding: 54px;
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
}

.page-hero h1 {
    max-width: 860px;
    margin-top: 12px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

.page-hero p:not(.eyebrow) {
    max-width: 780px;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.9;
}

.page-hero--soft {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 182, 193, 0.32), transparent 20rem),
        radial-gradient(circle at 80% 15%, rgba(135, 206, 235, 0.28), transparent 18rem),
        rgba(255, 255, 255, 0.82);
}

.page-hero--category {
    background:
        linear-gradient(135deg, rgba(255, 182, 193, 0.28), rgba(152, 216, 200, 0.2)),
        rgba(255, 255, 255, 0.82);
}

.page-hero--ranking {
    background:
        linear-gradient(135deg, rgba(255, 218, 185, 0.34), rgba(135, 206, 235, 0.22)),
        rgba(255, 255, 255, 0.86);
}

.category-grid {
    display: grid;
    gap: 24px;
    padding: 42px 0 70px;
}

.category-card {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.category-card h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.category-card p {
    color: #4b5563;
    line-height: 1.8;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: rgba(249, 250, 251, 0.9);
    border-radius: 18px;
}

.compact-card img {
    width: 72px;
    height: 94px;
    object-fit: cover;
    border-radius: 14px;
}

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

.compact-card strong {
    font-size: 0.94rem;
}

.compact-card em {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.8rem;
    font-style: normal;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) repeat(3, 160px);
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
}

.empty-state {
    display: none;
    margin: 32px 0 0;
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
}

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

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

.ranking-row a {
    display: grid;
    grid-template-columns: 92px 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.ranking-row__index {
    color: #f4729b;
    font-weight: 900;
}

.ranking-row img {
    width: 96px;
    height: 126px;
    object-fit: cover;
    border-radius: 18px;
}

.ranking-row__body {
    display: grid;
    gap: 8px;
}

.ranking-row strong {
    font-size: 1.16rem;
}

.ranking-row em {
    color: #4b5563;
    font-style: normal;
    line-height: 1.65;
}

.ranking-row small {
    color: var(--muted);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumb a {
    color: #ef6d95;
    font-weight: 700;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
    padding-top: 26px;
}

.watch-main,
.detail-side,
.detail-content article {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.watch-main {
    padding: 28px;
}

.watch-main h1 {
    margin-top: 12px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.watch-intro {
    color: #4b5563;
    line-height: 1.85;
}

.player-shell {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    background: #111827;
    border-radius: 26px;
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
    cursor: pointer;
}

.player-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-button {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at center, rgba(31, 41, 55, 0.18), rgba(31, 41, 55, 0.58)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.54));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-button span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    padding-left: 4px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff8faf, #67bde8);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    font-size: 1.5rem;
}

.player-button strong {
    font-size: 1rem;
}

.player-shell.is-playing .player-button {
    visibility: hidden;
    opacity: 0;
}

.detail-side {
    overflow: hidden;
}

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

.detail-side h2,
.detail-side p,
.detail-tags,
.detail-meta {
    margin-inline: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.detail-meta span {
    padding: 6px 10px;
    color: #4b5563;
    background: #f7f8fb;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.detail-side h2 {
    margin-top: 16px;
    margin-bottom: 8px;
}

.detail-side p {
    color: var(--muted);
    line-height: 1.65;
}

.detail-tags {
    margin-bottom: 22px;
}

.detail-content {
    padding-top: 32px;
}

.detail-content article {
    padding: 32px;
}

.detail-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.detail-content p {
    color: #374151;
    font-size: 1.02rem;
    line-height: 2;
}

.site-footer {
    margin-top: 40px;
    padding: 44px 0;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(237, 240, 245, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.footer-grid p {
    color: var(--muted);
}

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

.footer-links a {
    padding: 8px 12px;
    color: #4b5563;
    background: #ffffff;
    border-radius: 999px;
}

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 32px;
    }

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

    .two-column-section,
    .watch-layout {
        grid-template-columns: 1fr;
    }

    .ranking-card {
        position: static;
    }

    .detail-side {
        max-width: 380px;
    }
}

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

    .menu-toggle {
        display: block;
    }

    body.nav-open .mobile-panel {
        display: block;
    }

    .hero-carousel,
    .hero-content {
        min-height: auto;
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 48px 0 96px;
    }

    .hero-poster {
        max-width: 320px;
        transform: none;
    }

    .hero-controls {
        bottom: 24px;
    }

    .quick-cats__inner,
    .section-heading,
    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .movie-card--wide .movie-card__link {
        display: flex;
    }

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

    .category-card {
        grid-template-columns: 1fr;
    }

    .ranking-row a {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .ranking-row img {
        display: none;
    }

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

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

    .header-inner {
        min-height: 66px;
    }

    .logo-text {
        font-size: 1.08rem;
    }

    .page-hero,
    .watch-main,
    .detail-content article {
        padding: 22px;
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: 2.15rem;
    }

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

    .section-block {
        padding: 42px 0;
    }

    .movie-card__body {
        padding: 14px;
    }

    .player-button span {
        width: 62px;
        height: 62px;
    }
}
