:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eef6ff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --cyan: #06b6d4;
    --orange: #f97316;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    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.08);
    backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

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

.desktop-nav a,
.mobile-nav a,
.footer-links a {
    color: #334155;
    font-weight: 700;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
    color: var(--primary);
}

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

.header-search input,
.mobile-search input,
.hero-search input,
.page-filter input {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    outline: 0;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 230px;
    padding: 10px 16px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.page-filter button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

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

.mobile-menu-button {
    display: none;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--text);
    background: #eff6ff;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 22px;
    border-top: 1px solid var(--line);
}

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

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
}

main {
    min-height: 72vh;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.45), transparent 36%), linear-gradient(135deg, #0f172a 0%, #1d4ed8 54%, #06b6d4 100%);
}

.hero-shell::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
    pointer-events: none;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 640px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0 150px;
    grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.52fr);
    align-items: center;
    gap: 64px;
}

.hero-slide.is-active {
    display: grid;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    filter: blur(6px) saturate(1.16);
    transform: scale(1.08);
}

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

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.hero-content p {
    width: min(720px, 100%);
    margin: 0 0 22px;
    color: #dbeafe;
    font-size: 20px;
}

.hero-tags .tag {
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.26);
}

.hero-actions,
.detail-actions,
.cta-band div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.primary-button,
.ghost-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
}

.ghost-button {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

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

.hero-cover {
    position: relative;
    z-index: 2;
    display: block;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 35px 80px rgba(2, 6, 23, 0.34);
    backdrop-filter: blur(22px);
}

.hero-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.28);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 92px;
    z-index: 3;
    width: min(1280px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-controls button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    backdrop-filter: blur(14px);
}

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

.hero-dot {
    width: 11px !important;
    height: 11px !important;
    background: rgba(255, 255, 255, 0.45) !important;
}

.hero-dot.is-active {
    width: 34px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
}

.hero-quick {
    position: relative;
    z-index: 4;
    width: min(1280px, calc(100% - 32px));
    margin: -70px auto 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-search {
    width: min(760px, 100%);
    margin: 0 auto 16px;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
}

.hero-chip-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-chip {
    padding: 8px 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.section-wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 68px 0;
}

.no-top-space {
    padding-top: 26px;
}

.soft-panel {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1280px) / 2));
    padding-right: max(16px, calc((100% - 1280px) / 2));
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section-heading {
    display: flex;
    align-items: end;
    gap: 14px;
    margin-bottom: 28px;
}

.section-heading span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.section-heading a {
    margin-left: auto;
    color: var(--primary);
    font-weight: 900;
}

.centered-heading {
    text-align: center;
    justify-content: center;
}

.centered-heading a {
    margin-left: 0;
}

.compact-heading {
    align-items: center;
    margin-bottom: 18px;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.28s ease;
}

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

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(239, 68, 68, 0.24);
}

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

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

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

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

.movie-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.movie-card-wide {
    display: grid;
    grid-template-columns: 160px 1fr;
}

.movie-card-wide .poster-link img {
    height: 100%;
    aspect-ratio: auto;
}

.tag-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

.rail-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 18px;
    scroll-snap-type: x proximity;
}

.rail-row .movie-card {
    min-width: 220px;
    scroll-snap-align: start;
}

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

.category-card,
.category-overview-card,
.rank-panel,
.detail-meta-card,
.detail-article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.category-card {
    overflow: hidden;
}

