:root {
  --sand-50: #fff8ed;
  --sand-100: #f8ead2;
  --sand-200: #ecd2a8;
  --sand-500: #c49a54;
  --desert-500: #b7792f;
  --desert-600: #9a5e22;
  --desert-700: #794818;
  --earth-50: #fbf7f2;
  --earth-100: #efe3d3;
  --earth-200: #dcc8ad;
  --earth-500: #8b6b47;
  --earth-700: #4e3826;
  --earth-800: #332318;
  --earth-900: #1d140f;
  --white: #ffffff;
  --black: #000000;
  --shadow-card: 0 18px 45px rgba(74, 53, 31, 0.10);
  --shadow-soft: 0 22px 60px rgba(74, 53, 31, 0.18);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--earth-800);
  background: linear-gradient(180deg, var(--sand-50), var(--white) 34%, var(--earth-50));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 248, 237, 0.92);
  border-bottom: 1px solid rgba(220, 200, 173, 0.72);
  box-shadow: 0 12px 30px rgba(78, 56, 38, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--desert-500), var(--sand-500));
  box-shadow: 0 12px 24px rgba(154, 94, 34, 0.28);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--desert-700), var(--sand-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--earth-500);
  font-size: 12px;
}

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

.nav-link,
.mobile-nav-link {
  color: var(--earth-700);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--desert-600);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 275px;
  padding: 6px;
  border: 1px solid rgba(220, 200, 173, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.header-search input,
.large-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--earth-800);
  background: transparent;
}

.header-search input {
  padding: 8px 6px 8px 14px;
}

.header-search button,
.large-search button {
  border: 0;
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--desert-600), var(--desert-500));
  box-shadow: 0 12px 24px rgba(154, 94, 34, 0.22);
}

.header-search button {
  padding: 8px 16px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(236, 210, 168, 0.35);
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-top: 1px solid rgba(220, 200, 173, 0.72);
}

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

.mobile-nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(236, 210, 168, 0.38);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--earth-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.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.82), rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.10)), linear-gradient(0deg, rgba(29, 20, 15, 0.86), rgba(29, 20, 15, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
  border-radius: 999px;
  background: rgba(183, 121, 47, 0.92);
  box-shadow: 0 10px 30px rgba(183, 121, 47, 0.25);
}

.section-kicker {
  color: var(--desert-700);
  background: rgba(236, 210, 168, 0.55);
  box-shadow: none;
}

.hero h1 {
  max-width: 720px;
  margin: 22px 0 16px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 248, 237, 0.92);
  font-size: clamp(16px, 2vw, 22px);
}

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

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

.hero-tags span,
.tag-row span {
  padding: 5px 10px;
  color: var(--earth-700);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

.tag-row span {
  color: var(--desert-700);
  background: rgba(236, 210, 168, 0.52);
}

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

.primary-button,
.ghost-button,
.section-more {
  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-button {
  color: var(--white);
  background: linear-gradient(90deg, var(--desert-600), var(--desert-500));
  box-shadow: 0 14px 34px rgba(154, 94, 34, 0.32);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  color: var(--white);
  font-size: 38px;
  line-height: 1;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 18px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

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

.hero-rail-section {
  position: relative;
  z-index: 8;
  margin-top: -52px;
}

.hero-rail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.rail-title {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 14px;
}

.rail-title span {
  color: var(--desert-600);
  font-weight: 850;
}

.rail-title strong {
  color: var(--earth-800);
  font-size: 22px;
  line-height: 1.2;
}

.rail-list,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.section {
  padding: 78px 0;
}

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

.section-head.compact {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 10px 0 0;
  color: var(--earth-900);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-more {
  min-height: 40px;
  color: var(--desert-700);
  background: rgba(236, 210, 168, 0.5);
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(236, 210, 168, 0.72);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: var(--earth-900);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05) 52%);
  opacity: 0.7;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: var(--desert-600);
  font-size: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.74);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.type-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(183, 121, 47, 0.92);
}

.poster-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--white);
  font-size: 12px;
}

.poster-meta span {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(8px);
}

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

.movie-card-body h2 {
  margin: 0 0 10px;
  color: var(--earth-900);
  font-size: 18px;
  line-height: 1.35;
}

.movie-card-body h2 a:hover {
  color: var(--desert-600);
}

.movie-card-body p {
  min-height: 56px;
  margin: 0 0 14px;
  color: var(--earth-500);
  font-size: 14px;
}

.search-panel-section,
.category-section,
.ranking-page-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 237, 0.86));
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(236, 210, 168, 0.78);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.search-panel h2,
.search-panel p {
  margin: 10px 0 0;
}

