:root {
    color-scheme: light;
    --pink: #ec4899;
    --pink-dark: #db2777;
    --rose: #fb7185;
    --orange: #fb923c;
    --blue: #0ea5e9;
    --cyan: #06b6d4;
    --green: #10b981;
    --yellow: #f59e0b;
    --red: #ef4444;
    --indigo: #6366f1;
    --purple: #a855f7;
    --slate: #334155;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #fff7fb;
    --card: #ffffff;
    --shadow: 0 20px 50px rgba(244, 63, 94, 0.14);
    --shadow-strong: 0 30px 70px rgba(236, 72, 153, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #fff1f8 0%, #fff7ed 45%, #ecfeff 100%);
}

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

img {
    display: block;
    max-width: 100%;
    background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

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: linear-gradient(90deg, #ec4899 0%, #fb7185 50%, #fb923c 100%);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.25);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
    transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
    transform: rotate(12deg) scale(1.04);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--pink);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 255, 255, 0.18);
}

.header-search {
    position: relative;
    width: min(300px, 28vw);
}

.header-search input,
.filter-input,
.search-hero input {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(12px);
}

.header-search input {
    height: 42px;
    padding: 0 18px 0 44px;
}

.header-search input::placeholder,
.search-hero input::placeholder {
    color: rgba(255, 255, 255, 0.74);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.76);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

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

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink), var(--rose), var(--orange));
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    transform: scale(1.04);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.26), transparent 28%),
        linear-gradient(90deg, rgba(236, 72, 153, 0.86), rgba(251, 113, 133, 0.82), rgba(251, 146, 60, 0.76));
}

.hero-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(760px, 100%);
    padding: 52px 0 36px;
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.hero h1 span {
    color: #fef3c7;
}

.hero-desc {
    max-width: 690px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-actions,
.section-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    color: var(--pink);
    background: #fff;
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
    background: #fef3c7;
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
}

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

.hero-dot {
    width: 34px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 56px;
    background: #fff;
}

.section {
    padding: 70px 0;
}

.section-soft-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}

.section-soft-rose {
    background: linear-gradient(135deg, #fdf2f8 0%, #fff7ed 100%);
}

.section-soft-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: var(--shadow);
    font-size: 26px;
}

.section h2,
.page-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-subtitle,
.page-desc {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pink);
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    display: flex;
    min-height: 142px;
    padding: 22px 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-tile:hover::before {
    opacity: 1;
}

