:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-600: #ea580c;
  --red-700: #b91c1c;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --blue-900: #1e3a8a;
  --teal-500: #14b8a6;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--stone-800);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, #78350f 0%, #9a3412 52%, #7f1d1d 100%);
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.28);
}

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

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

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #78350f;
  background: var(--amber-500);
  font-weight: 900;
  transition: 0.25s ease;
}

.brand:hover .brand-mark {
  background: var(--amber-300);
  transform: translateY(-1px);
}

.brand-name {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  display: block;
  color: #fde68a;
  font-size: 0.75rem;
}

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

.nav-link {
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.header-search {
  position: relative;
  width: 260px;
}

.header-search input,
.mobile-search input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  padding: 11px 44px 11px 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: #fde68a;
}

.header-search button {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  color: #fde68a;
  background: transparent;
  cursor: pointer;
  font-size: 1.3rem;
}

.menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  padding: 10px 12px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 16px 18px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  padding: 10px 0;
  font-weight: 700;
}

.mobile-nav-link.is-active {
  color: var(--amber-300);
}

.mobile-search {
  display: flex;
  gap: 10px;
}

.mobile-search input {
  padding-right: 16px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: #78350f;
  background: var(--amber-300);
  padding: 0 16px;
  font-weight: 800;
}

.hero-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--slate-900), #78350f, #9a3412);
}

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

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

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-shade {
  background: linear-gradient(0deg, var(--slate-900) 0%, rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.08) 100%);
}

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

.hero-copy {
  max-width: 780px;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--amber-600);
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 28px;
  color: #e7e5e4;
  font-size: 1.16rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  color: #e7e5e4;
}

.hero-meta span:first-child {
  color: var(--amber-300);
  font-weight: 900;
}

.hero-actions,
.page-hero-actions,
.home-about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.ghost-btn,
.page-hero-actions a,
.home-about-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 900;
  transition: 0.25s ease;
}

.primary-btn,
.home-about-links a:first-child {
  color: #fff;
  background: var(--amber-600);
  box-shadow: 0 14px 34px rgba(217, 119, 6, 0.3);
}

.primary-btn:hover,
.home-about-links a:first-child:hover {
  background: var(--amber-700);
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn,
.page-hero-actions a,
.home-about-links a:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.ghost-btn:hover,
.page-hero-actions a:hover,
.home-about-links a:last-child:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

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

.hero-dots button {
  width: 34px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dots button.is-active {
  width: 48px;
  background: var(--amber-500);
}

.category-strip {
  padding: 28px 0;
  background: var(--stone-100);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip-row a,
.movie-tags span,
.detail-tags a {
  display: inline-flex;
  border-radius: 999px;
  color: var(--stone-700);
  background: #fff;
  padding: 10px 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: 0.22s ease;
}

.chip-row a:hover,
.movie-tags span:hover,
.detail-tags a:hover {
  color: #fff;
  background: var(--amber-600);
  transform: translateY(-2px);
}

.section {
  padding: 70px 0;
}

.warm-section {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
}

.dark-section {
  color: #fff;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.white-section {
  background: #fff;
}

.blue-section {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-900), var(--slate-900), var(--slate-800));
}

.emerald-section {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

.catalog-section,
.rank-page-section,
.detail-content-section {
  background: var(--stone-50);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading span {
  font-size: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 900;
  color: var(--stone-800);
}

.section-heading.light h2,
.section-heading.light a {
  color: #fff;
}

.section-heading a {
  margin-left: auto;
  color: var(--amber-700);
  font-weight: 900;
}

.center-heading {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.center-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 900;
}

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

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: 0.28s ease;
}

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

.dark-section .movie-card,
.blue-section .movie-card {
  background: rgba(51, 65, 85, 0.62);
  box-shadow: none;
}

.movie-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--stone-200);
}

.movie-thumb img,
.poster-card img,
.rank-item img,
.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s ease;
}

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

.movie-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-thumb::after {
  opacity: 1;
}

.movie-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-body {
  padding: 22px;
}

.movie-title {
  display: block;
  min-height: 3.1rem;
  color: var(--stone-800);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 9px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-section .movie-title,
.blue-section .movie-title {
  color: #fff;
}

.movie-card:hover .movie-title {
  color: var(--amber-700);
}

.dark-section .movie-card:hover .movie-title,
.blue-section .movie-card:hover .movie-title {
  color: var(--amber-300);
}

.movie-desc {
  min-height: 3.1rem;
  margin: 0 0 16px;
  color: var(--stone-600);
  font-size: 0.94rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-section .movie-desc,
.blue-section .movie-desc {
  color: #d6d3d1;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.movie-tags span,
.detail-tags a {
  padding: 6px 10px;
  color: #92400e;
  background: #fef3c7;
  box-shadow: none;
  font-size: 0.78rem;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--stone-500);
  font-size: 0.9rem;
}

.movie-meta .rating {
  color: var(--amber-600);
  font-weight: 900;
}

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

.movie-card.side {
  display: grid;
  grid-template-columns: 40% 60%;
}

.movie-card.side .movie-thumb {
  height: 100%;
  aspect-ratio: auto;
}

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

.poster-grid.six-col {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.poster-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-xl);
  background: var(--stone-200);
  box-shadow: var(--shadow-md);
  aspect-ratio: 2 / 3;
  transition: 0.28s ease;
}

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

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.28) 48%, transparent 100%);
}

.poster-score {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--amber-500);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
  color: #fff;
}

.poster-info strong,
.poster-info em {
  display: block;
}

.poster-info strong {
  font-size: 0.98rem;
  line-height: 1.35;
  font-style: normal;
  font-weight: 900;
}

.poster-info em {
  margin-top: 6px;
  color: var(--amber-300);
  font-size: 0.82rem;
  font-style: normal;
}

