:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.82);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-deep: #0891b2;
    --blue: #2563eb;
    --orange: #fb923c;
    --radius: 18px;
    --shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 34rem),
        radial-gradient(circle at 80% 8%, rgba(37, 99, 235, 0.18), transparent 38rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    color: var(--text);
}

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(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

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

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

.site-logo-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.42);
    font-size: 14px;
}

.site-logo-text,
.footer-logo {
    font-size: clamp(18px, 2.2vw, 25px);
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-link {
    color: #cbd5e1;
    font-weight: 650;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
}

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

.header-search,
.mobile-search,
.big-search,
.inline-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search-input,
.mobile-search-input,
.big-search input,
.inline-filter input {
    border: 1px solid #334155;
    color: #e2e8f0;
    background: rgba(2, 6, 23, 0.7);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search-input {
    width: 230px;
    padding: 10px 12px;
}

.header-search-input:focus,
.mobile-search-input:focus,
.big-search input:focus,
.inline-filter input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
    background: rgba(15, 23, 42, 0.95);
}

.header-search-button,
.mobile-search-button,
.big-search button,
.inline-filter button,
.primary-button,
.ghost-button {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 750;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search-button,
.mobile-search-button,
.big-search button,
.inline-filter button,
.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.28);
}

.header-search-button,
.mobile-search-button,
.inline-filter button {
    padding: 10px 16px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
}

.ghost-button {
    color: #dbeafe;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.header-search-button:hover,
.mobile-search-button:hover,
.big-search button:hover,
.inline-filter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(34, 211, 238, 0.28);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #1e293b;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: #cbd5e1;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(51, 65, 85, 0.75);
    padding: 16px;
    background: rgba(15, 23, 42, 0.98);
}

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

.mobile-search-input {
    flex: 1;
    min-width: 0;
    padding: 12px;
}

.mobile-links {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.mobile-links a {
    padding: 11px 0;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(51, 65, 85, 0.55);
}

.hero-carousel {
    position: relative;
    height: min(76vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-image,
.detail-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.hero-shade,
.detail-backdrop-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 36%, transparent 0%, rgba(2, 6, 23, 0.28) 26%, rgba(2, 6, 23, 0.82) 70%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.78) 44%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 70px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    max-width: 1180px;
}

.hero-content > * {
    max-width: 700px;
}

.hero-kicker,
.movie-meta-row,
.breadcrumb,
.tag-list,
.hero-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-kicker span,
.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 13px;
    font-style: normal;
    color: #67e8f9;
    background: rgba(8, 145, 178, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.hero-content h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content p {
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

.hero-control {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: white;
    background: rgba(2, 6, 23, 0.58);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

.hero-control:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(8, 145, 178, 0.72);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 42px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.hero-dot.active {
    width: 34px;
    background: var(--cyan);
}

.home-search-block,
.section-wrap,
.page-hero,
.detail-hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.home-search-block {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px);
    gap: 26px;
    align-items: center;
    margin-top: 42px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 47, 73, 0.52));
    box-shadow: var(--shadow);
}

.home-search-block h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-text-block h2,
.player-section h2,
.side-panel h2,
.category-card h2,
.rank-content h2,
.movie-card-title {
    margin: 0;
}

.home-search-block p,
.page-hero p,
.category-card p,
.detail-one-line,
.detail-text-block p,
.rank-content p,
.movie-card-desc,
.footer-brand p {
    color: var(--muted-2);
    line-height: 1.75;
}

.big-search input,
.inline-filter input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
}

.big-search button {
    padding: 14px 22px;
}

.section-wrap {
    padding-top: 68px;
}

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

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

.section-heading h2,
.home-search-block h2 {
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

.section-heading a {
    color: var(--cyan);
    font-weight: 700;
}

.section-eyebrow {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38), 0 0 28px rgba(34, 211, 238, 0.12);
}

.movie-cover-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

.movie-card:hover .movie-cover {
    transform: scale(1.08);
}

.movie-cover-gradient,
.category-tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 62%);
}

.movie-play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.88);
    border-radius: 999px;
    opacity: 0;
    color: white;
    background: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.42);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
    padding: 18px;
}

.movie-meta-row {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
}

.movie-meta-row span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 9px;
    border-radius: 999px;
    background: #475569;
    vertical-align: middle;
}

.movie-card-title {
    font-size: 18px;
    line-height: 1.35;
}

.movie-card-title a,
.rank-content h2 a {
    transition: color 0.2s ease;
}

.movie-card-title a:hover,
.rank-content h2 a:hover {
    color: var(--cyan);
}

.movie-card-desc {
    min-height: 52px;
    margin: 10px 0 14px;
    font-size: 14px;
}

.tag-list {
    gap: 7px;
}

