* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #1f2937;
    background: #f8fafc;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    box-shadow: 0 12px 26px rgba(234, 88, 12, 0.35);
    font-size: 15px;
}

.brand-text {
    font-size: 25px;
    background: linear-gradient(135deg, #ea580c, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #ea580c;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #ea580c, #f59e0b);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #fff7ed;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #c2410c;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid #fed7aa;
    background: #ffffff;
}

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

.mobile-nav .nav-link {
    display: block;
    padding: 12px 0;
}

.mobile-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 8px;
}

.mobile-sub-link {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
    font-size: 14px;
}

.hero-section {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 48%, #f59e0b 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.14));
}

.hero-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(6px);
    opacity: 0.42;
    background: rgba(255, 255, 255, 0.22);
}

.hero-bg-orb-one {
    width: 260px;
    height: 260px;
    top: 80px;
    right: 12%;
}

.hero-bg-orb-two {
    width: 180px;
    height: 180px;
    bottom: 50px;
    left: 8%;
}

.hero-container {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
    gap: 56px;
    align-items: center;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-kicker,
.detail-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff7ed;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    max-width: 780px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.hero-lead {
    max-width: 710px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

.hero-feature {
    display: grid;
    gap: 4px;
    max-width: 720px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.hero-feature span {
    color: #fed7aa;
    font-size: 13px;
    font-weight: 800;
}

.hero-feature strong {
    font-size: 24px;
    line-height: 1.2;
}

.hero-feature em {
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

.hero-actions,
.page-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.ghost-button,
.search-bar button,
.hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 24px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    background: #ffffff;
    color: #ea580c;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.primary-button:hover,
.search-bar button:hover,
.hero-search button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-search {
    display: flex;
    gap: 10px;
    width: min(610px, 100%);
    margin-top: 22px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px);
}

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

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

.hero-search button {
    background: #ffffff;
    color: #ea580c;
}

.hero-poster {
    position: relative;
    display: block;
    height: 470px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.38);
    transform: rotate(2deg);
}

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

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

.hero-poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.78));
}

.hero-play,
.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 999px;
    color: #ea580c;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 46px;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 34px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #ffffff;
}

.content-section {
    padding: 70px 0;
}

.white-section {
    background: #ffffff;
}

.soft-blue-section {
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
}

.amber-section {
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

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

.section-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    max-width: 680px;
    color: #6b7280;
}

.section-link {
    flex: 0 0 auto;
    color: #2563eb;
    font-weight: 900;
}

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

.category-card,
.category-overview-card {
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.category-icon,
.category-overview-top span {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    font-size: 28px;
    font-style: normal;
}

.category-card strong,
.category-overview-top h2 {
    color: #111827;
    font-size: 22px;
    line-height: 1.2;
}

.category-card em,
.category-overview-top p {
    color: #64748b;
    font-style: normal;
    font-size: 14px;
}

.category-overview-card {
    min-height: auto;
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.category-overview-top {
    display: grid;
    gap: 10px;
}

.category-overview-top h2,
.category-overview-top p {
    margin: 0;
}

.category-sample-links {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.category-sample-links a {
    color: #475569;
    font-size: 14px;
}

.category-sample-links a:hover,
.category-enter:hover {
    color: #ea580c;
}

.category-enter {
    color: #2563eb;
    font-weight: 900;
}

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

.library-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.16);
}

.movie-poster {
    position: relative;
    display: block;
    height: 238px;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.movie-card-compact .movie-poster {
    height: 210px;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.62));
    opacity: 0.65;
}

.movie-poster .play-mark,
.list-cover .play-mark {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-weight: 900;
}

.movie-info {
    padding: 18px;
}

.movie-meta-line,
.list-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.movie-info h2,
.list-body h2 {
    margin: 8px 0 8px;
    color: #111827;
    font-size: 21px;
    line-height: 1.25;
}

.movie-info h2 a,
.list-body h2 a {
    transition: color 0.2s ease;
}

.movie-info h2 a:hover,
.list-body h2 a:hover {
    color: #ea580c;
}

.movie-info p,
.list-body p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
}

