:root {
    --ash-50: #f8f7f6;
    --ash-100: #efedeb;
    --ash-200: #ddd9d5;
    --ash-300: #c3bdb6;
    --ash-500: #8f8177;
    --ash-600: #83766d;
    --ash-700: #6a5f59;
    --ash-800: #5a524e;
    --ash-900: #4a4441;
    --fire-50: #fff8f0;
    --fire-100: #ffefd6;
    --fire-300: #ffc16a;
    --fire-500: #ff7a14;
    --fire-600: #f05d00;
    --fire-700: #c84900;
    --ember-50: #fdf4f3;
    --ember-100: #fce7e4;
    --ember-500: #e25e4e;
    --ember-600: #cf4332;
    --forest-50: #f3f6f3;
    --forest-100: #e3e9e3;
    --forest-500: #5c765c;
    --forest-600: #475e47;
    --white: #ffffff;
    --shadow-soft: 0 12px 34px rgba(74, 68, 65, 0.12);
    --shadow-strong: 0 26px 70px rgba(74, 68, 65, 0.22);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ash-900);
    background: var(--ash-50);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(221, 217, 213, 0.7);
    box-shadow: 0 10px 28px rgba(74, 68, 65, 0.08);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--fire-500), var(--ember-600));
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(240, 93, 0, 0.24);
}

.brand-copy {
    display: grid;
    gap: 0;
}

.brand-copy strong,
.footer-brand strong {
    color: var(--ash-900);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-copy small {
    color: var(--ash-600);
    font-size: 0.78rem;
    margin-top: -3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-link:hover,
.nav-link.is-active {
    color: var(--fire-700);
    background: var(--fire-50);
    transform: translateY(-1px);
}

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ash-900);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--ash-200);
    padding: 12px 16px 18px;
    background: var(--white);
}

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

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

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

.mobile-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
}

.sub-link {
    color: var(--ash-600);
    background: var(--ash-50);
    font-size: 0.92rem;
}

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

.hero-track,
.hero-slide,
.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(1.06);
}

.hero-shade {
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 122, 20, 0.22), transparent 34%),
        linear-gradient(90deg, rgba(29, 24, 22, 0.88), rgba(29, 24, 22, 0.55) 50%, rgba(29, 24, 22, 0.28)),
        linear-gradient(0deg, rgba(29, 24, 22, 0.82), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    min-height: 610px;
    gap: 48px;
    padding-top: 34px;
    padding-bottom: 86px;
}

.hero-copy {
    max-width: 760px;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: var(--fire-700);
    background: var(--fire-50);
    border: 1px solid var(--fire-100);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-copy .eyebrow,
.detail-copy .eyebrow,
.page-hero .eyebrow,
.ranking-copy .eyebrow {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px);
}

.hero-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-actions,
.detail-actions,
.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
    box-shadow: 0 16px 28px rgba(240, 93, 0, 0.28);
}

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

.btn-light {
    color: var(--fire-700);
    background: var(--fire-50);
}

.hero-poster {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    right: max(16px, calc((100% - 1280px) / 2));
    bottom: 118px;
    display: flex;
    gap: 10px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: var(--fire-500);
}

.hero-search-wrap {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 24px;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(16px);
}

.hero-search label,
.filter-panel label {
    display: grid;
    gap: 4px;
    color: var(--ash-600);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-search input,
.hero-search button,
.filter-panel input,
.filter-panel select {
    min-height: 46px;
    border: 0;
    outline: 0;
    border-radius: 14px;
}

.hero-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 0 14px;
    color: var(--ash-900);
    background: var(--ash-50);
    border: 1px solid var(--ash-200);
}

.hero-search button {
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
    cursor: pointer;
    font-weight: 800;
}

.section {
    padding: 72px 0;
    background: var(--white);
}

.warm-section {
    background: linear-gradient(135deg, var(--fire-50), var(--ember-50));
}

.alt-section,
.category-section {
    background: linear-gradient(135deg, var(--forest-50), var(--ash-50));
}

.intro-section {
    padding: 44px 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.intro-grid h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.intro-grid p {
    margin: 0;
    color: var(--ash-600);
    font-size: 1.05rem;
}

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

.section-head h2,
.ranking-copy h2,
.detail-article h2,
.detail-sidebar h2,
.ranking-card-large h2 {
    margin: 0;
    color: var(--ash-900);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--ash-600);
}

.section-more {
    color: var(--fire-700);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(221, 217, 213, 0.75);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(240, 93, 0, 0.36);
    box-shadow: var(--shadow-strong);
    transform: translateY(-5px);
}

.movie-card-link {
    display: grid;
    height: 100%;
}

.movie-cover {
    position: relative;
    overflow: hidden;
    background: var(--ash-100);
    aspect-ratio: 16 / 10;
}

.featured-card .movie-cover {
    aspect-ratio: 16 / 9;
}

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

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

.year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.68);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.movie-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-card-body h2 {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 0;
    overflow: hidden;
    color: var(--ash-900);
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

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

.movie-card-body p {
    display: -webkit-box;
    min-height: 3em;
    margin: 0;
    overflow: hidden;
    color: var(--ash-600);
    font-size: 0.92rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ash-500);
    font-size: 0.8rem;
    font-weight: 700;
}

.tag-row span {
    color: var(--fire-700);
    background: var(--fire-50);
}

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

