* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #0f172a;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 38%, #f8fafc 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(240, 249, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(125, 211, 252, 0.45);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
}

.header-inner,
.category-strip-inner,
.footer-inner,
.section-wrap,
.quick-panel,
.detail-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 13px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 20px;
    color: #0369a1;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 3px;
    color: #0284c7;
    font-size: 12px;
}

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

.desktop-nav a,
.mobile-panel nav a,
.category-strip a {
    border-radius: 999px;
    padding: 9px 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 650;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel nav a:hover,
.category-strip a:hover {
    color: #0369a1;
    background: #e0f2fe;
}

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

.header-search input,
.mobile-search input,
.quick-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid #bae6fd;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.08);
}

.header-search input {
    width: 220px;
}

.header-search button,
.mobile-search button,
.quick-search button,
.btn,
.filter-panel button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.quick-search button:hover,
.btn:hover,
.filter-panel button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.3);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 22px;
}

.category-strip {
    border-top: 1px solid rgba(186, 230, 253, 0.65);
}

.category-strip-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}

.category-strip a {
    padding: 7px 13px;
    white-space: nowrap;
    font-size: 13px;
}

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

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.mobile-search input {
    flex: 1;
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #082f49;
}

.hero-track {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 48px;
    padding: 80px max(32px, calc((100vw - 1180px) / 2)) 96px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s ease;
}

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

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 22%, rgba(56, 189, 248, 0.5), transparent 28%),
        linear-gradient(90deg, rgba(8, 47, 73, 0.94), rgba(12, 74, 110, 0.82) 48%, rgba(8, 47, 73, 0.5));
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.16);
    border-color: rgba(186, 230, 253, 0.4);
}

.hero-content h1 {
    margin: 22px 0 18px;
    color: #ffffff;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.04;
    text-shadow: 0 18px 45px rgba(2, 6, 23, 0.35);
}

.hero-content p {
    max-width: 760px;
    margin: 0;
    color: #dff6ff;
    font-size: 20px;
    line-height: 1.75;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 750;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.btn.ghost {
    color: #0369a1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #bae6fd;
}

.hero-poster {
    display: block;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: #ffffff;
    background: rgba(14, 165, 233, 0.85);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 9px 12px;
}

.hero-controls button {
    border: 0;
    cursor: pointer;
}

.hero-controls > button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 28px;
    line-height: 1;
}

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

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.active {
    width: 28px;
    background: #67e8f9;
}

.quick-panel {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: -34px;
    padding: 20px;
    border: 1px solid rgba(186, 230, 253, 0.75);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 60px rgba(14, 165, 233, 0.14);
    backdrop-filter: blur(18px);
}

.quick-search input {
    flex: 1;
    min-width: 0;
}

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

.quick-links a,
.section-title a,
.category-showcase-head a,
.category-tile-head {
    color: #0284c7;
    font-weight: 800;
}

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

.soft-section {
    padding-top: 80px;
}

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

.section-title span,
.category-showcase-head span {
    color: #0284c7;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-title h2,
.category-showcase-head h3,
.category-tile h2,
.story-card h2 {
    margin: 6px 0 0;
    color: #0f172a;
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 52px rgba(14, 165, 233, 0.16);
    border-color: #bae6fd;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.poster-wrap img,
.mini-poster img,
.rank-thumb img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.poster-wrap {
    aspect-ratio: 2 / 3;
}

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

.poster-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #ffffff;
    background: rgba(2, 132, 199, 0.88);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #0284c7;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22);
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
}

.movie-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.movie-card h3,
.rank-main h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card p,
.rank-main p,
.category-tile p,
.footer-brand p,
.story-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.tag-row {
    margin-top: auto;
}

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

.category-showcase-card,
.category-tile {
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(186, 230, 253, 0.72);
    box-shadow: 0 18px 46px rgba(14, 165, 233, 0.1);
}

.category-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini-card:hover {
    transform: translateY(-3px);
    background: #eff6ff;
}

.mini-poster {
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 2 / 3;
    background: #e0f2fe;
}

.mini-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.4;
}

.mini-card small {
    display: block;
    margin: 5px 0;
    color: #64748b;
}

.mini-tags span {
    padding: 4px 7px;
    font-size: 11px;
}

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

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

