:root {
  --cream-50: #fffaf6;
  --cream-100: #fff5ed;
  --cream-200: #ffe8d6;
  --cream-300: #ffd8be;
  --cream-400: #ffc9a7;
  --cocoa-50: #efebe9;
  --cocoa-100: #d7ccc8;
  --cocoa-200: #bcaaa4;
  --cocoa-300: #a1887f;
  --cocoa-400: #8d6e63;
  --cocoa-500: #6d4c41;
  --cocoa-600: #5d4037;
  --cocoa-700: #4e342e;
  --cocoa-800: #3e2723;
  --cocoa-900: #2c1810;
  --chocolate-900: #0f0a08;
  --shadow-soft: 0 18px 45px rgba(44, 24, 16, 0.14);
  --shadow-strong: 0 28px 60px rgba(44, 24, 16, 0.26);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--cocoa-900);
  background: linear-gradient(180deg, var(--cream-50), var(--cocoa-50));
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--cream-100);
  background: linear-gradient(90deg, var(--cocoa-800), var(--cocoa-700), #3e2723);
  box-shadow: 0 12px 30px rgba(44, 24, 16, 0.22);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cocoa-900);
  background: linear-gradient(135deg, var(--cream-400), var(--cream-200));
  box-shadow: 0 10px 22px rgba(255, 201, 167, 0.25);
}

.brand-text {
  font-size: 21px;
  color: var(--cream-100);
}

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

.nav-link {
  color: var(--cream-200);
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 232, 214, 0.24);
  border-radius: 999px;
  background: rgba(44, 24, 16, 0.45);
}

.nav-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: none;
  color: var(--cream-100);
  background: transparent;
}

.nav-search input {
  width: 190px;
  padding: 9px 8px 9px 14px;
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: var(--cocoa-200);
}

.nav-search button,
.mobile-search button {
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--cocoa-900);
  font-weight: 750;
  background: var(--cream-300);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream-100);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  border: 1px solid rgba(255, 232, 214, 0.2);
  border-radius: 999px;
  padding: 4px;
  background: rgba(44, 24, 16, 0.55);
}

.mobile-search input {
  flex: 1;
  padding: 10px 14px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  color: var(--cream-100);
  border-radius: 14px;
  background: rgba(62, 39, 35, 0.42);
}

.mobile-link.is-active,
.mobile-link:hover {
  background: rgba(255, 216, 190, 0.16);
}

.hero-slider {
  position: relative;
  min-height: 640px;
  height: 72vh;
  overflow: hidden;
  background: var(--cocoa-900);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 24, 16, 0.96), rgba(62, 39, 35, 0.72) 45%, rgba(15, 10, 8, 0.24)), linear-gradient(0deg, rgba(44, 24, 16, 0.92), transparent 58%);
}

.hero-inner {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 52px;
  padding: 78px 0 110px;
}

.hero-copy {
  color: #ffffff;
}

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

.hero-tags span,
.detail-tags span,
.detail-tags a,
.tag-row span,
.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span:first-child,
.detail-tags a,
.category-pill {
  color: var(--cocoa-900);
  background: var(--cream-400);
}

.hero-tags span {
  padding: 7px 13px;
  color: var(--cream-100);
  background: rgba(78, 52, 46, 0.72);
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--cream-300);
}

.hero-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--cream-100);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.75;
}

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

.primary-action,
.secondary-action,
.band-link,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-action,
.band-link,
.more-link {
  color: var(--cocoa-900);
  background: linear-gradient(135deg, var(--cream-400), var(--cream-200));
  box-shadow: 0 16px 28px rgba(255, 201, 167, 0.22);
}

.secondary-action {
  color: var(--cream-100);
  border: 1px solid rgba(255, 245, 237, 0.28);
  background: rgba(255, 245, 237, 0.1);
}

.primary-action:hover,
.secondary-action:hover,
.band-link:hover,
.more-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 5;
  background: var(--cocoa-800);
}

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

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

.hero-poster span,
.hover-play,
.play-mark {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--cocoa-900);
  background: rgba(255, 245, 237, 0.9);
  backdrop-filter: blur(10px);
}

