:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --body: #111827;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.22);
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
    --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--body);
    background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 50%, #fffbeb 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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: 50;
    color: #fff;
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong,
.footer-brand {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--orange-400), var(--amber-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy em {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
}

.header-search {
    position: relative;
    display: flex;
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.32);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input,
.mobile-search input {
    height: 42px;
    padding: 0 108px 0 18px;
    color: #fff;
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.9);
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(249, 115, 22, 0.8);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.header-search button,
.mobile-search button {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 34px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

.desktop-nav a,
.category-strip a,
.mobile-panel a {
    color: #e2e8f0;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.category-strip a:hover,
.category-strip a.is-active,
.mobile-panel a:hover {
    color: var(--orange-400);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(51, 65, 85, 0.88);
}

.category-strip {
    display: flex;
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    overflow-x: auto;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.62);
}

.category-strip a {
    flex: 0 0 auto;
    font-size: 14px;
}

.mobile-panel {
    display: none;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: var(--slate-900);
}

.mobile-panel.is-open {
    display: grid;
    gap: 14px;
}

.mobile-search {
    position: relative;
    margin-bottom: 8px;
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    background: var(--slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 35%, rgba(249, 115, 22, 0.26), transparent 34%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.58) 46%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-inner {
    position: absolute;
    left: 50%;
    bottom: 76px;
    width: min(1280px, 100%);
    padding: 0 24px;
    transform: translateX(-50%);
}

.hero-inner h1,
.hero-inner h2 {
    max-width: 780px;
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero-inner h2 {
    font-size: clamp(34px, 4.4vw, 60px);
}

.hero-inner p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: 18px;
}

.hero-label,
.detail-label,
.page-title-card > span,
.section-heading span,
.rank-copy span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.hero-meta,
.movie-meta-row,
.detail-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta {
    margin-bottom: 30px;
}

.hero-meta span,
.movie-meta-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.hero-meta span {
    padding: 7px 13px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
}

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

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

.primary-button {
    color: #fff;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.3);
}

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

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

.ghost-button.light {
    color: var(--slate-900);
    border-color: rgba(15, 23, 42, 0.12);
    background: #fff;
}

.hero-dots {
    position: absolute;
    right: 44px;
    bottom: 44px;
    display: flex;
    gap: 10px;
}

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

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

.page-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.page-top {
    padding-top: 42px;
}

.content-section {
    margin: 64px 0;
}

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

.section-heading h2,
.page-title-card h1,
.rank-copy h2,
.content-panel h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.section-heading span,
.rank-copy span,
.page-title-card > span {
    color: var(--orange-600);
    background: #ffedd5;
}

.section-link {
    min-height: 40px;
    color: var(--orange-600);
    background: #fff7ed;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--soft-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow);
}

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

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

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

.play-mark {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
}

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

.movie-card-kicker {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.movie-card-kicker strong {
    color: #f59e0b;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 850;
}

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

.movie-card p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta-row span {
    max-width: 100%;
    padding: 4px 9px;
    color: #64748b;
    font-size: 12px;
    background: #f8fafc;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 130px 1fr;
}

.movie-card-horizontal .poster-link {
    height: 100%;
    min-height: 178px;
    aspect-ratio: auto;
}

.rank-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    margin: 70px 0;
    padding: 34px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 20%, rgba(249, 115, 22, 0.32), transparent 30%),
        linear-gradient(135deg, var(--slate-900), var(--slate-950));
    box-shadow: var(--shadow);
}

.rank-copy h2,
.rank-copy p {
    color: #fff;
}

.rank-copy p {
    max-width: 520px;
    margin: 16px 0 26px;
    color: #cbd5e1;
}

.rank-copy span {
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.14);
}

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

.mini-rank-item,
.ranking-row {
    display: grid;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini-rank-item {
    grid-template-columns: 38px 56px 1fr;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.mini-rank-item:hover,
.ranking-row:hover {
    transform: translateX(4px);
}

.mini-rank-number,
.ranking-index {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.mini-rank-item img,
.ranking-row img {
    width: 56px;
    height: 74px;
    object-fit: cover;
    border-radius: 12px;
}

.mini-rank-text {
    min-width: 0;
}

.mini-rank-text strong,
.mini-rank-text em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-rank-text strong {
    color: #fff;
    font-weight: 800;
}

.mini-rank-text em {
    color: #cbd5e1;
    font-size: 13px;
    font-style: normal;
}

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

.category-tile,
.category-overview-card,
.page-title-card,
.filter-panel,
.content-panel,
.ranking-list {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--soft-shadow);
}

.category-tile {
    min-height: 180px;
    padding: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.category-tile span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--orange-600);
    font-size: 13px;
    font-weight: 800;
    background: #fff7ed;
}

.category-tile p,
.category-overview-card p,
.page-title-card p {
    margin: 0;
    color: #64748b;
}

.page-title-card {
    margin-bottom: 28px;
    padding: 34px;
    overflow: hidden;
}

.page-title-card p {
    max-width: 780px;
    margin-top: 14px;
    font-size: 17px;
}

.title-actions {
    margin-top: 24px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--orange-600);
}

.category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 70px;
}

