:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --purple-600: #9333ea;
    --blue-50: #eff6ff;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.22);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--rose-50), var(--white) 30%, var(--blue-50));
    color: var(--slate-900);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

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

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

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

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    color: var(--white);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.30);
}

.brand-text {
    font-size: 21px;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--purple-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.desktop-nav a,
.mobile-panel a {
    color: var(--slate-700);
    font-weight: 650;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel a:hover,
.mobile-panel a.is-active {
    color: var(--rose-600);
}

.header-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--white);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-search-line input {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--slate-900);
}

.header-search input {
    width: 210px;
    padding: 11px 14px;
}

.header-search button,
.mobile-search button,
.big-search button,
.filter-search-line button {
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    color: var(--white);
    font-weight: 700;
}

.header-search button {
    align-self: stretch;
    padding: 0 18px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--rose-50);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--rose-600);
}

.mobile-panel {
    display: none;
    padding: 0 18px 18px;
    border-top: 1px solid var(--slate-200);
}

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

.mobile-panel nav {
    display: grid;
    gap: 12px;
    padding-top: 16px;
}

.mobile-search {
    display: flex;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
}

.mobile-search input {
    flex: 1;
    padding: 12px 14px;
}

.mobile-search button {
    padding: 0 18px;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-slides {
    position: relative;
    min-height: 650px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 44px;
    padding: 72px max(32px, calc((100vw - 1180px) / 2)) 94px;
    background-position: center;
    background-size: cover;
    color: var(--white);
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

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

.hero-content {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.inner-hero .eyebrow,
.detail-hero .eyebrow,
.wide-gradient-section .eyebrow {
    color: #ffe4e6;
}

.hero-title,
.hero-slide h2 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 700px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row,
.detail-meta,
.card-meta,
.card-foot,
.horizontal-top,
.quick-links,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.14);
    color: inherit;
    font-size: 13px;
    font-weight: 700;
}

.hero-actions {
    margin-top: 30px;
}

.primary-button,
.ghost-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    padding: 0 24px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    color: var(--white);
    box-shadow: 0 18px 36px rgba(244, 63, 94, 0.34);
}

.ghost-button {
    padding: 0 22px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    color: var(--white);
}

.text-button {
    color: var(--rose-600);
}

.hero .text-button,
.detail-hero .text-button,
.wide-gradient-section .text-button {
    color: var(--white);
}

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

.hero-poster {
    position: relative;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

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

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

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

.hero-dot.is-active {
    width: 38px;
    background: var(--white);
}

.floating-search-card {
    position: relative;
    z-index: 4;
    margin-top: -54px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
}

.floating-search-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.big-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--slate-50);
}

.big-search input {
    flex: 1;
    padding: 17px 22px;
    font-size: 17px;
}

.big-search button {
    padding: 0 32px;
}

.quick-links {
    margin-top: 18px;
}

.quick-links a {
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--rose-50);
    color: var(--rose-600);
    font-weight: 700;
}

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

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

.section-heading.compact {
    margin-bottom: 20px;
}

.section-heading h2,
.inner-hero h1,
.detail-hero h1,
.detail-article h2,
.side-panel h2,
.category-overview-body h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

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

.movie-grid,
.compact-grid,
.large-card-grid,
.category-grid,
.overview-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.80);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-poster {
    position: relative;
    display: block;
    overflow: hidden;
    height: 280px;
    background: var(--slate-100);
}

.movie-card-large .card-poster {
    height: 340px;
}

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

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

.movie-card:hover .card-poster img,
.horizontal-card:hover img,
.category-overview-card:hover img,
.mini-list a:hover img {
    transform: scale(1.08);
}

