:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-200: #fecdd3;
    --rose-400: #fb7185;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --amber-50: #fffbeb;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--slate-800);
    background: linear-gradient(135deg, var(--slate-50), var(--rose-50) 48%, var(--amber-50));
    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: 100;
    border-bottom: 1px solid rgba(244, 63, 94, 0.14);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo-mark {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--amber-500));
    box-shadow: 0 16px 30px rgba(244, 63, 94, 0.28);
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--amber-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-subtitle {
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
}

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

.site-nav a,
.mobile-panel a {
    border-radius: 12px;
    color: var(--slate-600);
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a {
    padding: 10px 14px;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-panel a:hover,
.mobile-panel a.is-active {
    color: var(--rose-600);
    background: var(--rose-100);
}

.header-search {
    position: relative;
    display: flex;
    width: min(260px, 24vw);
}

.header-search input {
    width: 100%;
    border: 1px solid var(--rose-200);
    border-radius: 999px;
    outline: none;
    padding: 10px 16px 10px 38px;
    color: var(--slate-800);
    background: rgba(255, 255, 255, 0.62);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.search-hero input:focus,
.search-hero select:focus {
    border-color: var(--rose-400);
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.18);
    background: var(--white);
}

.search-symbol {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--slate-700);
    background: transparent;
    cursor: pointer;
}

.mobile-toggle:hover {
    background: var(--rose-50);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    border-top: 1px solid rgba(244, 63, 94, 0.12);
}

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

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-panel a {
    padding: 10px 12px;
}

.page-shell {
    min-height: 60vh;
}

.hero {
    position: relative;
    min-height: min(780px, 80vh);
    overflow: hidden;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: -3;
}

.hero-tile {
    position: relative;
    overflow: hidden;
}

.hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-tile:hover img {
    transform: scale(1.13);
    filter: saturate(1.12);
}

.hero-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.12));
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-tile:hover::after {
    opacity: 0.46;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 50% 30%, rgba(251, 113, 133, 0.35), transparent 34%), linear-gradient(to bottom, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.55) 58%, rgba(248, 250, 252, 0.96));
}

.hero-content {
    width: min(960px, calc(100% - 32px));
    padding: 80px 0 50px;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.hero h1 {
    margin: 0;
    font-size: clamp(40px, 8vw, 76px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--rose-400), #f9a8d4, var(--amber-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.5));
}

.hero-lead {
    width: min(760px, 100%);
    margin: 20px auto 32px;
    font-size: clamp(17px, 2.3vw, 22px);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.58);
}

.hero-actions,
.section-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.32);
}

.btn-primary:hover,
.btn-soft:hover,
.btn-light:hover,
.btn-outline:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 24px 44px rgba(244, 63, 94, 0.4);
}

.btn-light {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.20);
}

.btn-soft {
    color: var(--rose-600);
    background: var(--rose-100);
}

.btn-outline {
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    background: var(--white);
}

.hero-focus {
    width: min(980px, calc(100% - 32px));
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.hero-focus-card {
    overflow: hidden;
    min-height: 86px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 13px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-focus-card:hover,
.hero-focus-card.is-current {
    transform: translateY(-4px);
    background: rgba(244, 63, 94, 0.46);
}

.hero-focus-card strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}

.hero-focus-card span {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
}

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

.section.full-bleed {
    width: 100%;
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.88), rgba(253, 242, 248, 0.84), rgba(255, 251, 235, 0.88));
}

.section.full-bleed > .section-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.section-kicker {
    margin: 0 0 8px;
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.page-title h1,
.detail-title h1 {
    margin: 0;
    color: var(--slate-800);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading h2 {
    font-size: clamp(26px, 3.2vw, 38px);
}

.section-heading p,
.page-title p,
.category-intro,
.detail-lead {
    margin: 10px 0 0;
    color: #64748b;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-50));
}

.poster.square {
    aspect-ratio: 1;
}

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

.movie-card:hover .poster img,
.related-card:hover img,
.rank-card:hover img {
    transform: scale(1.08);
}

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72), transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: var(--rose-500);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

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

.duration-pill,
.rank-pill {
    position: absolute;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.74);
    backdrop-filter: blur(10px);
}

.duration-pill {
    right: 10px;
    top: 10px;
}

.rank-pill {
    left: 10px;
    top: 10px;
    background: linear-gradient(90deg, var(--rose-500), var(--amber-500));
}

.card-body {
    flex: 1;
    padding: 16px;
}

.card-title {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--slate-800);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.movie-card:hover .card-title,
.related-card:hover h4,
.rank-card:hover h3 {
    color: var(--rose-600);
}

.card-desc {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #64748b;
    font-size: 13px;
}

