:root {
    --strawberry-50: #fff1f3;
    --strawberry-100: #ffe4e9;
    --strawberry-500: #ff3366;
    --strawberry-600: #e82056;
    --candy-50: #fef1f9;
    --candy-400: #ff8bd2;
    --candy-500: #ff33aa;
    --gummy-400: #ffc947;
    --jelly-400: #8b5cf6;
    --text: #263042;
    --muted: #687083;
    --line: #f1d9e3;
    --white: #ffffff;
    --shadow-soft: 0 2px 15px -3px rgba(255, 51, 102, 0.3), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
    --shadow-gummy: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.5);
    --gradient-candy: linear-gradient(135deg, #ff6b8e, #ff33aa, #ffa3dd);
    --gradient-strawberry: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #fff7fb 48%, #fff1f3 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

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

.glass-effect {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-soft);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand,
.desktop-nav,
.mobile-nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 20px;
    background: var(--gradient-candy);
    box-shadow: var(--shadow-gummy);
}

.brand-text {
    font-size: 24px;
    background: var(--gradient-candy);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.group:hover .group-hover-jelly {
    animation: jelly 0.5s ease-in-out;
}

.desktop-nav {
    gap: 24px;
}

.nav-link,
.mobile-nav-link {
    color: #515a6d;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--strawberry-500);
}

.nav-link:hover {
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 16px;
    background: var(--strawberry-50);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--strawberry-500);
}

.mobile-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 18px 18px;
}

.mobile-nav-link {
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 241, 243, 0.75);
}

.hero-shell {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: var(--gradient-candy);
}

.hero-orb {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    filter: blur(1px);
}

.orb-one {
    top: 42px;
    left: 8%;
    width: 128px;
    height: 128px;
    animation: float 6s ease-in-out infinite;
}

.orb-two {
    top: 160px;
    right: 12%;
    width: 96px;
    height: 96px;
    animation: bounceSlow 7s ease-in-out infinite;
}

.orb-three {
    bottom: 70px;
    left: 28%;
    width: 168px;
    height: 168px;
    animation: pulseSlow 5s ease-in-out infinite;
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: blur(14px) saturate(1.2);
    transform: scale(1.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #ffffff;
    animation: fadeIn 0.75s ease both;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 800;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

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

.hero-tags,
.tag-row,
.detail-tags,
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags span,
.tag-row span,
.detail-tags a {
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

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

.gummy-button,
.ghost-button,
.more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border: 0;
    border-radius: 24px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.gummy-button {
    color: #ffffff;
    background: var(--gradient-strawberry);
    box-shadow: var(--shadow-soft);
}

.gummy-button:hover,
.more-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gummy);
}

.gummy-button.small {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 14px;
}

.gummy-button.full {
    width: 100%;
}

.ghost-button {
    color: var(--strawberry-500);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.hero-poster {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    height: 420px;
    border: 10px solid rgba(255, 255, 255, 0.24);
    border-radius: 36px;
    box-shadow: 0 30px 80px rgba(96, 24, 88, 0.34);
    transform: rotate(2deg);
}

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

.hero-poster span,
.big-play,
.play-float {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--strawberry-500);
    box-shadow: var(--shadow-gummy);
}

.hero-poster span {
    inset: 50% auto auto 50%;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.featured-strip {
    position: relative;
    z-index: 10;
    margin-top: -92px;
    margin-bottom: 84px;
}

.featured-grid,
.movie-grid,
.category-grid,
.category-overview-grid {
    display: grid;
    gap: 24px;
}

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

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

.all-grid {
    align-items: stretch;
}

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

.movie-card,
.category-overview-card,
.detail-info-card,
.side-card,
.filter-panel,
.search-panel,
.ranking-panel {
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link,
.featured-cover,
.horizontal-poster,
.category-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe7ef, #ffeefb);
}

.poster-link {
    height: 260px;
}

.poster-link img,
.featured-cover img,
.horizontal-poster img,
.category-tile img,
.side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover img,
.category-tile:hover img,
.hero-poster:hover img {
    transform: scale(1.08);
}

.poster-shade,
.featured-overlay,
.category-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.75) 100%);
}

.play-float,
.big-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-float {
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    font-size: 23px;
}

.big-play {
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    font-size: 28px;
}

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

.duration {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.movie-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 44px;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-title:hover,
.category-overview-body h2 a:hover {
    color: var(--strawberry-500);
}

.card-body p,
.horizontal-body p,
.category-overview-body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #70798b;
    font-size: 13px;
}

.movie-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-row {
    margin-top: 14px;
}

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

.featured-card {
    min-height: 384px;
}

.featured-cover {
    height: 384px;
    color: #ffffff;
}

.featured-text {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 2;
}

.featured-text strong,
.featured-text em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.featured-text strong {
    -webkit-line-clamp: 2;
    font-size: 24px;
    line-height: 1.25;
}

.featured-text em {
    -webkit-line-clamp: 2;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.6;
}

.content-section,
.category-section,
.rail-section {
    margin-bottom: 84px;
}

.category-section,
.rail-section {
    padding: 64px 0;
    background: linear-gradient(90deg, var(--candy-50), var(--strawberry-50));
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background: var(--gradient-strawberry);
    box-shadow: var(--shadow-gummy);
    font-size: 24px;
}

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

