:root {
    --bg: #030712;
    --bg-soft: #07111f;
    --panel: rgba(17, 24, 39, 0.82);
    --panel-strong: rgba(17, 24, 39, 0.96);
    --border: rgba(148, 163, 184, 0.18);
    --text: #ffffff;
    --muted: #cbd5e1;
    --subtle: #94a3b8;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-solid,
.site-header.is-scrolled {
    background: rgba(3, 7, 18, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.35);
    font-size: 13px;
}

.brand-text {
    font-size: 24px;
    background: linear-gradient(90deg, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a,
.section-more {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.section-more:hover {
    color: #93c5fd;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.65);
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow);
}

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

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
}

.mobile-nav a:hover {
    background: rgba(59, 130, 246, 0.12);
}

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

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

.hero-slide {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}

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

.hero-slide.is-active .hero-image {
    animation: heroZoom 7s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1.02);
    }
}

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 36%, rgba(37, 99, 235, 0.38), transparent 32%),
        linear-gradient(90deg, rgba(3, 7, 18, 0.96) 0%, rgba(3, 7, 18, 0.72) 42%, rgba(3, 7, 18, 0.2) 100%),
        linear-gradient(0deg, #030712 0%, rgba(3, 7, 18, 0.1) 42%, rgba(3, 7, 18, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 126px 0 220px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #93c5fd;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 820px;
}

.hero-summary {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.75;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
    font-size: 13px;
    line-height: 1.2;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.primary-button,
.ghost-button,
.hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button,
.hero-search button {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: white;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

.ghost-button {
    background: rgba(15, 23, 42, 0.62);
    color: #e5e7eb;
    border-color: var(--border);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.hero-search button:hover {
    transform: translateY(-2px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.66);
    color: white;
    font-size: 34px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 26px;
}

.hero-next {
    right: 26px;
}

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

.hero-dot {
    width: 34px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
    background: linear-gradient(90deg, #60a5fa, #67e8f9);
}

.hero-search-panel {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 8;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 18px;
    align-items: stretch;
}

.hero-search,
.inline-search {
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.82);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

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

.hero-search input,
.inline-search input {
    width: 100%;
    min-height: 50px;
    border: 0;
    outline: 0;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.76);
    color: white;
    padding: 0 16px;
}

.hero-mini-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.hero-mini-card {
    position: relative;
    min-height: 86px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.65);
}

.hero-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.64;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-mini-card span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.82);
}

.hero-mini-card:hover img {
    transform: scale(1.08);
    opacity: 0.86;
}

.content-section,
.category-list-section,
.trend-section,
.detail-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

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

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

.section-heading h2,
.site-footer h2,
.detail-article h2,
.category-card h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.section-more {
    color: #bfdbfe;
    font-weight: 800;
    white-space: nowrap;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(15, 23, 42, 0.92);
}

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

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.08);
    opacity: 0.78;
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent 46%);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.88);
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.card-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-weight: 900;
}

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

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

.movie-card h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #93c5fd;
}

.movie-card p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

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

.is-compact h3 {
    font-size: 16px;
}

.is-compact p {
    font-size: 13px;
}

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

.category-tile {
    position: relative;
    min-height: 168px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.56;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.category-tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.12));
}

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

.category-tile strong {
    bottom: 54px;
    font-size: 20px;
}

.category-tile em {
    bottom: 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-style: normal;
}

.category-tile:hover img {
    transform: scale(1.08);
    opacity: 0.76;
}

.rank-list,
.trend-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.rank-list li,
.trend-item {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-list li:hover,
.trend-item:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.55);
}

.rank-list a,
.trend-link {
    display: grid;
    grid-template-columns: 48px 82px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
}

.rank-number,
.trend-rank {
    display: grid;
    place-items: center;
    color: #93c5fd;
    font-size: 24px;
    font-weight: 900;
}

