:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-500: #f97316;
    --rose-500: #f43f5e;
    --white: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.24);
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.24);
    --radius: 22px;
    --shell: min(1180px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.25);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
}

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

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--slate-900);
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.34);
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 650;
}

.nav-link {
    color: rgba(255, 255, 255, 0.86);
    transition: color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber-400);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

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

.mobile-menu {
    display: none;
    width: var(--shell);
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-menu.is-open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

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

.hero-carousel {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-mask {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08);
    transform: scale(1.02);
}

.hero-mask {
    background:
        radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.32), transparent 26%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.42) 68%, rgba(15, 23, 42, 0.84) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.05) 46%, rgba(2, 6, 23, 0.72));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 660px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(720px, 100%);
    padding: 92px 0 112px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--amber-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span {
    display: inline-flex;
    padding: 7px 12px;
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

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

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

.btn-primary {
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.32);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-ghost.dark {
    color: var(--slate-900);
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.btn-primary:hover,
.btn-ghost:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-panel {
    position: absolute;
    top: 50%;
    right: max(28px, calc((100vw - 1180px) / 2));
    z-index: 3;
    width: min(340px, calc(100vw - 40px));
    transform: translateY(-50%);
}

.hero-panel-inner {
    padding: 18px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(20px);
}

.panel-title {
    display: block;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.hero-mini {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    width: 100%;
    margin: 0 0 12px;
    padding: 10px;
    text-align: left;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 18px;
    transition: border-color 0.22s ease, background 0.22s ease;
}

.hero-mini.is-active,
.hero-mini:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(245, 158, 11, 0.16);
}

.hero-mini img {
    width: 82px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-mini strong,
.hero-mini em {
    display: block;
}

.hero-mini strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}

.hero-mini em {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-style: normal;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    color: var(--white);
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    transform: translateY(-50%);
    font-size: 34px;
    line-height: 1;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.home-search {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.section-block {
    padding: 56px 0;
}

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

.section-head-center {
    display: block;
    text-align: center;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.section-head p {
    margin: 10px auto 0;
    max-width: 720px;
    color: var(--muted);
}

.section-head > a,
.text-link {
    color: var(--amber-500);
    font-weight: 800;
}

.section-head.compact {
    align-items: center;
    margin-bottom: 18px;
}

.section-head.compact h2 {
    font-size: 28px;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 14px;
    margin: 24px 0 28px;
}

.search-box,
.filter-box {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.search-box input,
.filter-box select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    color: var(--slate-900);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    outline: none;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.search-box input:focus,
.filter-box select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

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

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

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

.movie-card {
    display: grid;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.46);
    box-shadow: var(--shadow);
}

.movie-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

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

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

.movie-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.56));
    opacity: 0.78;
}

.movie-badge,
.movie-time {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
}

.movie-badge {
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.movie-time {
    right: 10px;
    bottom: 10px;
    background: rgba(2, 6, 23, 0.75);
}

.movie-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--slate-950);
    background: rgba(251, 191, 36, 0.9);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.movie-info {
    display: grid;
    gap: 9px;
    padding: 16px;
}

.movie-info strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 50px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-info em {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta span {
    padding: 4px 8px;
    background: var(--slate-100);
    border-radius: 999px;
}

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

.channel-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    padding: 22px;
    color: var(--white);
    border-radius: 24px;
    background: var(--slate-900);
    box-shadow: var(--shadow);
}

.channel-card img,
.category-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.34s ease;
}

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

.channel-cover,
.category-image span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.88));
}

.channel-card strong,
.channel-card em,
.channel-samples {
    position: relative;
    z-index: 2;
    display: block;
}

.channel-card strong {
    margin-top: 88px;
    font-size: 26px;
    line-height: 1.1;
}

.channel-card em {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-style: normal;
}

.channel-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.channel-samples span {
    max-width: 100%;
    overflow: hidden;
    padding: 5px 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 26px;
    align-items: start;
}

.ranking-card,
.article-card,
.detail-side-card,
.single-article {
    padding: 24px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

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

.rank-row {
    display: grid;
    grid-template-columns: auto 74px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 18px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.rank-number {
    width: 40px;
    color: var(--orange-500);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 74px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--slate-800);
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em,
.rank-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.rank-copy span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.rank-heat {
    color: var(--amber-500);
    font-weight: 900;
}

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

.page-hero {
    margin-top: 28px;
    padding: 58px;
    color: var(--white);
    background:
        radial-gradient(circle at 84% 18%, rgba(245, 158, 11, 0.32), transparent 24%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
}

.page-hero h1 {
    color: var(--white);
}

.compact-hero {
    padding: 48px;
}

.inline-actions {
    margin-top: 24px;
}

.category-overview-grid {
    display: grid;
    gap: 24px;
    padding: 42px 0;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    overflow: hidden;
    padding: 18px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.category-image {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--slate-800);
}

.category-overview-card h2 {
    margin: 6px 0 10px;
    font-size: 30px;
    line-height: 1.1;
}

.category-overview-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.category-preview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.category-preview-links a {
    padding: 7px 11px;
    color: var(--slate-700);
    background: var(--slate-100);
    border-radius: 999px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 28px;
    padding: 30px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 14%, rgba(251, 191, 36, 0.3), transparent 24%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
    border-radius: 32px;
    box-shadow: var(--shadow-strong);
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--slate-900);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

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

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

.detail-meta-grid span {
    display: grid;
    gap: 3px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.detail-meta-grid strong {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.player-section {
    padding: 46px 0 20px;
}

.player-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.player-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-launch {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    color: var(--white);
    border: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.16), rgba(2, 6, 23, 0.78));
    transition: opacity 0.28s ease;
}

.player-launch span {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.38);
    font-size: 32px;
}

.player-launch strong {
    font-size: 20px;
}

.player-stage.is-playing .player-launch {
    opacity: 0;
    pointer-events: none;
}

.player-summary {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
    padding: 38px 0 0;
    align-items: start;
}

.article-card h2,
.detail-side-card h2,
.single-article h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.article-card h2:not(:first-child) {
    margin-top: 30px;
}

.article-card p,
.single-article p {
    margin: 0 0 16px;
    color: var(--slate-700);
    font-size: 17px;
}

.detail-side-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.detail-side-card dt {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
}

.detail-side-card dd {
    margin: -10px 0 0;
    color: var(--slate-900);
    font-weight: 750;
}

.empty-state {
    display: none;
    margin: 34px 0 0;
    padding: 28px;
    text-align: center;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.empty-state.is-visible {
    display: block;
}

.site-footer {
    margin-top: 58px;
    color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

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

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

.footer-grid p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.58);
}

.footer-links {
    display: grid;
    gap: 9px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 1100px) {
    .listing-grid,
    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .two-column,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        display: none;
    }
}

@media (max-width: 860px) {
    :root {
        --shell: min(100vw - 24px, 720px);
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-carousel,
    .hero-content {
        min-height: 620px;
    }

    .hero-copy {
        padding: 90px 0 74px;
    }

    .hero-arrow {
        display: none;
    }

    .home-search {
        margin-top: -42px;
        padding: 22px;
    }

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

    .category-overview-card,
    .detail-hero {
        grid-template-columns: 1fr;
    }

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

    .page-hero,
    .compact-hero {
        padding: 32px 24px;
    }

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

@media (max-width: 640px) {
    .movie-grid,
    .listing-grid,
    .side-grid,
    .channel-grid {
        grid-template-columns: 1fr;
    }

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

    .section-head {
        display: grid;
        align-items: start;
    }

    .rank-row {
        grid-template-columns: auto 64px 1fr;
    }

    .rank-heat {
        display: none;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

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