:root {
  color-scheme: light;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-900: #7c2d12;
  --red-500: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(120, 53, 15, 0.08);
  --shadow-md: 0 16px 40px rgba(120, 53, 15, 0.14);
  --shadow-lg: 0 24px 60px rgba(120, 53, 15, 0.2);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--amber-50) 0%, #ffffff 38%, var(--orange-50) 100%);
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
  border-bottom: 1px solid rgba(217, 119, 6, 0.14);
  box-shadow: 0 10px 25px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(14px);
}

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

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

.logo-mark,
.footer-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

.logo-mark span,
.footer-logo-mark::after {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid white;
  margin-left: 3px;
  content: "";
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-list a {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font-size: 28px;
  cursor: pointer;
}

.search-form,
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form input,
.hero-search input {
  width: 250px;
  border: 2px solid var(--amber-200);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.86);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus,
.hero-search input:focus {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

.search-form button,
.hero-search button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  color: white;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-form button:hover,
.hero-search button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.3);
  filter: saturate(1.06);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: white;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #111827;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.04));
}

.hero-content {
  color: white;
  max-width: var(--container);
}

.hero-content h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.hero-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 14px;
  color: white;
  background: var(--amber-500);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.eyebrow {
  color: var(--amber-700, #92400e);
  background: var(--amber-100);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

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

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

.section {
  padding: 64px 0;
}

.block-after-hero {
  padding-top: 72px;
}

.soft-section {
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.86), rgba(255, 237, 213, 0.72));
}

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

.section-heading h2,
.rank-title h2 {
  margin: 10px 0 0;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.play-icon,
.featured-play,
.big-play {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.play-icon::before,
.featured-play::before,
.big-play::before,
.play-dot::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--amber-600);
  margin-left: 4px;
}

.badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  border-radius: 8px;
  padding: 5px 8px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.badge-dark {
  left: 10px;
  background: rgba(0, 0, 0, 0.72);
}

.badge-gold {
  right: 10px;
  background: var(--amber-500);
}

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

.movie-title {
  display: -webkit-box;
  min-height: 47px;
  color: var(--gray-800);
  font-weight: 850;
  font-size: 17px;
  line-height: 1.36;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

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

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.58;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-meta span:last-child {
  color: var(--amber-600);
  font-weight: 700;
}

.tag-line {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 13px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.featured-card {
  grid-row: span 2;
  min-height: 410px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-900);
}

.featured-card a,
.category-card,
.compact-card {
  position: relative;
  display: block;
  height: 100%;
}

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

.featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px;
  color: white;
  background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.82) 100%);
}

.featured-overlay strong {
  font-size: 30px;
  line-height: 1.12;
}

.featured-overlay span:not(.chip) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.featured-card:hover .featured-play {
  background: var(--amber-500);
  transform: translate(-50%, -50%) scale(1.08);
}

.featured-card:hover .featured-play::before {
  border-left-color: white;
}

.compact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 122px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.compact-thumb {
  position: relative;
  width: 150px;
  height: 88px;
  overflow: hidden;
  border-radius: 14px;
  flex-shrink: 0;
  background: var(--amber-100);
}

.compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-dot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.24);
}

.play-dot::before {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
  border-left-color: white;
}

.compact-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.compact-info strong {
  display: -webkit-box;
  color: var(--gray-800);
  line-height: 1.35;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-info em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

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

.category-card,
.category-overview-card a {
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--radius-xl);
  background: var(--gray-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-card img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.45s ease;
}

.category-card span,
.category-overview-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.category-card strong,
.category-overview-body strong {
  font-size: 21px;
  line-height: 1.25;
}

.category-card em,
.category-overview-body em {
  display: -webkit-box;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.secondary-button {
  color: var(--amber-700, #92400e);
  background: white;
  border: 1px solid var(--amber-200);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
}

.rank-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-md);
}

.rank-list,
.ranking-cards,
.sitemap-category-list,
.sitemap-movie-list,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list li + li {
  border-top: 1px solid var(--gray-100);
}

.rank-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  flex-shrink: 0;
}

.rank-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-copy strong {
  color: var(--gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.full-link,
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--amber-600);
  font-weight: 850;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 14% 16%, rgba(251, 191, 36, 0.35), transparent 34%),
    linear-gradient(135deg, #78350f 0%, #9a3412 46%, #431407 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -44% auto;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  filter: blur(18px);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 82px 0;
}

.compact-hero .container,
.category-hero .container,
.ranking-hero .container,
.search-hero .container,
.sitemap-hero .container {
  max-width: 860px;
}

.page-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

.slim-actions {
  margin-top: 26px;
}

.category-overview-card {
  position: relative;
  min-height: 260px;
}

.category-overview-card a {
  display: block;
  height: 100%;
  min-height: 260px;
}

