:root {
    --page-bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --brand: #f97316;
    --brand-deep: #ea580c;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --slate: #0f172a;
    --slate-soft: #1e293b;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

img,
video {
    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: 80;
    color: #ffffff;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.34);
}

.brand-text {
    font-size: 24px;
    background: linear-gradient(90deg, #fb923c, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 650;
    transition: color 0.2s ease;
}

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

.header-search {
    position: relative;
    width: 260px;
}

.header-search input,
.mobile-nav input,
.search-page-form input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: rgba(30, 41, 59, 0.96);
    border-radius: 999px;
    padding: 12px 46px 12px 18px;
}

.header-search input:focus,
.mobile-nav input:focus,
.search-page-form input:focus,
.filter-row select:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    background: rgba(15, 23, 42, 0.98);
}

.mobile-nav.is-open {
    display: grid;
    gap: 12px;
}

.mobile-nav form {
    display: flex;
    gap: 8px;
}

.mobile-nav button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    padding: 10px 16px;
}

.hero-carousel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #020617;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(1.02);
}

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

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 24%, rgba(236, 72, 153, 0.32), transparent 36%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.76) 45%, rgba(2, 6, 23, 0.35) 100%),
        linear-gradient(0deg, #020617 0%, transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 52px;
    color: #ffffff;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.94), rgba(236, 72, 153, 0.94));
    color: #ffffff;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-copy h1,
.page-hero h1,
.detail-card h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

.hero-tags,
.detail-tags,
.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span,
.detail-tags span,
.movie-tags span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
}

.movie-tags span {
    background: #ffedd5;
    color: #c2410c;
}

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

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

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.32);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-3px);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
}

.ghost-button.light {
    color: var(--ink);
    background: #ffffff;
    border-color: var(--line);
}

.hero-feature-card {
    align-self: center;
    border-radius: 30px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-feature-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    object-fit: cover;
    background: #111827;
}

.hero-feature-card span {
    display: block;
    margin: 16px 0 4px;
    color: #fb923c;
    font-size: 13px;
    font-weight: 850;
}

.hero-feature-card strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-controls button {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    cursor: pointer;
}

.hero-controls > button {
    width: 44px;
    height: 44px;
    font-size: 28px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    opacity: 0.55;
}

.hero-dot.is-active {
    width: 28px;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    opacity: 1;
}

.search-band {
    margin-top: -34px;
    position: relative;
    z-index: 8;
}

.search-band-inner {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px);
    gap: 24px;
    align-items: center;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
    padding: 26px;
}

.search-band h2,
.section-heading h2,
.side-panel h2,
.content-panel h2,
.catalog-block h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
}

.search-band p,
.section-heading p,
.page-hero p,
.movie-card-body p,
.category-card small,
.category-overview-card p,
.detail-card p,
.content-panel p {
    color: var(--muted);
}

.search-band form,
.search-page-form {
    position: relative;
    display: flex;
    gap: 10px;
}

.search-band input,
.search-page-form input {
    min-height: 54px;
    color: var(--ink);
    background: #f1f5f9;
}

.search-band button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    padding: 0 22px;
    font-weight: 850;
    cursor: pointer;
}

.section {
    padding: 74px 0;
}

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

.section-heading div {
    display: grid;
    gap: 8px;
}

.section-heading span {
    width: 52px;
    height: 5px;
    display: inline-block;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--pink));
}

.section-heading a {
    color: var(--brand-deep);
    font-weight: 850;
}

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

.category-card {
    display: grid;
    gap: 12px;
    min-height: 190px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    border: 1px solid rgba(249, 115, 22, 0.12);
    padding: 22px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    font-weight: 900;
}

.category-card strong {
    font-size: 22px;
}

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

.movie-card {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

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

.movie-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #0f172a, #334155);
    overflow: hidden;
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 54%);
    opacity: 0.85;
}

.movie-type,
.rank-mark,
.play-chip {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 850;
}

.movie-type {
    left: 12px;
    bottom: 12px;
    background: rgba(249, 115, 22, 0.96);
    padding: 5px 10px;
    font-size: 12px;
}

.rank-mark {
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    padding: 6px 11px;
    font-size: 12px;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--brand-deep);
}

.movie-card-body p {
    min-height: 52px;
    margin: 0 0 14px;
    font-size: 14px;
}

.movie-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 14px;
}

.ranking-section {
    padding: 74px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #0f172a 100%);
}

.ranking-section .section-heading p,
.ranking-section .section-heading a {
    color: rgba(255, 255, 255, 0.75);
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 38px;
}

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

.ranking-item {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.ranking-link {
    display: grid;
    grid-template-columns: 54px 72px 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
}

.ranking-number {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    font-weight: 900;
}

.ranking-link img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    background: #111827;
}

.ranking-content {
    display: grid;
    gap: 3px;
}