.rank-link {
    display: grid;
    grid-template-columns: 54px 82px minmax(0, 1fr) 74px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-link:hover {
    transform: translateY(-4px);
    border-color: #7dd3fc;
}

.rank-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #22d3ee);
    border-radius: 14px;
    font-size: 18px;
    font-weight: 900;
}

.rank-thumb {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    background: #e0f2fe;
}

.rank-main p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 6px 0;
    font-size: 14px;
}

.rank-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #0369a1;
}

.rank-score strong {
    font-size: 22px;
}

.rank-score span {
    color: #64748b;
    font-size: 12px;
}

.page-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.28), transparent 32%),
        linear-gradient(135deg, #e0f2fe, #ffffff);
    border-bottom: 1px solid rgba(186, 230, 253, 0.72);
}

.page-hero.slim {
    padding: 76px 0 72px;
}

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

.page-hero h1 {
    margin: 16px 0 12px;
    color: #0f172a;
    font-size: clamp(36px, 5vw, 58px);
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 38px rgba(14, 165, 233, 0.08);
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-search input {
    flex: 1;
    min-width: 0;
}

.filter-search span {
    color: #0284c7;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.filter-selects {
    display: flex;
    gap: 10px;
}

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

.category-tile-head {
    display: block;
    padding-bottom: 16px;
}

.category-tile-head span {
    display: inline-flex;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #22d3ee);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    background: #082f49;
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 47, 73, 0.96), rgba(12, 74, 110, 0.78), rgba(2, 6, 23, 0.46));
}

.detail-inner {
    position: relative;
    z-index: 2;
    padding: 56px 0 66px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #bae6fd;
    font-size: 14px;
    margin-bottom: 26px;
}

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

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

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #e0f2fe;
}

.detail-info .eyebrow {
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(186, 230, 253, 0.36);
}

.detail-info h1 {
    margin: 20px 0 16px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 860px;
    color: #e0f2fe;
    font-size: 19px;
    line-height: 1.75;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.detail-meta span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 12px;
}

.detail-tags {
    margin-bottom: 26px;
}

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

.story-card {
    padding: 26px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.story-card p {
    margin-top: 14px;
    font-size: 16px;
}

.player-section {
    padding-top: 48px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(15, 23, 42, 0.24);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.28), rgba(2, 6, 23, 0.66));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #0284c7;
    background: rgba(255, 255, 255, 0.94);
    font-size: 34px;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.34);
}

.play-overlay strong {
    font-size: 20px;
    letter-spacing: 0.08em;
}

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

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

.site-footer {
    margin-top: 80px;
    background: linear-gradient(180deg, #f0f9ff, #dff6ff);
    border-top: 1px solid #bae6fd;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 34px;
    padding: 44px 0;
}

.brand.compact .brand-icon {
    width: 34px;
    height: 34px;
}

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

.footer-brand p {
    margin-top: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong {
    color: #0f172a;
    margin-bottom: 4px;
}

.footer-links a {
    color: #475569;
    font-size: 14px;
}

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

.footer-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-chip-row a {
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #bae6fd;
}

.footer-bottom {
    padding: 18px 16px;
    color: #64748b;
    text-align: center;
    border-top: 1px solid rgba(125, 211, 252, 0.45);
}

.is-filtered-out {
    display: none !important;
}

@media (max-width: 1120px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

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

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

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

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

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

@media (max-width: 820px) {
    .hero-carousel,
    .hero-track {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 54px;
    }

    .hero-poster {
        width: min(260px, 72vw);
        justify-self: center;
    }

    .quick-panel,
    .filter-panel,
    .detail-grid,
    .detail-main,
    .footer-inner,
    .category-showcase-grid,
    .category-tile-grid {
        grid-template-columns: 1fr;
    }

    .filter-selects {
        flex-direction: column;
    }

    .filter-panel input,
    .filter-panel select {
        width: 100%;
    }

    .detail-poster {
        width: min(280px, 78vw);
    }

    .rank-link {
        grid-template-columns: 44px 70px minmax(0, 1fr);
    }

    .rank-score {
        display: none;
    }
}

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

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

    .brand-text small {
        font-size: 11px;
    }

    .category-strip {
        display: none;
    }

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

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

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

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

    .movie-card h3,
    .rank-main h3 {
        font-size: 16px;
    }

    .movie-card p {
        font-size: 13px;
    }

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

    .play-overlay span {
        width: 64px;
        height: 64px;
    }
}