.search-panel h2 {
  color: var(--earth-900);
  font-size: 30px;
  line-height: 1.2;
}

.search-panel p {
  color: var(--earth-500);
}

.large-search,
.filter-bar {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(220, 200, 173, 0.9);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.78);
}

.large-search input,
.filter-bar input,
.filter-bar select {
  min-height: 48px;
  padding: 0 16px;
}

.large-search button {
  min-width: 118px;
  padding: 0 22px;
}

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

.category-card {
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(236, 210, 168, 0.76);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--white), var(--sand-50));
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--desert-600);
  font-size: 18px;
  font-weight: 850;
}

.category-card strong {
  display: block;
  color: var(--earth-700);
  font-size: 14px;
  font-weight: 500;
}

.category-sample {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.category-sample a {
  color: var(--earth-500);
  font-size: 13px;
}

.category-sample a:hover {
  color: var(--desert-600);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
}

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

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

.small-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border: 1px solid rgba(236, 210, 168, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(74, 53, 31, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.small-card img {
  width: 70px;
  height: 66px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--earth-900);
}

.small-card strong,
.small-card em {
  display: block;
}

.small-card strong {
  color: var(--earth-900);
  font-size: 15px;
  line-height: 1.35;
}

.small-card em {
  margin-top: 3px;
  color: var(--earth-500);
  font-size: 12px;
  font-style: normal;
}

.rank-number {
  position: absolute;
  left: -8px;
  top: -8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--desert-600), var(--sand-500));
  box-shadow: 0 10px 20px rgba(154, 94, 34, 0.24);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 18% 12%, rgba(196, 154, 84, 0.38), transparent 34%), linear-gradient(135deg, var(--earth-900), var(--earth-700));
}

.page-hero {
  padding: 110px 0 96px;
}

.page-hero-narrow {
  padding: 82px 0 74px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 16px 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 248, 237, 0.84);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 248, 237, 0.78);
  font-size: 14px;
}

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

.filter-section {
  padding-top: 46px;
}

.filter-bar {
  margin-bottom: 30px;
  border-radius: var(--radius-md);
}

.multi-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 180px;
}

.searchable-grid .movie-card.hidden {
  display: none;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.06);
  opacity: 0.42;
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 20, 15, 0.96), rgba(29, 20, 15, 0.68), rgba(29, 20, 15, 0.34));
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  margin: 16px 0 14px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 248, 237, 0.9);
  font-size: 20px;
}

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

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

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

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--black);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.74));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding-left: 5px;
  color: var(--desert-600);
  font-size: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.player-cover strong {
  max-width: min(640px, 80%);
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.2;
  text-align: center;
}

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

.detail-article,
.detail-side {
  padding: 28px;
  border: 1px solid rgba(236, 210, 168, 0.76);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--earth-900);
  font-size: 26px;
  line-height: 1.25;
}

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

.detail-article p:last-child {
  margin-bottom: 0;
}

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

.detail-side dt {
  color: var(--earth-500);
  font-weight: 700;
}

.detail-side dd {
  margin: 0;
  color: var(--earth-800);
}

.site-footer {
  border-top: 1px solid rgba(220, 200, 173, 0.72);
  background: linear-gradient(180deg, var(--earth-50), var(--earth-100));
}

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

.footer-main p {
  max-width: 620px;
  color: var(--earth-500);
}

.footer-note {
  font-size: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--earth-800);
  font-size: 18px;
}

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

.site-footer a {
  color: var(--earth-500);
}

.site-footer a:hover {
  color: var(--desert-600);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  color: var(--earth-500);
  border-top: 1px solid rgba(220, 200, 173, 0.72);
  font-size: 14px;
}

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

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

  .hero-rail,
  .split-grid,
  .search-panel,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand-text small {
    display: none;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 18px;
  }

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

  .hero-arrow {
    display: none;
  }

  .hero-rail-section {
    margin-top: 16px;
  }

  .hero-rail {
    padding: 14px;
  }

  .rail-list,
  .mini-grid,
  .ranking-list-wide {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

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

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

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

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

  .movie-card-body p {
    min-height: auto;
    font-size: 13px;
  }

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

  .large-search,
  .filter-bar,
  .multi-filter {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .page-hero,
  .page-hero-narrow {
    padding: 64px 0 54px;
  }

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

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

  .detail-hero-inner {
    padding: 36px 0 54px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 42px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .hero h1,
  .detail-info h1,
  .page-hero h1 {
    letter-spacing: -0.035em;
  }

  .small-card {
    grid-template-columns: 62px 1fr;
  }

  .small-card img {
    width: 62px;
    height: 62px;
  }
}
