:root {
    --site-radius-xl: 28px;
    --site-radius-lg: 22px;
    --site-shadow: 0 18px 55px rgba(31, 38, 135, 0.24);
    --site-purple: #764ba2;
    --site-pink: #f093fb;
    --site-blue: #4facfe;
    --site-dark: #1f2937;
    --site-muted: #6b7280;
    --site-glass: rgba(255, 255, 255, 0.78);
}

.static-movie-site {
    min-height: 100vh;
    color: var(--site-dark);
    overflow-x: hidden;
}

.static-movie-site a {
    color: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
}

.site-header__inner {
    width: min(1280px, calc(100% - 32px));
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #c084fc, #f9a8d4);
    font-size: 26px;
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.25);
}

.brand__text {
    font-weight: 800;
    font-size: clamp(20px, 2.1vw, 28px);
    white-space: nowrap;
}

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

.desktop-nav > a,
.nav-dropdown > button {
    padding: 10px 12px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 650;
    transition: all 0.25s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown:hover > button {
    color: var(--site-purple);
    background: rgba(255, 255, 255, 0.55);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown__panel a {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    color: #4b5563;
}

.nav-dropdown__panel a:hover {
    background: rgba(255, 255, 255, 0.72);
    color: var(--site-purple);
}

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

.header-search input,
.mobile-search input,
.filter-bar input {
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    outline: none;
    color: #374151;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-search input {
    width: 250px;
    padding: 10px 16px;
}

.header-search button,
.mobile-search button {
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--site-purple);
    font-weight: 700;
    transition: all 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

.mobile-menu-button,
.mobile-menu {
    display: none;
}

.hero-carousel {
    position: relative;
    min-height: 720px;
    margin-bottom: 50px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.65), rgba(240, 147, 251, 0.45));
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 48px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 110px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-slide__backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    filter: blur(34px) saturate(1.25);
    opacity: 0.32;
    transform: scale(1.08);
}

.hero-slide__shade {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34), transparent 32%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.88), rgba(118, 75, 162, 0.72), rgba(240, 147, 251, 0.62));
}

.hero-slide__content {
    max-width: 720px;
    animation: fadeInUp 0.9s ease both;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
}

.section-kicker {
    color: var(--site-purple);
    background: rgba(255, 255, 255, 0.58);
}

.hero-slide h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    font-weight: 900;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.hero-slide p {
    max-width: 660px;
    margin: 0 0 24px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.hero-meta,
.detail-meta,
.list-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta span,
.detail-meta span,
.list-card__stats span {
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
}

.hero-play {
    display: inline-flex;
    color: var(--site-purple);
    background: rgba(255, 255, 255, 0.9);
}

.hero-secondary {
    display: inline-flex;
    border-radius: 999px;
    padding: 13px 22px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
    font-weight: 800;
    backdrop-filter: blur(18px);
}

.hero-slide__poster {
    display: block;
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 30px 80px rgba(31, 38, 135, 0.38);
    transform: rotate(2deg);
}

.hero-slide__poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
    z-index: 1;
}

.hero-slide__poster img,
.movie-card__cover img,
.list-card__poster img,
.detail-hero__poster img,
.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #e9d5ff, #fce7f3, #dbeafe);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 34px;
    backdrop-filter: blur(18px);
    transition: all 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.42);
    transform: translateY(-2px);
}

.hero-arrow--prev {
    left: max(24px, calc((100% - 1180px) / 2 - 70px));
}

.hero-arrow--next {
    right: max(24px, calc((100% - 1180px) / 2 - 70px));
}

.hero-thumbs {
    position: absolute;
    right: 0;
    bottom: 26px;
    left: 0;
    z-index: 6;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.hero-thumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    backdrop-filter: blur(20px);
    opacity: 0.76;
    transition: all 0.25s ease;
}

.hero-thumb img {
    width: 46px;
    height: 58px;
    border-radius: 12px;
    flex: 0 0 auto;
}

