:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(30, 41, 59, 0.86);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --orange: #f97316;
    --amber: #f59e0b;
    --red: #ef4444;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    --radius: 24px;
    --radius-small: 16px;
    --container: min(1180px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 32rem),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 34rem),
        linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--container);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 14px 34px rgba(249, 115, 22, 0.32);
    font-size: 14px;
}

.brand-text,
.footer-brand {
    font-size: 21px;
    background: linear-gradient(135deg, #fb923c, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: var(--soft);
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: white;
    background: rgba(249, 115, 22, 0.16);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 280px;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
}

.header-search input,
.mobile-search input {
    padding: 7px 8px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    font-weight: 800;
    padding: 8px 14px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    color: white;
    background: rgba(15, 23, 42, 0.8);
}

.mobile-menu {
    display: none;
    width: var(--container);
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 15px;
    background: rgba(2, 6, 23, 0.56);
}

.mobile-menu nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-link {
    padding: 12px;
    border-radius: 12px;
}

.hero-carousel {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

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

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) brightness(0.72);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.97) 0%, rgba(2, 6, 23, 0.78) 40%, rgba(2, 6, 23, 0.28) 100%),
        linear-gradient(0deg, #020617 0%, transparent 34%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: var(--container);
    min-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 56px;
    padding: 72px 0 96px;
}

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 14px;
    padding: 7px 12px;
    border: 1px solid rgba(249, 115, 22, 0.32);
    border-radius: 999px;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.12);
    font-size: 13px;
    font-weight: 900;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(44px, 8vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(17px, 2.2vw, 22px);
}

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

.hero-tags,
.detail-meta {
    margin: 22px 0 0;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.card-meta span {
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid rgba(251, 146, 60, 0.2);
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    padding: 6px 10px;
}

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

.primary-button,
.ghost-button,
.section-more,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 15px;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-button {
    padding: 14px 22px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 18px 46px rgba(249, 115, 22, 0.28);
}

.ghost-button {
    padding: 13px 22px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.48);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: rgba(15, 23, 42, 0.84);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(2, 6, 23, 0.46));
}

.hero-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

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

.hero-arrow,
.hero-dot {
    border: 0;
    color: white;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 28px;
}

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

.hero-dot {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    opacity: 0.45;
}

.hero-dot.is-active {
    width: 54px;
    opacity: 1;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.content-section,
.page-shell {
    width: var(--container);
    margin: 0 auto;
}

.content-section {
    padding: 70px 0 0;
}

.no-pad-top {
    padding-top: 0;
}

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

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.player-heading h2,
.text-panel h2 {
    margin: 0;
    letter-spacing: -0.05em;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.section-heading p,
.page-hero p,
.text-panel p,
.detail-copy p,
.footer-grid p,
.category-summary-card p,
.category-tile em,
.search-status {
    color: var(--muted);
}

.section-heading p {
    max-width: 640px;
    margin: 8px 0 0;
}

.section-more,
.text-link {
    color: #fdba74;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.74), rgba(15, 23, 42, 0.86));
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.3);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.42);
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.48);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(15, 23, 42, 0.7));
}

.poster-link img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.36s ease, filter 0.36s ease;
}

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

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    background: rgba(249, 115, 22, 0.92);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: 0.24s ease;
    box-shadow: 0 18px 44px rgba(249, 115, 22, 0.36);
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
}

.card-body {
    padding: 16px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.card-meta span {
    padding: 4px 8px;
}

.movie-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.32;
}

.movie-card h2 a:hover {
    color: #fdba74;
}

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

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

.movie-card-compact .card-body {
    padding: 14px;
}