.category-tile {
    display: grid;
    gap: 12px;
    min-height: 155px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--ash-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.category-tile:hover {
    background: linear-gradient(135deg, var(--fire-50), var(--white));
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.category-tile span {
    color: var(--ash-900);
    font-size: 1.2rem;
    font-weight: 900;
}

.category-tile small {
    color: var(--ash-600);
    font-size: 0.92rem;
}

.ranking-strip {
    color: var(--white);
    background: linear-gradient(135deg, var(--ash-900), var(--forest-600));
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    align-items: start;
    gap: 34px;
}

.ranking-copy {
    position: sticky;
    top: 104px;
}

.ranking-copy h2,
.ranking-copy p {
    color: var(--white);
}

.ranking-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.rank-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rank-item a {
    display: grid;
    grid-template-columns: 50px 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    color: var(--ash-900);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    transform: translateX(4px);
}

.rank-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
    border-radius: 50%;
    font-weight: 900;
}

.rank-item img {
    width: 76px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.rank-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 900;
}

.rank-copy small {
    overflow: hidden;
    color: var(--ash-600);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
}

.page-hero {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 122, 20, 0.3), transparent 32%),
        linear-gradient(135deg, var(--ember-600), var(--fire-700));
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.07em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--ash-200);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

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

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

.category-overview-card a {
    display: grid;
    overflow: hidden;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--ash-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 140px;
    background: var(--ash-100);
}

.category-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-card div:last-child {
    display: grid;
    gap: 8px;
    padding: 22px;
}

.category-overview-card h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 900;
}

.category-overview-card p {
    margin: 0;
    color: var(--ash-600);
}

.category-overview-card span {
    color: var(--fire-700);
    font-weight: 900;
}

.ranking-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.ranking-card-large {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--ash-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.ranking-card-large h2 {
    margin-bottom: 20px;
}

.full-rank-list .rank-item a {
    background: var(--ash-50);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--ash-900);
}

.detail-bg {
    position: absolute;
    inset: 0;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(14px) saturate(1.05);
    transform: scale(1.08);
    opacity: 0.35;
}

.detail-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 75% 30%, rgba(240, 93, 0, 0.24), transparent 35%),
        linear-gradient(135deg, rgba(30, 25, 22, 0.9), rgba(30, 25, 22, 0.62));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 44px 0 58px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

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

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.07em;
}

.detail-one-line {
    max-width: 880px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
}

.player-section {
    padding-top: 56px;
    padding-bottom: 36px;
    background: var(--ash-900);
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16 / 9;
}

.movie-player {
    display: block;
    width: 100%;
    height: 100%;
    background: #000000;
    object-fit: contain;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 14px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
    border: 0;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    padding-left: 5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
    border-radius: 50%;
    box-shadow: 0 22px 44px rgba(240, 93, 0, 0.35);
    font-size: 2rem;
}

.player-cover strong {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.detail-main-section {
    background: var(--ash-50);
}

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

.detail-article,
.detail-sidebar {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--ash-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.detail-article h2,
.detail-sidebar h2 {
    margin-bottom: 14px;
    font-size: 1.7rem;
}

.detail-article p {
    margin: 0 0 24px;
    color: var(--ash-700);
    font-size: 1.03rem;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 0;
}

.detail-info div {
    padding: 14px;
    background: var(--ash-50);
    border-radius: 14px;
}

.detail-info dt {
    color: var(--ash-500);
    font-size: 0.78rem;
    font-weight: 800;
}

.detail-info dd {
    margin: 4px 0 0;
    color: var(--ash-900);
    font-weight: 900;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--ash-50);
    border-radius: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
    background: var(--fire-50);
    transform: translateX(3px);
}

.mini-card img {
    width: 86px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
}

.mini-card span {
    display: grid;
    min-width: 0;
}

.mini-card strong,
.mini-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-card strong {
    color: var(--ash-900);
    font-weight: 900;
}

.mini-card small {
    color: var(--ash-600);
}

.site-footer {
    color: var(--ash-100);
    background: var(--ash-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 34px;
    padding: 56px 0 36px;
}

.site-footer p {
    max-width: 460px;
    color: var(--ash-300);
}

.footer-brand .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.footer-brand strong {
    color: var(--white);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1.06rem;
}

.footer-links {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    color: var(--ash-300);
}

.footer-links a:hover {
    color: var(--fire-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 28px;
    color: var(--ash-300);
    border-top: 1px solid rgba(221, 217, 213, 0.16);
    font-size: 0.92rem;
}

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

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

    .ranking-copy {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        min-height: 660px;
        gap: 24px;
        padding-top: 28px;
        padding-bottom: 145px;
    }

    .hero-poster {
        width: min(230px, 72vw);
        transform: none;
    }

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

    .hero-dots {
        right: 24px;
        bottom: 142px;
    }

    .intro-grid,
    .section-head,
    .footer-bottom {
        align-items: start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .movie-grid,
    .compact-grid,
    .all-grid,
    .category-grid,
    .featured-grid,
    .category-overview-grid,
    .ranking-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .detail-poster {
        width: min(260px, 74vw);
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1280px);
    }

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

    .movie-grid,
    .compact-grid,
    .all-grid,
    .category-grid,
    .featured-grid,
    .category-overview-grid,
    .ranking-page-grid {
        grid-template-columns: 1fr;
    }

    .rank-item a {
        grid-template-columns: 42px 64px minmax(0, 1fr);
    }

    .rank-item img {
        width: 64px;
        height: 48px;
    }

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

    .section {
        padding: 52px 0;
    }

    .page-hero {
        padding: 52px 0;
    }
}
