:root {
    --bg: #fff7ed;
    --bg-soft: #fff1f2;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(251, 146, 60, 0.26);
    --orange: #f97316;
    --pink: #ec4899;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --shadow: 0 24px 70px rgba(249, 115, 22, 0.16);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 44%, #eff6ff 100%);
    font-family: 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;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(251, 146, 60, 0.24);
    background: rgba(255, 247, 237, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(249, 115, 22, 0.12);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #fdba74, #f472b6);
    box-shadow: 0 12px 26px rgba(236, 72, 153, 0.22);
}

.brand-text {
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1;
    background: linear-gradient(90deg, var(--orange), var(--pink), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--orange);
}

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

.top-search,
.mobile-search,
.portal-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search input,
.mobile-search input,
.portal-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
    width: 220px;
    padding: 10px 16px;
}

.top-search button,
.mobile-search button,
.portal-search button,
.search-page-form button {
    border: 0;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button {
    padding: 10px 16px;
}

.top-search input:focus,
.mobile-search input:focus,
.portal-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

.top-search button:hover,
.mobile-search button:hover,
.portal-search button:hover,
.search-page-form button:hover,
.btn-primary:hover,
.rank-action:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 30px rgba(236, 72, 153, 0.22);
}

.menu-button {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 14px;
    background: rgba(251, 146, 60, 0.12);
    color: var(--orange);
    padding: 9px 12px;
    cursor: pointer;
}

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

.mobile-panel.is-open {
    display: grid;
    gap: 12px;
}

.mobile-search input {
    flex: 1;
    padding: 10px 14px;
}

.mobile-search button {
    padding: 10px 14px;
}

.hero-section {
    position: relative;
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
    background: #111827;
}

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 25%, rgba(236, 72, 153, 0.34), transparent 32%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.54), rgba(17, 24, 39, 0.15)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.80), transparent 48%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin-inline: auto;
    padding-block: 110px;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 780px;
    margin: 18px 0;
    font-size: clamp(36px, 7vw, 78px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 740px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(17px, 2.2vw, 22px);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 5px 12px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
}

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

.btn-primary,
.btn-ghost,
.rank-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    padding: 13px 28px;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    padding: 12px 24px;
}

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

.hero-controls {
    position: absolute;
    right: max(20px, calc((100% - 1180px) / 2));
    bottom: 34px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(17, 24, 39, 0.46);
    backdrop-filter: blur(16px);
}

.hero-controls button {
    border: 0;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
}

.hero-controls > button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 24px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42) !important;
}

.hero-dot.is-active {
    width: 28px;
    background: #ffffff !important;
}

.search-portal,
.stats-strip,
.content-section,
.category-panel,
.page-hero,
.detail-wrap,
.search-page,
.sitemap-container {
    margin-top: 56px;
}

.search-portal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    padding: clamp(24px, 5vw, 44px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 241, 242, 0.82));
    box-shadow: var(--shadow);
}

.search-portal h2,
.section-heading h2,
.side-recommend h2,
.page-hero h1,
.detail-info h1,
.detail-text-grid h2,
.player-section h2,
.sitemap-block h2 {
    margin: 0;
    color: #111827;
    line-height: 1.15;
}

.search-portal h2,
.page-hero h1 {
    font-size: clamp(30px, 5vw, 54px);
    letter-spacing: -0.04em;
}

.search-portal p,
.page-hero p,
.side-recommend p,
.category-overview-card p,
.detail-one-line,
.detail-text-grid p,
.search-tips {
    color: var(--muted);
}

.portal-search input,
.search-page-form input {
    flex: 1;
    padding: 15px 18px;
}

.portal-search button,
.search-page-form button {
    padding: 15px 22px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-strip div,
.category-tile,
.side-recommend,
.category-overview-card,
.filter-panel,
.detail-hero-card,
.detail-text-grid article,
.player-section,
.sitemap-block,
.search-page {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 50px rgba(249, 115, 22, 0.11);
    backdrop-filter: blur(12px);
}

.stats-strip div {
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.stats-strip strong {
    display: block;
    color: var(--orange);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
}

.stats-strip span {
    color: var(--muted);
    font-weight: 700;
}

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

.section-heading h2,
.side-recommend h2,
.player-section h2,
.detail-text-grid h2,
.sitemap-block h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.section-heading a,
.result-count {
    color: var(--orange);
    font-weight: 900;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(251, 146, 60, 0.20);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 46px rgba(249, 115, 22, 0.10);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.42);
    box-shadow: 0 24px 64px rgba(236, 72, 153, 0.16);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.movie-cover img,
.rank-cover img,
.detail-poster img,
.category-cover-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.66), transparent 58%);
}

.card-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
}

.card-badge {
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    font-size: 12px;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

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

.movie-card h3,
.rank-info h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-info h3 a:hover {
    color: var(--orange);
}

.movie-card p,
.rank-info p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.meta-row span {
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(255, 237, 213, 0.88);
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    border-color: rgba(249, 115, 22, 0.20);
    color: #9a3412;
    background: #fff7ed;
}

.category-panel {
    border-radius: 34px;
    padding: clamp(24px, 4vw, 40px);
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.86), rgba(255, 237, 213, 0.72));
}

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

.category-tile {
    display: grid;
    min-height: 170px;
    gap: 10px;
    border-radius: 24px;
    padding: 22px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(59, 130, 246, 0.15);
}

.category-tile span {
    color: #111827;
    font-size: 21px;
    font-weight: 950;
}

.category-tile strong {
    color: var(--orange);
    font-size: 28px;
}