.card-meta,
.detail-meta,
.rank-meta,
.related-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.chip,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-100);
    font-weight: 700;
}

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

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -42px;
    top: -42px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.14), rgba(245, 158, 11, 0.18));
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.category-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 18px;
    font-size: 28px;
    background: var(--rose-50);
}

.category-card h2,
.category-card h3 {
    position: relative;
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 20px;
}

.category-card p {
    position: relative;
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.page-hero,
.detail-hero,
.search-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 52px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(136, 19, 55, 0.92), rgba(120, 53, 15, 0.86));
    color: var(--white);
}

.page-hero::before,
.detail-hero::before,
.search-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -150px;
    border-radius: 999px;
    background: rgba(251, 113, 133, 0.22);
    filter: blur(6px);
}

.page-title,
.detail-title,
.search-box-wrap {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-title h1,
.detail-title h1 {
    color: var(--white);
    font-size: clamp(34px, 5vw, 56px);
}

.page-title p,
.detail-title p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}

.filter-panel {
    width: min(1180px, calc(100% - 32px));
    margin: -28px auto 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 12px;
}

.filter-bar input,
.filter-bar select,
.search-hero input,
.search-hero select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--rose-200);
    border-radius: 14px;
    outline: none;
    padding: 10px 14px;
    color: var(--slate-800);
    background: rgba(255, 255, 255, 0.84);
}

.search-hero .search-controls {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 12px;
    max-width: 860px;
    margin-top: 24px;
}

.archive-grid {
    padding-top: 42px;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    gap: 18px;
    align-items: center;
    overflow: hidden;
    border-radius: 22px;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.rank-cover {
    position: relative;
    overflow: hidden;
    width: 132px;
    height: 96px;
    border-radius: 16px;
}

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

.rank-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    transition: color 0.25s ease;
}

.rank-card p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #64748b;
}

.rank-score {
    min-width: 96px;
    text-align: right;
    color: var(--rose-600);
    font-size: 22px;
    font-weight: 900;
}

.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

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

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(to top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.16));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-cover-inner {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, background 0.25s ease;
}

.play-cover:hover .play-cover-inner {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.28);
}

.play-triangle {
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid var(--white);
}

.detail-card,
.sidebar-card,
.content-card {
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.detail-card,
.content-card {
    padding: 28px;
}

.content-card + .content-card {
    margin-top: 22px;
}

.content-card h2,
.sidebar-card h2 {
    margin: 0 0 14px;
    color: var(--slate-800);
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: #475569;
    font-size: 16px;
}

.content-card p + p {
    margin-top: 14px;
}

.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}

.sidebar-card {
    padding: 20px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 3 / 4;
    margin-bottom: 16px;
}

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

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

.related-card {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
    transition: background 0.25s ease;
}

.related-card:hover {
    background: var(--rose-50);
}

.related-cover {
    overflow: hidden;
    height: 74px;
    border-radius: 12px;
}

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

.related-card h4 {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.45;
}

.breadcrumbs {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.search-results {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.empty-state {
    padding: 42px;
    border-radius: 24px;
    text-align: center;
    color: #64748b;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.site-footer {
    background: linear-gradient(135deg, var(--slate-900), #4c0519, var(--slate-900));
    color: var(--white);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.footer-brand p,
.footer-block a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.68);
}

.footer-brand p {
    margin: 14px 0 0;
    max-width: 420px;
}

.footer-block h3 {
    margin: 0 0 12px;
    color: #fecdd3;
    font-size: 17px;
}

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

.footer-block a:hover {
    color: #fb7185;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

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

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

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

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

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero {
        min-height: 760px;
    }

    .hero-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-tile:nth-child(n + 5) {
        display: none;
    }

    .hero-focus {
        grid-template-columns: 1fr;
        position: static;
        transform: none;
        margin: -120px auto 28px;
    }

    .hero-focus-card:nth-child(n + 4) {
        display: none;
    }

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

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

    .filter-bar,
    .search-hero .search-controls {
        grid-template-columns: 1fr;
    }

    .rank-card {
        grid-template-columns: 112px 1fr;
    }

    .rank-score {
        grid-column: 2;
        text-align: left;
        min-width: auto;
    }

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

@media (max-width: 560px) {
    .header-inner {
        min-height: 66px;
    }

    .logo-subtitle {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

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

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

    .btn-primary,
    .btn-soft,
    .btn-light,
    .btn-outline {
        width: 100%;
    }

    .movie-grid,
    .movie-grid.compact,
    .category-grid,
    .detail-sidebar,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .rank-card {
        grid-template-columns: 96px 1fr;
        gap: 12px;
    }

    .rank-cover {
        width: 96px;
        height: 78px;
    }

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

    .play-cover-inner {
        width: 76px;
        height: 76px;
    }
}
