:root {
    --stone-950: #1c1917;
    --stone-900: #292524;
    --stone-800: #44403c;
    --stone-700: #57534e;
    --stone-600: #78716c;
    --stone-500: #a8a29e;
    --stone-200: #e7e5e4;
    --stone-100: #f5f5f4;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    --orange-600: #ea580c;
    --orange-100: #ffedd5;
    --white: #ffffff;
    --black: #000000;
    --shadow-soft: 0 16px 40px rgba(41, 37, 36, 0.12);
    --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--stone-800);
    background: linear-gradient(135deg, #fff7ed 0%, #fafaf9 48%, #ffedd5 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.96), rgba(69, 26, 3, 0.96), rgba(28, 25, 23, 0.96));
    border-bottom: 1px solid rgba(245, 158, 11, 0.28);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-100);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.36);
}

.brand-mark.small {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #fde68a, #fed7aa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(252, 211, 77, 0.72);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: #fde68a;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 12px;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-1px);
}

.nav-link-sub {
    color: rgba(252, 211, 77, 0.82);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(252, 211, 77, 0.28);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--amber-100);
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1917, #451a03, #1c1917);
}

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

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

.hero-background,
.detail-bg {
    position: absolute;
    inset: -34px;
    background-size: cover;
    background-position: center;
    filter: blur(22px) brightness(0.42);
    transform: scale(1.08);
}

.hero-shade,
.detail-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.28) 100%), linear-gradient(0deg, rgba(28, 25, 23, 1), rgba(28, 25, 23, 0.06) 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 42px;
    padding-top: 34px;
    padding-bottom: 120px;
}

.hero-copy {
    max-width: 780px;
    color: var(--white);
}

.hero-badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fde68a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-badge {
    padding: 8px 14px;
    border: 1px solid rgba(245, 158, 11, 0.38);
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.2);
    backdrop-filter: blur(12px);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.hero-meta,
.detail-meta,
.movie-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-meta,
.detail-meta {
    color: rgba(231, 229, 228, 0.9);
    font-weight: 700;
}

.score,
.rating-pill {
    color: #fbbf24;
    font-weight: 950;
}

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

.hero-tags {
    margin: 16px 0 18px;
}

.hero-tags span,
.tag-row span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 247, 237, 0.92);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
}

.tag-row span,
.tag-cloud span {
    background: #fff7ed;
    color: var(--amber-700);
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    margin: 0;
    color: rgba(231, 229, 228, 0.9);
    font-size: 18px;
    max-width: 760px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 13px;
    font-weight: 900;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 18px 36px rgba(217, 119, 6, 0.34);
}

.btn.ghost {
    color: var(--amber-100);
    border: 1px solid rgba(252, 211, 77, 0.36);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.btn.ghost.dark {
    color: var(--amber-700);
    border-color: rgba(217, 119, 6, 0.25);
    background: rgba(255, 247, 237, 0.78);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(252, 211, 77, 0.3);
    transform: rotate(2deg);
}

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

.hero-search-card {
    position: relative;
    z-index: 4;
    margin-top: -132px;
    padding-bottom: 34px;
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.hero-search input,
.filter-controls input,
.filter-controls select {
    width: 100%;
    border: 1px solid var(--stone-200);
    border-radius: 15px;
    background: var(--white);
    color: var(--stone-800);
    outline: none;
    padding: 13px 14px;
    transition: border var(--transition), box-shadow var(--transition);
}

.hero-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: rgba(217, 119, 6, 0.65);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.hero-search button,
.filter-reset {
    border: none;
    color: var(--white);
    border-radius: 15px;
    padding: 0 22px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

.hero-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    padding: 8px;
    text-align: left;
    color: var(--stone-800);
    transition: transform var(--transition), border var(--transition), box-shadow var(--transition);
}

.hero-thumb img {
    width: 44px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}

.hero-thumb span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    font-weight: 900;
}

.hero-thumb:hover,
.hero-thumb.active {
    transform: translateY(-2px);
    border-color: rgba(217, 119, 6, 0.56);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.16);
}

.home-layout,
.page-stack {
    padding: 54px 0 74px;
}

.page-stack {
    display: grid;
    gap: 34px;
}

.section-block,
.rank-panel,
.filter-panel,
.detail-article {
    border: 1px solid rgba(231, 229, 228, 0.82);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.section-block {
    padding: clamp(22px, 4vw, 34px);
    margin-bottom: 44px;
}

.amber-panel {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.82), rgba(255, 237, 213, 0.88));
}

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

.section-heading span,
.filter-title {
    display: block;
    color: var(--amber-600);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 4px 0 0;
    color: var(--stone-800);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-heading a,
.text-link,
.side-link {
    color: var(--amber-700);
    font-weight: 900;
}

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

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

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(231, 229, 228, 0.9);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 26px rgba(41, 37, 36, 0.08);
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 119, 6, 0.34);
    box-shadow: 0 22px 44px rgba(41, 37, 36, 0.16);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone-900), var(--amber-700));
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

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

.rating-pill,
.rank-badge {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 28px;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 950;
    background: rgba(217, 119, 6, 0.92);
    backdrop-filter: blur(10px);
}

.rating-pill {
    right: 10px;
}

.rank-badge {
    left: 10px;
    background: rgba(28, 25, 23, 0.8);
}

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

.movie-title {
    display: block;
    min-height: 48px;
    color: var(--stone-800);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
    transition: color var(--transition);
}

.movie-card:hover .movie-title {
    color: var(--amber-700);
}

.movie-meta {
    margin: 10px 0;
    color: var(--stone-500);
    font-size: 12px;
    font-weight: 800;
}

