:root {
    --cyan: #0891b2;
    --cyan-dark: #0e7490;
    --blue: #2563eb;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --card: #ffffff;
    --footer: #111827;
    --radius: 1.25rem;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.12rem;
    font-weight: 800;
    white-space: nowrap;
}

.site-logo span:last-child {
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.28);
    font-size: 0.8rem;
}

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

.desktop-nav a,
.mobile-panel a {
    padding: 0.6rem 0.85rem;
    border-radius: 0.75rem;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--cyan);
    background: #ecfeff;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.search-page-form input,
.filter-bar select,
.secondary-filter select {
    height: 2.55rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0 1rem;
    outline: none;
    background: #ffffff;
    color: #111827;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.search-page-form input:focus,
.filter-bar select:focus,
.secondary-filter select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.header-search button,
.mobile-search button {
    height: 2.55rem;
    border: 0;
    border-radius: 999px;
    padding: 0 1rem;
    color: #ffffff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    font-weight: 800;
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    border: 0;
    border-radius: 0.8rem;
    padding: 0.55rem 0.75rem;
    background: #f3f4f6;
    color: #111827;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

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

.mobile-panel nav,
.mobile-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.mobile-search {
    display: flex;
    gap: 0.5rem;
}

.mobile-search input {
    flex: 1;
}

.hero {
    background: #020617;
}

.hero-stage {
    position: relative;
    height: min(74vh, 760px);
    min-height: 560px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.68) 45%, rgba(2, 6, 23, 0.18) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent 55%);
}

.hero-content {
    position: absolute;
    left: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
    bottom: 5.5rem;
    max-width: 720px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    margin: 0 0 0.75rem;
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 0;
    line-height: 1.05;
    font-size: clamp(2.3rem, 6vw, 5.35rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.hero-content h2 {
    margin-top: 0.35rem;
    font-size: clamp(1.85rem, 4vw, 3.9rem);
}

.hero-content p:not(.eyebrow) {
    max-width: 660px;
    margin: 1.35rem 0 0;
    color: #d1d5db;
    line-height: 1.85;
    font-size: 1.05rem;
}

.hero-tags,
.detail-meta,
.detail-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tags {
    margin-top: 1.25rem;
}

.hero-tags span,
.detail-meta span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    border-radius: 999px;
    padding: 0 1.35rem;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #ffffff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 40px rgba(8, 145, 178, 0.28);
}

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

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.36);
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 1.25rem;
}

.hero-next {
    right: 1.25rem;
}

.hero-thumbs {
    max-width: 1280px;
    margin: -4rem auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0 1.25rem 2rem;
}

.hero-dot {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    padding: 0.55rem;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.65);
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(14px);
    transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active,
.hero-dot:hover {
    border-color: #67e8f9;
    background: rgba(8, 145, 178, 0.35);
    transform: translateY(-2px);
}

.hero-dot img {
    width: 3.2rem;
    height: 4.2rem;
    border-radius: 0.65rem;
    object-fit: cover;
}

.hero-dot span {
    font-weight: 900;
    line-height: 1.35;
}

.section-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.8rem 1.25rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    letter-spacing: -0.04em;
}

.section-head a {
    color: var(--cyan);
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 145, 178, 0.35);
    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.45s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.08));
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--cyan-dark);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    font-weight: 900;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.score-badge {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
    color: #ffffff;
    background: rgba(8, 145, 178, 0.92);
    font-size: 0.8rem;
    font-weight: 900;
}

.movie-card-body {
    padding: 1rem;
}

.movie-card-body h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

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

.movie-meta,
.movie-one-line {
    margin: 0.55rem 0 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.88rem;
}

.movie-one-line {
    min-height: 4.2em;
}

.tag-row {
    margin-top: 0.75rem;
}

.tag-row span,
.detail-tags span,
.detail-meta span {
    color: var(--cyan-dark);
    background: #ecfeff;
}

.category-showcase {
    max-width: none;
    margin: 1rem auto;
    padding-left: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
    padding-right: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
    background: linear-gradient(90deg, #ecfeff, #eff6ff);
}

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

.category-card a,
.category-overview-card {
    display: block;
    height: 100%;
    border: 1px solid rgba(8, 145, 178, 0.14);
    border-radius: 1.35rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 32px rgba(8, 145, 178, 0.08);
    transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.category-card a:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow: var(--shadow);
}

.category-card span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--cyan-dark);
    font-size: 1.2rem;
    font-weight: 900;
}

.category-card strong {
    display: block;
    color: #334155;
    line-height: 1.65;
    font-size: 0.93rem;
}

.category-card em {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
    font-style: normal;
}

.category-card em a {
    display: inline-flex;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 0.75rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    align-items: start;
}