.card-region,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.card-region {
    right: 12px;
    top: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.rank-badge {
    left: 12px;
    top: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    background: rgba(15, 23, 42, 0.78);
}

.card-body {
    padding: 18px;
}

.card-body h2 {
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.28;
}

.card-body h2 a:hover,
.horizontal-content h2 a:hover,
.category-overview-body h2 a:hover,
.mini-list a:hover {
    color: var(--rose-600);
}

.card-body p,
.horizontal-content p,
.category-overview-body p,
.spotlight-panel p,
.inner-hero p,
.detail-heading-grid p,
.detail-article p,
.site-footer p {
    color: var(--slate-500);
}

.card-body p {
    display: -webkit-box;
    min-height: 50px;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.card-meta,
.card-foot {
    justify-content: space-between;
    color: var(--slate-500);
    font-size: 13px;
}

.card-foot {
    margin-top: 8px;
}

.wide-gradient-section {
    margin-top: 74px;
    padding: 72px 0;
    background: linear-gradient(120deg, var(--blue-500), var(--cyan-500));
    color: var(--white);
}

.section-heading.light h2,
.section-heading.light a,
.section-heading.light .eyebrow {
    color: var(--white);
}

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 24px;
    background-position: center;
    background-size: cover;
    color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.category-tile span,
.category-tile strong,
.category-tile em {
    position: relative;
    display: block;
}

.category-tile span {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 900;
}

.category-tile strong {
    min-height: 48px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.category-tile em {
    margin-top: 24px;
    font-style: normal;
    font-weight: 800;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 30px;
}

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

.horizontal-card {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.horizontal-image {
    overflow: hidden;
    min-height: 138px;
}

.horizontal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.horizontal-content {
    padding: 16px 18px 16px 0;
}

.horizontal-top {
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 700;
}

.list-rank {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    color: var(--white);
}

.horizontal-content h2 {
    margin: 8px 0 6px;
    font-size: 20px;
}

.horizontal-content p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span {
    background: var(--rose-50);
    color: var(--rose-600);
}

.spotlight-panel {
    position: sticky;
    top: 98px;
    align-self: start;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 28px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.spotlight-panel h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.14;
}

.spotlight-panel img {
    width: 100%;
    height: 260px;
    margin-top: 24px;
    border-radius: 20px;
    object-fit: cover;
}

.page-hero-layout {
    background: linear-gradient(180deg, var(--rose-50), var(--white) 34%, var(--blue-50));
}

.inner-hero {
    padding: 78px 0 70px;
    background: linear-gradient(120deg, var(--rose-500), var(--pink-500), var(--purple-600));
    color: var(--white);
}

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

.single-line {
    margin-top: 26px;
}

.filter-panel {
    margin-bottom: 30px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.filter-search-line {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--slate-50);
}

.filter-search-line input {
    flex: 1;
    padding: 15px 18px;
}

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

.filter-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.filter-selects select {
    width: 100%;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--white);
    color: var(--slate-700);
}

.filter-count {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--slate-500);
    font-weight: 700;
}

.category-movie-grid {
    padding-bottom: 52px;
}

.category-overview-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-preview {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    height: 230px;
    gap: 6px;
    overflow: hidden;
    background: var(--slate-100);
}

.category-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.category-overview-body h2 {
    font-size: 28px;
}

.category-overview-body span {
    display: inline-block;
    margin: 12px 0;
    color: var(--rose-600);
    font-weight: 800;
}

.full-ranking {
    padding-bottom: 52px;
}

.detail-hero {
    padding: 54px 0 70px;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--white);
}

.detail-heading-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-cover {
    width: 100%;
    height: 460px;
    border: 8px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.detail-heading-grid h1 {
    font-size: clamp(38px, 6vw, 68px);
}

.detail-heading-grid p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

.detail-meta {
    margin: 22px 0;
}

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

.player-section {
    margin-top: -44px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 10px solid var(--white);
    border-radius: var(--radius-xl);
    background: #020617;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #020617;
    color: var(--white);
    cursor: pointer;
}

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

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    filter: blur(1px);
}

.play-circle {
    position: relative;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 60px rgba(244, 63, 94, 0.42);
    font-size: 36px;
    text-indent: 5px;
}

.player-cover strong {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    font-size: clamp(24px, 4vw, 42px);
    text-align: left;
}

.player-message {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 3;
    margin: 0;
    color: var(--white);
    font-weight: 800;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    padding-top: 66px;
}

.detail-article,
.side-panel {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.detail-article {
    padding: 32px;
}

.detail-article h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 28px;
}

.detail-article h2:first-child {
    margin-top: 0;
}

.detail-article p {
    margin: 0;
    font-size: 17px;
}

.info-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid var(--slate-100);
    padding: 10px 0;
}

.info-list dt {
    color: var(--slate-500);
    font-weight: 800;
}

.info-list dd {
    margin: 0;
}

.side-panel {
    align-self: start;
    padding: 24px;
}

.side-panel h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

.mini-list {
    display: grid;
    gap: 14px;
}

.mini-list a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--slate-900);
    font-weight: 800;
}

.mini-list img {
    width: 72px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mini-list small {
    display: block;
    margin-top: 4px;
    color: var(--slate-500);
    font-weight: 650;
}

.site-footer {
    margin-top: 86px;
    background: var(--slate-900);
    color: var(--slate-200);
}

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

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

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

.site-footer a {
    display: block;
    margin: 8px 0;
    color: var(--slate-200);
}

.site-footer a:hover {
    color: var(--white);
}

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

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

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

    .menu-toggle {
        display: block;
    }

    .header-search {
        margin-left: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding-top: 66px;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .spotlight-panel {
        position: static;
    }

    .detail-heading-grid {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .detail-cover {
        height: 360px;
    }

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

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

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

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

    .header-search {
        display: none;
    }

    .hero,
    .hero-slides {
        min-height: 600px;
    }

    .hero-slide {
        padding: 50px 20px 90px;
    }

    .hero-title,
    .hero-slide h2 {
        font-size: 42px;
    }

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

    .floating-search-card {
        margin-top: -42px;
        padding: 22px;
    }

    .big-search,
    .filter-search-line {
        border-radius: 22px;
        flex-direction: column;
    }

    .big-search button,
    .filter-search-line button {
        padding: 13px;
    }

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

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

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

    .horizontal-image {
        min-height: 148px;
    }

    .horizontal-content {
        padding: 14px 14px 14px 0;
    }

    .horizontal-content p {
        -webkit-line-clamp: 3;
    }

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

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

    .detail-cover {
        width: min(280px, 100%);
        height: 400px;
    }

    .detail-article {
        padding: 24px;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .player-shell {
        border-width: 5px;
        border-radius: 22px;
    }

    .play-circle {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .player-cover strong {
        left: 20px;
        right: 20px;
        bottom: 18px;
    }

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