:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-solid: #111827;
    --card: rgba(15, 23, 42, 0.88);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --amber: #f59e0b;
    --orange: #f97316;
    --red: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
        radial-gradient(circle at 80% 10%, rgba(239, 68, 68, 0.12), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
    z-index: -1;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.68);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
    background: rgba(2, 6, 23, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 22px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.04em;
    white-space: nowrap;
    background: linear-gradient(135deg, #fbbf24, #fb923c 48%, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-logo {
    font-size: 1.35rem;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
    font-size: 0.85rem;
}

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

.nav-link {
    color: var(--muted-strong);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(245, 158, 11, 0.14);
    transform: translateY(-1px);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-input {
    color: white;
    border: 0;
    outline: 0;
    background: transparent;
    min-width: 0;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.big-search input::placeholder,
.filter-input::placeholder {
    color: #64748b;
}

.header-search button,
.mobile-search button,
.big-search button {
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 800;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    padding: 9px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: white;
    margin: 5px 0;
    border-radius: 999px;
}

.mobile-panel {
    padding: 0 22px 18px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.96);
}

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

main {
    overflow: hidden;
}

.hero-section {
    position: relative;
    min-height: 720px;
    background: #020617;
}

.hero-slider {
    position: relative;
    min-height: 720px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.7s ease, transform 0.9s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 44%, rgba(245, 158, 11, 0.22), transparent 23rem),
        linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.82) 42%, rgba(2, 6, 23, 0.28)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.10) 32%, rgba(2, 6, 23, 0.20) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    min-height: 720px;
    margin: 0 auto;
    padding: 138px 22px 180px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
    gap: 70px;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

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

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero-copy p,
.page-hero p,
.lead-text {
    color: var(--muted-strong);
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 24px 0 0;
}

.hero-meta,
.detail-meta,
.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    align-items: center;
}

.hero-meta {
    margin-top: 26px;
}

.hero-meta span,
.detail-meta span,
.meta-line span {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.62);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.82rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.28);
}

.btn-ghost,
.btn-soft {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    aspect-ratio: 3 / 4.2;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(15, 23, 42, 0.7));
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: inherit;
    pointer-events: none;
}

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

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 38px;
    z-index: 4;
    transform: translateX(-50%);
    max-width: 1320px;
    width: calc(100% - 44px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.hero-dot {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    text-align: left;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(14px);
    padding: 8px;
    opacity: 0.76;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-dot:hover,
.hero-dot.active {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.58);
}

.hero-dot img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-dot span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.section-shell,
.page-hero,
.breadcrumb {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.section-shell {
    padding-top: 76px;
}

.page-main {
    padding-top: 98px;
}

.page-hero {
    padding-top: 68px;
    padding-bottom: 40px;
}

.compact-hero,
.category-hero {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero h1 {
    max-width: 980px;
}

.page-hero p {
    max-width: 820px;
}

.quick-search {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: center;
    padding-top: 56px;
}

.quick-search h2,
.section-head h2,
.content-card h2,
.category-overview-card h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    letter-spacing: -0.05em;
}

.big-search {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.big-search input {
    flex: 1;
    padding: 0 12px;
}

.big-search button {
    padding-left: 22px;
    padding-right: 22px;
}

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

.section-link,
.text-link {
    color: #fbbf24;
    font-weight: 900;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 24px 70px rgba(245, 158, 11, 0.13);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 2.95;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.84));
}

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

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

.poster-link::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent);
}

.card-badge,
.rank-mark {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 5px 10px;
}

.card-badge {
    left: 12px;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-mark {
    right: 12px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
}

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

.movie-card-body h2,
.movie-card-body h3 {
    margin: 10px 0 8px;
    font-size: 1.02rem;
    line-height: 1.32;
    letter-spacing: -0.03em;
}

.movie-card-body p {
    color: var(--muted);
    line-height: 1.62;
    margin: 0;
    font-size: 0.92rem;
}

.meta-line {
    gap: 6px;
}

.meta-line span {
    padding: 4px 8px;
    font-size: 0.72rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-row span {
    color: #fed7aa;
    border: 1px solid rgba(251, 191, 36, 0.20);
    background: rgba(245, 158, 11, 0.10);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.75rem;
}

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

.ranking-panel,
.content-card,
.filter-bar,
.category-overview-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(14px);
}

.ranking-panel {
    padding: 22px;
    position: sticky;
    top: 98px;
}

.small-head {
    margin-bottom: 18px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 42px 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.36);
    padding: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    border-color: rgba(245, 158, 11, 0.42);
}

