:root {
    --bg: #fff7ed;
    --paper: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --soft: #fef3c7;
    --line: #fde68a;
    --amber: #f59e0b;
    --orange: #f97316;
    --red: #ef4444;
    --dark: #111827;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 35%, #fffaf0 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(251, 191, 36, 0.36);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(146, 64, 14, 0.08);
}

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

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

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.32);
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #d97706, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 3px;
    color: #78716c;
    font-size: 12px;
    font-style: normal;
}

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

.nav-link,
.mobile-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 14px;
    color: #4b5563;
    transition: all 0.2s ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.nav-link.is-active,
.mobile-nav-link.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(310px, 24vw);
    padding: 4px;
    border: 1px solid rgba(251, 191, 36, 0.55);
    border-radius: 999px;
    background: #fffbeb;
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 9px 12px;
    color: #1f2937;
}

.header-search button,
.hero-search button,
.search-panel button {
    border: 0;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
    cursor: pointer;
}

.header-search button {
    padding: 8px 14px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #fffbeb;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #92400e;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(251, 191, 36, 0.28);
    background: rgba(255, 251, 235, 0.95);
}

.mobile-panel.is-open {
    display: block;
}

.mobile-nav,
.mobile-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
}

.mobile-cats a {
    padding: 9px 12px;
    border-radius: 12px;
    color: #78350f;
    background: #fef3c7;
    text-align: center;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.9s ease;
    pointer-events: none;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(251, 191, 36, 0.42), transparent 30%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.76) 44%, rgba(17, 24, 39, 0.38) 100%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 48px;
    width: min(1280px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    padding: 78px 0 128px;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    color: #fff7ed;
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.35);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.hero-tags span,
.movie-tags span,
.detail-tags span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #fffbeb;
    background: rgba(251, 191, 36, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.hero-actions,
.sub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: all 0.22s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(249, 115, 22, 0.42);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.btn-link {
    color: #fcd34d;
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 30px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
    transform: rotate(3deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.45);
    transform: translate(-50%, -50%);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 92px;
    display: flex;
    align-items: center;
    gap: 18px;
    transform: translateX(-50%);
}

.hero-controls button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    cursor: pointer;
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.is-active {
    width: 34px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.hero-search {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 10px;
    width: min(760px, calc(100% - 32px));
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #ffffff;
    padding: 14px 18px;
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button {
    padding: 0 24px;
}

.page-section {
    width: min(1280px, calc(100% - 32px));
    margin: 72px auto;
}

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

.section-heading .section-kicker {
    color: #92400e;
    background: #fef3c7;
}

.section-heading h2 {
    margin: 10px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-heading > a,
.channel-link {
    flex-shrink: 0;
    color: #d97706;
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.34);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(146, 64, 14, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle at 50% 18%, #fed7aa, #92400e);
}

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

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent);
}

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 5px 10px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
}

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

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

.movie-card-body h3 a:hover,
.rank-info h3 a:hover {
    color: #d97706;
}

.movie-meta {
    margin: 0 0 10px;
    color: #78716c;
    font-size: 13px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-card-compact .movie-desc {
    display: none;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 54px 82px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(146, 64, 14, 0.06);
}

.rank-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #92400e;
    border-radius: 14px;
    background: #fef3c7;
    font-size: 18px;
    font-weight: 900;
}

.rank-top .rank-number {
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.rank-thumb {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
    background: #fed7aa;
}

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

.rank-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.rank-info p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #78716c;
    font-size: 12px;
}

.rank-action {
    padding: 9px 14px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    font-weight: 800;
}

.spotlight-box,
.sidebar-card,
.detail-info-card,
.content-card,
.player-card,
.category-channel,
.search-panel-section .search-panel,
.filter-panel {
    border: 1px solid rgba(251, 191, 36, 0.34);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.spotlight-box {
    position: sticky;
    top: 104px;
    padding: 28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(251, 191, 36, 0.35), transparent 32%),
        linear-gradient(135deg, #111827, #431407 58%, #92400e);
    color: #ffffff;
}

.spotlight-box h2 {
    margin: 16px 0;
    font-size: 34px;
    line-height: 1.2;
}

.spotlight-box p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.spotlight-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.spotlight-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

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

.category-card,
.category-channel {
    padding: 22px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #fffbeb);
    box-shadow: 0 12px 28px rgba(146, 64, 14, 0.07);
}

.category-main-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.category-main-link span,
.category-channel h2 {
    font-size: 24px;
    font-weight: 900;
}

.category-main-link strong,
.channel-link {
    padding: 8px 12px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    font-size: 13px;
}

.category-card p,
.category-channel p {
    color: #57534e;
    line-height: 1.7;
}

.category-sample-links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.category-sample-links a {
    color: #92400e;
    font-weight: 700;
}

.categories-page-list {
    display: grid;
    gap: 28px;
}

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

.sub-hero {
    position: relative;
    overflow: hidden;
    width: min(1280px, calc(100% - 32px));
    margin: 34px auto 0;
    padding: clamp(42px, 7vw, 86px);
    color: #ffffff;
    border-radius: 36px;
    background:
        radial-gradient(circle at 82% 22%, rgba(251, 191, 36, 0.48), transparent 32%),
        linear-gradient(135deg, #111827, #431407 60%, #92400e);
    box-shadow: var(--shadow);
}

.sub-hero h1 {
    max-width: 850px;
    margin: 18px 0 12px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.sub-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel,
.search-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
}

.filter-panel input,
.search-panel input,
.search-panel select {
    min-height: 48px;
    border: 1px solid #fde68a;
    border-radius: 999px;
    outline: 0;
    background: #fffbeb;
    padding: 0 16px;
}

.filter-panel input,
.search-panel input {
    flex: 1;
    min-width: 240px;
}

.search-panel button {
    min-height: 48px;
    padding: 0 24px;
}

.chip-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-filter button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #fde68a;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    cursor: pointer;
}

.chip-filter button.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.full-rank-list .rank-row {
    grid-template-columns: 64px 96px minmax(0, 1fr) auto;
}

.search-result-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 26px 0;
}

.search-result-head h2 {
    margin: 0;
    font-size: 30px;
}

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

.detail-page {
    width: min(1280px, calc(100% - 32px));
    margin: 34px auto 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #78716c;
    font-size: 14px;
}

.breadcrumb a {
    color: #d97706;
    font-weight: 700;
}

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

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

.player-card {
    overflow: hidden;
    padding: 0;
    background: #111827;
}

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

.player-shell video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    color: #ffffff;
    background: #111827;
    cursor: pointer;
}