.tag-list span {
    min-height: 24px;
    padding: 0 9px;
    color: #bae6fd;
    background: rgba(30, 41, 59, 0.86);
    border-color: rgba(148, 163, 184, 0.2);
    font-size: 12px;
}

.category-grid,
.category-overview-grid,
.wide-grid {
    display: grid;
    gap: 22px;
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #0f172a;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
}

.category-tile strong {
    font-size: 22px;
}

.category-tile em {
    margin-top: 8px;
    color: #cbd5e1;
    font-style: normal;
    line-height: 1.6;
    font-size: 14px;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

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

.rank-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 112px 1fr;
    gap: 15px;
    align-items: center;
    padding: 12px;
}

.simple-list .rank-item {
    grid-template-columns: 112px 1fr;
}

.simple-list .rank-number {
    display: none;
}

.rank-number {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #0f172a;
    background: linear-gradient(135deg, #facc15, #fb923c);
    font-weight: 900;
}

.rank-thumb {
    display: block;
    height: 72px;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
}

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

.rank-content h2 {
    font-size: 16px;
}

.rank-content p {
    margin: 6px 0 8px;
    font-size: 13px;
}

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

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

.movie-card-wide .movie-cover-link {
    height: 100%;
    aspect-ratio: auto;
}

.page-main {
    padding-bottom: 30px;
}

.page-hero {
    padding-top: 58px;
    padding-bottom: 12px;
}

.small-hero {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero h1 {
    max-width: 850px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

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

.breadcrumb {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.inline-filter {
    max-width: 720px;
    margin-top: 24px;
}

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

.category-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

.category-card-main {
    display: block;
    padding: 26px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(37, 99, 235, 0.1));
}

.category-card-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
}

.category-card h2 {
    font-size: 26px;
}

.category-card-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(148, 163, 184, 0.14);
}

.category-card-links a {
    padding: 14px 16px;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.98);
    font-size: 14px;
}

.category-card-links a:hover {
    color: var(--cyan);
}

.ranking-page-list .rank-item {
    grid-template-columns: auto 150px 1fr;
}

.ranking-page-list .rank-thumb {
    height: 96px;
}

.detail-hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #020617;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 54px;
    padding-bottom: 54px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 36px;
    align-items: end;
}

.detail-poster-wrap {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
    background: #0f172a;
}

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

.detail-kicker {
    margin-bottom: 16px;
}

.detail-info h1 {
    max-width: 850px;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

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

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

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.detail-main-column,
.detail-side-column {
    display: grid;
    gap: 22px;
    align-content: start;
}

.player-section,
.detail-text-block,
.side-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
}

.player-section,
.detail-text-block {
    padding: 22px;
}

.player-section h2,
.detail-text-block h2,
.side-panel h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: white;
    background: radial-gradient(circle at 50% 46%, rgba(34, 211, 238, 0.22), rgba(2, 6, 23, 0.68));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-overlay-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.42);
    font-size: 30px;
}

.play-overlay strong {
    font-size: 20px;
}

.side-panel {
    padding: 20px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.info-list dt {
    color: var(--muted);
}

.info-list dd {
    margin: 0;
    color: #e2e8f0;
}

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

.related-compact-list a {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    color: #e2e8f0;
}

.related-compact-list img {
    width: 74px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #0f172a;
}

.related-compact-list a:hover span {
    color: var(--cyan);
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(51, 65, 85, 0.88);
    background: rgba(15, 23, 42, 0.88);
}

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

.footer-brand p {
    max-width: 460px;
    margin: 16px 0 0;
}

.footer-links {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-links h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.footer-links a {
    color: var(--muted);
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    color: var(--muted);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 14px;
}

.is-filtered-out {
    display: none !important;
}

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

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

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

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

    .home-search-block,
    .two-column-section,
    .detail-content-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .site-header-inner {
        width: min(100% - 22px, 1180px);
    }

    .site-logo-text {
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .hero-content {
        bottom: 88px;
    }

    .hero-control {
        display: none;
    }

    .hero-dots {
        left: 16px;
        right: auto;
        bottom: 34px;
    }

    .hero-content h1,
    .detail-info h1 {
        font-size: 40px;
    }

    .home-search-block {
        padding: 20px;
    }

    .big-search,
    .inline-filter {
        align-items: stretch;
        flex-direction: column;
    }

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

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

    .rank-item,
    .ranking-page-list .rank-item,
    .simple-list .rank-item {
        grid-template-columns: 86px 1fr;
    }

    .rank-number {
        position: absolute;
        left: 10px;
        top: 10px;
        z-index: 2;
    }

    .rank-thumb,
    .ranking-page-list .rank-thumb {
        height: 72px;
    }

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

    .detail-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .detail-poster-wrap {
        max-width: 230px;
    }

    .footer-inner {
        gap: 24px;
    }
}
