:root {
    --bg: #f8fafc;
    --bg-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --card: #ffffff;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --slate-dark: #0f172a;
    --radius: 18px;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
    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", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

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

.logo-link,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-size: 20px;
    color: #0f172a;
}

.logo-subtitle {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

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

.nav-link {
    padding: 10px 12px;
    border-radius: 999px;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--blue);
    background: #eff6ff;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
    background: #f8fafc;
}

.mobile-nav-link.is-active {
    color: var(--blue);
    background: #eff6ff;
}

.hero-section {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    min-height: 620px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) brightness(0.66);
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 26%, rgba(37, 99, 235, 0.38), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.84) 46%, rgba(15, 23, 42, 0.30) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.90), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 110px 0 90px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.30);
    font-size: 14px;
    font-weight: 800;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 900;
}

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

.hero-tags,
.detail-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hero-tags {
    margin: 24px 0 0;
}

.hero-tags span,
.detail-meta span,
.movie-meta span {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.13);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
}

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

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

.primary-btn {
    color: #ffffff;
    background: var(--blue);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover,
.ghost-light-btn:hover {
    transform: translateY(-2px);
}

.primary-btn:hover {
    background: var(--blue-dark);
    box-shadow: 0 22px 45px rgba(37, 99, 235, 0.35);
}

.primary-btn.full {
    width: 100%;
    margin-top: 22px;
}

.ghost-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.ghost-light-btn {
    color: var(--blue);
    background: #eff6ff;
}

.hero-side-card {
    position: absolute;
    z-index: 3;
    right: max(32px, calc((100% - 1180px) / 2));
    bottom: 78px;
    width: 260px;
    padding: 12px;
    border-radius: 22px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.48);
    box-shadow: 0 20px 70px rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
}

.hero-side-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
}

.hero-side-card span {
    display: block;
    margin-top: 10px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.hero-dot {
    width: 32px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

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

.search-band {
    margin-top: -46px;
    position: relative;
    z-index: 6;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
    align-items: center;
    gap: 24px;
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.search-panel h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 900;
}

.search-panel p {
    margin: 0;
    color: var(--muted);
}

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

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 14px;
    color: #0f172a;
    background: transparent;
    font-size: 16px;
}

.search-box button {
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    color: #ffffff;
    background: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

.section-block {
    padding: 76px 0;
}

.white-bg {
    background: #ffffff;
}

.soft-bg {
    background: var(--bg-soft);
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.centered {
    text-align: center;
}

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

.section-heading span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
}

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

.category-tile {
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow);
}

.category-tile strong {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 19px;
}

.category-tile span {
    color: var(--muted);
    line-height: 1.65;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.68));
    opacity: 0.82;
}

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

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

.poster-year,
.poster-category {
    position: absolute;
    top: 10px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.poster-year {
    left: 10px;
    background: rgba(2, 6, 23, 0.70);
}

.poster-category {
    right: 10px;
    background: rgba(37, 99, 235, 0.92);
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
}

.movie-card-body h3 a:hover {
    color: var(--blue);
}

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

.movie-card .movie-meta span {
    color: #475569;
    background: #f1f5f9;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.movie-tags span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
}

.ranking-box {
    align-self: start;
    border-radius: 22px;
    padding: 24px;
    background: #0f172a;
    color: #ffffff;
    box-shadow: var(--shadow);
}

.ranking-box .section-heading h2,
.ranking-box .section-heading p {
    color: #ffffff;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.compact-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 14px;
    background: #1e293b;
}

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

.rank-num {
    position: absolute;
    left: 6px;
    top: 6px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.compact-card h3 {
    margin: 0 0 5px;
    color: inherit;
    font-size: 15px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 76px;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.36), transparent 34%),
        linear-gradient(135deg, #020617, #0f172a 54%, #1e3a8a);
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.small-hero {
    padding-top: 82px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 700;
}

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

.hero-search {
    max-width: 720px;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.96);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.category-cover {
    display: block;
    min-height: 240px;
    background: #e2e8f0;
}

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

.category-overview-body {
    padding: 24px;
}

.category-overview-body h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 900;
}

.category-overview-body p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.7;
}

.category-samples {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.category-samples a {
    color: #334155;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-samples a:hover {
    color: var(--blue);
}

.ranking-page-list {
    display: grid;
    gap: 16px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 52px 156px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.ranking-row-index {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    font-weight: 900;
}

.ranking-row-poster {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
}

.ranking-row-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-row-body h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.ranking-row-body p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ranking-row .movie-meta span {
    color: #475569;
    background: #f1f5f9;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-cover);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.1);
    opacity: 0.38;
    transform: scale(1.08);
}

.detail-hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.30), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.78));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 58px 0 70px;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    background: #1e293b;
}

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

.detail-one-line {
    max-width: 780px;
    margin: 22px 0;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.8;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-tags span {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.detail-info .primary-btn {
    margin-top: 28px;
}

.player-section {
    padding: 34px 0;
    background: #020617;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    transition: opacity 0.25s ease;
}

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

.play-ring {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.92);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.36);
    font-size: 34px;
}

.player-overlay strong {
    max-width: min(680px, 90%);
    font-size: 26px;
    line-height: 1.35;
    text-align: center;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
}

.detail-article,
.detail-side {
    border-radius: 24px;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 900;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

.detail-article p {
    margin: 0 0 16px;
    color: #334155;
    font-size: 17px;
    line-height: 1.95;
}

.detail-side dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.detail-side dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.detail-side dd {
    margin: -8px 0 0;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.55;
}

.detail-side a {
    color: var(--blue);
}

.empty-state {
    display: none;
    padding: 34px;
    border-radius: 20px;
    color: var(--muted);
    background: #ffffff;
    text-align: center;
    font-weight: 800;
}

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

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
}

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

.footer-brand p {
    max-width: 460px;
    margin: 14px 0 0;
    color: #94a3b8;
    line-height: 1.75;
}

.footer-logo {
    color: #ffffff;
    font-size: 22px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 18px;
    color: #94a3b8;
    text-align: center;
}

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

    .mobile-toggle {
        display: block;
    }

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

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

    .ranking-box {
        order: -1;
    }

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

@media (max-width: 820px) {
    .hero-section,
    .hero-slide {
        min-height: 680px;
    }

    .hero-content {
        padding: 90px 0 180px;
    }

    .hero-side-card {
        left: 24px;
        right: 24px;
        bottom: 70px;
        width: auto;
    }

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

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

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

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

    .ranking-row {
        grid-template-columns: 42px 96px minmax(0, 1fr);
    }

    .ranking-row .ghost-light-btn {
        grid-column: 2 / -1;
    }

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

@media (max-width: 560px) {
    .header-inner {
        height: 64px;
    }

    .logo-title {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .hero-content h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 38px;
    }

    .hero-actions,
    .search-box {
        flex-direction: column;
    }

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

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

    .category-cover {
        min-height: 210px;
    }

    .ranking-row {
        grid-template-columns: 1fr;
    }

    .ranking-row-index {
        width: 38px;
        height: 38px;
    }

    .ranking-row-poster {
        width: 100%;
    }

    .detail-hero-inner {
        padding-top: 36px;
    }

    .detail-poster {
        max-width: 100%;
    }

    .play-ring {
        width: 74px;
        height: 74px;
        font-size: 26px;
    }

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

    .detail-article,
    .detail-side {
        padding: 22px;
    }
}