.player-cover.is-hidden {
    display: none;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(251, 191, 36, 0.34), transparent 34%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18));
}

.play-circle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.45);
    font-size: 28px;
}

.player-cover strong {
    position: relative;
    z-index: 2;
    margin-top: 122px;
    font-size: 20px;
}

.detail-info-card,
.content-card,
.sidebar-card {
    padding: 26px;
}

.detail-info-card h1 {
    margin: 16px 0 12px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
}

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

.detail-meta-grid span {
    padding: 10px 12px;
    border-radius: 14px;
    color: #57534e;
    background: #fffbeb;
    font-size: 14px;
}

.content-card h2,
.sidebar-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.content-card p {
    margin: 0;
    color: #374151;
    font-size: 17px;
    line-height: 1.95;
}

.detail-sidebar {
    position: sticky;
    top: 104px;
}

.sidebar-rank-list .rank-row {
    grid-template-columns: 40px minmax(0, 1fr);
}

.sidebar-rank-list .rank-thumb,
.sidebar-rank-list .rank-action,
.sidebar-rank-list .rank-meta,
.sidebar-rank-list .rank-info p {
    display: none;
}

.sidebar-rank-list .rank-info h3 {
    font-size: 15px;
}

.site-footer {
    margin-top: 80px;
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #020617);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1.5fr;
    gap: 36px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
}

.footer-brand h2,
.footer-links h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

.footer-brand p {
    margin: 0;
    max-width: 520px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a:hover {
    color: #fbbf24;
}

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

.footer-category-links h3 {
    grid-column: 1 / -1;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    font-size: 14px;
}

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

    .hero-content,
    .two-column-section,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-sidebar,
    .spotlight-box {
        position: relative;
        top: auto;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .header-inner {
        min-height: 66px;
    }

    .brand-text strong {
        font-size: 18px;
    }

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

    .hero-content {
        display: flex;
        align-items: center;
        padding: 60px 0 130px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 13vw, 62px);
    }

    .hero-search {
        border-radius: 24px;
        flex-direction: column;
    }

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

    .section-heading,
    .category-channel-head,
    .search-result-head {
        align-items: start;
        flex-direction: column;
    }

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

    .rank-row,
    .full-rank-list .rank-row {
        grid-template-columns: 44px 64px minmax(0, 1fr);
    }

    .rank-action {
        display: none;
    }

    .rank-info p {
        -webkit-line-clamp: 2;
    }

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

@media (max-width: 520px) {
    .page-section,
    .detail-page,
    .sub-hero,
    .header-inner,
    .footer-inner,
    .footer-bottom,
    .mobile-nav,
    .mobile-cats {
        width: min(100% - 22px, 1280px);
    }

    .sub-hero {
        border-radius: 26px;
        padding: 34px 22px;
    }

    .movie-grid,
    .category-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

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

    .player-cover strong {
        margin-top: 110px;
    }
}