.ranking-panel,
.poster-panel,
.side-list {
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: var(--radius);
    padding: 1rem;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.panel-head {
    margin-bottom: 1rem;
}

.ranking-list {
    display: grid;
    gap: 0.65rem;
}

.ranking-item,
.small-card {
    display: grid;
    grid-template-columns: auto 3.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1rem;
    padding: 0.55rem;
    background: #f8fafc;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover,
.small-card:hover {
    background: #ecfeff;
    transform: translateX(3px);
}

.rank-num {
    color: var(--cyan);
    font-weight: 900;
}

.ranking-item img,
.small-card img {
    width: 3.6rem;
    height: 4.8rem;
    border-radius: 0.65rem;
    object-fit: cover;
    background: #0f172a;
}

.rank-info,
.small-card span {
    min-width: 0;
}

.rank-info strong,
.small-card strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
}

.rank-info em,
.small-card em {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    font-size: 0.78rem;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: center;
    min-height: 320px;
    padding: 4.5rem max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
    color: #ffffff;
    background: radial-gradient(circle at 80% 10%, rgba(103, 232, 249, 0.28), transparent 35%), linear-gradient(135deg, #0891b2, #2563eb 55%, #0f172a);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 1rem 0 0;
    color: #cffafe;
    line-height: 1.85;
    font-size: 1.06rem;
}

.page-hero-cards,
.small-card-grid {
    display: grid;
    gap: 0.75rem;
}

.page-hero-cards .small-card {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.page-hero-cards .small-card em {
    color: #cffafe;
}

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

.category-overview-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.category-overview-head span {
    color: var(--cyan-dark);
    font-size: 1.25rem;
    font-weight: 900;
}

.category-overview-head a {
    color: var(--cyan);
    font-weight: 900;
}

.category-overview-card p {
    margin: 0 0 1rem;
    color: #475569;
    line-height: 1.7;
}

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

.filter-bar,
.search-page-form,
.secondary-filter {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.35rem;
}

.filter-bar input,
.search-page-form input {
    flex: 1;
}

.filter-bar select,
.secondary-filter select {
    min-width: 160px;
}

.empty-state {
    margin: 2rem 0 0;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: #64748b;
    background: #f1f5f9;
}

.wide-rank-list {
    display: grid;
    gap: 0.9rem;
}

.wide-rank-card {
    border-radius: 1.25rem;
}

.wide-rank-link {
    display: grid;
    grid-template-columns: 4rem 5rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem;
}

.wide-rank-num {
    color: var(--cyan);
    font-size: 1.1rem;
    font-weight: 900;
    text-align: center;
}

.wide-rank-link img {
    width: 5rem;
    height: 6.6rem;
    border-radius: 0.8rem;
    object-fit: cover;
    background: #0f172a;
}

.wide-rank-info {
    min-width: 0;
}

.wide-rank-info strong {
    display: block;
    font-size: 1.1rem;
}

.wide-rank-info em,
.wide-rank-info span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    line-height: 1.55;
    font-style: normal;
}

.detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.25rem 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.6rem;
    align-items: start;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--cyan);
    font-weight: 800;
}

.player-card {
    border-radius: 1.35rem;
    padding: 0.7rem;
    background: linear-gradient(135deg, #0f172a, #164e63);
    box-shadow: var(--shadow);
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
    background: #020617;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.25));
    cursor: pointer;
}

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

.big-play {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--cyan-dark);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    font-size: 1.6rem;
}

.player-cover strong {
    max-width: min(80%, 620px);
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-align: center;
}

.player-error {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
    border-radius: 0.8rem;
    padding: 0.85rem 1rem;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.9);
    text-align: center;
}

.detail-content {
    margin-top: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 3vw, 2rem);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.detail-content h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.detail-meta {
    margin: 1rem 0 1.25rem;
}

.lead-text {
    margin: 0 0 1.3rem;
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.85;
    font-weight: 700;
}

.detail-content h2 {
    margin: 1.5rem 0 0.65rem;
    font-size: 1.28rem;
}

.detail-content p:not(.eyebrow):not(.lead-text) {
    color: #374151;
    line-height: 1.9;
}

.detail-tags {
    margin-top: 1.5rem;
}

.detail-side {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1rem;
}

.poster-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    object-fit: cover;
    background: #0f172a;
}

.full-btn {
    width: 100%;
    margin-top: 1rem;
}

.side-list h2 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
}

.side-list {
    display: grid;
    gap: 0.65rem;
}

.site-footer {
    margin-top: 4rem;
    color: #cbd5e1;
    background: var(--footer);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    color: #ffffff;
}

.footer-inner p {
    max-width: 520px;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-inner h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
}

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

.copyright {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.2rem 1.25rem 1.6rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    text-align: center;
}

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

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

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

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

    .detail-side {
        position: static;
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

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

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

    .header-inner {
        height: 64px;
    }

    .site-logo,
    .footer-logo {
        font-size: 0.98rem;
    }

    .hero-stage {
        min-height: 620px;
        height: 78vh;
    }

    .hero-content {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 6.2rem;
    }

    .hero-content p:not(.eyebrow) {
        font-size: 0.98rem;
    }

    .hero-arrow {
        display: none;
    }

    .hero-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -5.2rem;
    }

    .hero-dot:nth-child(n+5) {
        display: none;
    }

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

    .page-hero {
        grid-template-columns: 1fr;
        padding-top: 3.2rem;
        padding-bottom: 3.2rem;
    }

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

    .filter-bar,
    .search-page-form,
    .secondary-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .wide-rank-link {
        grid-template-columns: 3rem 4rem minmax(0, 1fr);
    }

    .wide-rank-link b {
        display: none;
    }

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

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

@media (max-width: 560px) {
    .section-wrap {
        padding: 2.7rem 1rem;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview,
    .small-card-grid,
    .page-hero-cards {
        grid-template-columns: 1fr;
    }

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

    .hero-dot:nth-child(n+4) {
        display: none;
    }

    .movie-one-line {
        min-height: auto;
    }

    .ranking-item {
        grid-template-columns: auto 3.3rem minmax(0, 1fr);
    }

    .ranking-item b {
        display: none;
    }

    .site-logo span:last-child {
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
