:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --sky: #38bdf8;
    --blue: #2563eb;
    --amber: #f59e0b;
    --rose: #fb7185;
    --green: #34d399;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.55);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(14, 165, 233, 0.24), transparent 32rem),
        radial-gradient(circle at 90% 18%, rgba(37, 99, 235, 0.18), transparent 36rem),
        linear-gradient(180deg, #020617 0%, #0f172a 52%, #020617 100%);
    color: var(--text);
}

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

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

img.image-missing {
    visibility: hidden;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.84));
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    color: white;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.28);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-name {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #7dd3fc, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--muted);
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--muted-strong);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.page-filter input,
.page-filter select {
    border: 1px solid var(--line);
    outline: 0;
    color: white;
    background: rgba(15, 23, 42, 0.78);
    border-radius: 14px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 220px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.page-filter input:focus,
.page-filter select:focus {
    border-color: rgba(56, 189, 248, 0.75);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
    background: rgba(15, 23, 42, 0.96);
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-btn,
.ghost-btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    color: white;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

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

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-nav,
.mobile-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-channel-link {
    color: var(--muted-strong);
    background: rgba(30, 41, 59, 0.62);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 42px 0 58px;
    display: grid;
    gap: 24px;
}

.hero-title-block {
    position: relative;
    z-index: 2;
}

.hero-title-block p,
.section-heading p,
.page-hero p {
    color: var(--sky);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.hero-title-block h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-shell {
    position: relative;
    min-height: 580px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 36px;
    overflow: hidden;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.58fr);
    align-items: center;
    gap: 42px;
    padding: clamp(24px, 5vw, 68px);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background: radial-gradient(circle at 22% 16%, rgba(56, 189, 248, 0.26), transparent 28rem), rgba(2, 6, 23, 0.78);
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.2);
    transform: scale(1.12);
    opacity: 0.58;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.62), rgba(2, 6, 23, 0.84)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 45%);
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.eyebrow,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.26);
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero-desc {
    max-width: 680px;
    margin: 0 0 22px;
    color: var(--muted-strong);
    font-size: clamp(16px, 1.7vw, 22px);
    line-height: 1.75;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span,
.quick-tags a {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
    color: var(--muted-strong);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
}

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

.ghost-btn {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: none;
}

.hero-poster {
    align-self: stretch;
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(2, 6, 23, 0.9));
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.7);
    transform: rotate(1deg);
}

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

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    border-radius: 999px;
    padding: 9px 13px;
    color: white;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-controls {
    position: absolute;
    z-index: 3;
    left: clamp(24px, 5vw, 68px);
    right: clamp(24px, 5vw, 68px);
    bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.hero-arrow,
.hero-dot {
    border: 1px solid var(--line);
    color: white;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    padding: 0;
    opacity: 0.45;
}

.hero-dot.is-active {
    opacity: 1;
    background: linear-gradient(90deg, var(--sky), var(--blue));
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(30px);
    opacity: 0.6;
    pointer-events: none;
}

.hero-glow-one {
    width: 220px;
    height: 220px;
    right: 16%;
    top: 18%;
    background: rgba(56, 189, 248, 0.2);
}

.hero-glow-two {
    width: 300px;
    height: 300px;
    left: -8%;
    bottom: 12%;
    background: rgba(37, 99, 235, 0.14);
}

.section-wrap,
.detail-layout,
.breadcrumb,
.site-footer .footer-grid,
.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.section-wrap {
    padding: 46px 0;
}

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

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    letter-spacing: -0.04em;
}

.section-heading a {
    color: var(--sky);
    font-weight: 800;
}

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

.channel-card,
.category-overview-card a {
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent 45%),
        rgba(15, 23, 42, 0.72);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.channel-card:hover,
.category-overview-card a:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.5);
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.08)),
        rgba(15, 23, 42, 0.86);
}

.channel-card span,
.category-overview-card h2 {
    color: white;
    font-weight: 900;
    font-size: 19px;
    margin: 0;
}

.channel-card p,
.category-overview-card p {
    color: var(--muted);
    line-height: 1.72;
    margin: 12px 0 0;
    font-size: 14px;
}

.category-overview-card div {
    display: grid;
    gap: 6px;
    margin-top: 18px;
}

.category-overview-card div span {
    color: var(--muted-strong);
    font-size: 13px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

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

.strip-card {
    position: relative;
    height: 154px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
}

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

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

.strip-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.1));
}