.hero-poster span {
  inset: 50% auto auto 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  font-size: 30px;
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 38px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

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

.hero-dot.is-active {
  width: 36px;
  background: var(--cream-300);
}

.hero-focus-strip {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2 + 110px));
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  z-index: 3;
}

.focus-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 245, 237, 0.12);
  border-radius: 18px;
  color: var(--cream-100);
  background: rgba(44, 24, 16, 0.56);
  backdrop-filter: blur(12px);
}

.focus-card img {
  width: 58px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.focus-card span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 700;
}

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

.intro-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff, var(--cream-100));
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cocoa-500);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-band h2,
.section-heading h2,
.page-hero h1,
.category-overview-head h2 {
  margin: 0;
  color: var(--cocoa-900);
  letter-spacing: -0.03em;
}

.intro-band h2,
.section-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.intro-band p,
.section-heading p,
.page-hero p,
.category-overview-head p {
  margin: 10px 0 0;
  color: var(--cocoa-500);
  line-height: 1.8;
}

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

.horizontal-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card.horizontal {
  width: 470px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

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

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

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

.card-link,
.horizontal-link,
.compact-link,
.rank-list-item a {
  display: block;
  height: 100%;
  color: inherit;
  background: #ffffff;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.card-link {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(44, 24, 16, 0.08);
}

.card-link:hover,
.horizontal-link:hover,
.compact-link:hover,
.rank-list-item a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cocoa-100);
}

.poster-wrap img,
.thumb-wrap img,
.compact-link img,
.rank-list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.card-link:hover .poster-wrap img,
.horizontal-link:hover .thumb-wrap img {
  transform: scale(1.08);
}

.year-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.hover-play,
.play-mark {
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.hover-play {
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%) scale(0.86);
}

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

.card-body {
  padding: 18px;
}

.category-pill {
  padding: 5px 10px;
  margin-bottom: 11px;
}

.card-body h3,
.horizontal-body h3,
.compact-link h3 {
  margin: 0;
  color: var(--cocoa-900);
  font-size: 17px;
  line-height: 1.42;
}

.card-body p,
.horizontal-body p,
.compact-link p {
  margin: 8px 0 0;
  color: var(--cocoa-500);
  line-height: 1.65;
}

.card-body p,
.horizontal-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.minor-meta {
  margin-top: 12px;
  color: var(--cocoa-400);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.horizontal-link {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream-50);
}

.thumb-wrap {
  position: relative;
  min-height: 142px;
  overflow: hidden;
}

.play-mark {
  inset: 50% auto auto 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%) scale(0.86);
}

.horizontal-body {
  padding: 18px;
}

.card-meta {
  margin-bottom: 8px;
  color: var(--cocoa-400);
  font-size: 12px;
  font-weight: 700;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 4px 8px;
  color: var(--cocoa-700);
  background: var(--cocoa-100);
}

.rank-section {
  padding: 44px;
  border-radius: var(--radius-xl);
  background: var(--cream-100);
}

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

.compact-link {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 10px 14px 10px 58px;
  border-radius: 16px;
}

.compact-link img {
  height: 62px;
  border-radius: 12px;
}

.compact-link p {
  font-size: 13px;
}

.rank-badge,
.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--cream-100);
  background: linear-gradient(135deg, var(--cocoa-700), var(--cocoa-900));
}

.rank-badge {
  position: absolute;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.more-link {
  margin-top: 24px;
}

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

.category-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(44, 24, 16, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

.category-covers img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  background: var(--cocoa-100);
}

.category-card h3 {
  margin: 0;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--cocoa-500);
  line-height: 1.72;
}

.filter-panel {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  padding: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(44, 24, 16, 0.08);
}

.filter-panel input,
.filter-panel select {
  color: var(--cocoa-900);
  background: var(--cream-50);
  border-radius: 999px;
  padding: 13px 16px;
}

.filter-panel input {
  flex: 1;
}

.filter-panel select {
  min-width: 160px;
  border: 0;
}

.empty-state {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 18px;
  color: var(--cocoa-600);
  background: var(--cream-100);
  text-align: center;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 54px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff, var(--cream-100));
  box-shadow: var(--shadow-soft);
}