.hero-thumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

.hero-thumb.is-active,
.hero-thumb:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
}

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

.stat-card {
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    color: var(--site-purple);
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--site-muted);
    font-weight: 700;
}

.section-block {
    margin: 0 0 66px;
}

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

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

.section-heading h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
}

.section-heading p,
.page-hero p {
    margin: 10px 0 0;
    color: #4b5563;
    line-height: 1.8;
}

.section-heading > a {
    color: var(--site-purple);
    font-weight: 800;
}

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

.category-tile {
    display: flex;
    min-height: 178px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
}

.category-tile span {
    font-size: 34px;
}

.category-tile strong {
    font-size: 22px;
    color: #374151;
}

.category-tile em,
.category-tile small {
    color: var(--site-muted);
    font-style: normal;
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.movie-card__cover {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: rgba(255, 255, 255, 0.35);
}

.movie-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--site-purple);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84);
    transition: all 0.25s ease;
}

.movie-card:hover .movie-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-card__duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.58);
    color: #ffffff;
    font-size: 12px;
    backdrop-filter: blur(12px);
}

.movie-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.movie-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--site-muted);
    font-size: 13px;
}

.movie-card__meta a {
    color: var(--site-purple);
    font-weight: 800;
}

.movie-card h3,
.list-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    color: #1f2937;
}

.movie-card p,
.list-card p {
    margin: 0;
    color: #5b6472;
    font-size: 14px;
    line-height: 1.65;
}

.movie-card__tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(118, 75, 162, 0.1);
    color: var(--site-purple);
    font-size: 12px;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 24px;
    align-items: start;
}

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

.list-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
}

.list-card__poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
}

.rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--site-purple);
    font-weight: 900;
}

.list-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.list-card__stats span {
    background: rgba(118, 75, 162, 0.1);
    color: #6b4d96;
    padding: 5px 8px;
}

.ranking-panel {
    padding: 22px;
}

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

.ranking-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.48);
}

.ranking-list a {
    display: flex;
    min-width: 0;
    gap: 8px;
    color: #374151;
    font-weight: 750;
}

.ranking-list a span {
    color: var(--site-purple);
    font-weight: 950;
}

.ranking-list em {
    color: var(--site-muted);
    font-style: normal;
    white-space: nowrap;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 24px;
    padding: 14px;
    margin-bottom: 22px;
}

.filter-bar input {
    width: 100%;
    padding: 14px 18px;
}

.filter-bar span {
    white-space: nowrap;
    color: var(--site-purple);
    font-weight: 900;
}

.page-main {
    padding-top: 116px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: clamp(28px, 5vw, 56px);
}

.page-hero::after,
.detail-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.38), transparent 68%);
}

.page-hero__icon {
    display: block;
    font-size: 54px;
    margin-bottom: 12px;
}

.category-overview-card {
    padding: 22px;
}

.category-overview-card__main {
    display: flex;
    gap: 16px;
}

.category-overview-card__main span {
    font-size: 42px;
}

.category-overview-card h2 {
    margin: 0;
    font-size: 24px;
}

.category-overview-card p {
    color: var(--site-muted);
    line-height: 1.7;
}

.category-overview-card strong {
    color: var(--site-purple);
}

.category-overview-card__links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.category-overview-card__links a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 14px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.48);
    color: #4b5563;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 750;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 28px;
    padding: 24px;
}

.detail-hero__poster {
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 3 / 4;
    box-shadow: var(--site-shadow);
}

.detail-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 0;
}

.detail-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 950;
}

.detail-line {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
    font-size: 18px;
}

.detail-meta span {
    background: rgba(118, 75, 162, 0.1);
    color: #6b4d96;
}

.player-section {
    overflow: hidden;
    margin-bottom: 28px;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.player-frame video {
    width: 100%;
    height: 100%;
    display: block;
    background: #0f172a;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(118, 75, 162, 0.42)),
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.24), transparent 42%);
    color: #ffffff;
    text-align: center;
}

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

