:root {
    color-scheme: light;
    --bg: #fffaf0;
    --bg-soft: #fffbeb;
    --surface: #ffffff;
    --surface-strong: #fff7ed;
    --ink: #171717;
    --muted: #6b7280;
    --line: #f1e1c7;
    --amber: #f59e0b;
    --amber-strong: #d97706;
    --orange: #f97316;
    --shadow: 0 18px 45px rgba(120, 53, 15, 0.14);
    --shadow-soft: 0 10px 25px rgba(120, 53, 15, 0.10);
    --radius: 22px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%, #fffaf0 100%);
    color: var(--ink);
    min-width: 320px;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

main {
    min-height: 60vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 6px 24px rgba(120, 53, 15, 0.08);
}

.header-inner {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #7c2d12;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 15px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
}

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

.nav-link,
.dropdown-trigger {
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.is-active,
.dropdown-trigger:hover {
    color: var(--amber-strong);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 4px;
    min-width: 350px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
}

.dropdown-panel a:hover {
    background: #fff7ed;
    color: var(--amber-strong);
}

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

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid #f3d8ad;
    border-radius: 999px;
    background: white;
    color: var(--ink);
    outline: none;
    min-height: 42px;
    padding: 0 16px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

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

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

.header-search button,
.mobile-search button,
.primary-button,
.ghost-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

.ghost-button {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.32);
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #7c2d12;
    border-radius: 99px;
}

.mobile-panel {
    display: none;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(245, 158, 11, 0.16);
    background: white;
}

.mobile-panel a {
    display: block;
    padding: 12px 0;
    color: #4b5563;
    font-weight: 800;
    border-bottom: 1px solid #f8ead4;
}

.mobile-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    margin: 8px 0 16px;
}

.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-tight {
    padding-top: 44px;
    padding-bottom: 36px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h1,
.section-heading h2,
.page-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.section-heading p,
.page-hero p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-strong);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    margin-bottom: 10px;
}

.row-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    color: var(--amber-strong);
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: 70vh;
    background: #111827;
}

.hero-stage {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-content {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.hero-content h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2.1vw, 22px);
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

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

.hero-actions .primary-button,
.hero-actions .ghost-button {
    padding: 0 28px;
    min-height: 50px;
}

.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: white;
}

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

.quick-stats a {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-soft);
}

.quick-stats strong {
    color: var(--amber-strong);
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
}

.quick-stats span {
    color: var(--muted);
    margin-top: 8px;
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    min-width: 0;
    border-radius: 20px;
    background: white;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.14);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-link {
    display: block;
    height: 100%;
}

.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1f2937;
}

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

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

.quality-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    background: rgba(245, 158, 11, 0.95);
    font-size: 12px;
    font-weight: 900;
}

.rank-badge {
    left: auto;
    right: 12px;
    background: rgba(17, 24, 39, 0.78);
}

.play-bubble {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s ease;
}

.movie-card:hover .play-bubble {
    opacity: 1;
    transform: scale(1);
}

.card-body {
    padding: 18px;
}

.card-meta-row,
.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.card-body h3 {
    min-height: 56px;
    margin: 10px 0 8px;
    color: #111827;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-featured .card-body h3 {
    font-size: 22px;
}

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

.tag-row span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

.category-showcase,
.tinted-section {
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.96));
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-soft);
}

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

.category-tile {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    box-shadow: var(--shadow-soft);
}

.category-tile img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.4s ease;
}

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

.category-tile div {
    position: absolute;
    inset: auto 0 0;
    padding: 24px;
    color: white;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.category-tile span {
    color: #fbbf24;
    font-weight: 900;
}

.category-tile h3 {
    margin: 8px 0;
    font-size: 24px;
    font-weight: 950;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

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

.ranking-panel {
    position: sticky;
    top: 96px;
    border-radius: 28px;
    padding: 24px;
    background: #111827;
    color: white;
    box-shadow: var(--shadow);
}

.ranking-panel .section-heading h2 {
    color: white;
    font-size: 30px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(245, 158, 11, 0.22);
    transform: translateX(4px);
}

.rank-number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--amber);
    color: white;
    font-weight: 950;
    font-size: 13px;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.rank-score {
    color: #fbbf24;
    text-align: right;
    font-weight: 950;
}

.horizontal-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 310px;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
}

.horizontal-strip .movie-card {
    scroll-snap-align: start;
}

.page-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 72px 24px;
    color: white;
    background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.45), transparent 36%), linear-gradient(135deg, #111827, #7c2d12 70%, #f59e0b);
}

.page-hero > div {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.page-hero h1 {
    color: white;
    font-size: clamp(42px, 7vw, 76px);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 220px)) auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #92400e;
    font-weight: 900;
    font-size: 13px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border-radius: 16px;
}

.result-count {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 16px;
    background: #ffedd5;
    color: #92400e;
    white-space: nowrap;
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 28px;
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.16);
    box-shadow: var(--shadow-soft);
}

.category-preview-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 160px;
    background: #111827;
}

.category-preview-images img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.category-overview-body {
    padding: 24px;
}

.category-overview-body span {
    color: var(--amber-strong);
    font-weight: 950;
}

.category-overview-body h2 {
    margin: 8px 0 10px;
    font-size: 30px;
    font-weight: 950;
}

.category-overview-body p {
    color: var(--muted);
    line-height: 1.8;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: white;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0.62;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.55)), linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.95));
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 72px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

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

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-info h1 {
    max-width: 900px;
    margin: 0;
    color: white;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 950;
}

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

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
}

.large-tags span {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.24);
}

.detail-section {
    padding-top: 42px;
}

.player-card,
.content-card {
    border-radius: 28px;
    padding: 24px;
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.16);
    box-shadow: var(--shadow-soft);
}

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

.player-heading h2,
.content-card h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 950;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.68));
    border: 0;
    cursor: pointer;
}

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

.player-overlay span {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 20px 44px rgba(249, 115, 22, 0.4);
    font-size: 30px;
}

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

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

.content-card p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
}

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

.fact-card div {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8ead4;
}

.fact-card dt {
    color: #92400e;
    font-weight: 900;
}

.fact-card dd {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

.site-footer {
    margin-top: 48px;
    color: white;
    background: linear-gradient(135deg, #111827, #1f2937 50%, #7c2d12);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.footer-grid p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: #fbbf24;
    font-size: 18px;
}

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

.footer-grid a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

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

.footer-logo {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.62);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.is-filtered-out {
    display: none !important;
}

@media (max-width: 1180px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

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

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

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

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

    .ranking-panel {
        position: static;
    }

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

@media (max-width: 820px) {
    .header-inner {
        height: 64px;
        padding: 0 16px;
    }

    .site-logo,
    .footer-logo {
        font-size: 20px;
    }

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

    .hero-content {
        padding: 0 18px;
        align-items: center;
        text-align: center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.88));
    }

    .hero-control {
        display: none;
    }

    .quick-stats,
    .featured-grid,
    .compact-grid,
    .catalog-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .detail-poster {
        max-width: 260px;
        margin: 0 auto;
    }

    .detail-meta,
    .large-tags {
        justify-content: center;
    }

    .player-heading,
    .row-heading,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 560px) {
    .section,
    .page-hero,
    .detail-hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .quick-stats,
    .featured-grid,
    .compact-grid,
    .catalog-grid,
    .category-grid,
    .category-overview-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .horizontal-strip {
        grid-auto-columns: 82vw;
    }

    .card-body h3 {
        min-height: auto;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .page-hero {
        min-height: 280px;
    }
}