.watch-link {
    display: inline-flex;
    margin-top: 14px;
    color: #059669;
    font-weight: 900;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.list-stack {
    display: grid;
    gap: 16px;
}

.list-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.list-cover {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.list-body {
    padding: 20px;
}

.list-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 0 18px;
    color: #059669;
    font-weight: 900;
    background: #f0fdf4;
}

.list-rank {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.ranking-panel,
.detail-side-card,
.player-card,
.detail-text-card {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.panel-title h2 {
    margin: 0;
    font-size: 24px;
}

.panel-title a {
    color: #2563eb;
    font-weight: 900;
}

.ranking-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    transition: background 0.2s ease;
}

.ranking-list a:hover {
    background: #fff7ed;
}

.ranking-list span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    font-weight: 900;
}

.ranking-list strong {
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list em {
    color: #64748b;
    font-style: normal;
    font-size: 13px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #c2410c, #f59e0b);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 15%, rgba(255, 255, 255, 0.22), transparent 26%);
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    margin: 16px 0 10px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 26px;
    padding: 14px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.search-bar {
    display: flex;
    gap: 10px;
}

.search-bar input,
.filter-selects select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    outline: 0;
    background: #ffffff;
    color: #1f2937;
}

.search-bar input {
    padding: 0 18px;
}

.filter-selects {
    display: flex;
    gap: 10px;
}

.filter-selects select {
    padding: 0 34px 0 14px;
}

.search-bar button {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #ffffff;
}

.empty-state {
    display: none;
    margin: 20px 0;
    padding: 26px;
    border-radius: 22px;
    color: #9a3412;
    background: #fff7ed;
    text-align: center;
    font-weight: 900;
}

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

.movie-card.is-hidden,
.list-card.is-hidden {
    display: none;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-bg {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    filter: blur(12px);
    transform: scale(1.04);
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(194, 65, 12, 0.78));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 34px 0 58px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 38px;
    align-items: end;
}

.detail-cover {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.36);
    background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

.detail-main-copy h1 {
    max-width: 850px;
    margin: 16px 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 860px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
    max-width: 820px;
    margin-bottom: 20px;
}

.detail-meta-grid span {
    display: grid;
    gap: 4px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.detail-meta-grid strong {
    color: #fed7aa;
    font-size: 12px;
}

.detail-tags {
    margin-bottom: 24px;
}

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

.detail-primary-column {
    display: grid;
    gap: 24px;
}

.player-card,
.detail-text-card,
.detail-side-card {
    padding: 24px;
}

.player-card h2,
.detail-text-card h2,
.detail-side-card h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 25px;
    line-height: 1.2;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #0f172a;
    object-fit: cover;
}

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

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

.player-button-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ea580c;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
    font-size: 30px;
}

.detail-text-card p {
    margin: 0;
    color: #475569;
    font-size: 16px;
}

.detail-side-card {
    position: sticky;
    top: 92px;
}

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

.detail-side-card dl div {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

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

.detail-side-card dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 20px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    font-weight: 900;
}

.site-footer {
    color: #cbd5e1;
    background: #0f172a;
}

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

.footer-brand p {
    max-width: 460px;
    color: #94a3b8;
}

.footer-brand-link .brand-text {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

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

.footer-links h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .movie-grid,
    .library-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slide,
    .split-layout,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

    .hero-dots {
        left: 0;
    }

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

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

    .mobile-menu-button {
        display: flex;
    }

    .brand-text {
        font-size: 22px;
    }

    .hero-section,
    .hero-container {
        min-height: 720px;
    }

    .hero-slide {
        align-content: center;
    }

    .hero-search,
    .search-bar,
    .filter-panel,
    .filter-selects,
    .section-heading,
    .hero-actions,
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .movie-grid,
    .library-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid,
    .footer-grid,
    .detail-layout,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .list-card {
        grid-template-columns: 128px minmax(0, 1fr);
    }

    .list-cover {
        min-height: 180px;
    }

    .list-action {
        grid-column: 1 / -1;
        min-height: 44px;
    }

    .detail-cover img {
        height: 420px;
    }

    .content-section {
        padding: 52px 0;
    }

    .player-card,
    .detail-text-card,
    .detail-side-card {
        padding: 18px;
    }
}

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

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

    .hero-lead,
    .detail-one-line,
    .page-hero p {
        font-size: 16px;
    }

    .movie-poster {
        height: 230px;
    }
}