.category-tile em {
    color: var(--muted);
    font-style: normal;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    gap: 28px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 86px 54px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(251, 146, 60, 0.20);
    border-radius: 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.88);
}

.rank-cover {
    display: block;
    aspect-ratio: 1 / 0.72;
    overflow: hidden;
    border-radius: 16px;
}

.rank-number {
    color: var(--pink);
    font-size: 26px;
    font-weight: 950;
}

.rank-info p {
    min-height: auto;
    margin-bottom: 8px;
}

.rank-action {
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    padding: 10px 18px;
}

.side-recommend {
    border-radius: 30px;
    padding: 26px;
}

.side-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.side-card-grid .movie-card h3,
.related-grid .movie-card h3 {
    font-size: 16px;
}

.side-card-grid .movie-card p,
.related-grid .movie-card p {
    display: none;
}

.page-hero {
    border-radius: 34px;
    padding: clamp(34px, 7vw, 70px);
    background:
        radial-gradient(circle at 84% 28%, rgba(236, 72, 153, 0.20), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(239, 246, 255, 0.86));
    box-shadow: var(--shadow);
}

.compact-hero p {
    max-width: 760px;
    font-size: 18px;
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 28px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-overview-card a {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.category-cover-stack {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.7fr;
    gap: 8px;
    height: 160px;
}

.category-cover-stack img {
    overflow: hidden;
    border-radius: 18px;
}

.category-overview-card h2 {
    margin: 0 0 8px;
}

.category-overview-card strong {
    color: var(--orange);
}

.mini-title-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mini-title-list span {
    border-radius: 999px;
    padding: 4px 10px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 12px;
    margin-top: 26px;
    border-radius: 24px;
    padding: 18px;
}

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

.wide-rank-list .rank-item {
    grid-template-columns: 112px 64px minmax(0, 1fr) auto;
}

.detail-wrap {
    display: grid;
    gap: 30px;
}

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

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

.detail-hero-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    border-radius: 34px;
    padding: clamp(20px, 4vw, 42px);
    background:
        radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.15), transparent 36%),
        rgba(255, 255, 255, 0.86);
}

.detail-poster {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
}

.detail-info h1 {
    margin: 10px 0 16px;
    font-size: clamp(32px, 5vw, 62px);
    letter-spacing: -0.04em;
}

.detail-one-line {
    font-size: 19px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-meta span {
    border: 1px solid rgba(251, 146, 60, 0.24);
    border-radius: 999px;
    padding: 7px 12px;
    color: #9a3412;
    background: #fff7ed;
    font-weight: 800;
}

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

.player-section {
    border-radius: 32px;
    padding: clamp(18px, 3vw, 30px);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.28);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), rgba(2, 6, 23, 0.16));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    display: grid;
    width: clamp(72px, 10vw, 110px);
    height: clamp(72px, 10vw, 110px);
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    box-shadow: 0 24px 60px rgba(236, 72, 153, 0.34);
    font-size: clamp(30px, 5vw, 46px);
    padding-left: 6px;
}

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

.detail-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-text-grid article {
    border-radius: 28px;
    padding: clamp(22px, 3vw, 34px);
}

.detail-text-grid p {
    margin-bottom: 0;
    font-size: 17px;
}

.related-section {
    margin-top: 12px;
}

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

.search-page {
    border-radius: 30px;
    padding: clamp(22px, 4vw, 38px);
}

.search-page-form {
    margin-bottom: 10px;
}

.search-results {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(251, 146, 60, 0.20);
    border-radius: 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.86);
}

.search-result-card img {
    width: 92px;
    height: 66px;
    object-fit: cover;
    border-radius: 16px;
}

.search-result-card h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.search-result-card p {
    margin: 0 0 8px;
    color: var(--muted);
}

.sitemap-container {
    display: grid;
    gap: 20px;
}

.sitemap-block {
    border-radius: 26px;
    padding: 24px;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 16px;
}

.sitemap-links a {
    color: #374151;
    font-weight: 700;
}

.sitemap-links a:hover {
    color: var(--orange);
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid rgba(251, 146, 60, 0.24);
    background: linear-gradient(90deg, #ffedd5, #fce7f3, #dbeafe);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
    gap: 28px;
    padding-block: 46px;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.site-footer p {
    margin: 12px 0 0;
    color: var(--muted);
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #4b5563;
    font-weight: 700;
}

.site-footer a:hover {
    color: var(--orange);
}

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

@media (max-width: 1040px) {
    .desktop-nav,
    .top-search {
        display: none;
    }

    .menu-button {
        display: inline-flex;
    }

    .site-nav {
        gap: 14px;
    }

    .search-portal,
    .two-column-section,
    .detail-hero-card,
    .detail-text-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-text {
        font-size: 20px;
    }

    .hero-section {
        min-height: 620px;
    }

    .hero-content {
        justify-content: end;
        padding-bottom: 110px;
    }

    .hero-controls {
        right: 12px;
        left: 12px;
        justify-content: space-between;
    }

    .movie-grid,
    .related-grid,
    .category-grid,
    .category-overview-grid,
    .side-card-grid,
    .sitemap-links {
        grid-template-columns: 1fr;
    }

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

    .rank-item,
    .wide-rank-list .rank-item,
    .search-result-card {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .rank-number,
    .rank-action,
    .search-result-card .rank-action {
        grid-column: 1 / -1;
    }

    .rank-action {
        width: 100%;
    }

    .category-cover-stack {
        height: 190px;
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
}
