:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #f59e0b;
  --amber-500: #d97706;
  --amber-600: #b45309;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(41, 37, 36, 0.08);
  --shadow-md: 0 16px 40px rgba(41, 37, 36, 0.12);
  --shadow-lg: 0 28px 70px rgba(41, 37, 36, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone-800);
  background: var(--stone-50);
  min-width: 320px;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--stone-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

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

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(180, 83, 9, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-icon {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 18px 28px rgba(180, 83, 9, 0.32);
}

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

.brand-text strong {
  font-size: 20px;
  color: var(--stone-800);
  letter-spacing: 0.01em;
}

.brand-text small {
  margin-top: 4px;
  font-size: 12px;
  color: var(--stone-500);
}

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

.nav-link {
  position: relative;
  padding: 28px 0;
  color: var(--stone-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 999px;
  transition: right 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.search-panel input {
  width: 240px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  color: var(--stone-800);
  background: var(--white);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.search-panel input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.14);
}

.header-search button,
.mobile-search button,
.filter-bar button {
  height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--amber-500);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.filter-bar button:hover,
.filter-bar button.is-active {
  background: var(--amber-600);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--stone-700);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 16px;
  border-top: 1px solid var(--stone-200);
  background: var(--white);
}

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

.mobile-search {
  margin-bottom: 14px;
}

.mobile-search input {
  width: 100%;
}

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

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

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--amber-600);
  background: var(--stone-100);
}

.hero-carousel {
  position: relative;
  height: min(600px, calc(100vh - 76px));
  min-height: 420px;
  overflow: hidden;
  background: var(--stone-900);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 26%, rgba(245, 158, 11, 0.32), transparent 32%),
    linear-gradient(180deg, rgba(28, 25, 23, 0.22), rgba(28, 25, 23, 0.86)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.65));
}

.hero-content {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 72px;
}

.hero-copy {
  width: min(720px, 100%);
  color: var(--white);
}

.hero-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  color: var(--white);
  background: var(--amber-500);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.7;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-tags,
.detail-tags,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--stone-100);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.14);
}

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

.primary-button,
.ghost-button,
.page-actions a,
.section-more,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-500);
  box-shadow: 0 18px 30px rgba(217, 119, 6, 0.26);
}

.primary-button:hover,
.page-actions a:hover,
.section-more:hover {
  background: var(--amber-600);
  transform: translateY(-2px);
}

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

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

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

.alt-section,
.rank-preview {
  background: linear-gradient(180deg, var(--stone-50), var(--white));
}

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

.section-heading h2 {
  margin: 0;
  color: var(--stone-800);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-more,
.page-actions a {
  color: var(--white);
  background: var(--amber-500);
}

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

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  color: var(--stone-800);
  background: var(--white);
  border: 1px solid rgba(231, 229, 228, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  border-color: rgba(217, 119, 6, 0.26);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.poster-wrap {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  background: var(--stone-200);
}

.movie-card-large .poster-wrap {
  height: 360px;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  transition: opacity 0.28s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.poster-type,
.poster-year {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(41, 37, 36, 0.82);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.poster-type {
  top: 12px;
  left: 12px;
}

.poster-year {
  right: 12px;
  bottom: 12px;
}

.poster-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-body {
  display: block;
  padding: 16px;
}

.movie-body strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: var(--stone-800);
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-body strong {
  color: var(--amber-600);
}

.movie-body em {
  display: -webkit-box;
  min-height: 42px;
  margin: 10px 0 12px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: block;
  margin-bottom: 10px;
  color: var(--stone-500);
  font-size: 13px;
}

.movie-tags {
  min-height: 24px;
}

.page-shell {
  min-height: 60vh;
  background: var(--stone-50);
}

.page-hero {
  padding: 70px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, var(--amber-600), var(--stone-900));
}

.compact-hero {
  padding: 58px 0;
}

.category-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(245, 158, 11, 0.34), transparent 32%),
    linear-gradient(135deg, var(--stone-900), var(--amber-600));
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-card {
  display: grid;
  overflow: hidden;
  min-height: 320px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

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

.category-content {
  display: block;
  padding: 20px;
}

.category-content strong {
  display: block;
  margin-bottom: 10px;
  color: var(--stone-800);
  font-size: 22px;
}

.category-content em {
  display: block;
  min-height: 76px;
  color: var(--stone-600);
  font-style: normal;
  line-height: 1.6;
}

.category-content span {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 12px;
  color: var(--white);
  background: var(--amber-500);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.filter-bar,
.search-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.filter-bar input,
.search-panel input {
  flex: 1 1 300px;
  width: auto;
}

.filter-bar button {
  color: var(--stone-700);
  background: var(--stone-100);
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: var(--white);
}

.is-hidden-by-filter {
  display: none !important;
}

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

.full-rank {
  grid-template-columns: 1fr;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.rank-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  border-radius: 14px;
  font-weight: 900;
}

.rank-row img {
  width: 88px;
  height: 116px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--stone-200);
}

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

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

.rank-info strong {
  overflow: hidden;
  color: var(--stone-800);
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.rank-info span {
  color: var(--stone-500);
  font-size: 13px;
}

.rank-action {
  min-height: 38px;
  padding: 0 16px;
  color: var(--amber-700);
  background: var(--amber-100);
}

.detail-page {
  background: var(--stone-50);
}

.detail-hero {
  padding: 34px 0 20px;
  background: linear-gradient(180deg, var(--stone-100), var(--white));
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 30px;
}

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

.breadcrumb a {
  color: var(--amber-600);
  font-weight: 700;
}

.player-card,
.text-card,
.side-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--stone-900);
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--stone-900);
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.66));
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

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

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

