:root {
    --rose: #e11d48;
    --rose-dark: #be123c;
    --amber: #f59e0b;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 24px 55px rgba(15, 23, 42, 0.18);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 42%, #fff7ed 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    max-width: 1200px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose) 0%, var(--amber) 100%);
    box-shadow: 0 10px 22px rgba(225, 29, 72, 0.26);
}

.logo-text {
    font-size: 22px;
    letter-spacing: 0.02em;
}

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

.nav-link,
.mobile-link {
    color: #374151;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link {
    padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--rose);
    background: rgba(225, 29, 72, 0.09);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(225, 29, 72, 0.08);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: #374151;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 10px 24px 18px;
    background: #ffffff;
}

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

.mobile-link {
    padding: 12px 14px;
}

.hero-carousel {
    position: relative;
    min-height: 520px;
    height: 72vh;
    overflow: hidden;
    background: linear-gradient(110deg, #881337 0%, #7c2d12 100%);
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(245, 158, 11, 0.32), transparent 26%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 84px 24px 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--rose);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.34);
}

.hero-content h1,
.hero-content h2 {
    max-width: 780px;
    margin: 22px 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

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

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.hero-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

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

.narrow-actions {
    margin-top: 22px;
}

.primary-button,
.ghost-button,
.section-more,
.rank-play,
.global-search button,
.filter-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.primary-button,
.global-search button,
.filter-search button,
.rank-play {
    padding: 0 22px;
    color: #ffffff;
    background: var(--rose);
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.25);
}

.primary-button:hover,
.global-search button:hover,
.filter-search button:hover,
.rank-play:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(225, 29, 72, 0.32);
}

.ghost-button {
    padding: 0 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.30);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

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

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

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

main {
    min-height: 60vh;
}

.content-section,
.home-search-inner,
.footer-inner,
.footer-bottom,
.page-hero,
.detail-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.content-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.home-search-band,
.gradient-band,
.rose-band,
.soft-band {
    position: relative;
}

.home-search-band {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.home-search-inner {
    padding-top: 44px;
    padding-bottom: 44px;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 460px);
    gap: 24px;
    align-items: center;
}

.home-search-inner h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 42px);
}

.home-search-inner p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.global-search {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.global-search input,
.filter-search input,
.filter-selects select {
    width: 100%;
    border: 1px solid var(--line);
    outline: 0;
    background: #ffffff;
    color: #111827;
}

.global-search input {
    border: 0;
    padding: 0 8px;
}

.category-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chips a {
    padding: 9px 14px;
    border-radius: 999px;
    color: #9f1239;
    background: #fff1f2;
    font-weight: 800;
}

.category-chips a:hover {
    color: #ffffff;
    background: var(--rose);
}

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

.section-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more {
    padding: 0 18px;
    color: var(--rose);
    background: #fff1f2;
}

.section-more:hover {
    color: #ffffff;
    background: var(--rose);
    transform: translateY(-2px);
}

.card-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.88);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    background: #e5e7eb;
}

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

.movie-card.compact .poster-wrap,
.compact-grid .poster-wrap {
    height: 190px;
}

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

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

.poster-badge,
.card-rank {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.poster-badge {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    background: var(--rose);
}

.card-rank {
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--rose) 0%, var(--amber) 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}

.poster-glow {
    position: absolute;
    inset: auto 0 0;
    height: 56%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .poster-glow {
    opacity: 1;
}

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

.movie-card-body h2 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
}

.movie-card-body h2 a:hover,
.rank-info h2 a:hover,
.channel-links a:hover,
.category-preview-title a:hover,
.breadcrumb a:hover,
.footer-link-grid a:hover {
    color: var(--rose);
}

.movie-card-body p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.movie-meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f4f6;
}

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

.tag-row span {
    padding: 4px 8px;
    color: #9f1239;
    background: #fff1f2;
    font-size: 12px;
}

.horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 280px;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll .movie-card {
    scroll-snap-align: start;
}

