:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.74);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --dim: #64748b;
    --cyan: #22d3ee;
    --cyan-dark: #0891b2;
    --orange: #fb923c;
    --green: #4ade80;
    --blue: #60a5fa;
    --shadow: 0 24px 80px rgba(8, 145, 178, 0.18);
    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;
    background: var(--bg);
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 32rem),
        radial-gradient(circle at 85% 12%, rgba(96, 165, 250, 0.1), transparent 26rem),
        var(--bg);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.38);
    backdrop-filter: blur(18px);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #001018;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    box-shadow: 0 0 36px rgba(34, 211, 238, 0.3);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 22px;
    letter-spacing: 0.04em;
}

.brand-copy small {
    color: rgba(103, 232, 249, 0.72);
    font-size: 12px;
    margin-top: 3px;
}

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

.nav-link,
.mobile-link {
    color: #cbd5e1;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.search-input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    color: var(--text);
    background: rgba(2, 6, 23, 0.56);
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: rgba(34, 211, 238, 0.75);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
    background: rgba(15, 23, 42, 0.92);
}

.search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: none;
    width: min(520px, calc(100vw - 32px));
    max-height: 70vh;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
}

.search-panel.is-open {
    display: grid;
    gap: 10px;
}

.search-result {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.52);
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-result:hover {
    transform: translateY(-2px);
    background: rgba(51, 65, 85, 0.78);
}

.search-result img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    background: #0f172a;
}

.search-result strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.search-result em,
.search-empty {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    gap: 12px;
    flex-direction: column;
}

.mobile-nav.is-open {
    display: flex;
}

.hero-slider {
    position: relative;
    min-height: 76vh;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.7s ease, transform 1.1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.8) 28%, rgba(2, 6, 23, 0.35) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.46) 44%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 76vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 88px;
}

.hero-copy {
    width: min(760px, 100%);
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.28);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 18px 0 14px;
    max-width: 760px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: 19px;
}

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

.primary-btn,
.ghost-btn,
.wide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    box-shadow: 0 14px 40px rgba(34, 211, 238, 0.26);
}

.ghost-btn,
.wide-link {
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
}

.primary-btn:hover,
.ghost-btn:hover,
.wide-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(34, 211, 238, 0.24);
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(12px);
    font-size: 34px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(8, 145, 178, 0.82);
}

.hero-prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-next {
    right: 24px;
    transform: translateY(-50%);
}

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

.hero-dot {
    width: 32px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.42);
}

.hero-dot.is-active {
    width: 54px;
    background: var(--cyan);
}

.section {
    padding: 76px 0;
}

.section-glow {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(15, 23, 42, 0.7));
}

.section-deep {
    background: rgba(15, 23, 42, 0.76);
}

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

.section-head.compact {
    align-items: flex-start;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}

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

.section-head > a {
    margin-left: auto;
    color: var(--cyan);
    font-weight: 800;
}

.section-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.24);
}

.section-icon.orange {
    color: var(--orange);
    background: rgba(251, 146, 60, 0.12);
    border-color: rgba(251, 146, 60, 0.24);
}

.section-icon.green {
    color: var(--green);
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.24);
}

.section-icon.blue {
    color: var(--blue);
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.24);
}

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

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: var(--bg-card);
    box-shadow: 0 12px 42px rgba(2, 6, 23, 0.24);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(34, 211, 238, 0.34);
    background: rgba(30, 41, 59, 0.82);
    box-shadow: 0 26px 70px rgba(8, 145, 178, 0.2);
}

.poster-box {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #0f172a;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.play-badge {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 145, 178, 0.88);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.38);
}

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

.movie-score {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 30px;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(2, 6, 23, 0.76);
    border: 1px solid rgba(34, 211, 238, 0.3);
    font-weight: 900;
}

.movie-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.movie-body strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-body em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.movie-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    color: #cbd5e1;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.small-card .movie-body strong {
    min-height: 44px;
    font-size: 16px;
}

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

.category-card,
.category-top,
.category-overview-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.74);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.category-card,
.category-top {
    display: block;
    position: relative;
    min-height: 230px;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 22px 60px rgba(8, 145, 178, 0.18);
}

.category-card img,
.category-top img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    opacity: 0.58;
}

.category-card span,
.category-top span {
    position: absolute;
    inset: auto 0 0;
    padding: 48px 18px 18px;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent);
}