.rank-layout,
.rank-page-grid,
.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

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

.rank-list.large {
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 82px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: 0.22s ease;
}

.rank-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.rank-no {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--amber-600);
  font-weight: 900;
}

.rank-item img {
  width: 82px;
  height: 54px;
  border-radius: 12px;
  background: var(--stone-200);
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  color: var(--stone-800);
  font-weight: 900;
}

.rank-copy em {
  margin-top: 4px;
  color: var(--stone-500);
  font-size: 0.86rem;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-score {
  color: var(--amber-600);
  font-weight: 900;
}

.home-about-card,
.side-panel,
.detail-side {
  border-radius: var(--radius-2xl);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.home-about-card h2,
.side-panel h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--stone-800);
  font-size: 1.55rem;
  font-weight: 900;
}

.home-about-card p,
.side-panel p {
  color: var(--stone-600);
  line-height: 1.8;
}

.page-hero {
  position: relative;
  min-height: 320px;
  color: #fff;
  padding: 78px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, var(--orange-600), #7f1d1d);
}

.category-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(120, 53, 15, 0.86)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.search-hero {
  background: linear-gradient(135deg, var(--slate-900), var(--blue-900));
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  color: #fef3c7;
  font-size: 1.16rem;
  line-height: 1.85;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #fde68a;
  font-size: 0.94rem;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: #fff;
}

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

.category-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: 0.28s ease;
}

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

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 145px;
  overflow: hidden;
  background: var(--stone-200);
}

.category-card-body {
  padding: 24px;
}

.category-card-body h2 {
  margin: 0 0 10px;
  color: var(--stone-800);
  font-size: 1.35rem;
  font-weight: 900;
}

.category-card-body p {
  margin: 0;
  color: var(--stone-600);
  line-height: 1.75;
}

.filter-panel {
  border-radius: var(--radius-2xl);
  background: #fff;
  padding: 18px;
  margin-bottom: 28px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-row {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(130px, 1fr)) auto;
  gap: 12px;
}

.filter-row input,
.filter-row select,
.filter-row button {
  min-height: 46px;
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  background: var(--stone-50);
  padding: 0 14px;
  outline: 0;
  font: inherit;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-row button {
  color: #fff;
  border: 0;
  background: var(--stone-800);
  font-weight: 900;
  cursor: pointer;
}

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

.side-card-grid {
  display: grid;
  gap: 14px;
}

.side-card-grid .movie-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-radius: 18px;
  box-shadow: none;
  border: 1px solid var(--stone-200);
}

.side-card-grid .movie-thumb {
  height: 100%;
  aspect-ratio: auto;
}

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

.side-card-grid .movie-desc,
.side-card-grid .movie-tags {
  display: none;
}

.detail-hero {
  position: relative;
  color: #fff;
  padding: 58px 0;
  overflow: hidden;
  background: var(--slate-900);
}

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

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: blur(2px);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.72));
}

.detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-xl);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25));
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 900;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--amber-600);
  font-size: 2rem;
  box-shadow: 0 16px 40px rgba(217, 119, 6, 0.36);
}

.player-cover:hover .play-circle {
  transform: scale(1.05);
}

.detail-info h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  font-weight: 900;
}

.detail-one-line {
  margin: 0 0 22px;
  color: #e7e5e4;
  font-size: 1.08rem;
  line-height: 1.85;
}

.detail-meta,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.detail-meta span {
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  font-weight: 800;
}

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

.detail-article {
  border-radius: var(--radius-2xl);
  background: #fff;
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.detail-article h2 {
  margin: 0 0 16px;
  color: var(--stone-800);
  font-size: 1.55rem;
  font-weight: 900;
}

.detail-article h2:not(:first-child) {
  margin-top: 34px;
}

.detail-article p {
  margin: 0;
  color: var(--stone-700);
  font-size: 1.03rem;
  line-height: 2;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 12px;
}

.info-list dt {
  color: var(--stone-500);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  color: var(--stone-800);
}

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

.detail-side .movie-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-radius: 18px;
  box-shadow: none;
  border: 1px solid var(--stone-200);
}

.detail-side .movie-thumb {
  height: 100%;
  aspect-ratio: auto;
}

.detail-side .movie-body {
  padding: 14px;
}

.detail-side .movie-desc,
.detail-side .movie-tags {
  display: none;
}

.site-footer {
  color: #d6d3d1;
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.footer-brand span {
  color: var(--amber-500);
}

.site-footer p {
  margin: 0;
  color: #a8a29e;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

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

.site-footer a {
  color: #d6d3d1;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(214, 211, 209, 0.16);
  padding: 22px 16px;
  text-align: center;
  color: #a8a29e;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .three-col,
  .four-col,
  .poster-grid,
  .poster-grid.six-col,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-layout,
  .rank-page-grid,
  .detail-content-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-banner {
    height: 640px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 78px;
  }

  .hero-copy p {
    -webkit-line-clamp: 5;
    font-size: 1rem;
  }

  .hero-meta {
    gap: 9px;
  }

  .section {
    padding: 48px 0;
  }

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

  .section-heading a {
    display: none;
  }

  .three-col,
  .four-col,
  .two-col,
  .poster-grid,
  .poster-grid.six-col,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .movie-card.side .movie-thumb,
  .side-card-grid .movie-thumb,
  .detail-side .movie-thumb {
    aspect-ratio: 16 / 9;
  }

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

  .category-thumbs {
    height: 110px;
  }

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

  .rank-score {
    grid-column: 3;
  }

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

  .detail-hero {
    padding: 28px 0 42px;
  }

  .detail-layout {
    gap: 22px;
  }

  .detail-article,
  .detail-side,
  .home-about-card,
  .side-panel {
    padding: 22px;
  }

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