:root {
    color-scheme: dark;
    --stone-950: #0c0a09;
    --stone-925: #15110f;
    --stone-900: #1c1917;
    --stone-850: #211d1a;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-100: #f5f5f4;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-200: #fde68a;
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --shadow-strong: 0 24px 80px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 16px 45px rgba(0, 0, 0, 0.24);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 6%, rgba(217, 119, 6, 0.18), transparent 30rem),
        radial-gradient(circle at 90% 0%, rgba(185, 28, 28, 0.18), transparent 26rem),
        linear-gradient(180deg, #0c0a09 0%, #15110f 48%, #0c0a09 100%);
    color: var(--stone-100);
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(28, 25, 23, 0.78);
    border-bottom: 1px solid rgba(245, 158, 11, 0.20);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-600), var(--red-700));
    box-shadow: 0 10px 28px rgba(217, 119, 6, 0.35);
    color: #fff7ed;
    font-size: 18px;
}

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

.brand-text strong,
.footer-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fffbeb;
}

.brand-text em {
    margin-top: 4px;
    font-size: 12px;
    font-style: normal;
    color: rgba(253, 230, 138, 0.84);
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: #fffbeb;
    font-weight: 650;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(146, 64, 14, 0.52);
    color: var(--amber-400);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(310px, 28vw);
    border: 1px solid rgba(217, 119, 6, 0.45);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(146, 64, 14, 0.26);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 11px 13px;
    background: transparent;
    color: #fffbeb;
}

.header-search input::placeholder {
    color: rgba(253, 230, 138, 0.62);
}

.header-search button {
    border: 0;
    padding: 11px 14px;
    background: var(--amber-600);
    color: white;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fffbeb;
    font-size: 24px;
}

.mobile-nav {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fffbeb;
    font-weight: 700;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

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

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

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #211d1a, #0c0a09);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 44%, rgba(0, 0, 0, 0.18) 100%),
        linear-gradient(0deg, #0c0a09 0%, transparent 34%, rgba(12, 10, 9, 0.22) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.hero-badges,
.hero-tags,
.detail-meta,
.tag-list,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hero-badges span,
.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border: 1px solid rgba(245, 158, 11, 0.36);
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.17);
    color: var(--amber-200);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #fff7ed;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.hero-copy p {
    margin: 0;
    max-width: 640px;
    color: var(--stone-300);
    font-size: clamp(17px, 2.3vw, 22px);
    line-height: 1.75;
}

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

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

.primary-button,
.ghost-button,
.section-link,
.player-toolbar button,
.filter-row button,
.filter-search input,
.header-search button {
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 800;
}

.primary-button {
    background: linear-gradient(135deg, var(--amber-600), var(--red-600));
    color: white;
    box-shadow: 0 14px 36px rgba(217, 119, 6, 0.34);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover,
.player-toolbar button:hover,
.filter-row button:hover,
.filter-row button.is-active {
    transform: translateY(-2px);
}

.primary-button:hover {
    background: linear-gradient(135deg, var(--amber-500), var(--red-600));
    box-shadow: 0 18px 44px rgba(217, 119, 6, 0.44);
}

.ghost-button {
    border: 1px solid rgba(253, 230, 138, 0.36);
    background: rgba(255, 255, 255, 0.07);
    color: #fffbeb;
}

.ghost-button:hover {
    border-color: rgba(253, 230, 138, 0.66);
    background: rgba(255, 255, 255, 0.12);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 34px;
    transform: translateY(-50%);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-panel {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 28px;
    z-index: 9;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    transform: translateX(-50%);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.hero-dot.is-active {
    background: var(--amber-500);
}

.hero-side {
    width: min(410px, 42vw);
    padding: 18px;
    border: 1px solid rgba(245, 158, 11, 0.20);
    border-radius: var(--radius-lg);
    background: rgba(28, 25, 23, 0.78);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.hero-side h2,
.ranking-panel h2,
.footer-links h2,
.side-panel h2,
.ranking-sidebar h2 {
    margin: 0 0 14px;
    color: #fffbeb;
    font-size: 18px;
}

.section-block {
    padding: 64px 0;
}

.section-stack {
    display: grid;
    gap: 56px;
    padding-bottom: 64px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--amber-400);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.detail-card h1 {
    margin: 0;
    color: #fffbeb;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.section-link {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.35);
    color: var(--amber-200);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(68, 64, 60, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(28, 25, 23, 0.90);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 20px 52px rgba(120, 53, 15, 0.28);
}

.movie-cover {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(68, 64, 60, 0.8), rgba(12, 10, 9, 0.96));
}

.compact-grid .movie-cover,
.side-grid .movie-cover {
    height: 210px;
}

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

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

.movie-type,
.movie-year {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 9px;
    background: rgba(12, 10, 9, 0.82);
    color: var(--amber-400);
    font-size: 12px;
    font-weight: 800;
}

.movie-type {
    left: 12px;
}

.movie-year {
    right: 12px;
    color: #fff;
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--amber-600);
    color: #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.28s ease, transform 0.28s ease;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

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

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

.movie-card-body h2 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    color: var(--stone-100);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--stone-400);
    font-size: 14px;
    line-height: 1.6;
}

.movie-meta {
    justify-content: space-between;
    color: var(--stone-500);
    font-size: 12px;
}

.movie-meta span:last-child {
    max-width: 56%;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.two-column-block {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.75fr);
    gap: 34px;
    align-items: start;
}

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

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(146, 64, 14, 0.34), rgba(28, 25, 23, 0.92)),
        rgba(28, 25, 23, 0.94);
    box-shadow: var(--shadow-soft);
}

