:root {
    --amber-950: #451a03;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --orange-800: #9a3412;
    --orange-700: #c2410c;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(17, 24, 39, 0.14);
    --soft-shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-900), var(--orange-800));
    box-shadow: 0 10px 30px rgba(69, 26, 3, 0.24);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand-mark {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    color: var(--amber-950);
    background: linear-gradient(135deg, #fde68a, #f97316);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

.desktop-nav a,
.desktop-nav button {
    color: var(--white);
    border: 0;
    background: transparent;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav .active {
    color: #fde68a;
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 34px;
    right: 0;
    display: grid;
    min-width: 180px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    border-radius: 16px;
    background: rgba(69, 26, 3, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(8px);
    transition: 0.2s ease;
}

.dropdown-menu a {
    padding: 10px 12px;
    border-radius: 10px;
}

.dropdown-menu a:hover {
    color: var(--gray-900);
    background: #fde68a;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

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

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

.mobile-nav {
    display: none;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--amber-800);
}

.mobile-nav a {
    display: block;
    padding: 11px 0;
    font-weight: 700;
}

.mobile-nav a:hover,
.mobile-nav .active {
    color: #fde68a;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.6s ease, transform 0.8s ease;
    pointer-events: none;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.32), transparent 34%), linear-gradient(135deg, var(--gray-950), var(--amber-950));
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(1px) saturate(1.1);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(17, 24, 39, 0.62), rgba(69, 26, 3, 0.86));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: center;
    padding: 100px 0 180px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 999px;
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.12);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 700px;
    margin: 0;
    color: var(--gray-200);
    font-size: 18px;
    line-height: 1.9;
}

.hero-tags {
    margin-top: 24px;
}

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

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

.primary-btn,
.card-link,
.table-link {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-700));
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.32);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.card-link:hover,
.table-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(217, 119, 6, 0.36);
}

.hero-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(255, 255, 255, 0.08));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
    transform: rotate(2deg);
}

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

.hero-dots {
    position: absolute;
    right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
    bottom: 122px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.hero-dot.active {
    background: #fcd34d;
}

.hero-search-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: grid;
    gap: 16px;
    padding-bottom: 28px;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.hero-search input,
.hero-search button {
    min-height: 62px;
    border: 0;
}

.hero-search input {
    padding: 0 22px;
    color: var(--white);
    outline: none;
    background: transparent;
}

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

.hero-search button {
    padding: 0 26px;
    color: var(--amber-950);
    font-weight: 900;
    background: #fcd34d;
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-category-links a {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--gray-100);
    background: rgba(255, 255, 255, 0.08);
}

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

.soft-bg {
    background: linear-gradient(180deg, #fff7ed, var(--gray-50));
}

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

.section-heading span {
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.section-heading h2 {
    margin: 8px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

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

.section-heading a {
    flex: 0 0 auto;
    color: var(--amber-700);
    font-weight: 900;
}

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

.category-movie-grid {
    margin-top: 28px;
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-800), var(--amber-900));
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(17, 24, 39, 0.74);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

.movie-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

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

.movie-card p {
    min-height: 66px;
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

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

.movie-card .tag-row {
    min-height: 30px;
    margin: 14px 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--amber-800);
    background: #fef3c7;
    font-size: 12px;
    font-weight: 800;
}

.card-link {
    width: 100%;
    min-height: 40px;
}

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

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

.compact-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.compact-card img {
    width: 68px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-800);
}

.compact-card span,
.compact-card small {
    grid-column: 2;
}

.compact-card span {
    align-self: end;
    overflow: hidden;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.compact-card small {
    align-self: start;
    color: var(--gray-500);
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(160deg, var(--gray-950), var(--amber-900));
    box-shadow: var(--shadow);
}

.ranking-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ranking-title span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--amber-950);
    background: #fcd34d;
    font-weight: 1000;
}

.ranking-title h2 {
    flex: 1;
    margin: 0;
}

.ranking-title a {
    color: #fde68a;
    font-weight: 800;
}

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

.ranking-panel a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.ranking-panel strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-panel small {
    grid-column: 2;
    color: var(--gray-300);
}

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

.category-tile,
.category-overview-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile span,
.category-overview-card h2 {
    display: block;
    margin: 0 0 10px;
    color: var(--gray-900);
    font-size: 22px;
    font-weight: 900;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
}

.page-hero {
    padding: 76px 0;
    color: var(--white);
    background: radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.35), transparent 30%), linear-gradient(135deg, var(--gray-950), var(--amber-900));
}