.category-overview-card {
    padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-main span {
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--orange-600);
    background: #fff7ed;
    font-weight: 850;
}

.category-overview-main h2 {
    margin: 14px 0 10px;
    font-size: 30px;
    line-height: 1.1;
}

.category-overview-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.category-overview-card li a {
    color: #475569;
}

.category-overview-card li a:hover {
    color: var(--orange-600);
}

.filter-panel {
    margin-bottom: 28px;
    padding: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px 150px;
    gap: 12px;
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    color: #0f172a;
    background: #fff;
}

.filter-count {
    margin-top: 12px;
    color: #64748b;
    font-weight: 750;
}

.all-list {
    margin-bottom: 70px;
}

.ranking-list {
    display: grid;
    gap: 10px;
    margin-bottom: 56px;
    padding: 18px;
}

.ranking-row {
    grid-template-columns: 44px 58px 1fr 70px;
    padding: 10px;
    background: #fff;
}

.ranking-main {
    min-width: 0;
}

.ranking-main strong,
.ranking-main em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-main strong {
    color: #0f172a;
    font-weight: 850;
}

.ranking-main em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.ranking-score {
    color: #f59e0b;
    font-size: 22px;
    font-weight: 950;
    text-align: right;
}

.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 720px;
    margin-top: 26px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
    gap: 28px;
    align-items: stretch;
}

.player-card,
.detail-copy {
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.player-card {
    padding: 16px;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-950));
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at center, rgba(249, 115, 22, 0.28), transparent 34%),
        rgba(2, 6, 23, 0.28);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    font-size: 34px;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.38);
}

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

.detail-copy {
    padding: 28px;
    background: rgba(255, 255, 255, 0.96);
}

.detail-copy h1 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.detail-one-line {
    margin: 0 0 22px;
    color: #475569;
    font-size: 17px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.detail-meta-grid span {
    padding: 12px;
    border-radius: 16px;
    color: #475569;
    background: #f8fafc;
}

.detail-meta-grid strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag-list span {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--orange-600);
    font-size: 13px;
    font-weight: 800;
    background: #fff7ed;
}

.content-panel {
    margin: 34px 0 64px;
    padding: 30px;
}

.content-panel h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 28px;
}

.content-panel h2:not(:first-child) {
    margin-top: 28px;
}

.content-panel p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.site-footer {
    margin-top: 80px;
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), #000);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 52px 0 36px;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
}

.footer-grid p {
    max-width: 360px;
    margin: 14px 0 0;
    color: #94a3b8;
}

.footer-grid a {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
}

.footer-grid a:hover {
    color: var(--orange-400);
}

.footer-keyword {
    display: inline-flex;
    margin: 0 7px 8px 0;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.12);
}

.footer-bottom {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    font-size: 14px;
}

.tone-orange,
.tone-amber,
.tone-red,
.tone-blue,
.tone-slate,
.tone-purple,
.tone-rose,
.tone-cyan,
.tone-emerald,
.tone-yellow {
    position: relative;
}

.tone-orange { background: linear-gradient(135deg, #fff, #fff7ed); }
.tone-amber { background: linear-gradient(135deg, #fff, #fffbeb); }
.tone-red { background: linear-gradient(135deg, #fff, #fef2f2); }
.tone-blue { background: linear-gradient(135deg, #fff, #eff6ff); }
.tone-slate { background: linear-gradient(135deg, #fff, #f8fafc); }
.tone-purple { background: linear-gradient(135deg, #fff, #faf5ff); }
.tone-rose { background: linear-gradient(135deg, #fff, #fff1f2); }
.tone-cyan { background: linear-gradient(135deg, #fff, #ecfeff); }
.tone-emerald { background: linear-gradient(135deg, #fff, #ecfdf5); }
.tone-yellow { background: linear-gradient(135deg, #fff, #fefce8); }

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

    .horizontal-grid,
    .detail-hero,
    .rank-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .header-main {
        height: 64px;
        padding: 0 18px;
    }

    .hero-carousel {
        min-height: 560px;
        height: 76vh;
    }

    .hero-inner {
        bottom: 48px;
        padding: 0 18px;
    }

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

    .hero-dots {
        right: 18px;
        bottom: 20px;
    }

    .page-shell,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 32px, 1280px);
    }

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

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

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

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

@media (max-width: 560px) {
    .brand-copy strong {
        font-size: 19px;
    }

    .brand-symbol {
        width: 36px;
        height: 36px;
    }

    .hero-inner h1,
    .hero-inner h2 {
        font-size: 34px;
    }

    .movie-grid,
    .horizontal-grid,
    .category-grid,
    .category-overview-grid,
    .filter-row {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal {
        grid-template-columns: 110px 1fr;
    }

    .page-title-card,
    .content-panel,
    .detail-copy,
    .rank-panel {
        padding: 22px;
    }

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

    .ranking-score {
        display: none;
    }

    .search-page-form {
        flex-direction: column;
    }
}