.movie-card-body p {
    margin: 0 0 14px;
    color: var(--stone-600);
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.movie-card.compact .movie-title {
    min-height: 42px;
    font-size: 16px;
}

.movie-card.compact .movie-card-body p {
    -webkit-line-clamp: 2;
}

.category-grid,
.channel-grid-large {
    display: grid;
    gap: 18px;
}

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

.category-card {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--stone-900);
    box-shadow: 0 16px 36px rgba(41, 37, 36, 0.16);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 480ms ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
}

.category-copy {
    position: absolute;
    inset: auto 16px 16px;
    color: var(--white);
}

.category-copy strong {
    display: block;
    font-size: 20px;
    font-weight: 950;
}

.category-copy em {
    display: block;
    margin-top: 5px;
    color: rgba(255, 247, 237, 0.82);
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}

.split-section,
.movie-page-with-sidebar,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.rank-panel {
    padding: 24px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #fff7ed;
    transition: transform var(--transition), background var(--transition);
}

.rank-item:hover {
    transform: translateX(3px);
    background: #ffedd5;
}

.rank-number {
    color: var(--amber-700);
    font-weight: 950;
}

.rank-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--stone-800);
    font-weight: 850;
}

.rank-score {
    color: var(--amber-600);
    font-weight: 950;
    text-align: right;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1917, #78350f, #292524);
    color: var(--white);
}

.page-hero {
    padding: 92px 0 76px;
}

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

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 25%, rgba(245, 158, 11, 0.34), transparent 32%), radial-gradient(circle at 78% 12%, rgba(234, 88, 12, 0.24), transparent 34%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 780px;
}

.page-hero p {
    color: rgba(255, 247, 237, 0.86);
}

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

.channel-card-large {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(231, 229, 228, 0.88);
    box-shadow: var(--shadow-soft);
}

.channel-cover-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.channel-cover-stack img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.channel-card-body span {
    color: var(--amber-600);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.channel-card-body h2 {
    margin: 7px 0 9px;
    color: var(--stone-800);
    font-size: 26px;
    line-height: 1.16;
    font-weight: 950;
}

.channel-card-body p {
    color: var(--stone-600);
    margin: 0 0 16px;
}

.filter-panel {
    padding: 22px;
}

.filter-title {
    margin-bottom: 16px;
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.filter-controls label {
    display: grid;
    gap: 7px;
    color: var(--stone-600);
    font-size: 12px;
    font-weight: 850;
}

.filter-reset {
    min-height: 48px;
    cursor: pointer;
}

.no-results {
    display: none;
    text-align: center;
    color: var(--stone-600);
    font-weight: 850;
    padding: 38px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
}

.no-results.show {
    display: block;
}

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

.detail-hero {
    min-height: 640px;
}

.detail-top {
    position: relative;
    z-index: 2;
    padding: 34px 0 56px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255, 247, 237, 0.82);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 26px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
    gap: 34px;
    align-items: center;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: var(--black);
    border: 1px solid rgba(252, 211, 77, 0.32);
    box-shadow: var(--shadow-strong);
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--black);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(217, 119, 6, 0.22), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    transition: opacity var(--transition), visibility var(--transition);
}

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

.play-button {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 50%;
    color: var(--white);
    font-size: 32px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 20px 46px rgba(217, 119, 6, 0.36);
}

.play-overlay strong {
    font-size: 20px;
    letter-spacing: 0.08em;
}

.detail-copy {
    color: var(--white);
}

.detail-copy h1 {
    font-size: clamp(34px, 4vw, 56px);
}

.detail-layout {
    padding: 46px 0 74px;
}

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

.detail-article section + section {
    margin-top: 34px;
}

.detail-article h2 {
    margin: 0 0 14px;
    color: var(--stone-800);
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.detail-article p {
    margin: 0 0 14px;
    color: var(--stone-700);
    font-size: 17px;
    line-height: 1.85;
}

.tag-cloud span {
    font-size: 13px;
    padding: 8px 12px;
}

.side-link {
    display: block;
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 14px;
    text-align: center;
    background: #fff7ed;
}

.site-footer {
    color: rgba(255, 247, 237, 0.78);
    background: linear-gradient(90deg, #1c1917, #451a03, #1c1917);
    border-top: 1px solid rgba(245, 158, 11, 0.22);
}

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

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

.site-footer p {
    max-width: 520px;
    color: rgba(231, 229, 228, 0.76);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(231, 229, 228, 0.12);
    color: rgba(168, 162, 158, 0.86);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .hero-content,
    .detail-grid,
    .split-section,
    .movie-page-with-sidebar,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

    .hero-thumbs,
    .category-grid,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .sticky-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        padding: 14px;
        border-radius: 20px;
        background: rgba(28, 25, 23, 0.98);
        box-shadow: var(--shadow-strong);
        justify-content: start;
    }

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

    .nav-link {
        width: calc(50% - 6px);
        text-align: center;
    }

    .brand-subtitle,
    .nav-link-sub {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content {
        min-height: 560px;
        padding-bottom: 150px;
    }

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

    .hero-search button {
        min-height: 46px;
    }

    .hero-thumbs,
    .category-grid,
    .channel-grid-large,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .catalog-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .channel-card-large {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .hero h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .hero-copy p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .hero-thumbs,
    .category-grid,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .catalog-grid,
    .footer-grid,
    .filter-controls {
        grid-template-columns: 1fr;
    }

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

    .movie-title {
        min-height: auto;
    }

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

    .detail-top {
        padding-top: 24px;
    }

    .play-button {
        width: 64px;
        height: 64px;
        font-size: 27px;
    }
}