.category-card-main {
    min-height: 158px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 10px;
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.category-card:nth-child(3n) .category-card-main {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.category-card:nth-child(4n) .category-card-main {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.category-card-main span {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.category-card-main strong {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

.category-sample-links {
    display: grid;
    gap: 9px;
    padding: 16px 18px 20px;
}

.category-sample-links a {
    color: var(--muted);
    font-size: 14px;
}

.category-sample-links a:hover {
    color: var(--primary);
}

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

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

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

.rank-item {
    display: grid;
    grid-template-columns: 42px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    border-color: rgba(37, 99, 235, 0.26);
}

.rank-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    font-weight: 900;
}

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

.rank-text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.rank-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-text em {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-heat {
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
}

.cta-band {
    margin-top: 40px;
    padding: 78px 16px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.cta-band h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 52px);
    letter-spacing: -0.05em;
}

.cta-band p {
    width: min(760px, 100%);
    margin: 0 auto;
    color: #dbeafe;
}

.cta-band div {
    justify-content: center;
}

.light-button {
    color: var(--primary);
    background: #ffffff;
}

.light-ghost {
    color: #ffffff;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    width: min(1280px, calc(100% - 32px));
    margin: 38px auto 0;
    border-radius: 34px;
    color: #ffffff;
    background: radial-gradient(circle at 15% 0%, rgba(6, 182, 212, 0.38), transparent 36%), linear-gradient(135deg, #0f172a, #1d4ed8 62%, #06b6d4);
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 70px;
}

.page-hero p,
.detail-copy p {
    width: min(760px, 100%);
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}

.page-filter {
    width: min(760px, 100%);
    margin-top: 28px;
}

.page-filter input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
}

.category-overview-list {
    width: min(1280px, calc(100% - 32px));
    margin: 30px auto 80px;
    display: grid;
    gap: 20px;
}

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

.category-overview-copy span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.category-overview-copy h2 {
    margin: 8px 0 12px;
    font-size: 34px;
    letter-spacing: -0.05em;
}

.category-overview-copy p {
    margin: 0 0 18px;
    color: var(--muted);
}

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

.poster-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.poster-strip a {
    min-width: 0;
}

.poster-strip img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
    background: #dbeafe;
}

.poster-strip span {
    display: block;
    overflow: hidden;
    margin-top: 7px;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 58px rgba(2, 6, 23, 0.34);
}

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

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

.detail-copy h1 {
    font-size: clamp(34px, 5.6vw, 64px);
}

.detail-tags .tag {
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.detail-section {
    padding-bottom: 26px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-poster-button {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: #000000;
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-poster-button img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.58;
    object-fit: cover;
}

.player-poster-button span {
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.4);
    font-size: 34px;
}

.player-shell.is-playing .player-poster-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.detail-article,
.detail-meta-card {
    padding: 28px;
}

.detail-article h2,
.detail-meta-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.detail-article p {
    margin: 0 0 24px;
    color: #334155;
    font-size: 17px;
}

.detail-meta-card dl {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px 18px;
    margin: 0;
}

.detail-meta-card dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-meta-card dd {
    margin: 0;
    color: #1e293b;
    font-weight: 700;
}

.detail-meta-card a {
    color: var(--primary);
}

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

.empty-state {
    display: none;
    margin: 20px 0 70px;
    padding: 34px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed #bfdbfe;
    border-radius: var(--radius);
    background: #ffffff;
}

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

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

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-inner p {
    max-width: 640px;
    margin: 10px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 16px;
}

.footer-links a {
    color: #cbd5e1;
}

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

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .header-search {
        display: none;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-cover {
        width: min(360px, 100%);
    }

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

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

    .rank-panel {
        position: static;
    }
}

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

    .site-logo {
        font-size: 22px;
    }

    .hero-slide {
        min-height: 620px;
        padding-top: 54px;
        padding-bottom: 170px;
    }

    .hero-content h1,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.05em;
    }

    .hero-content p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .hero-controls {
        bottom: 122px;
    }

    .hero-search,
    .page-filter {
        display: grid;
    }

    .hero-search button,
    .page-filter button {
        width: 100%;
    }

    .section-wrap,
    .page-hero,
    .detail-hero {
        width: min(100% - 24px, 1280px);
    }

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

    .soft-panel {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-hero,
    .detail-hero {
        padding: 32px;
        border-radius: 26px;
    }

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

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

    .cards-2,
    .cards-4,
    .cards-5,
    .cards-6,
    .category-grid,
    .expanded-rank-list,
    .poster-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .movie-card-wide {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        display: grid;
    }

    .footer-links {
        justify-content: start;
    }
}

@media (max-width: 540px) {
    .header-inner {
        width: min(100% - 20px, 1280px);
    }

    .hero-quick,
    .hero-controls,
    .hero-slide,
    .mobile-nav {
        width: min(100% - 20px, 1280px);
    }

    .hero-cover {
        display: none;
    }

    .cards-2,
    .cards-4,
    .cards-5,
    .cards-6,
    .category-grid,
    .expanded-rank-list,
    .poster-strip {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 36px 54px minmax(0, 1fr);
    }

    .rank-heat {
        grid-column: 3;
    }

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