.category-tile:hover {
    border-color: rgba(245, 158, 11, 0.65);
}

.category-covers {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    opacity: 0.28;
}

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

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

.category-tile strong {
    margin-top: 84px;
    color: #fffbeb;
    font-size: 28px;
    font-weight: 900;
}

.category-tile em {
    margin-top: 10px;
    color: var(--stone-300);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
}

.ranking-panel,
.filter-panel,
.detail-card,
.side-panel,
.poster-card,
.ranking-list,
.ranking-sidebar,
.page-hero {
    border: 1px solid rgba(68, 64, 60, 0.88);
    border-radius: var(--radius-xl);
    background: rgba(28, 25, 23, 0.90);
    box-shadow: var(--shadow-soft);
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

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

.rank-item,
.mini-card {
    display: grid;
    grid-template-columns: 48px 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    transition: background 0.24s ease, transform 0.24s ease;
}

.mini-card {
    grid-template-columns: 58px minmax(0, 1fr);
    margin-top: 10px;
}

.rank-item:hover,
.mini-card:hover,
.ranking-row:hover {
    background: rgba(146, 64, 14, 0.38);
    transform: translateX(3px);
}

.rank-number {
    color: var(--amber-400);
    font-weight: 900;
    font-size: 18px;
}

.rank-item img,
.mini-card img {
    width: 58px;
    height: 78px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--stone-800);
}

.rank-text,
.mini-card span {
    min-width: 0;
}

.rank-text strong,
.mini-card strong {
    display: block;
    overflow: hidden;
    color: #fffbeb;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-text em,
.mini-card em {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--stone-400);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-shell {
    padding-top: 36px;
}

.page-hero {
    padding: clamp(34px, 5vw, 62px);
    background:
        radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.28), transparent 22rem),
        linear-gradient(135deg, rgba(28, 25, 23, 0.96), rgba(12, 10, 9, 0.96));
}

.small-page-hero {
    margin-bottom: 28px;
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
    max-width: 860px;
    margin: 18px 0 0;
    color: var(--stone-300);
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
    padding: 20px;
}

.filter-search {
    display: grid;
    gap: 8px;
    color: var(--amber-200);
    font-weight: 800;
}

.filter-search input {
    width: 100%;
    border: 1px solid rgba(217, 119, 6, 0.38);
    border-radius: 14px;
    outline: 0;
    padding: 13px 16px;
    background: rgba(12, 10, 9, 0.62);
    color: #fffbeb;
}

.filter-search input:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-row span {
    min-width: 42px;
    color: var(--stone-300);
    font-weight: 800;
}

.filter-row button {
    border: 1px solid rgba(68, 64, 60, 0.95);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--stone-300);
}

.filter-row button.is-active {
    border-color: var(--amber-500);
    background: rgba(217, 119, 6, 0.28);
    color: var(--amber-200);
}

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

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
}