.detail-copy {
  padding: 26px 0 0;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-badges span {
  padding: 7px 12px;
  color: var(--white);
  background: var(--amber-500);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.detail-copy h1 {
  margin: 18px 0 12px;
  color: var(--stone-800);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lead-text {
  margin: 0 0 20px;
  color: var(--stone-600);
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  color: var(--stone-600);
}

.detail-meta span {
  border-color: var(--stone-200);
  background: var(--white);
}

.detail-tags {
  margin: 14px 0 22px;
}

.text-card {
  margin-bottom: 18px;
  padding: 24px;
}

.review-card {
  background: linear-gradient(135deg, var(--amber-50), var(--white));
}

.text-card h2 {
  margin: 0 0 12px;
  color: var(--stone-800);
  font-size: 22px;
}

.text-card p {
  margin: 0;
  color: var(--stone-700);
  line-height: 1.9;
  white-space: pre-line;
}

.detail-side {
  min-width: 0;
}

.sticky-card {
  position: sticky;
  top: 100px;
}

.side-card {
  padding: 18px;
}

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

.side-card h2 {
  margin: 16px 0;
  font-size: 22px;
  line-height: 1.3;
}

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

.side-card dt {
  margin-bottom: 4px;
  color: var(--stone-500);
  font-size: 13px;
}

.side-card dd {
  margin: 0;
  color: var(--stone-800);
  font-weight: 800;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

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

.brand-footer .brand-text small {
  color: var(--stone-400);
}

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

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 10px 0;
  color: var(--stone-400);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: var(--amber-400);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 20px 0;
  color: var(--stone-500);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 16px;
  }

  .header-search input {
    width: 180px;
  }

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

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

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

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

  .detail-side {
    display: none;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-carousel {
    height: 560px;
  }

  .hero-content {
    padding-bottom: 64px;
  }

  .hero-control {
    display: none;
  }

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

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

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

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

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

  .brand-text small {
    display: none;
  }

  .hero-carousel {
    min-height: 520px;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  .hero-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .hero-meta span:nth-child(3) {
    display: none;
  }

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

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

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

  .poster-wrap,
  .movie-card-large .poster-wrap {
    height: 220px;
  }

  .movie-body {
    padding: 12px;
  }

  .movie-body strong {
    min-height: 42px;
    font-size: 16px;
  }

  .movie-body em {
    display: none;
  }

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

  .filter-bar,
  .search-panel {
    padding: 14px;
  }

  .filter-bar input,
  .search-panel input {
    flex-basis: 100%;
  }

  .rank-row {
    grid-template-columns: 42px 68px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-row img {
    width: 68px;
    height: 92px;
  }

  .rank-action {
    display: none;
  }

  .rank-number {
    width: 38px;
    height: 38px;
  }

  .rank-info em {
    -webkit-line-clamp: 1;
  }

  .detail-hero {
    padding-top: 22px;
  }

  .text-card {
    padding: 18px;
  }

  .player-start span {
    width: 64px;
    height: 64px;
  }

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

@media (max-width: 420px) {
  .movie-grid,
  .all-grid,
  .category-grid,
  .related-grid,
  .large-grid,
  .category-card-grid {
    grid-template-columns: 1fr;
  }

  .poster-wrap,
  .movie-card-large .poster-wrap {
    height: 330px;
  }
}
