* {
    box-sizing: border-box;
}

:root {
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --orange-500: #f97316;
    --red-500: #ef4444;
    --green-500: #22c55e;
    --teal-600: #0d9488;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.10);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background: var(--gray-50);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.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(--blue-600), var(--blue-700));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 66px;
}

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

.brand-text {
    white-space: nowrap;
    font-size: 19px;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-mark span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid currentColor;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    font-weight: 650;
}

.desktop-nav > a,
.nav-dropdown > a {
    padding: 22px 0;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.18s ease, opacity 0.18s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #dbeafe;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: -18px;
    display: grid;
    width: 210px;
    padding: 10px;
    color: var(--gray-800);
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

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

.dropdown-panel a:hover {
    color: var(--blue-600);
    background: #eff6ff;
}

.header-search {
    position: relative;
    flex: 0 1 330px;
}

.header-search input {
    width: 100%;
    height: 38px;
    padding: 0 44px 0 16px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-search input::placeholder {
    color: rgba(219, 234, 254, 0.95);
}

.header-search input:focus {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    color: var(--white);
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: transparent;
    transform: translateY(-50%);
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 5px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-search input {
    flex: 1;
    padding: 10px 12px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, 0.18);
}

.mobile-search input::placeholder {
    color: rgba(219, 234, 254, 0.95);
}

.mobile-search button {
    color: var(--blue-700);
    border: 0;
    border-radius: 12px;
    background: var(--white);
    padding: 0 14px;
    font-weight: 700;
}

.mobile-panel nav {
    display: grid;
    gap: 4px;
}

.mobile-panel nav a {
    padding: 10px 12px;
    border-radius: 12px;
}

.mobile-panel nav a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-carousel {
    position: relative;
    height: 560px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(180deg, var(--gray-950), var(--gray-800));
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(37, 99, 235, 0.28), transparent 34%),
        linear-gradient(90deg, rgba(3, 7, 18, 0.96) 0%, rgba(3, 7, 18, 0.70) 42%, rgba(3, 7, 18, 0.24) 100%),
        linear-gradient(0deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.18) 65%);
}

.hero-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 72px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--red-500);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-content h1 {
    max-width: 840px;
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
}

.hero-content h2 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(28px, 4.3vw, 50px);
    line-height: 1.08;
}

.hero-content p {
    max-width: 700px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.primary-button {
    color: var(--white);
    background: var(--blue-600);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.primary-button:hover,
.light-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.primary-button:hover {
    background: var(--blue-700);
}

.ghost-button {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.light-button {
    color: var(--blue-700);
    background: var(--white);
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 36px;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.18s ease, background 0.18s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--white);
}

.section {
    padding: 54px 0;
}

.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--gray-100);
}

.section-hot {
    color: var(--white);
    background: linear-gradient(90deg, var(--orange-500), var(--red-500));
}

.section-green {
    color: var(--white);
    background: linear-gradient(135deg, var(--green-500), var(--teal-600));
}

.section-blue {
    color: var(--white);
    background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.section-hot .section-heading p,
.section-green .section-heading p,
.section-blue .section-heading p {
    color: rgba(255, 255, 255, 0.82);
}

.section-heading a {
    color: var(--blue-600);
    font-weight: 800;
}

.section-hot .section-heading a,
.section-green .section-heading a,
.section-blue .section-heading a {
    color: var(--white);
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card > a:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.movie-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-200);
}

.compact-card .movie-cover {
    aspect-ratio: 2 / 3;
}

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

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

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--white);
    background: rgba(37, 99, 235, 0.88);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.38);
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500), var(--red-500));
    border-radius: 999px;
    font-weight: 900;
}

.movie-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.meta-row,
.card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 12px;
}

.meta-row span:first-child {
    color: var(--blue-600);
    font-weight: 800;
}

.movie-info h3 {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 10px 0 8px;
    overflow: hidden;
    color: var(--gray-950);
    font-size: 18px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-info p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-foot {
    margin-top: auto;
}

.movie-strip-wrap {
    position: relative;
}

.movie-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.movie-strip::-webkit-scrollbar {
    display: none;
}

.movie-strip .movie-card {
    flex: 0 0 286px;
}

.strip-buttons {
    display: flex;
    gap: 10px;
}

.strip-buttons button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--white);
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    transition: background 0.18s ease;
}

.strip-buttons button:hover {
    background: rgba(255, 255, 255, 0.32);
}

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

.category-tile {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    color: var(--white);
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
    box-shadow: var(--shadow-card);
}

.category-tile:nth-child(2n) {
    background: linear-gradient(135deg, var(--orange-500), var(--red-500));
}

.category-tile:nth-child(3n) {
    background: linear-gradient(135deg, var(--green-500), var(--teal-600));
}