.compact-hero,
.category-hero {
  position: relative;
  overflow: hidden;
}

.compact-hero::after,
.category-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 167, 0.45), rgba(255, 201, 167, 0));
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.category-overview {
  display: grid;
  gap: 34px;
}

.category-overview-block {
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(44, 24, 16, 0.08);
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.category-overview-head a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--cocoa-900);
  font-weight: 800;
  background: var(--cream-300);
}

.ranking-list-shell {
  padding-top: 34px;
}

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

.rank-list-item a {
  display: grid;
  grid-template-columns: 58px 120px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 18px;
}

.rank-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.rank-list-item img {
  width: 120px;
  height: 76px;
  border-radius: 14px;
}

.rank-list-item h2 {
  margin: 0;
  font-size: 20px;
}

.rank-list-item p {
  margin: 7px 0 0;
  color: var(--cocoa-500);
  line-height: 1.65;
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--cocoa-500);
  font-size: 14px;
}

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

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-left {
  display: grid;
  gap: 24px;
}

.player-card,
.detail-card,
.side-panel {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cocoa-900);
}

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

.player-start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 10, 8, 0.2), rgba(15, 10, 8, 0.62));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.start-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--cocoa-900);
  font-size: 28px;
  background: rgba(255, 245, 237, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.player-card.is-started .player-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-card.is-loading .player-start span:last-child::after {
  content: "...";
}

.detail-card {
  padding: 34px;
}

.detail-tags {
  margin-bottom: 18px;
}

.detail-tags span,
.detail-tags a {
  padding: 6px 11px;
}

.detail-tags span {
  color: var(--cocoa-700);
  background: var(--cocoa-100);
}

.detail-card h1 {
  margin: 0;
  color: var(--cocoa-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--cocoa-100);
  color: var(--cocoa-500);
  font-weight: 700;
}

.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream-100);
}

.detail-card section + section {
  margin-top: 28px;
}

.detail-card h2,
.side-panel h2 {
  margin: 0 0 12px;
  color: var(--cocoa-800);
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--cocoa-600);
  font-size: 17px;
  line-height: 1.9;
}

.detail-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.detail-cover {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cocoa-100);
  box-shadow: var(--shadow-soft);
}

.side-panel {
  padding: 24px;
}

.side-panel dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.side-panel dt {
  color: var(--cocoa-400);
  font-weight: 800;
}

.side-panel dd {
  margin: 0;
  color: var(--cocoa-700);
  line-height: 1.65;
}

.related-shell {
  padding-top: 48px;
}

.site-footer {
  margin-top: 70px;
  padding: 44px 0 26px;
  color: var(--cream-100);
  background: linear-gradient(180deg, var(--cocoa-900), var(--chocolate-900));
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  font-size: 24px;
}

.site-footer p {
  max-width: 650px;
  color: var(--cocoa-200);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--cream-200);
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 245, 237, 0.12);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

  .mobile-toggle {
    display: flex;
  }

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

  .hero-poster {
    display: none;
  }

  .hero-focus-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    right: 24px;
  }

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

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

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

  .detail-side {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 760px) {
  .hero-slider {
    min-height: 620px;
    height: auto;
  }

  .hero-inner {
    padding: 70px 0 160px;
  }

  .hero-focus-strip {
    grid-template-columns: 1fr;
    bottom: 62px;
  }

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

  .intro-band,
  .footer-grid,
  .category-overview-head {
    grid-template-columns: 1fr;
  }

  .intro-band {
    padding: 24px;
  }

  .content-shell {
    padding: 42px 0;
  }

  .section-heading {
    display: block;
  }

  .movie-grid,
  .small-grid,
  .rank-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-scroll .movie-card.horizontal {
    width: 86vw;
  }

  .horizontal-link,
  .rank-list-item a {
    grid-template-columns: 1fr;
  }

  .thumb-wrap,
  .rank-list-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .filter-panel {
    flex-direction: column;
    border-radius: 22px;
  }

  .page-hero,
  .category-overview-block,
  .detail-card,
  .rank-section {
    padding: 24px;
  }

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

  .detail-cover {
    max-width: 280px;
  }
}