.ranking-page-grid {
  padding-top: 48px;
}

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

.ranking-card a {
  display: grid;
  grid-template-columns: 58px 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.ranking-card img {
  width: 132px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--amber-100);
}

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

.ranking-card strong {
  color: var(--gray-800);
  font-size: 17px;
  line-height: 1.35;
}

.ranking-card em {
  margin: 4px 0;
  color: var(--amber-600);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.ranking-card small {
  display: -webkit-box;
  color: var(--gray-600);
  line-height: 1.5;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-search {
  margin-top: 28px;
  max-width: 680px;
}

.hero-search input {
  flex: 1;
  width: auto;
  padding: 14px 18px;
}

.search-summary {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  color: var(--gray-600);
  font-weight: 700;
}

.detail-page {
  padding-top: 28px;
}

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

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

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

.player-card,
.content-card,
.aside-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-md);
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: #020617;
  cursor: pointer;
}

.player-cover[hidden] {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-cover-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.7));
}

.big-play {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  background: rgba(245, 158, 11, 0.92);
  transition: transform 0.2s ease, background 0.2s ease;
}

.big-play::before {
  border-top-width: 15px;
  border-bottom-width: 15px;
  border-left-width: 22px;
  border-left-color: white;
}

.player-cover:hover .big-play {
  transform: scale(1.08);
  background: var(--orange-500);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
}

.detail-copy,
.content-card,
.aside-card {
  padding: 24px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-row h1 {
  margin: 12px 0 0;
  color: var(--gray-800);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.score-pill {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: white;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  font-weight: 900;
}

.lead-text {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.75;
}

.meta-pills,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-pills span,
.chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--amber-800, #92400e);
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 800;
}

.chip-gold {
  color: white;
  background: var(--amber-500);
}

.content-card {
  margin-top: 24px;
}

.content-card h2,
.aside-card h2,
.sitemap-block h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 24px;
}

.content-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.88;
  font-size: 16px;
}

.detail-aside {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 22px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: var(--amber-100);
  margin-bottom: 16px;
}

.full-width {
  width: 100%;
  justify-content: center;
  display: inline-flex;
}

.info-list {
  margin: 0;
}

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

.info-list div:last-child {
  border-bottom: 0;
}

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

.info-list dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 700;
}

.related-section {
  padding-bottom: 86px;
}

.sitemap-layout {
  display: grid;
  gap: 28px;
}

.sitemap-block {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
}

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

.sitemap-category-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--amber-700, #92400e);
  background: var(--amber-100);
  font-weight: 850;
}

.sitemap-movie-list {
  columns: 4 210px;
  column-gap: 28px;
}

.sitemap-movie-list li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.sitemap-movie-list a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gray-50);
  transition: background 0.2s ease, color 0.2s ease;
}

.sitemap-movie-list a:hover {
  color: var(--amber-600);
  background: var(--amber-50);
}

.sitemap-movie-list span {
  color: var(--gray-500);
  font-size: 12px;
}

.site-footer {
  color: var(--amber-50);
  background: linear-gradient(90deg, #78350f, #7c2d12);
  margin-top: 0;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  color: var(--amber-200);
  line-height: 1.75;
}

.site-footer a:hover {
  color: white;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-logo {
  margin-bottom: 12px;
  color: white;
  font-size: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--amber-200);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .search-form input {
    width: 190px;
  }

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

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

  .rank-panel,
  .detail-aside {
    position: static;
  }

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

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

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

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

  .nav-list {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(217, 119, 6, 0.14);
  }

  .nav-list.is-open {
    display: flex;
  }

  .search-form {
    order: 4;
    width: 100%;
  }

  .search-form input {
    flex: 1;
    width: auto;
  }

  .hero {
    height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42));
  }

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

  .featured-grid,
  .ranking-cards {
    grid-template-columns: 1fr;
  }

  .featured-card {
    min-height: 360px;
  }

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

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

  .logo-text {
    font-size: 20px;
  }

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

  .search-form button,
  .hero-search button,
  .primary-button,
  .secondary-button,
  .ghost-button {
    text-align: center;
  }

  .hero {
    height: 590px;
  }

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

  .section {
    padding: 44px 0;
  }

  .movie-grid,
  .small-grid,
  .category-grid,
  .category-overview-grid,
  .sitemap-category-list {
    grid-template-columns: 1fr;
  }

  .compact-card {
    align-items: stretch;
  }

  .compact-thumb {
    width: 120px;
  }

  .ranking-card a {
    grid-template-columns: 48px 92px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-index {
    width: 44px;
    height: 44px;
  }

  .ranking-card img {
    width: 92px;
    height: 70px;
  }

  .detail-copy,
  .content-card,
  .aside-card,
  .sitemap-block {
    padding: 18px;
  }

  .detail-title-row {
    flex-direction: column;
  }

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