:root {
    --bg: #f8fafc;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --card: #ffffff;
    --dark: #020617;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --red: #dc2626;
    --orange: #f97316;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
    --radius: 18px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
    min-height: 70vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.header-inner {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.logo-text strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.logo-text em {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.main-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

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

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.search-panel input,
.search-panel select {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    font-size: 14px;
}

.header-search button,
.mobile-search button {
    padding: 10px 16px;
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

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

.mobile-panel {
    display: none;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.mobile-panel.open {
    display: block;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-search input {
    flex: 1;
    padding: 11px 14px;
}

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

.hero-carousel {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #020617, #334155);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 900ms ease, transform 1200ms ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.08)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 42%);
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 82px;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    transform: translateX(-50%);
    color: #fff;
}

.hero-kicker,
.section-heading span,
.rank-title span,
.page-hero span,
.category-card-large span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--red), #ec4899);
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 680px;
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.8;
}

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

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

.hero-tags span,
.card-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn,
.text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

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

.primary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

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

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border-radius: 999px;
    color: #fff;
    font-size: 34px;
    background: rgba(2, 6, 23, 0.52);
    backdrop-filter: blur(12px);
    transition: 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(2, 6, 23, 0.8);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition: 0.2s ease;
}

.hero-dot.active {
    width: 36px;
    background: #fff;
}

.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px;
}

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

.section-heading h2,
.rank-title h2 {
    margin-top: 10px;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading a,
.text-btn {
    color: var(--blue);
    font-weight: 900;
}

.section-heading.simple {
    display: block;
}

.section-heading.light h2,
.section-heading.light a {
    color: #fff;
}

.category-entry {
    padding-top: 48px;
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #111827;
}

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

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

.category-tile span,
.category-tile em {
    position: relative;
    z-index: 1;
    display: block;
    color: #fff;
}

.category-tile span {
    padding: 86px 18px 8px;
    font-size: 22px;
    font-weight: 900;
}

.category-tile em {
    padding: 0 18px 18px;
    font-size: 13px;
    line-height: 1.6;
    font-style: normal;
    color: #dbeafe;
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

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

.card-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
}

.card-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
}

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

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

.movie-card:hover h2 {
    color: var(--blue);
}

.movie-card-body p {
    min-height: 44px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.card-meta {
    justify-content: space-between;
    margin-top: 16px;
}

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

.movie-card.compact .poster-wrap {
    aspect-ratio: 4 / 3;
}

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

.feature-band {
    max-width: none;
    margin: 20px auto;
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

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

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

.list-card {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: 0.2s ease;
}

.list-card:hover {
    transform: translateX(4px);
    border-color: #bfdbfe;
}

.list-card img {
    width: 132px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
}

.list-card h3 {
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.4;
}

.list-card p {
    margin: 6px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.list-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.rank-panel,
.side-card,
.content-card,
.player-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.rank-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.rank-title {
    margin-bottom: 18px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 48px 74px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: #f8fafc;
    transition: 0.2s ease;
}

.rank-row:hover {
    background: #eff6ff;
    transform: translateX(3px);
}

.rank-number {
    color: #f97316;
    font-size: 20px;
    font-weight: 950;
    text-align: center;
}

.rank-row img {
    width: 74px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
}

.rank-info strong,
.rank-info em {
    display: block;
}

.rank-info strong {
    font-weight: 900;
    color: #0f172a;
}

.rank-info em {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.rank-play {
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.page-hero {
    min-height: 310px;
    color: #fff;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.35), transparent 30%),
        linear-gradient(135deg, #020617, #1e3a8a 52%, #0f172a);
}

.page-hero > div {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 54px 0;
}

.page-hero h1 {
    max-width: 850px;
    margin: 16px 0;
    font-size: clamp(34px, 6vw, 56px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

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

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

.category-card-large {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    padding: 18px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
}

.category-card-cover {
    overflow: hidden;
    border-radius: 16px;
}

.category-card-cover img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    transition: 0.3s ease;
}

.category-card-large:hover img {
    transform: scale(1.05);
}

.category-card-large h2 {
    margin: 12px 0 8px;
    font-size: 26px;
    font-weight: 950;
}

.category-card-large p {
    color: var(--muted);
    line-height: 1.7;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.mini-links a,
.tag-cloud a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 13px;
    font-weight: 800;
}

.filter-section {
    padding-top: 40px;
}

.filter-bar,
.search-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.filter-bar input,
.search-panel input {
    flex: 1 1 280px;
    padding: 13px 16px;
}

.search-panel select {
    min-width: 160px;
    padding: 13px 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-buttons button {
    padding: 9px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.filter-buttons button.active,
.filter-buttons button:hover {
    color: #fff;
    background: var(--blue);
}

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

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

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

.ranking-section {
    padding-top: 18px;
}

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

.detail-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    background: #020617;
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 26%, rgba(37, 99, 235, 0.35), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 34px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 800;
}

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

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

.detail-headline > img {
    width: 260px;
    height: 360px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.detail-headline h1 {
    margin: 16px 0;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-headline p {
    max-width: 780px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

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

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

.player-card {
    padding: 16px;
}

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

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(2, 6, 23, 0.5));
    transition: opacity 0.2s ease;
}

.play-overlay span {
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 38px;
    background: rgba(37, 99, 235, 0.92);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.32);
    transform: translateX(3px);
}

.play-overlay:hover span {
    transform: translateX(3px) scale(1.08);
}

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

.content-card,
.side-card {
    padding: 26px;
}

.content-card h2,
.side-card h2 {
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 950;
}

.content-card p {
    color: #334155;
    line-height: 1.9;
    font-size: 16px;
}

.lead-text {
    margin-bottom: 14px;
    color: #1d4ed8 !important;
    font-weight: 850;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-side {
    position: sticky;
    top: 92px;
}

.related-stack .list-card {
    grid-template-columns: 118px 1fr;
}

.related-stack .list-card img {
    width: 118px;
    height: 78px;
}

.site-footer {
    margin-top: 36px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 420px;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-logo {
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.footer-links h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.footer-links a {
    display: block;
    width: fit-content;
    margin: 8px 0;
    color: #cbd5e1;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 20px 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

[data-movie-card].hidden {
    display: none;
}

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

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

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

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

    .rank-panel,
    .detail-side {
        position: static;
    }

    .full-rank {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-inner {
        height: 66px;
        padding: 0 16px;
    }

    .logo-text em {
        display: none;
    }

    .hero-carousel {
        height: 560px;
    }

    .hero-content {
        bottom: 74px;
        width: calc(100% - 36px);
    }

    .hero-content h1 {
        font-size: 42px;
    }

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

    .hero-arrow {
        display: none;
    }

    .section {
        padding: 46px 18px;
    }

    .section-heading {
        display: block;
    }

    .section-heading a {
        display: inline-flex;
        margin-top: 12px;
    }

    .movie-grid,
    .archive-grid,
    .movie-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

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

    .category-card-cover img {
        min-height: 220px;
    }

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

    .detail-headline > img {
        width: 210px;
        height: 292px;
    }

    .detail-hero-inner,
    .page-hero > div {
        width: calc(100% - 36px);
    }

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

@media (max-width: 560px) {
    .site-logo .logo-mark {
        width: 38px;
        height: 38px;
    }

    .logo-text strong {
        font-size: 17px;
    }

    .hero-carousel {
        height: 520px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-tags span {
        padding: 6px 9px;
        font-size: 12px;
    }

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

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

    .poster-wrap {
        aspect-ratio: 16 / 9;
    }

    .list-card,
    .related-stack .list-card {
        grid-template-columns: 104px 1fr;
    }

    .list-card img,
    .related-stack .list-card img {
        width: 104px;
        height: 74px;
    }

    .rank-row {
        grid-template-columns: 38px 64px 1fr;
    }

    .rank-play {
        display: none;
    }

    .content-card,
    .side-card,
    .player-card {
        padding: 16px;
    }

    .play-overlay span {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }
}