.category-tile.theme-pink::before { background: linear-gradient(135deg, #ec4899, #fb7185); }
.category-tile.theme-orange::before { background: linear-gradient(135deg, #f97316, #f59e0b); }
.category-tile.theme-blue::before { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.category-tile.theme-rose::before { background: linear-gradient(135deg, #fb7185, #f43f5e); }
.category-tile.theme-red::before { background: linear-gradient(135deg, #ef4444, #fb7185); }
.category-tile.theme-indigo::before { background: linear-gradient(135deg, #4f46e5, #1d4ed8); }
.category-tile.theme-yellow::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.category-tile.theme-cyan::before { background: linear-gradient(135deg, #06b6d4, #22c55e); }
.category-tile.theme-purple::before { background: linear-gradient(135deg, #a855f7, #ec4899); }
.category-tile.theme-green::before { background: linear-gradient(135deg, #10b981, #22c55e); }
.category-tile.theme-amber::before { background: linear-gradient(135deg, #d97706, #fbbf24); }
.category-tile.theme-slate::before { background: linear-gradient(135deg, #334155, #64748b); }

.category-tile-inner {
    position: relative;
    z-index: 1;
}

.category-tile-icon {
    display: block;
    margin-bottom: 10px;
    font-size: 42px;
    transition: transform 0.25s ease;
}

.category-tile:hover .category-tile-icon {
    transform: scale(1.2) rotate(3deg);
}

.category-tile strong {
    display: block;
    color: var(--ink);
    font-size: 17px;
    transition: color 0.25s ease;
}

.category-tile span:last-child {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    transition: color 0.25s ease;
}

.category-tile:hover strong,
.category-tile:hover span:last-child {
    color: #fff;
}

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(236, 72, 153, 0.24);
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.poster-wrap.tall {
    aspect-ratio: 3 / 4;
}

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

.movie-card:hover img,
.horizontal-card:hover img,
.rank-card:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--rose));
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
}

.poster-badge {
    position: absolute;
    left: 14px;
    top: 14px;
}

.duration {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.play-hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .play-hover,
.horizontal-card:hover .play-hover,
.rank-card:hover .play-hover {
    opacity: 1;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: #fff;
    background: var(--pink);
    box-shadow: 0 18px 40px rgba(236, 72, 153, 0.34);
    font-size: 22px;
}

.card-body {
    padding: 18px;
}

.card-title {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.42;
    font-weight: 850;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.movie-card:hover .card-title,
.horizontal-card:hover .card-title,
.rank-card:hover .card-title {
    color: var(--pink);
}

.card-desc {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.horizontal-list,
.rank-list {
    display: grid;
    gap: 16px;
}

.horizontal-card,
.rank-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    min-height: 138px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.horizontal-card .poster-wrap,
.rank-card .poster-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-size: 20px;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 64px 0 34px;
}

.page-hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #fb7185, #fb923c);
    box-shadow: var(--shadow-strong);
}

.page-hero-card::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.page-hero-card > * {
    position: relative;
}

.page-hero-card .page-title,
.page-hero-card .page-desc {
    color: #fff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

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

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
}

.filter-input {
    max-width: 420px;
    height: 46px;
    padding: 0 18px;
    color: var(--ink);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}

.filter-input::placeholder {
    color: #9ca3af;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
    gap: 30px;
    padding: 42px 0 72px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    aspect-ratio: 16 / 9;
}

.player-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.15), rgba(0, 0, 0, 0.34));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--pink);
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.45);
    font-size: 34px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.player-button:hover {
    transform: scale(1.08);
    background: var(--pink-dark);
}

.content-card,
.sidebar-card {
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.content-card {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 36px);
}

.content-card h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.detail-meta span {
    padding: 8px 13px;
    border-radius: 999px;
    color: #4b5563;
    background: #f9fafb;
    font-weight: 700;
    font-size: 14px;
}

.article-block {
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article-block + .article-block {
    margin-top: 24px;
}

.article-block h2 {
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: 900;
}

.article-block p {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

.review-box {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list a,
.tag-list span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    color: #0369a1;
    background: linear-gradient(135deg, #e0f2fe, #cffafe);
    font-weight: 750;
    font-size: 14px;
}

.sidebar-card {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.sidebar-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 900;
}

.sidebar-card h2::before {
    content: "";
    width: 5px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--pink), var(--rose));
}

.side-link {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.side-link:hover {
    background: #f9fafb;
}

.side-link .poster-wrap {
    height: 74px;
    aspect-ratio: auto;
    border-radius: 12px;
}

.side-link h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-link p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.search-hero {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.search-hero form {
    position: relative;
}

.search-hero input {
    height: 58px;
    padding: 0 24px;
    color: #fff;
    font-size: 18px;
}

.search-results {
    min-height: 240px;
}

.empty-state {
    padding: 44px 24px;
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.site-footer {
    color: #e5e7eb;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 34px;
    padding: 50px 0 34px;
}

.footer-brand {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.site-footer p {
    color: #9ca3af;
    line-height: 1.8;
}

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

.footer-links h3 {
    margin: 0 0 8px;
    color: #f9a8d4;
    font-size: 17px;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f9a8d4;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(229, 231, 235, 0.14);
    color: #9ca3af;
    font-size: 14px;
}

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

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

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

    .sidebar-card {
        position: static;
    }

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

@media (max-width: 820px) {
    .navbar {
        min-height: 68px;
    }

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

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

    .mobile-panel .nav-link {
        justify-content: flex-start;
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 14px;
    }

    .mobile-panel .header-search {
        display: block;
        width: 100%;
    }

    .hero {
        height: auto;
        min-height: 620px;
    }

    .hero-inner {
        align-items: flex-end;
    }

    .hero-copy {
        padding-top: 112px;
    }

    .section-header,
    .toolbar,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .horizontal-card,
    .rank-card {
        grid-template-columns: 150px 1fr;
    }
}

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

    .logo {
        font-size: 21px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 640px;
    }

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

    .btn {
        width: 100%;
    }

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

    .horizontal-card,
    .rank-card,
    .side-link {
        grid-template-columns: 1fr;
    }

    .horizontal-card .poster-wrap,
    .rank-card .poster-wrap,
    .side-link .poster-wrap {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .content-card {
        padding: 22px;
    }

    .player-button {
        width: 72px;
        height: 72px;
    }

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