.strip-info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    gap: 4px;
}

.strip-info strong {
    color: white;
    font-size: 16px;
}

.strip-info em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.mini-rank,
.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.26);
}

.search-panel,
.detail-card,
.side-card,
.player-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.search-panel {
    position: sticky;
    top: 96px;
    padding: 26px;
}

.search-panel h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.search-panel p {
    color: var(--muted);
    line-height: 1.72;
    margin: 0 0 18px;
}

.big-search {
    display: grid;
    gap: 12px;
}

.quick-tags {
    margin-top: 18px;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.25);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    background: rgba(15, 23, 42, 0.9);
}

.card-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(2, 6, 23, 0.9));
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 62%);
}

.type-pill,
.year-pill {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.type-pill {
    left: 12px;
    bottom: 12px;
    background: rgba(14, 165, 233, 0.85);
}

.year-pill {
    right: 12px;
    top: 12px;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-content {
    padding: 16px;
}

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

.card-content h3 a:hover {
    color: var(--sky);
}

.card-content p {
    min-height: 48px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 12px;
    margin-bottom: 12px;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.movie-card-horizontal .card-poster {
    aspect-ratio: auto;
    min-height: 186px;
}

.movie-card-horizontal .card-content {
    padding: 22px;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 62px 0 20px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 66px);
    letter-spacing: -0.06em;
}

.hero-line {
    max-width: 760px;
    color: var(--muted-strong);
    line-height: 1.75;
    margin-top: 16px;
    font-size: 18px;
}

.page-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 12px;
    margin-top: 26px;
    max-width: 900px;
}

.page-filter select {
    appearance: none;
}

.ranking-list {
    display: grid;
    gap: 18px;
}

.empty-state {
    margin: 28px auto;
    text-align: center;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px;
    background: rgba(15, 23, 42, 0.6);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    padding: 28px 0 18px;
    font-size: 14px;
}

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

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

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

.player-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    color: white;
    background:
        radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay span {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 18px 60px rgba(14, 165, 233, 0.38);
    font-size: 32px;
}

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

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

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 56px);
    letter-spacing: -0.05em;
}

.detail-one-line {
    color: var(--muted-strong);
    font-size: 20px;
    line-height: 1.72;
    margin: 0 0 20px;
}

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

.detail-meta span {
    border: 1px solid var(--line);
    background: rgba(30, 41, 59, 0.62);
    color: var(--muted-strong);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
}

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

.detail-card h2,
.side-card h2,
.site-footer h2 {
    margin: 0 0 12px;
    font-size: 21px;
}

.detail-card p,
.side-card p {
    color: var(--muted-strong);
    line-height: 1.9;
    margin: 0;
}

.detail-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 94px;
}

.side-card {
    padding: 18px;
}

.cover-side img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(2, 6, 23, 0.9));
    margin-bottom: 14px;
}

.side-strip {
    display: grid;
    gap: 12px;
}

.side-strip .strip-card {
    height: 110px;
}

.related-section {
    padding-top: 62px;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 42px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.96));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 34px;
    padding: 42px 0;
}

.footer-grid p {
    color: var(--muted);
    line-height: 1.78;
    max-width: 520px;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    width: fit-content;
    color: var(--muted-strong);
    margin: 9px 0;
}

.footer-grid a:hover {
    color: var(--sky);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

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

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

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

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

    .search-panel,
    .detail-side {
        position: static;
    }
}

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

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .hero {
        min-height: auto;
        padding-top: 30px;
    }

    .hero-shell {
        min-height: 720px;
        border-radius: 28px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 22px;
    }

    .hero-poster {
        min-height: 260px;
        transform: none;
    }

    .hero-controls {
        left: 22px;
        right: 22px;
    }

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

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

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

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

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

    .brand-subtitle {
        display: none;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero,
    .section-wrap,
    .detail-layout,
    .breadcrumb,
    .page-hero,
    .site-footer .footer-grid,
    .footer-bottom {
        width: min(100% - 22px, 1180px);
    }

    .hero-shell {
        min-height: 760px;
    }

    .hero-copy h2 {
        font-size: 36px;
    }

    .channel-grid,
    .category-overview-grid,
    .movie-grid,
    .strip-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .mobile-search {
        grid-template-columns: 1fr;
    }
}
