:root {
    --paper-50: #faf8f5;
    --paper-100: #f5f1eb;
    --paper-200: #e7e5e4;
    --paper-300: #d6d3d1;
    --paper-500: #78716c;
    --ink-400: #888888;
    --ink-500: #6d6d6d;
    --ink-600: #5d5d5d;
    --ink-700: #4f4f4f;
    --ink-800: #343434;
    --ink-900: #3d3d3d;
    --primary-50: #f0f9f4;
    --primary-100: #dcf2e4;
    --primary-400: #5ab889;
    --primary-600: #267f56;
    --primary-700: #1f6546;
    --accent-50: #fff8e9;
    --accent-100: #fcefd0;
    --accent-500: #e7902f;
    --accent-600: #cf6913;
    --accent-700: #ac4a12;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(46, 43, 39, 0.08);
    --shadow-lg: 0 18px 42px rgba(46, 43, 39, 0.16);
    --shadow-xl: 0 25px 60px rgba(31, 101, 70, 0.24);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink-900);
    background: var(--paper-50);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink-900);
    background:
        radial-gradient(circle at top left, rgba(90, 184, 137, 0.16), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, var(--paper-50) 32rem, var(--paper-100) 100%);
}

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;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 242, 228, 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.site-header-inner {
    max-width: 1180px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-900);
}

.brand-mark,
.footer-brand span {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    box-shadow: 0 8px 20px rgba(38, 127, 86, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong,
.footer-brand {
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: 20px;
    font-weight: 700;
}

.brand-text em {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    position: relative;
    padding: 24px 0;
    color: var(--ink-700);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--primary-700);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-600);
}

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

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--primary-700);
}

.mobile-nav {
    display: none;
    padding: 8px 24px 18px;
    border-top: 1px solid var(--primary-100);
    background: #fff;
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink-700);
    font-weight: 600;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--primary-700);
    background: var(--primary-50);
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: var(--ink-900);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.15)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    height: 100%;
    margin: 0 auto;
    padding: 96px 24px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-content .eyebrow,
.detail-info .eyebrow,
.page-hero .eyebrow,
.cta-panel .eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-lead {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--paper-200);
    font-size: 20px;
    line-height: 1.8;
}

.hero-feature {
    max-width: 680px;
    margin-bottom: 28px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    color: var(--paper-100);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.hero-feature strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: 26px;
}

.hero-feature span {
    color: var(--paper-200);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
    color: #fff;
    background: var(--primary-600);
    box-shadow: 0 14px 28px rgba(38, 127, 86, 0.28);
}

.button.primary:hover {
    background: var(--primary-700);
    box-shadow: var(--shadow-xl);
}

.button.glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    font-size: 38px;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.04);
}

.hero-control.prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-control.next {
    right: 24px;
    transform: translateY(-50%);
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.page-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 68px 24px 0;
}

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

.section-heading h2 {
    margin: 0 0 8px;
    color: var(--ink-900);
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
}

.section-heading p {
    margin: 0;
    color: var(--ink-600);
    line-height: 1.8;
}

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

.wide-card {
    display: grid;
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: 28px;
    overflow: hidden;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(220, 242, 228, 0.9);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.wide-poster {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: var(--paper-200);
}

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

.wide-card:hover .wide-poster img {
    transform: scale(1.06);
}

.wide-card h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: 28px;
}

.wide-card p {
    margin: 0 0 18px;
    color: var(--ink-600);
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-700);
    font-weight: 800;
}

.text-link::after {
    content: "›";
    margin-left: 6px;
    font-size: 22px;
    line-height: 1;
}

.soft-panel {
    max-width: 1180px;
    margin-top: 68px;
    padding: 48px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
    box-shadow: var(--shadow-md);
}

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

.category-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 20px;
    border-radius: 22px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

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

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

.category-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
}

.category-card strong,
.category-card em {
    position: relative;
    z-index: 2;
    display: block;
}

.category-card strong {
    margin-top: 118px;
    font-size: 22px;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

.category-card em {
    margin-top: 8px;
    color: var(--paper-200);
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(220, 242, 228, 0.82);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--paper-200);
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 55%);
    opacity: 0.78;
}

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.play-chip {
    left: 14px;
    bottom: 14px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary-600);
}

.rank-badge {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: var(--accent-600);
    box-shadow: 0 10px 22px rgba(207, 105, 19, 0.28);
}

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

.card-meta-line,
.movie-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--ink-500);
    font-size: 12px;
}

.card-meta-line span:first-child {
    color: var(--primary-700);
    font-weight: 800;
}

.movie-card h2 {
    margin: 9px 0 8px;
    font-size: 18px;
    line-height: 1.35;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

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

.movie-card p {
    min-height: 47px;
    margin: 0 0 14px;
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.65;
}

.movie-card-foot {
    flex-wrap: wrap;
    justify-content: flex-start;
}

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

.tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-50);
    font-size: 12px;
    font-weight: 700;
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-top: 68px;
    padding: 42px;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(31, 101, 70, 0.94), rgba(207, 105, 19, 0.86)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), transparent 22rem);
    box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(28px, 4vw, 42px);
}