.category-tile::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -42px;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.category-tile h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 24px;
}

.category-tile p {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.category-tile span {
    position: relative;
    margin-top: 22px;
    font-weight: 850;
}

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

.movie-card-list > a {
    flex-direction: row;
}

.movie-card-list .movie-cover {
    flex: 0 0 280px;
    aspect-ratio: 16 / 10;
}

.page-hero {
    color: var(--white);
    background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
    padding: 64px 0;
}

.page-hero.dark {
    background: linear-gradient(90deg, var(--gray-900), var(--gray-800));
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
}

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

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 160px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.filter-bar input,
.filter-bar select,
.search-panel input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    outline: none;
    background: var(--white);
}

.filter-bar input:focus,
.filter-bar select:focus,
.search-panel input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.no-results {
    display: none;
    padding: 24px;
    text-align: center;
    color: var(--gray-600);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.no-results.is-visible {
    display: block;
}

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

.breadcrumb {
    margin: 0 0 18px;
    color: var(--gray-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--blue-600);
    font-weight: 700;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: var(--gray-950);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 54px rgba(3, 7, 18, 0.30);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--gray-950);
}

.player-poster {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--gray-950);
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(0, 0, 0, 0.68));
}

.big-play {
    position: relative;
    z-index: 2;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    color: var(--white);
    border: 0;
    border-radius: 999px;
    background: var(--blue-600);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.38);
    cursor: pointer;
    font-size: 34px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.big-play:hover {
    transform: scale(1.06);
    background: var(--blue-700);
}

.player-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 16px;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent);
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.player-shell:hover .player-controls,
.player-controls.is-visible {
    opacity: 1;
}

.player-controls .left-controls,
.player-controls .right-controls {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.player-controls button {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    color: var(--white);
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.player-controls button:hover {
    background: rgba(255, 255, 255, 0.30);
}

.detail-card,
.sidebar-card,
.text-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.detail-card {
    margin-top: 22px;
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.detail-card .lead {
    margin: 0 0 20px;
    color: var(--gray-600);
    font-size: 18px;
}

.badge-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 22px;
}

.badge-row span,
.tag-row span,
.tag-row a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    color: var(--blue-700);
    background: #eff6ff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
}

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

.info-grid div {
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
}

.info-grid b {
    display: block;
    color: var(--gray-500);
    font-size: 12px;
}

.info-grid span {
    color: var(--gray-900);
    font-weight: 800;
}

.text-card {
    margin-top: 18px;
    padding: 26px;
}

.text-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

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

.sidebar-card {
    padding: 18px;
    margin-bottom: 18px;
}

.sidebar-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.sidebar-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.sidebar-card p {
    margin: 0 0 14px;
    color: var(--gray-600);
}

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

.related-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.18s ease;
}

.related-item:hover {
    background: var(--gray-50);
}

.related-item img {
    width: 84px;
    height: 62px;
    object-fit: cover;
    border-radius: 10px;
}

.related-item h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-item p {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 26px;
}

.search-panel button {
    min-height: 44px;
    padding: 0 24px;
    color: var(--white);
    cursor: pointer;
    border: 0;
    border-radius: 12px;
    background: var(--blue-600);
    font-weight: 800;
}

.cta-block {
    padding: 48px;
    text-align: center;
    border-radius: 24px;
}

.cta-block h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.cta-block p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.84);
}

.site-footer {
    color: var(--gray-300);
    background: var(--gray-900);
}

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

.footer-brand {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 20px;
}

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

.site-footer p {
    margin: 0;
    color: var(--gray-400);
}

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

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

.footer-bottom {
    padding: 18px 16px;
    text-align: center;
    color: var(--gray-500);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hidden-by-filter {
    display: none !important;
}

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

    .mobile-menu-button {
        display: flex;
        margin-left: auto;
    }

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

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

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

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

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

    .brand-text {
        max-width: 240px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
    }

    .hero-carousel {
        height: 620px;
    }

    .hero-shade {
        background:
            linear-gradient(0deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.28)),
            linear-gradient(90deg, rgba(3, 7, 18, 0.78), rgba(3, 7, 18, 0.24));
    }

    .hero-content {
        padding-bottom: 86px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-dots {
        right: 16px;
        left: 16px;
        justify-content: center;
    }

    .section {
        padding: 38px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

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

    .movie-strip .movie-card {
        flex-basis: 260px;
    }

    .movie-card-list > a {
        flex-direction: column;
    }

    .movie-card-list .movie-cover {
        flex-basis: auto;
    }

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

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

    .detail-card,
    .text-card {
        padding: 20px;
    }

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

.mini-links {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
    padding-left: 18px;
    color: var(--gray-700);
}

.mini-links a:hover {
    color: var(--blue-600);
}
