:root {
    --site-bg: #f8fafc;
    --site-panel: #ffffff;
    --site-ink: #0f172a;
    --site-muted: #64748b;
    --site-soft: #f1f5f9;
    --site-line: #e2e8f0;
    --site-dark: #0f172a;
    --site-dark-2: #1e293b;
    --site-amber: #f59e0b;
    --site-amber-2: #d97706;
    --site-cyan: #06b6d4;
    --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 55%, #ffffff 100%);
    color: var(--site-ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    color: #fff;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 56%, #78350f 100%);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.32);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.28);
}

.brand strong {
    display: block;
    font-size: 23px;
    letter-spacing: -0.03em;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: #cbd5e1;
    font-size: 12px;
}

.desktop-nav {
    display: grid;
    gap: 7px;
    justify-items: end;
}

.nav-main,
.nav-categories {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-main a,
.nav-categories a,
.mobile-nav a {
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-main a {
    padding: 8px 14px;
    font-weight: 700;
}

.nav-categories a {
    padding: 5px 10px;
    color: #cbd5e1;
    font-size: 13px;
}

.nav-main a:hover,
.nav-categories a:hover,
.nav-main a.active,
.nav-categories a.active {
    color: #fff;
    background: rgba(245, 158, 11, 0.24);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px;
}

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

.mobile-nav {
    display: none;
    padding: 14px 16px 20px;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav a {
    display: block;
    padding: 11px 14px;
    color: #e2e8f0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #fff;
    background: rgba(245, 158, 11, 0.22);
}

.home-hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 52%, #78350f 100%);
}

.hero-track {
    position: absolute;
    inset: 0;
}

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

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

.hero-bg,
.page-hero > img,
.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
    filter: saturate(1.05) contrast(1.03);
}

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 22%, rgba(245, 158, 11, 0.28), transparent 34%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.3) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: #fff;
}

.hero-copy {
    width: min(680px, 100%);
}

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

.hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin: 0 0 18px;
    color: #fbbf24;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 850;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 22px;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.tag-row,
.movie-meta-line,
.hero-actions,
.library-tools,
.filter-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 12px;
    font-weight: 750;
}

.hero-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

.primary-action,
.secondary-action,
.panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-action {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.26);
}

.secondary-action {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.primary-action:hover,
.secondary-action:hover,
.panel-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    width: min(330px, 34vw);
    aspect-ratio: 2 / 3;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(245, 158, 11, 0.92);
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.32);
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 78px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 34px;
    background: #f59e0b;
}

.hero-quick-links {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    color: #fff;
}

.hero-quick-links span,
.hero-quick-links a {
    white-space: nowrap;
}

.hero-quick-links a,
.hero-quick-links span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-quick-links a:hover {
    background: rgba(245, 158, 11, 0.35);
}

.search-panel {
    position: relative;
    z-index: 10;
    margin-top: -38px;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 470px);
    gap: 24px;
    align-items: center;
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.search-panel h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 900;
}

.search-panel p {
    margin: 0;
    color: var(--site-muted);
}

.search-box {
    display: flex;
    gap: 12px;
}

.search-box input,
.search-box select,
.library-tools input,
.library-tools select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    color: var(--site-ink);
    background: #fff;
    outline: 0;
}

.search-box input:focus,
.search-box select:focus,
.library-tools input:focus,
.library-tools select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.section-block,
.library-section {
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #d97706;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--site-muted);
    line-height: 1.8;
}

.small-heading h2 {
    font-size: 28px;
}

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

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

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

.movie-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

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

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.56) 100%);
}

.year-badge,
.rank-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
}

.year-badge {
    top: 12px;
    right: 12px;
    min-width: 56px;
    padding: 6px 10px;
    background: rgba(245, 158, 11, 0.92);
    font-size: 12px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    box-shadow: 0 12px 20px rgba(239, 68, 68, 0.24);
}

.play-chip {
    left: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(12px);
}

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

.movie-card-body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.movie-card-body p {
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-line {
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.movie-meta-line span + span::before {
    content: "·";
    margin-right: 8px;
    color: #94a3b8;
}

.movie-card-compact .movie-card-body h3 {
    font-size: 16px;
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

.section-band {
    background: linear-gradient(90deg, #eff6ff 0%, #ecfeff 100%);
}

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    background: #0f172a;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

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

.category-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.92));
}

.category-card div {
    position: relative;
    z-index: 2;
}

.category-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 950;
}