.section-heading p {
    margin: 6px 0 0;
    color: var(--muted);
}

.movie-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0 22px;
    scroll-snap-type: x mandatory;
}

.rail-item {
    flex: 0 0 290px;
    scroll-snap-align: start;
}

.two-column-section,
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
}

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

.horizontal-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: stretch;
}

.horizontal-poster {
    height: 136px;
}

.horizontal-body {
    position: relative;
    padding: 18px;
}

.rank-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--gradient-candy);
    box-shadow: var(--shadow-soft);
}

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

.compact-list .horizontal-poster {
    height: 104px;
}

.more-link {
    margin-top: 20px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
}

.category-tile {
    height: 190px;
    border-radius: 28px;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-tile strong,
.category-tile em {
    position: absolute;
    z-index: 2;
    left: 18px;
}

.category-tile strong {
    bottom: 44px;
    font-size: 22px;
}

.category-tile em {
    bottom: 20px;
    font-style: normal;
    opacity: 0.86;
}

.search-panel,
.filter-panel {
    padding: 24px;
    margin-bottom: 44px;
}

.search-form label,
.filter-search label {
    display: block;
    margin-bottom: 10px;
    font-weight: 900;
}

.search-form div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
}

.search-form input,
.filter-search input {
    width: 100%;
    min-height: 50px;
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 0 18px;
    color: var(--text);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus,
.filter-search input:focus {
    border-color: var(--strawberry-500);
    box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.1);
}

.page-shell {
    padding: 32px 0 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 54px;
    border-radius: 40px;
    color: #ffffff;
    background: var(--gradient-candy);
    box-shadow: var(--shadow-gummy);
}

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

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.small-hero {
    min-height: 230px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    gap: 18px;
}

.sticky-filter {
    position: sticky;
    top: 88px;
    z-index: 30;
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    color: #ffffff;
    background: var(--gradient-strawberry);
}

.filter-count {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
}

.category-cover-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    height: 240px;
    background: var(--strawberry-50);
}

.category-cover-wall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.category-overview-body h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.ranking-top {
    margin-bottom: 42px;
}

.detail-main,
.detail-side {
    min-width: 0;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background: #111827;
    box-shadow: 0 24px 70px rgba(40, 12, 36, 0.22);
    aspect-ratio: 16 / 9;
}

.player-card video {
    width: 100%;
    height: 100%;
    background: #111827;
    object-fit: cover;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.68));
    cursor: pointer;
}

.player-overlay span {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--strawberry-500);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-gummy);
    font-size: 34px;
}

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

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

.player-message {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

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

.detail-info-card h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.12;
}

.detail-meta,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    font-weight: 800;
    font-size: 13px;
}

.detail-tags a {
    color: var(--strawberry-600);
    background: linear-gradient(90deg, var(--strawberry-50), var(--candy-50));
}

.detail-info-card section {
    border-top: 1px solid #f1e2e9;
    padding-top: 22px;
    margin-top: 22px;
}

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

.detail-info-card p {
    margin: 0;
    color: #50586b;
    line-height: 1.9;
    font-size: 16px;
}

.sticky-side {
    position: sticky;
    top: 96px;
}

.side-card {
    padding: 22px;
}

.side-card img {
    height: 420px;
    border-radius: 26px;
    background: linear-gradient(135deg, #ffe7ef, #ffeefb);
}

.side-card h2 {
    margin: 20px 0 14px;
}

.side-card dl {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
}

.side-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed #f0d7e2;
    padding-bottom: 10px;
}

.side-card dt {
    color: var(--muted);
}

.side-card dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.site-footer {
    margin-top: 84px;
    padding: 54px 0 26px;
    background: linear-gradient(180deg, #ffffff, #fff1f3);
    border-top: 1px solid #f3d8e2;
}

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

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--strawberry-600);
    font-size: 18px;
}

.footer-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--strawberry-500);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 34px auto 0;
    border-top: 1px solid #f3d8e2;
    padding-top: 22px;
    color: var(--muted);
}

.back-to-top {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    cursor: pointer;
}

[data-card].is-hidden {
    display: none;
}

@keyframes jelly {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.9, 1.1);
    }
    50% {
        transform: scale(1.1, 0.9);
    }
    75% {
        transform: scale(0.95, 1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(20px) scale(1.05);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.22;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.34;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

    .sticky-side {
        position: static;
    }
}

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

    .mobile-toggle {
        display: block;
    }

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

    .hero-shell {
        height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
        align-content: center;
        padding: 78px 0 92px;
    }

    .hero-poster {
        width: min(320px, 84vw);
        height: 300px;
        justify-self: center;
        transform: none;
    }

    .featured-strip {
        margin-top: -58px;
    }

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

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .category-cover-wall {
        height: 220px;
    }
}

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

    .hero-shell {
        height: 760px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

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

    .poster-link {
        height: 230px;
    }

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

    .horizontal-poster,
    .compact-list .horizontal-poster {
        height: 128px;
    }

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

    .page-hero {
        padding: 34px 22px;
        border-radius: 28px;
    }

    .detail-info-card,
    .side-card,
    .filter-panel,
    .search-panel {
        border-radius: 24px;
        padding: 18px;
    }

    .player-card {
        border-radius: 22px;
    }

    .side-card img {
        height: 340px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