.ranking-number {
    color: #fbbf24;
    font-size: 1.08rem;
    font-weight: 900;
    text-align: center;
}

.ranking-thumb img {
    width: 62px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-item h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.ranking-item p {
    color: var(--muted);
    margin: 0 0 8px;
    line-height: 1.45;
    font-size: 0.88rem;
}

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

.category-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #0f172a;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    transition: transform 0.45s ease, opacity 0.25s ease;
}

.category-card:hover img {
    opacity: 0.48;
    transform: scale(1.08);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), transparent 82%);
}

.category-card span,
.category-card p {
    position: relative;
    z-index: 1;
}

.category-card span {
    font-size: 1.2rem;
    font-weight: 900;
}

.category-card p {
    color: var(--muted-strong);
    margin: 8px 0 0;
    line-height: 1.55;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.category-pill {
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(15, 23, 42, 0.66);
    font-weight: 800;
}

.category-pill:hover,
.category-pill.active {
    color: white;
    border-color: rgba(245, 158, 11, 0.52);
    background: rgba(245, 158, 11, 0.16);
}

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

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

.category-preview-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.category-preview-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
}

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

.filter-shell {
    padding-top: 34px;
}

.filter-bar {
    margin-bottom: 24px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sticky-filter {
    position: sticky;
    top: 92px;
    z-index: 8;
}

.filter-input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 13px 16px;
    background: rgba(2, 6, 23, 0.42);
}

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

.filter-chip {
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    background: rgba(2, 6, 23, 0.42);
    font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
    color: white;
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.16);
}

.movie-card.is-hidden,
.ranking-item.is-hidden {
    display: none;
}

.ranking-page-shell {
    max-width: 1040px;
}

.full-ranking .ranking-item {
    grid-template-columns: 58px 82px minmax(0, 1fr);
}

.full-ranking .ranking-thumb img {
    width: 82px;
    height: 108px;
}

.breadcrumb {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 28px;
    padding-bottom: 20px;
}

.breadcrumb a {
    color: #fbbf24;
}

.detail-main {
    padding-top: 86px;
}

.detail-hero {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 22px 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
    gap: 30px;
    align-items: stretch;
}

.detail-player,
.detail-info {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    align-content: center;
    color: white;
    border: 0;
    background: radial-gradient(circle at center, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 22px 44px rgba(249, 115, 22, 0.34);
    font-size: 1.75rem;
    padding-left: 5px;
}

.play-overlay strong {
    font-size: 1.15rem;
}

.detail-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-info h1 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.detail-meta {
    margin-top: 22px;
}

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

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

.content-card {
    padding: 24px;
}

.content-card p {
    color: var(--muted-strong);
    line-height: 1.9;
    margin: 16px 0 0;
}

.site-footer {
    margin-top: 86px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 38px 22px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.4rem;
}

.footer-inner p {
    color: var(--muted);
    line-height: 1.75;
    max-width: 560px;
}

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

.footer-links a {
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
}

.footer-links a:hover {
    color: white;
    border-color: rgba(245, 158, 11, 0.48);
}

.footer-bottom {
    color: #64748b;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding: 18px 22px 24px;
}

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

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

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

    .ranking-panel {
        position: static;
    }

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

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

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .header-inner {
        min-height: 68px;
    }

    .hero-section,
    .hero-slider,
    .hero-content {
        min-height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 108px;
        padding-bottom: 190px;
    }

    .hero-poster {
        width: min(68vw, 300px);
        justify-self: start;
    }

    .hero-dots {
        grid-template-columns: 1fr;
        bottom: 20px;
    }

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

    .quick-search,
    .footer-inner,
    .category-overview-card,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

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

@media (max-width: 680px) {
    .site-logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        letter-spacing: -0.06em;
    }

    .hero-actions,
    .big-search {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }

    .movie-grid,
    .compact-grid,
    .listing-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .movie-card-body p,
    .tag-row {
        display: none;
    }

    .ranking-item,
    .full-ranking .ranking-item {
        grid-template-columns: 42px 62px minmax(0, 1fr);
    }

    .full-ranking .ranking-thumb img {
        width: 62px;
        height: 82px;
    }

    .category-preview-images img {
        height: 118px;
    }

    .section-shell {
        padding-top: 54px;
    }

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

    .play-circle {
        width: 68px;
        height: 68px;
        font-size: 1.35rem;
    }

    .detail-info {
        padding: 24px;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .compact-grid,
    .listing-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 0.76rem;
    }
}
