:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --cyan-500: #06b6d4;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(20, 184, 166, 0.16);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    max-width: 1180px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.site-logo__mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.32);
    font-size: 24px;
    line-height: 1;
}

.site-logo__text {
    background: linear-gradient(90deg, var(--teal-600), var(--cyan-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 21px;
}

.site-logo--footer .site-logo__text {
    color: #ffffff;
    background: none;
}

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

.nav-link,
.mobile-nav-link {
    border-radius: 12px;
    color: var(--slate-700);
    font-size: 14px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 9px 12px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--teal-50);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--slate-700);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    padding: 10px 22px 18px;
    border-top: 1px solid rgba(20, 184, 166, 0.14);
}

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

.mobile-nav-link {
    padding: 12px 14px;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--slate-900);
}

.hero-slider {
    position: relative;
    min-height: 72vh;
}

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

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

.hero-slide__image {
    width: 100%;
    height: 100%;
    min-height: 72vh;
    object-fit: cover;
}

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.52) 52%, rgba(15, 23, 42, 0.22) 100%);
}

.hero-slide__content {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2 + 22px));
    bottom: 94px;
    width: min(680px, calc(100% - 48px));
    display: grid;
    gap: 16px;
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.eyebrow span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    color: var(--teal-700);
    background: var(--teal-100);
    font-size: 13px;
    font-weight: 750;
}

.hero .eyebrow span {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.86);
}

.hero h1,
.hero h2 {
    margin: 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero p {
    margin: 0;
    max-width: 720px;
    color: #e2e8f0;
    font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
    box-shadow: 0 14px 35px rgba(20, 184, 166, 0.38);
}

.button--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.04);
}

.hero-control--prev {
    left: 22px;
    transform: translateY(-50%);
}

.hero-control--next {
    right: 22px;
    transform: translateY(-50%);
}

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

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

.hero-dot.is-active {
    width: 32px;
    background: #ffffff;
}

.hero-search-panel {
    position: relative;
    z-index: 6;
    max-width: 1180px;
    margin: -34px auto 0;
    padding: 0 22px 34px;
}

.hero-search {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
}

.hero-search label {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 800;
}

.hero-search__row {
    display: flex;
    gap: 12px;
}

.hero-search input,
.hero-search button,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
    border-radius: 13px;
}

.hero-search input {
    flex: 1;
    min-height: 46px;
    padding: 0 15px;
    color: var(--slate-900);
    background: rgba(255, 255, 255, 0.92);
}

.hero-search button {
    min-width: 112px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
    cursor: pointer;
    font-weight: 800;
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hero-category-links a {
    padding: 8px 13px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 750;
    backdrop-filter: blur(12px);
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 22px 0;
}

.page-shell--top {
    padding-top: 36px;
}

.content-section,
.category-strip,
.category-overview-block {
    margin-bottom: 66px;
}

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

.section-heading h2,
.category-overview-block h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading--with-action,
.category-overview-block__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-link,
.category-overview-block__head a {
    color: var(--teal-700);
    font-weight: 800;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.movie-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-200);
}

.movie-card--compact .movie-card__poster {
    aspect-ratio: 3 / 4;
}

.movie-card__poster img,
.poster-tile img,
.topic-main img,
.topic-side-card img,
.rank-row__poster img,
.side-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover .movie-card__poster img,
.poster-tile:hover img,
.topic-main:hover img,
.topic-side-card:hover img,
.rank-row:hover .rank-row__poster img {
    transform: scale(1.06);
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.92);
    box-shadow: 0 16px 32px rgba(20, 184, 166, 0.36);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.movie-card__rank {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
}

.movie-card__body {
    padding: 16px;
}

.movie-card__meta,
.rank-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--slate-500);
    font-size: 13px;
}

.movie-card__meta span:first-child,
.rank-row__meta span:first-child {
    color: var(--teal-700);
    font-weight: 800;
}

.movie-card__title {
    margin: 6px 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-card__title a:hover,
.rank-row h2 a:hover {
    color: var(--teal-700);
}

.movie-card__text {
    display: -webkit-box;
    margin: 0;
    min-height: 46px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card__tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.movie-card__tags span,
.detail-tags span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--slate-600);
    background: var(--slate-100);
    font-size: 12px;
    font-weight: 650;
}

.movie-shelf {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
}

.movie-shelf--static {
    grid-auto-columns: minmax(170px, 1fr);
}

.poster-tile {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
    background: var(--slate-200);
}

.poster-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.46) 52%, rgba(15, 23, 42, 0.06) 100%);
}

.poster-tile__rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
}

.poster-tile__copy {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    color: #ffffff;
}

.poster-tile__copy strong,
.poster-tile__copy em {
    display: block;
}

.poster-tile__copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.poster-tile__copy em {
    color: #99f6e4;
    font-size: 12px;
    font-style: normal;
    font-weight: 750;
}

.shelf-actions {
    display: flex;
    gap: 8px;
}

.shelf-actions button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--teal-500);
    cursor: pointer;
    font-size: 24px;
}

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

.category-card {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.category-card__covers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    min-height: 124px;
    background: var(--slate-200);
}

.category-card__covers img {
    width: 100%;
    height: 66px;
    object-fit: cover;
}

.category-card__copy {
    display: grid;
    gap: 4px;
    padding: 14px;
}

.category-card__copy strong {
    color: var(--slate-900);
    font-size: 17px;
}

.category-card__copy em,
.category-overview-block__head p {
    margin: 0;
    color: var(--slate-500);
    font-size: 13px;
    font-style: normal;
}

.topic-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
}

