
:root {
    --color-cyan: #0891b2;
    --color-blue: #2563eb;
    --color-teal: #0d9488;
    --color-dark: #0f172a;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-soft: #f8fafc;
    --color-line: #e5e7eb;
    --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: #f9fafb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "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: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #0891b2, #2563eb, #0d9488);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 23px;
    line-height: 1.1;
}

.brand-text em {
    color: #cffafe;
    font-size: 12px;
    font-style: normal;
}

.header-search {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    max-width: 440px;
    margin-left: auto;
}

.header-search input,
.search-page-form input,
.filter-input,
.toolbar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 14px;
    outline: none;
}

.header-search input {
    padding: 0 96px 0 18px;
    color: #0f172a;
    background: #ffffff;
}

.header-search button,
.search-page-form button,
.toolbar button {
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    padding: 0 18px;
}

.header-search button:hover,
.search-page-form button:hover,
.toolbar button:hover,
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

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

.main-nav a {
    padding: 9px 13px;
    border-radius: 12px;
    color: #eff6ff;
    transition: background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(255, 255, 255, 0.15);
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.header-cats {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    padding: 10px max(16px, calc((100% - 1180px) / 2));
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(12px);
}

.header-cats a {
    flex: 0 0 auto;
    padding: 6px 15px;
    border-radius: 999px;
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.10);
    font-size: 14px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.40), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(14, 165, 233, 0.38), transparent 28%),
        linear-gradient(120deg, #0891b2 0%, #2563eb 50%, #0d9488 100%);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.38));
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 72px;
}

.hero-heading {
    max-width: 840px;
    margin-bottom: 26px;
}

.section-kicker,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0891b2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-heading .section-kicker,
.hero-eyebrow {
    color: #cffafe;
}

.hero-heading h1 {
    margin: 10px 0 12px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
}

.hero-heading p {
    max-width: 760px;
    margin: 0;
    color: #dffbff;
    font-size: 20px;
}