.rank-list img,
.trend-link img {
    width: 82px;
    height: 104px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-copy,
.trend-body {
    min-width: 0;
}

.rank-copy strong,
.trend-body strong,
.rank-copy em,
.trend-body em,
.trend-body span {
    display: block;
}

.rank-copy strong,
.trend-body strong {
    font-size: 18px;
    line-height: 1.35;
}

.rank-copy em,
.trend-body em,
.trend-body span {
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
    line-height: 1.55;
    font-size: 13px;
}

.page-main {
    padding: 116px 0 76px;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 44px;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.36), transparent 30%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
    box-shadow: var(--shadow);
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.inline-search {
    max-width: 680px;
    margin-top: 26px;
    padding: 10px;
}

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

.category-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.76);
}

.category-cover {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 10;
}

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

.category-cover span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), transparent);
}

.category-card p {
    margin: 12px 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-samples a {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    font-size: 13px;
}

.trend-section {
    padding-top: 0;
}

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

.trend-link {
    grid-template-columns: 60px 98px 1fr;
}

.trend-link img {
    width: 98px;
    height: 128px;
}

.detail-main {
    background: #030712;
}

.detail-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    padding: 116px 0 70px;
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    filter: blur(2px);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 24%, rgba(59, 130, 246, 0.32), transparent 28%),
        linear-gradient(0deg, #030712 0%, rgba(3, 7, 18, 0.56) 46%, rgba(3, 7, 18, 0.85) 100%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.breadcrumb a:hover {
    color: #93c5fd;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.detail-poster {
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(15, 23, 42, 0.86);
}

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

.detail-one-line {
    max-width: 800px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.8;
}

.large-tags {
    margin-top: 24px;
}

.player-section {
    width: min(1180px, calc(100% - 32px));
    margin: -48px auto 0;
    position: relative;
    z-index: 5;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(96, 165, 250, 0.32);
    background: #000;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
    aspect-ratio: 16 / 9;
}

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

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    border: 0;
    color: white;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.25));
}

.play-cover.is-hidden {
    display: none;
}

.play-circle {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.45);
    font-size: 28px;
}

.play-cover strong {
    font-size: 20px;
}

.detail-content {
    padding: 54px 0 0;
}

.detail-article {
    display: grid;
    gap: 22px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: rgba(15, 23, 42, 0.72);
}

.detail-article p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.95;
}

.info-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.info-list div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.56);
    border: 1px solid var(--border);
}

.info-list dt {
    color: var(--subtle);
    font-size: 13px;
}

.info-list dd {
    margin: 6px 0 0;
    color: white;
    font-weight: 800;
}

.related-section {
    padding-bottom: 76px;
}

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

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 34px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 34px;
}

.footer-brand {
    color: #93c5fd;
    font-size: 22px;
}

.site-footer p {
    margin: 14px 0 0;
    color: var(--subtle);
    line-height: 1.8;
}

.site-footer h2 {
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 16px;
    color: var(--muted);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 13px;
}

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

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

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

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

    .hero-mini-list {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .detail-hero-grid {
        grid-template-columns: 250px minmax(0, 1fr);
    }

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

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

    .menu-toggle {
        display: flex;
    }

    .header-inner {
        height: 66px;
    }

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

    .hero-content {
        padding: 104px 0 260px;
    }

    .hero-control {
        display: none;
    }

    .hero-dots {
        bottom: 196px;
    }

    .hero-search-panel {
        bottom: 18px;
    }

    .hero-mini-list {
        grid-template-columns: repeat(3, minmax(128px, 1fr));
    }

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

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

    .page-main {
        padding-top: 92px;
    }

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

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

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

    .detail-hero {
        padding-top: 92px;
    }

    .detail-copy h1 {
        font-size: 42px;
    }

    .player-section {
        margin-top: -20px;
    }

    .detail-article {
        padding: 24px;
    }

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

    .rank-list a,
    .trend-link {
        grid-template-columns: 42px 72px 1fr;
        gap: 10px;
    }

    .rank-list img,
    .trend-link img {
        width: 72px;
        height: 96px;
    }
}

@media (max-width: 520px) {
    .movie-grid,
    .dense-grid,
    .category-grid,
    .rank-list {
        grid-template-columns: 1fr;
    }

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

    .hero-mini-list {
        display: none;
    }

    .hero-dots {
        bottom: 132px;
    }

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

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

    .detail-one-line,
    .detail-article p {
        font-size: 16px;
    }

    .player-frame {
        border-radius: 20px;
    }
}