.topic-main,
.topic-side-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--slate-200);
    box-shadow: var(--shadow-card);
}

.topic-main {
    min-height: 390px;
}

.topic-main__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.18));
}

.topic-main__copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: #ffffff;
}

.topic-main__copy em,
.topic-side-card em {
    display: inline-flex;
    margin-bottom: 8px;
    color: #99f6e4;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
}

.topic-main__copy strong {
    display: block;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
}

.topic-main__copy span {
    display: block;
    margin-top: 10px;
    color: #e2e8f0;
}

.topic-side {
    display: grid;
    gap: 14px;
}

.topic-side-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 106px;
}

.topic-side-card span {
    padding: 12px;
    display: grid;
    align-content: center;
    background: #ffffff;
}

.topic-side-card strong {
    color: var(--slate-900);
    line-height: 1.35;
}

.page-hero {
    margin-bottom: 28px;
    padding: clamp(26px, 5vw, 46px);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.page-hero--light,
.page-hero--category {
    background: linear-gradient(135deg, #ffffff, var(--teal-50));
}

.page-hero--rank {
    color: #ffffff;
    background: linear-gradient(135deg, var(--slate-900), var(--teal-700));
}

.page-hero h1 {
    margin: 12px 0 12px;
    color: inherit;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero p {
    margin: 0;
    max-width: 780px;
    color: var(--slate-600);
    font-size: 17px;
}

.page-hero--rank p {
    color: #dffbf7;
}

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

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

.filter-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

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

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    color: var(--slate-800);
    background: var(--slate-100);
}

.rank-list {
    display: grid;
    gap: 16px;
    margin-bottom: 66px;
}

.rank-row {
    display: grid;
    grid-template-columns: 116px 62px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-row__poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: var(--slate-200);
}

.rank-row__poster span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.30);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.rank-row:hover .rank-row__poster span {
    opacity: 1;
}

.rank-row__number {
    color: var(--teal-600);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.rank-row h2 {
    margin: 0 0 8px;
    color: var(--slate-900);
    font-size: 22px;
    line-height: 1.25;
}

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

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card,
.detail-card,
.side-poster-card,
.side-info-card {
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.player-card {
    overflow: hidden;
    background: #000000;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-frame video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 0;
    border: 0;
    background: #000000;
    cursor: pointer;
}

.player-cover.is-hidden {
    display: none;
}

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

.player-cover__shade {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.player-cover__button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.94);
    box-shadow: 0 20px 46px rgba(20, 184, 166, 0.38);
    font-size: 34px;
    transform: translate(-50%, -50%);
}

.detail-card {
    padding: clamp(22px, 4vw, 34px);
}

.detail-card h1 {
    margin: 14px 0 12px;
    color: var(--slate-900);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.detail-one-line {
    margin: 0 0 16px;
    color: var(--slate-600);
    font-size: 18px;
}

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

.detail-card h2,
.side-info-card h2 {
    margin: 0 0 12px;
    color: var(--slate-900);
    font-size: 24px;
    line-height: 1.2;
}

.detail-card p {
    margin: 0 0 12px;
    color: var(--slate-700);
}

.detail-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.side-poster-card {
    overflow: hidden;
}

.side-poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--slate-200);
}

.side-poster-card div {
    display: grid;
    gap: 5px;
    padding: 16px;
}

.side-poster-card strong {
    color: var(--slate-900);
    font-size: 20px;
}

.side-poster-card span {
    color: var(--slate-500);
}

.side-info-card {
    padding: 20px;
}

.side-info-card dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 11px 14px;
    margin: 0;
}

.side-info-card dt {
    color: var(--slate-500);
    font-weight: 750;
}

.side-info-card dd {
    margin: 0;
    color: var(--slate-800);
}

.side-info-card a {
    color: var(--teal-700);
    font-weight: 800;
}

.site-footer {
    margin-top: 76px;
    color: #dbeafe;
    background: linear-gradient(135deg, var(--slate-900), #134e4a, #155e75);
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 22px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
}

.footer-brand p {
    max-width: 520px;
    margin: 18px 0 0;
    color: #cbd5e1;
}

.footer-links h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
}

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

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #99f6e4;
}

.site-footer__bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 22px 30px;
    border-top: 1px solid rgba(153, 246, 228, 0.16);
    color: #94a3b8;
    text-align: center;
    font-size: 14px;
}

[data-movie-card].is-hidden {
    display: none;
}

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

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

    .hero-slider,
    .hero-slide__image {
        min-height: 78vh;
    }

    .hero-control {
        display: none;
    }

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

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

    .topic-layout,
    .detail-layout,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .site-header__inner {
        padding: 0 16px;
    }

    .site-logo__text {
        font-size: 18px;
    }

    .hero-slide__content {
        left: 18px;
        right: 18px;
        bottom: 142px;
        width: auto;
    }

    .hero h1,
    .hero h2 {
        font-size: 42px;
    }

    .hero-search-panel {
        margin-top: -86px;
        padding: 0 16px 26px;
    }

    .hero-search__row,
    .section-heading--with-action,
    .category-overview-block__head,
    .filter-panel {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search__row {
        display: grid;
    }

    .page-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .movie-grid,
    .movie-grid--small,
    .category-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

    .movie-card__poster {
        aspect-ratio: 16 / 10;
    }

    .rank-row {
        grid-template-columns: 86px 1fr;
    }

    .rank-row__number {
        grid-row: 1;
        grid-column: 2;
        font-size: 26px;
    }

    .rank-row__copy {
        grid-column: 1 / -1;
    }

    .topic-side-card {
        grid-template-columns: 96px 1fr;
    }
}