.ranking-content strong {
    font-size: 18px;
}

.ranking-content em,
.ranking-content small {
    color: rgba(255, 255, 255, 0.72);
    font-style: normal;
}

.compact-grid {
    display: grid;
    gap: 16px;
}

.movie-card-compact .movie-card-link {
    display: grid;
    grid-template-columns: 108px 1fr;
}

.movie-card-compact .movie-poster {
    aspect-ratio: 3 / 4;
}

.movie-card-compact .movie-card-body p {
    min-height: auto;
}

.page-hero {
    margin-top: 36px;
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.35), transparent 32%),
        linear-gradient(135deg, #0f172a, #1e293b);
    padding: clamp(34px, 7vw, 74px);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

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

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

.category-overview-card {
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
    transition: transform 0.2s ease;
}

.category-overview-card a {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 230px;
}

.category-overview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111827;
}

.category-overview-card div {
    padding: 26px;
}

.category-overview-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    font-weight: 900;
}

.category-overview-card h2 {
    margin: 18px 0 8px;
    font-size: 28px;
}

.category-overview-card strong {
    color: var(--brand-deep);
}

.category-page-layout,
.detail-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.side-panel,
.content-panel {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.side-panel {
    position: sticky;
    top: 100px;
}

.side-panel .ranking-item {
    background: #f8fafc;
    border-color: var(--line);
}

.side-panel .ranking-link {
    grid-template-columns: 42px 58px 1fr;
    padding: 9px;
}

.side-panel .ranking-link img {
    width: 58px;
    height: 78px;
}

.side-panel .ranking-content em,
.side-panel .ranking-content small {
    color: var(--muted);
}

.side-panel .ranking-content strong {
    color: var(--ink);
    font-size: 15px;
}

.catalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.catalog-nav a {
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-deep);
    padding: 8px 14px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.catalog-block {
    margin-bottom: 54px;
}

.catalog-block h2 {
    margin-bottom: 20px;
}

.full-ranking .ranking-item {
    background: #ffffff;
    border: 1px solid var(--line);
}

.full-ranking .ranking-content strong,
.full-ranking .ranking-content em,
.full-ranking .ranking-content small {
    color: var(--ink);
}

.full-ranking .ranking-content em,
.full-ranking .ranking-content small {
    color: var(--muted);
}

.search-page-form {
    max-width: 760px;
    margin-top: 26px;
}

.filter-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.filter-row select {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    background: #ffffff;
    padding: 0 16px;
    outline: 0;
}

.search-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.search-result-bar h2 {
    margin: 0;
    font-size: 30px;
}

.search-result-bar span {
    color: var(--muted);
    font-weight: 700;
}

.detail-top {
    padding: 38px 0;
    background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #1e293b 100%);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 420px;
    gap: 28px;
    align-items: stretch;
}

.player-frame {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #1e293b, #020617 70%);
    box-shadow: var(--shadow);
}

.movie-player {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: contain;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18));
    cursor: pointer;
}

.play-icon-large {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--pink));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.38);
    font-size: 34px;
}

.player-frame.is-playing .play-overlay {
    display: none;
}

.detail-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    border-radius: 28px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    padding: 22px;
}

.detail-card img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #111827;
}

.breadcrumb,
.breadcrumb-sep {
    color: #fb923c;
    font-weight: 800;
}

.detail-card h1 {
    margin: 12px 0 12px;
    font-size: 34px;
}

.detail-card p {
    color: rgba(255, 255, 255, 0.78);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.detail-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
}

.content-panel h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.content-panel h2:not(:first-child) {
    margin-top: 34px;
}

.content-panel p {
    margin: 0;
    font-size: 17px;
    white-space: pre-line;
}

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

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

    .hero-content,
    .ranking-layout,
    .category-page-layout,
    .detail-content-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-feature-card {
        max-width: 320px;
    }

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

    .side-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 66px;
    }

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

    .hero-carousel,
    .hero-track,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 34px;
        padding-bottom: 96px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero-copy p,
    .page-hero p {
        font-size: 16px;
    }

    .search-band-inner,
    .category-overview-card a,
    .detail-card {
        grid-template-columns: 1fr;
    }

    .search-band form,
    .search-page-form,
    .filter-row {
        flex-direction: column;
    }

    .search-band button,
    .search-page-form button {
        min-height: 50px;
    }

    .section-heading,
    .search-result-bar {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .ranking-link {
        grid-template-columns: 44px 58px 1fr;
    }

    .ranking-link img {
        width: 58px;
        height: 78px;
    }

    .movie-card-compact .movie-card-link {
        grid-template-columns: 94px 1fr;
    }

    .player-frame,
    .movie-player {
        min-height: 300px;
    }
}

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

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

    .hero-actions,
    .page-hero-actions {
        flex-direction: column;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }
}