.hero-stage {
    position: relative;
    min-height: 470px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    pointer-events: none;
    background: rgba(15, 23, 42, 0.20);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.30);
    backdrop-filter: blur(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-copy h2 {
    margin: 12px 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.15;
}

.hero-copy p {
    margin: 0 0 18px;
    color: #e0f7ff;
    font-size: 18px;
}

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

.hero-tags span,
.detail-tags span,
.movie-tags span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.hero-tags span {
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.16);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.btn.wide {
    width: 100%;
    margin-top: 18px;
}

.hero-poster {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.34);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.hero-poster span,
.movie-play {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.hero-poster span {
    right: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    font-size: 28px;
}

.hero-controls {
    position: absolute;
    right: 28px;
    bottom: 22px;
    left: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

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

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

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.is-active {
    width: 28px;
    background: #ffffff;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    margin: -36px auto 0;
    position: relative;
    z-index: 4;
}

.stat-card,
.movie-card,
.side-card,
.detail-info-card,
.player-card,
.filter-panel,
.toolbar,
.overview-card,
.split-side,
.ranking-list,
.search-page-form {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 22px;
}

.stat-card strong {
    display: block;
    color: #0891b2;
    font-size: 34px;
    line-height: 1.1;
}

.stat-card span {
    color: var(--color-muted);
}

.section {
    padding: 56px 0;
}

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

.section-title-row h2,
.split-side h2,
.side-card h2 {
    margin: 4px 0 0;
    font-size: 32px;
    line-height: 1.2;
}

.more-link {
    color: #0891b2;
    font-weight: 800;
}

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

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
}

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

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

.movie-badge,
.movie-duration,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.movie-badge {
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    background: #0891b2;
}

.movie-duration {
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.rank-badge {
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #ef4444;
}

.movie-play {
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card-body h3 a:hover {
    color: #0891b2;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags span,
.detail-tags span {
    color: #0e7490;
    background: #cffafe;
}

.movie-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: var(--color-muted);
    font-size: 13px;
}

.movie-meta-row span:last-child {
    color: #f59e0b;
    font-weight: 800;
}

.movie-card-compact .movie-card-body h3 {
    font-size: 16px;
}

.movie-card-compact .movie-card-body {
    padding: 15px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.mini-card {
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.mini-card:hover {
    background: #f8fafc;
}

.mini-thumb {
    position: relative;
    overflow: hidden;
    flex: 0 0 112px;
    width: 112px;
    height: 76px;
    border-radius: 12px;
    background: #e5e7eb;
}

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

.mini-rank {
    position: absolute;
    top: 6px;
    left: 6px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #ffffff;
    background: #ef4444;
    font-size: 12px;
    font-weight: 900;
}

.mini-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mini-info strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-info em,
.mini-info small {
    color: var(--color-muted);
    font-style: normal;
    font-size: 13px;
}

.split-side {
    padding: 24px;
}

.split-side p {
    color: var(--color-muted);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border-radius: 18px;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-card strong {
    font-size: 30px;
}

.category-card span {
    font-weight: 800;
}

.cat-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.cat-green { background: linear-gradient(135deg, #22c55e, #0d9488); }
.cat-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.cat-red { background: linear-gradient(135deg, #ef4444, #e11d48); }

.filter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    margin-bottom: 26px;
}

.filter-panel h2 {
    margin: 4px 0;
}

.filter-panel p {
    margin: 0;
    color: var(--color-muted);
}

.filter-inline,
.search-page-form {
    display: flex;
    gap: 10px;
    flex: 1 1 460px;
    max-width: 560px;
}

.filter-inline input,
.search-page-form input {
    padding: 0 16px;
    border: 1px solid var(--color-line);
    background: #ffffff;
}

.filter-inline button,
.search-page-form button {
    flex: 0 0 auto;
    padding: 0 22px;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(125, 211, 252, 0.32), transparent 28%),
        linear-gradient(120deg, #0891b2, #2563eb, #0d9488);
}

.page-hero .container {
    padding: 64px 0;
}

.page-hero .section-kicker {
    color: #cffafe;
}

.page-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #e0f7ff;
    font-size: 18px;
}

.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-hero-meta span {
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 170px 170px 150px auto;
    gap: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.toolbar input,
.toolbar select {
    padding: 0 14px;
    border-color: var(--color-line);
    background: #ffffff;
}

.toolbar button {
    min-height: 44px;
    padding: 0 18px;
}

.filter-count,
.search-status {
    margin: 0 0 20px;
    color: var(--color-muted);
    font-weight: 700;
}

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

.overview-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    overflow: hidden;
    padding: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.overview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.overview-image {
    overflow: hidden;
    height: 100px;
    border-radius: 14px;
    background: #e5e7eb;
}

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

.overview-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.overview-copy strong {
    font-size: 18px;
}

.overview-copy em {
    color: #0891b2;
    font-style: normal;
    font-weight: 800;
}

.overview-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-topline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 960px;
    margin-top: 26px;
}

.ranking-topline .mini-card {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
}

.search-page-form {
    max-width: none;
    padding: 16px;
    margin-bottom: 18px;
}

.detail-wrap {
    padding: 34px 0 64px;
}

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

.breadcrumb a:hover {
    color: #0891b2;
}

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

.player-card {
    overflow: hidden;
    margin-bottom: 22px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
}

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

.player-start span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    font-size: 34px;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

.player-start strong {
    font-size: 18px;
}

.player-shell.is-playing .player-start {
    display: none;
}

.detail-info-card {
    padding: 30px;
}

.detail-title-block h1 {
    margin: 8px 0 12px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.12;
}

.detail-title-block p {
    margin: 0;
    color: var(--color-muted);
    font-size: 18px;
}

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

.detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 26px;
}

.detail-meta div {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.detail-meta dt {
    color: var(--color-muted);
    font-size: 12px;
}

.detail-meta dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.detail-article h2 {
    margin: 26px 0 10px;
    font-size: 24px;
}

.detail-article p {
    margin: 0;
    color: #374151;
    font-size: 17px;
}

.detail-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-card {
    padding: 20px;
}

.side-card .mini-card {
    padding-inline: 0;
}

.pill-link {
    display: inline-flex;
    margin: 8px 8px 0 0;
    padding: 8px 13px;
    border-radius: 999px;
    color: #0e7490;
    background: #cffafe;
    font-weight: 800;
}

.related-section {
    padding-bottom: 0;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1e293b, #0f172a);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
}

.site-footer p {
    max-width: 360px;
    color: #9ca3af;
}

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

.site-footer a {
    display: block;
    margin: 7px 0;
    color: #d1d5db;
}

.site-footer a:hover {
    color: #22d3ee;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #9ca3af;
    font-size: 14px;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #0891b2;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.back-top.is-visible {
    display: block;
}

.is-hidden-by-filter {
    display: none !important;
}

@media (max-width: 1080px) {
    .header-search {
        max-width: 340px;
    }

    .main-nav {
        gap: 0;
    }

    .main-nav a {
        padding-inline: 9px;
    }

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

    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .header-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin-left: 0;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 10px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero-slide {
        position: relative;
        display: none;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 22px;
    }

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

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

    .hero-poster,
    .hero-poster img {
        min-height: 260px;
    }

    .hero-controls {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 16px;
    }

    .stats-strip,
    .movie-grid,
    .category-grid,
    .compact-grid,
    .overview-grid,
    .ranking-topline,
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-panel,
    .section-title-row,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-inline,
    .search-page-form {
        max-width: none;
        width: 100%;
    }

    .toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .brand-text strong {
        font-size: 20px;
    }

    .hero-inner,
    .page-hero .container {
        padding-block: 36px;
    }

    .stats-strip,
    .movie-grid,
    .category-grid,
    .compact-grid,
    .overview-grid,
    .ranking-topline,
    .detail-side,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .toolbar {
        grid-template-columns: 1fr;
    }

    .filter-inline,
    .search-page-form {
        flex-direction: column;
    }

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

    .mini-thumb {
        flex-basis: 94px;
        width: 94px;
        height: 66px;
    }

    .detail-info-card {
        padding: 22px;
    }

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