.category-card p {
    margin: 0;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.ranking-panel {
    position: sticky;
    top: 96px;
    margin-top: 70px;
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.ranking-panel ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ranking-panel li a {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-panel li a:hover {
    background: #fffbeb;
    transform: translateX(3px);
}

.ranking-panel li span {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #f59e0b;
    font-weight: 900;
}

.ranking-panel li strong {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-panel li em {
    color: var(--site-muted);
    font-style: normal;
    font-size: 12px;
}

.panel-link {
    width: 100%;
    margin-top: 18px;
    color: #fff;
    background: #0f172a;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 52%, #78350f 100%);
}

.slim-hero .container,
.category-hero .container {
    position: relative;
    z-index: 2;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero h1,
.detail-hero h1 {
    margin: 0 0 14px;
    max-width: 880px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.page-hero p,
.detail-hero p {
    max-width: 760px;
    margin: 0;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.8;
}

.library-tools {
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.library-tools input {
    width: min(520px, 100%);
}

.library-tools select {
    width: 180px;
}

.filter-buttons button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #475569;
    background: #fff;
    cursor: pointer;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
    color: #fff;
    border-color: #f59e0b;
    background: #f59e0b;
}

.all-library .movie-card.is-hidden {
    display: none;
}

.detail-hero {
    min-height: 420px;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
    color: #cbd5e1;
}

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

.detail-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 26px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    padding-top: 44px;
}

.watch-panel {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: var(--shadow-card);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at center, rgba(245, 158, 11, 0.22), transparent 34%),
        rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.95);
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.38);
    font-size: 34px;
}

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

.detail-article {
    margin-top: 28px;
    padding: 30px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-article h2 {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 930;
}

.detail-article h2:not(:first-child) {
    margin-top: 26px;
}

.detail-article p {
    margin: 0;
    color: #334155;
    line-height: 2;
    font-size: 16px;
}

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

.detail-side {
    min-width: 0;
}

.detail-poster-card {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

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

.detail-poster-card h2 {
    margin: 0;
    padding: 18px 20px 8px;
    font-size: 22px;
    font-weight: 930;
}

.detail-poster-card dl {
    margin: 0;
    padding: 0 20px 22px;
    display: grid;
    gap: 12px;
}

.detail-poster-card dl div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    align-items: start;
}

.detail-poster-card dt {
    color: var(--site-muted);
}

.detail-poster-card dd {
    margin: 0;
    color: var(--site-ink);
    font-weight: 700;
}

.detail-poster-card a {
    color: #d97706;
}

.site-footer {
    margin-top: 90px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 48px 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    line-height: 1.8;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.site-footer a:hover {
    color: #fbbf24;
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

    .ranking-panel,
    .detail-poster-card {
        position: static;
        margin-top: 0;
    }
}

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

    .menu-button {
        display: block;
    }

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

    .hero-content {
        align-items: end;
        padding-bottom: 128px;
    }

    .hero-poster {
        display: none;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .search-box {
        flex-direction: column;
    }

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

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

    .detail-title-row {
        display: block;
    }

    .detail-title-row .primary-action {
        margin-top: 22px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand strong {
        font-size: 19px;
    }

    .brand small {
        display: none;
    }

    .home-hero,
    .hero-content {
        min-height: 560px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-copy h2 {
        font-size: 25px;
    }

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

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-dots {
        bottom: 92px;
    }

    .search-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .section-block,
    .library-section {
        padding: 50px 0;
    }

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

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

    .movie-card-body h3 {
        font-size: 15px;
    }

    .movie-card-body p,
    .tag-row,
    .movie-meta-line {
        font-size: 12px;
    }

    .library-tools {
        display: grid;
        gap: 12px;
    }

    .library-tools input,
    .library-tools select {
        width: 100%;
    }

    .filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero h1,
    .detail-hero h1 {
        font-size: 32px;
    }

    .detail-layout {
        padding-top: 28px;
    }

    .detail-article {
        padding: 22px;
    }

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