.movie-card-compact h2 {
    font-size: 16px;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.category-tile img {
    position: absolute;
    right: -16px;
    bottom: -28px;
    width: 150px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.3;
    transform: rotate(8deg);
}

.category-accent {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    font-size: 20px;
    font-weight: 900;
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
    display: block;
}

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

.category-tile em {
    max-width: 230px;
    font-style: normal;
    font-size: 14px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.rank-panel,
.ranking-page-list,
.text-panel,
.filter-panel,
.category-summary-card,
.page-hero,
.detail-hero,
.player-section {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 20px;
}

.rank-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.rank-title span {
    font-weight: 900;
    font-size: 22px;
}

.rank-title a {
    color: #fdba74;
    font-weight: 800;
}

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

.rank-list li a {
    display: grid;
    grid-template-columns: 34px 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.5);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list li a:hover {
    transform: translateX(4px);
    background: rgba(249, 115, 22, 0.13);
}

.rank-number {
    color: #fdba74;
    font-weight: 900;
    text-align: center;
}

.rank-list img {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.page-shell {
    padding-top: 34px;
}

.page-hero {
    padding: 42px;
    margin-bottom: 28px;
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(15, 23, 42, 0.86)),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 22rem);
}

.small-hero h1 {
    font-size: clamp(36px, 6vw, 62px);
}

.small-hero p {
    max-width: 760px;
    margin: 12px 0 0;
    font-size: 18px;
}

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

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

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

.category-summary-card {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
}

.category-summary-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-summary-cover img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.category-summary-card span {
    color: #fdba74;
    font-weight: 900;
}

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

.category-summary-card p {
    margin: 0 0 14px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
    min-height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 15px;
    color: white;
    background: rgba(2, 6, 23, 0.58);
    padding: 0 14px;
}

.filter-panel select option {
    color: #0f172a;
}

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

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

.ranking-page-list {
    padding: 20px;
    margin-bottom: 72px;
}

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

.large-rank-list li a {
    grid-template-columns: 44px 72px minmax(0, 1fr);
}

.large-rank-list img {
    width: 72px;
    height: 96px;
}

.search-page-form {
    display: flex;
    max-width: 720px;
    gap: 10px;
    margin-top: 24px;
}

.search-page-form input {
    font-size: 16px;
}

.search-page-form button {
    padding: 0 24px;
}

.search-status {
    margin: 0 0 22px;
    font-weight: 800;
}

.detail-shell {
    padding-bottom: 72px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    padding: 26px;
    margin-bottom: 28px;
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(15, 23, 42, 0.86)),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 26rem);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(2, 6, 23, 0.68);
    box-shadow: var(--shadow);
}

.detail-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

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

.detail-copy h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.detail-copy p {
    max-width: 820px;
    margin: 22px 0 0;
    font-size: 18px;
}

.detail-copy .primary-button {
    margin-top: 28px;
}

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

.player-heading {
    margin-bottom: 18px;
}

.player-heading h2 {
    font-size: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: white;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.22), rgba(2, 6, 23, 0.68));
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 4;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 24px 60px rgba(249, 115, 22, 0.32);
    font-size: 30px;
}

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

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

.detail-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.text-panel {
    padding: 26px;
}

.text-panel h2 {
    margin-bottom: 14px;
    font-size: 28px;
}

.text-panel p {
    margin: 0;
    font-size: 16px;
}

.text-panel p + p {
    margin-top: 12px;
}

.related-section {
    padding-top: 22px;
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.74);
}

.footer-grid {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
    padding: 40px 0;
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.footer-grid p {
    max-width: 420px;
    margin: 12px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

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

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

.footer-bottom {
    width: var(--container);
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .header-search {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr 260px;
        gap: 30px;
    }

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

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

    .split-section,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .rank-panel {
        position: static;
    }

    .category-summary-grid,
    .large-rank-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --container: min(100vw - 24px, 1180px);
    }

    .header-inner {
        min-height: 64px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

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

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 52px 0 96px;
    }

    .hero-poster {
        display: none;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

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

    .hero-controls {
        bottom: 22px;
    }

    .content-section {
        padding-top: 46px;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        margin-top: 16px;
    }

    .movie-grid,
    .movie-grid-compact,
    .all-movie-grid,
    .top-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-card h2 {
        font-size: 16px;
    }

    .card-body {
        padding: 12px;
    }

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

    .category-summary-card,
    .detail-hero,
    .footer-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .category-summary-cover {
        grid-template-columns: repeat(4, 1fr);
    }

    .page-hero,
    .detail-hero,
    .player-section,
    .text-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .detail-poster {
        max-width: 260px;
    }

    .detail-copy h1,
    .small-hero h1 {
        font-size: 34px;
    }

    .search-page-form {
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .movie-grid-compact,
    .all-movie-grid,
    .top-rank-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }
}