.player-overlay span {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--site-purple);
    font-size: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

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

.player-overlay em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
}

.player-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: var(--site-muted);
}

.player-info .jelly-button {
    color: var(--site-purple);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    margin-bottom: 58px;
}

.detail-content,
.detail-side {
    padding: 26px;
}

.detail-content h2,
.detail-side h2 {
    margin: 0 0 14px;
    color: #374151;
    font-size: 24px;
}

.detail-content p {
    margin: 0 0 24px;
    color: #4b5563;
    line-height: 2;
    font-size: 16px;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
}

.info-list div {
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.52);
}

.info-list dt {
    color: var(--site-muted);
    font-size: 13px;
}

.info-list dd {
    margin: 5px 0 0;
    color: #374151;
    font-weight: 800;
}

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

.side-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-radius: 14px;
    padding: 11px;
    background: rgba(255, 255, 255, 0.52);
}

.side-list a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
    font-weight: 800;
}

.side-list span {
    color: var(--site-muted);
}

.site-footer {
    margin-top: 70px;
    border-radius: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 32px;
    padding: 42px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand .brand__icon {
    width: 42px;
    height: 42px;
}

.site-footer p,
.site-footer li {
    color: var(--site-muted);
    line-height: 1.75;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #374151;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    padding: 18px 0;
    text-align: center;
    color: var(--site-muted);
}

.movie-card.is-hidden,
.list-card.is-hidden {
    display: none;
}

@media (max-width: 1120px) {
    .header-search input {
        width: 190px;
    }

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

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

@media (max-width: 900px) {
    .site-header__inner {
        height: 68px;
    }

    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        margin-left: auto;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.58);
        color: var(--site-purple);
        font-size: 22px;
    }

    .mobile-menu {
        position: fixed;
        top: 76px;
        right: 16px;
        left: 16px;
        z-index: 49;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 16px;
        border-radius: 24px;
    }

    .mobile-menu.is-open {
        display: grid;
    }

    .mobile-menu a,
    .mobile-search {
        border-radius: 16px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.48);
        font-weight: 800;
    }

    .mobile-search {
        grid-column: 1 / -1;
        display: flex;
        gap: 8px;
    }

    .mobile-search input {
        min-width: 0;
        flex: 1;
        padding: 11px 14px;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 96px;
        padding-bottom: 156px;
    }

    .hero-slide__poster {
        max-width: 260px;
        justify-self: center;
        order: -1;
    }

    .hero-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-thumb:nth-child(n + 4) {
        display: none;
    }

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

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

    .split-section,
    .detail-layout,
    .detail-hero,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero__poster {
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .container,
    .site-header__inner,
    .hero-slide,
    .hero-thumbs {
        width: min(100% - 22px, 1180px);
    }

    .brand__icon {
        width: 42px;
        height: 42px;
    }

    .brand__text {
        font-size: 20px;
    }

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

    .hero-slide h1 {
        font-size: 40px;
    }

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

    .hero-arrow {
        display: none;
    }

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

    .hero-thumb:nth-child(n + 2) {
        display: none;
    }

    .stats-grid,
    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .movie-grid--featured,
    .info-list {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .movie-card__body {
        padding: 12px;
    }

    .movie-card h3,
    .list-card h3 {
        font-size: 15px;
    }

    .movie-card p,
    .movie-card__tags {
        display: none;
    }

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

    .filter-bar,
    .section-heading,
    .player-info {
        align-items: stretch;
        flex-direction: column;
    }

    .page-main {
        padding-top: 96px;
    }

    .detail-hero,
    .detail-content,
    .detail-side {
        padding: 18px;
    }

    .detail-line {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .stats-grid,
    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .movie-grid--featured,
    .info-list {
        grid-template-columns: 1fr;
    }
}