.slim-hero {
    padding: 84px 0 64px;
}

.page-hero h1 {
    max-width: 880px;
    margin: 0 0 14px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--gray-200);
    font-size: 17px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--gray-200);
    font-size: 14px;
}

.breadcrumb a {
    color: #fde68a;
    font-weight: 800;
}

.category-overview-card {
    display: grid;
    gap: 18px;
}

.category-overview-card span {
    display: inline-flex;
    margin-top: 16px;
    color: var(--amber-700);
    font-weight: 900;
}

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

.category-covers img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-800);
}

.filter-panel {
    padding: 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 14px;
}

.filter-grid label {
    display: grid;
    gap: 8px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 900;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    color: var(--gray-900);
    background: var(--gray-50);
    outline: none;
}

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

.empty-result {
    margin: 18px 0 0;
    color: var(--gray-600);
    font-weight: 800;
}

.table-wrap {
    overflow: auto;
    margin-top: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.ranking-table {
    width: 100%;
    min-width: 840px;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.ranking-table th {
    color: var(--gray-600);
    background: var(--gray-50);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.rank-num {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-700));
    font-weight: 900;
}

.rank-title {
    display: block;
    margin-bottom: 5px;
    font-weight: 900;
}

.ranking-table small {
    color: var(--gray-500);
}

.player-section {
    padding: 34px 0 52px;
    color: var(--white);
    background: linear-gradient(135deg, var(--gray-950), var(--gray-800));
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
}

.video-shell {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius-xl);
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.video-element {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2), rgba(0, 0, 0, 0.72));
    transition: opacity 0.2s ease;
}

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

.play-circle {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-950);
    background: #fcd34d;
    box-shadow: 0 0 0 12px rgba(252, 211, 77, 0.16);
    font-size: 28px;
}

.play-overlay strong {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    font-size: 18px;
}

.player-status {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 4;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--gray-200);
    background: rgba(0, 0, 0, 0.5);
    font-size: 12px;
}

.player-side {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--soft-shadow);
}

.player-side img {
    width: 120px;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    object-fit: cover;
    background: var(--gray-800);
}

.player-side h1 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
}

.player-side p {
    margin: 0 0 18px;
    color: var(--gray-200);
    line-height: 1.7;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.detail-main,
.detail-aside {
    display: grid;
    gap: 22px;
    align-content: start;
}

.detail-card,
.info-card {
    padding: 26px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

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

.detail-card h2,
.info-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.detail-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.95;
}

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

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

.info-card div {
    display: grid;
    gap: 4px;
}

.info-card dt {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 800;
}

.info-tags {
    margin-top: 18px;
}

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

.site-footer {
    color: var(--gray-300);
    background: linear-gradient(90deg, var(--gray-950), var(--gray-800));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
    padding: 48px 0;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer p,
.site-footer ul {
    margin: 0;
    padding: 0;
    line-height: 1.8;
    list-style: none;
}

.site-footer a:hover {
    color: #fcd34d;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.back-top {
    border: 0;
    color: var(--amber-950);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
    background: #fcd34d;
}

[hidden] {
    display: none !important;
}

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

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

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

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

    .menu-toggle {
        display: block;
    }

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

    .hero {
        min-height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 64px 0 220px;
    }

    .hero-poster {
        width: min(260px, 80%);
        transform: none;
    }

    .hero-dots {
        right: 16px;
        bottom: 154px;
    }

    .section-heading {
        display: grid;
    }

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

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

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

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

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

    .brand {
        font-size: 19px;
    }

    .hero h1 {
        font-size: 42px;
    }

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

    .movie-grid,
    .category-grid,
    .category-overview-grid,
    .filter-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .player-side {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .player-side img {
        width: 92px;
    }

    .video-shell,
    .video-element {
        min-height: 260px;
    }

    .footer-bottom {
        display: grid;
        gap: 12px;
    }
}