.ranking-list,
.ranking-sidebar {
    padding: 18px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 58px 72px minmax(0, 1fr) minmax(120px, auto);
    align-items: center;
    gap: 16px;
    padding: 13px;
    border-bottom: 1px solid rgba(68, 64, 60, 0.68);
    border-radius: 16px;
    transition: background 0.24s ease, transform 0.24s ease;
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-index {
    color: var(--amber-400);
    font-size: 21px;
    font-weight: 900;
}

.ranking-row img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--stone-800);
}

.ranking-info {
    min-width: 0;
}

.ranking-info strong {
    display: block;
    color: #fffbeb;
    font-size: 17px;
}

.ranking-info em {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--stone-400);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
}

.ranking-meta {
    color: var(--stone-400);
    font-size: 13px;
    white-space: nowrap;
}

.side-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--stone-400);
    font-size: 14px;
}

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

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

.detail-main {
    display: grid;
    gap: 26px;
    min-width: 0;
}

.player-section {
    overflow: hidden;
    border: 1px solid rgba(68, 64, 60, 0.96);
    border-radius: var(--radius-xl);
    background: #000;
    box-shadow: var(--shadow-strong);
}

.player-shell {
    position: relative;
    background: #000;
}

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

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-600), var(--red-600));
    color: #fff;
    font-size: 34px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
    transform: translate(-50%, -50%);
}

.player-start.is-playing {
    opacity: 0;
    pointer-events: none;
}

.player-loading,
.player-message {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 6;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: var(--amber-200);
    font-size: 13px;
    font-weight: 800;
}

.player-loading.is-hidden,
.player-message:empty {
    display: none;
}

.player-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(28, 25, 23, 0.94);
}

.player-toolbar button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fffbeb;
    font-weight: 800;
}

.player-toolbar button:hover {
    background: rgba(217, 119, 6, 0.34);
}

.detail-card {
    padding: clamp(22px, 4vw, 34px);
}

.detail-card h1 {
    font-size: clamp(34px, 5vw, 54px);
}

.detail-card h2 {
    margin: 30px 0 12px;
    color: #fffbeb;
    font-size: 22px;
}

.detail-card p {
    margin: 0;
    color: var(--stone-300);
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;
}

.detail-card .one-line {
    margin: 24px 0 18px;
    color: var(--amber-400);
    font-weight: 800;
}

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

.detail-meta span {
    padding: 7px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.065);
    color: var(--stone-300);
    font-size: 14px;
    font-weight: 700;
}

.poster-card,
.side-panel {
    padding: 18px;
}

.poster-card img {
    width: 100%;
    border-radius: 18px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: var(--stone-800);
}

.full-button {
    width: 100%;
    margin-top: 16px;
}

.side-panel {
    margin-top: 20px;
}

.related-section {
    padding: 18px 0 0;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(68, 64, 60, 0.78);
    background: rgba(12, 10, 9, 0.92);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 30px;
    padding: 46px 0;
}

.footer-grid p {
    max-width: 520px;
    color: var(--stone-400);
    line-height: 1.8;
}

.footer-links div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

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

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

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid rgba(68, 64, 60, 0.62);
    color: var(--stone-500);
    text-align: center;
}

@media (max-width: 1100px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: grid;
        place-items: center;
    }

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

    .two-column-block,
    .ranking-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .ranking-panel,
    .detail-sidebar {
        position: static;
    }

    .hero-side {
        display: none;
    }
}

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

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text em {
        display: none;
    }

    .hero {
        height: 620px;
    }

    .hero-copy {
        padding-top: 0;
    }

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

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

    .hero-arrow {
        display: none;
    }

    .hero-panel {
        bottom: 20px;
    }

    .section-block {
        padding: 42px 0;
    }

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

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

    .movie-cover,
    .compact-grid .movie-cover,
    .side-grid .movie-cover {
        height: 210px;
    }

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

    .category-tile {
        min-height: 190px;
    }

    .category-tile strong {
        margin-top: 70px;
        font-size: 22px;
    }

    .ranking-row {
        grid-template-columns: 42px 58px minmax(0, 1fr);
    }

    .ranking-meta {
        display: none;
    }

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

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

    .movie-cover,
    .compact-grid .movie-cover,
    .side-grid .movie-cover {
        height: 260px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }
}