.cta-panel p {
    max-width: 720px;
    margin: 0;
    color: var(--paper-100);
    line-height: 1.8;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(31, 101, 70, 0.96), rgba(61, 61, 61, 0.9)),
        var(--paper-200);
}

.page-hero.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: brightness(0.48);
}

.page-hero.ranking-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(252, 239, 208, 0.24), transparent 24rem),
        linear-gradient(135deg, var(--ink-900), var(--primary-700));
}

.page-hero.slim {
    min-height: 300px;
}

.page-hero > div {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 24px;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--paper-200);
    font-size: 18px;
    line-height: 1.85;
}

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

.category-overview-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 242, 228, 0.88);
    box-shadow: var(--shadow-md);
}

.category-overview-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.category-overview-head h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: 28px;
}

.category-overview-head p {
    margin: 0;
    color: var(--ink-600);
    line-height: 1.7;
}

.mini-cover-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mini-cover-row a {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 2 / 3;
    background: var(--paper-200);
}

.mini-cover-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cover-row span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 10px 10px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 160px 160px 170px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 242, 228, 0.9);
    box-shadow: var(--shadow-sm);
}

.filter-panel select,
.search-box input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--primary-100);
    border-radius: 14px;
    outline: none;
    color: var(--ink-800);
    background: #fff;
}

.filter-panel select:focus,
.search-box input:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(38, 127, 86, 0.12);
}

.search-box {
    display: grid;
    gap: 6px;
}

.search-box span {
    color: var(--ink-600);
    font-size: 13px;
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--ink-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.45);
    transform: scale(1.08);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42));
}

.detail-wrap {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 68px 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--paper-200);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--primary-100);
}

.detail-info h1 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 840px;
    margin: 0 0 20px;
    color: var(--paper-200);
    font-size: 19px;
    line-height: 1.85;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-info .tag-row {
    margin-bottom: 24px;
}

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

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

.player-section,
.content-block,
.side-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 242, 228, 0.9);
    box-shadow: var(--shadow-md);
}

.player-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.2));
    cursor: pointer;
}

.player-overlay.is-hidden {
    display: none;
}

.player-play-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary-600);
    box-shadow: 0 18px 44px rgba(38, 127, 86, 0.42);
    font-size: 30px;
    text-indent: 4px;
}

.player-overlay strong {
    max-width: min(640px, 82%);
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
}

.content-block {
    margin-top: 24px;
    padding: 28px;
}

.content-block h2,
.side-card h2 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: 28px;
}

.content-block p {
    margin: 0;
    color: var(--ink-700);
    font-size: 16px;
    line-height: 2;
}

.detail-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 20px;
}

.side-card {
    padding: 24px;
}

.side-card dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px 16px;
    margin: 0;
}

.side-card dt {
    color: var(--ink-500);
    font-weight: 800;
}

.side-card dd {
    margin: 0;
    color: var(--ink-800);
    line-height: 1.65;
}

.side-card a {
    color: var(--primary-700);
    font-weight: 700;
}

.side-link {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--primary-50);
    margin-top: 10px;
}

.site-footer {
    margin-top: 80px;
    color: var(--paper-200);
    background: var(--ink-900);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 52px 24px 34px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.footer-about p {
    max-width: 480px;
    margin: 16px 0 0;
    color: var(--paper-300);
    line-height: 1.8;
}

.footer-brand {
    color: #fff;
}

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

.footer-links div {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--paper-300);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--paper-500);
    font-size: 13px;
    text-align: center;
}

[data-movie-card].is-hidden {
    display: none;
}

.no-results-message {
    grid-column: 1 / -1;
    padding: 42px;
    border-radius: 20px;
    text-align: center;
    color: var(--ink-600);
    background: #fff;
    border: 1px solid var(--primary-100);
}

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

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

    .detail-side {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: block;
    }

    .hero-carousel {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 78px;
    }

    .hero-control {
        display: none;
    }

    .wide-card,
    .detail-wrap,
    .footer-inner,
    .category-overview-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 260px;
    }

    .category-grid,
    .movie-grid,
    .cards-compact,
    .mini-cover-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .cta-panel,
    .section-heading,
    .category-overview-head {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .site-header-inner {
        height: 64px;
        padding: 0 16px;
    }

    .brand-text em {
        display: none;
    }

    .hero-content,
    .page-section,
    .page-hero > div,
    .detail-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-lead,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-feature {
        padding: 16px;
    }

    .hero-actions {
        width: 100%;
    }

    .button {
        width: 100%;
    }

    .category-grid,
    .movie-grid,
    .cards-compact {
        grid-template-columns: 1fr;
    }

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

    .soft-panel,
    .cta-panel {
        border-radius: 22px;
        padding: 28px 16px;
    }

    .content-block,
    .side-card {
        padding: 20px;
    }
}