.gradient-band {
    background: linear-gradient(90deg, #fffbeb 0%, #fff1f2 100%);
}

.rose-band {
    background: linear-gradient(135deg, #ffe4e6 0%, #fffbeb 52%, #fdf2f8 100%);
}

.soft-band {
    background: #f9fafb;
}

.category-preview-list {
    display: grid;
    gap: 44px;
}

.category-preview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-left: 16px;
    border-left: 5px solid var(--rose);
}

.category-preview-title h3 {
    margin: 0;
    font-size: 24px;
}

.category-preview-title a:last-child {
    color: var(--rose);
    font-weight: 800;
}

.page-hero,
.detail-hero {
    margin-top: 34px;
    border-radius: 28px;
}

.page-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 75% 20%, rgba(245, 158, 11, 0.35), transparent 26%),
        linear-gradient(135deg, #881337 0%, #9f1239 42%, #7c2d12 100%);
    box-shadow: var(--shadow-xl);
}

.page-hero div {
    max-width: 760px;
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.08;
}

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

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

.listing-section {
    padding-top: 42px;
}

.filter-panel {
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.filter-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.filter-search input {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
}

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

.filter-selects label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-selects select {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
}

.empty-state {
    display: none;
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
}

.empty-state.is-visible {
    display: block;
}

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

.channel-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.channel-card-main {
    display: block;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose) 0%, var(--amber) 100%);
}

.channel-card-main span {
    display: block;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 900;
}

.channel-card-main p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

.channel-links {
    display: grid;
    gap: 10px;
    padding: 18px 24px 24px;
}

.channel-links a {
    color: #374151;
    line-height: 1.6;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 92px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.rank-number {
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose) 0%, var(--amber) 100%);
    font-weight: 900;
}

.rank-thumb {
    height: 118px;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f4f6;
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.rank-info p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.7;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 34px;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 18%, rgba(245, 158, 11, 0.38), transparent 28%),
        linear-gradient(135deg, #111827 0%, #881337 48%, #7c2d12 100%);
    box-shadow: var(--shadow-xl);
}

.detail-poster {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.detail-info {
    align-self: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.detail-info h1 {
    margin: 20px 0 14px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.detail-meta-grid span {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.detail-tags span {
    padding: 7px 12px;
    color: #fff1f2;
    background: rgba(255, 255, 255, 0.14);
}

.player-section {
    padding-bottom: 40px;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(225, 29, 72, 0.35), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-circle {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 999px;
    background: var(--rose);
    box-shadow: 0 18px 40px rgba(225, 29, 72, 0.36);
    font-size: 36px;
}

.detail-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-top: 36px;
}

.detail-copy article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-copy h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

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

.site-footer {
    margin-top: 50px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.footer-inner {
    padding-top: 44px;
    padding-bottom: 34px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.footer-brand p {
    max-width: 520px;
    color: var(--muted);
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 14px;
}

.footer-links h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

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

.footer-link-grid a {
    color: #4b5563;
}

.footer-bottom {
    padding-top: 18px;
    padding-bottom: 24px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 14px;
}

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

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

    .home-search-inner,
    .footer-inner,
    .detail-copy {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        grid-template-columns: 280px 1fr;
    }
}

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

    .menu-button {
        display: block;
    }

    .site-header-inner {
        padding: 0 18px;
    }

    .hero-carousel {
        min-height: 600px;
        height: auto;
    }

    .hero-slide {
        position: absolute;
    }

    .hero-content {
        padding: 86px 20px 86px;
    }

    .hero-arrow {
        display: none;
    }

    .content-section,
    .home-search-inner,
    .footer-inner,
    .footer-bottom,
    .page-hero,
    .detail-hero {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .card-grid.three,
    .card-grid.four,
    .card-grid.six,
    .channel-grid,
    .filter-selects,
    .detail-meta-grid,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-poster img {
        min-height: 420px;
    }

    .rank-row {
        grid-template-columns: 46px 80px 1fr;
    }

    .rank-play {
        grid-column: 1 / -1;
        width: 100%;
    }

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

@media (max-width: 520px) {
    .logo-text {
        font-size: 19px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }

    .hero-actions,
    .narrow-actions,
    .global-search {
        flex-direction: column;
        width: 100%;
    }

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

    .horizontal-scroll {
        grid-auto-columns: 82%;
    }

    .poster-wrap,
    .movie-card.large .poster-wrap {
        height: 280px;
    }

    .rank-thumb {
        height: 94px;
    }

    .rank-info h2 {
        font-size: 18px;
    }

    .rank-info p {
        display: none;
    }
}