.category-card strong,
.category-top strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.category-card em,
.category-top em {
    display: -webkit-box;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 13px;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
}

.rank-panel,
.side-panel,
.detail-info-card,
.text-panel,
.player-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.28);
}

.rank-panel {
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 100px;
}

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

.rank-list-wide {
    gap: 16px;
}

.rank-item {
    display: grid;
    grid-template-columns: 42px 92px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.54);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    background: rgba(51, 65, 85, 0.76);
}

.rank-no {
    color: var(--cyan);
    font-weight: 900;
    font-size: 18px;
}

.rank-item img {
    width: 92px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
}

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

.rank-copy strong,
.compact-card strong {
    display: block;
    overflow: hidden;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy em,
.rank-copy span,
.compact-card em {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-item b {
    color: var(--cyan);
}

.wide-link {
    width: 100%;
    margin-top: 16px;
}

.sub-page {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(15, 23, 42, 0.62));
}

.sub-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 72px;
    background:
        radial-gradient(circle at 18% 10%, rgba(34, 211, 238, 0.18), transparent 28rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.92));
}

.sub-hero-copy {
    width: min(780px, 100%);
}

.sub-hero-copy span {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sub-hero-copy h1 {
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
}

.sub-hero-copy p {
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.category-overview-card {
    padding-bottom: 16px;
}

.category-preview-links {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.category-preview-links a {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease;
}

.category-preview-links a:hover {
    color: var(--cyan);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 14px;
    margin-bottom: 26px;
}

.empty-state {
    display: none;
    margin-top: 28px;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    background: rgba(15, 23, 42, 0.78);
}

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

.detail-page {
    padding: 34px 0 76px;
}

.detail-container {
    display: grid;
    gap: 24px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--cyan);
}

.player-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.player-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.28)),
        radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 18rem);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 999px;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), #67e8f9);
    box-shadow: 0 0 48px rgba(34, 211, 238, 0.36);
    font-size: 36px;
}

.player-layer strong {
    font-size: clamp(22px, 3vw, 38px);
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 22px;
}

.detail-info-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 26px;
    padding: 24px;
}

.detail-poster {
    width: 220px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 18px;
    background: #0f172a;
}

.detail-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 16px;
}

.detail-meta span {
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.72);
}

.lead-text {
    color: #dbeafe;
    font-size: 18px;
}

.text-panel,
.side-panel {
    padding: 24px;
}

.text-panel h2,
.side-panel h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.text-panel p {
    margin: 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.9;
}

.compact-list {
    display: grid;
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.52);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    transform: translateY(-2px);
    background: rgba(51, 65, 85, 0.76);
}

.compact-card img {
    width: 96px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
}

.side-tags p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.side-tags p:last-child {
    border-bottom: 0;
}

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

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.96);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 28px;
    padding: 52px 0;
}

.footer-brand p,
.footer-copy p {
    color: var(--muted);
}

.footer-links,
.footer-copy {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links h2,
.footer-copy h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.footer-links a,
.footer-copy span {
    color: var(--muted);
    transition: color 0.2s ease;
}

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

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

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .header-search {
        width: min(340px, 44vw);
        margin-left: auto;
    }

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

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

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

    .rank-panel {
        position: static;
    }

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

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

    .nav-shell {
        min-height: 68px;
        gap: 12px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        display: none;
    }

    .header-search {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        padding-bottom: 12px;
    }

    .nav-shell {
        flex-wrap: wrap;
    }

    .hero-slider,
    .hero-content {
        min-height: 680px;
    }

    .hero-content {
        padding-bottom: 96px;
    }

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

    .hero-arrow {
        top: auto;
        bottom: 28px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .hero-prev {
        left: 18px;
    }

    .hero-next {
        right: 18px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .section-head > a {
        width: 100%;
        margin-left: 56px;
    }

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

    .movie-body {
        padding: 12px;
    }

    .movie-body strong {
        min-height: 42px;
        font-size: 15px;
    }

    .movie-desc {
        display: none;
    }

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

    .rank-item {
        grid-template-columns: 34px 72px 1fr;
    }

    .rank-item b {
        display: none;
    }

    .rank-item img {
        width: 72px;
        height: 50px;
    }

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

    .detail-poster {
        width: min(260px, 100%);
    }

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

@media (max-width: 480px) {
    .movie-grid,
    .movie-grid-small,
    .category-movie-grid,
    .category-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }
}
