:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --yellow-400: #facc15;
  --red-500: #ef4444;
  --blue-600: #2563eb;
  --purple-600: #9333ea;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.15);
  --shadow-card: 0 10px 25px rgba(17, 24, 39, 0.1);
  --radius-xl: 24px;
  --radius-2xl: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), #ffffff 40%, var(--orange-50));
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500), var(--yellow-400));
  box-shadow: 0 10px 30px rgba(146, 64, 14, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

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

.brand-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(120, 53, 15, 0.18);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-5deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--amber-100);
  font-size: 12px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-link.active {
  background: #ffffff;
  color: var(--orange-600);
  box-shadow: 0 8px 16px rgba(146, 64, 14, 0.16);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #fbbf24, #fb923c 48%, #facc15);
}

.hero-pattern span {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  filter: drop-shadow(0 8px 16px rgba(146, 64, 14, 0.15));
}

.hero-pattern span:nth-child(1) {
  top: 42px;
  left: 7%;
  font-size: 68px;
}

.hero-pattern span:nth-child(2) {
  top: 146px;
  right: 11%;
  font-size: 58px;
}

.hero-pattern span:nth-child(3) {
  bottom: 110px;
  left: 24%;
  font-size: 78px;
}

.hero-pattern span:nth-child(4) {
  right: 7%;
  bottom: 48px;
  font-size: 66px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 92px 0 130px;
}

.hero-copy {
  color: #ffffff;
}

.hero-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.eyebrow {
  background: var(--orange-100);
  color: var(--orange-700);
}

.eyebrow.blue {
  background: linear-gradient(90deg, #dbeafe, #ede9fe);
  color: var(--blue-600);
}

.eyebrow.red {
  background: #fee2e2;
  color: #b91c1c;
}

.hero-copy h1 {
  margin: 24px 0;
  font-size: clamp(44px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  color: #fff7cc;
}

.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--amber-50);
  font-size: 20px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(120, 53, 15, 0.2);
}

.button-light {
  background: #ffffff;
  color: var(--orange-600);
}

.button-dark {
  background: var(--amber-700);
  color: #ffffff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.button-primary,
.button-wide {
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  color: #ffffff;
}

.button-wide {
  width: 100%;
  margin-top: 18px;
}

.hero-mini-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.hero-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-pick:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-pick img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-pick strong,
.hero-pick small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-pick small {
  color: var(--amber-100);
}

.hero-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--gray-900);
  box-shadow: 0 30px 70px rgba(120, 53, 15, 0.35);
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: scale(1.025);
}

.hero-card img {
  height: 480px;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72));
}

.daily-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--red-500);
  color: #ffffff;
  font-weight: 900;
  transform: rotate(8deg);
  box-shadow: 0 12px 24px rgba(127, 29, 29, 0.22);
}

.hero-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
  color: #ffffff;
}

.hero-card-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hero-card-copy p {
  margin: 0;
  color: var(--amber-100);
  line-height: 1.7;
}

.wave-divider {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 90px;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

.wave-divider path {
  fill: var(--amber-50);
}

.section {
  padding: 76px 0;
}

.warm-section {
  background: linear-gradient(180deg, var(--amber-50), var(--orange-50));
}

.white-section {
  background: #ffffff;
}

.split-section {
  background: linear-gradient(180deg, #ffffff, var(--amber-50));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.page-hero h1,
.rank-panel h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p,
.rank-panel p {
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 40px rgba(120, 53, 15, 0.18);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray-100);
}

.movie-poster img {
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-card .movie-poster img {
  height: 230px;
}

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

.card-badge,
.play-dot {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
}

.card-badge {
  top: 12px;
  right: 12px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange-600);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.play-dot {
  left: 12px;
  bottom: 12px;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(0, 0, 0, 0.54);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

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

.movie-card-body h2 {
  margin: 7px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

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

.movie-card-body p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.movie-meta {
  color: var(--orange-600) !important;
  font-weight: 800;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  padding: 5px 8px;
  border-radius: 9px;
  background: var(--amber-50);
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

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

.category-tile {
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff, var(--orange-50));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-emoji {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 8px 18px rgba(146, 64, 14, 0.1);
}

.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.category-tile p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

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

.timeline-list {
  display: grid;
  gap: 18px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.timeline-card .movie-poster img {
  height: 100%;
  min-height: 170px;
}

.rank-panel,
.side-card,
.poster-card,
.detail-content-card,
.player-card,
.info-card,
.faq-item,
.category-overview-card,
.search-card {
  border-radius: var(--radius-2xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.rank-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 28px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: var(--gray-50);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(5px);
  background: var(--orange-50);
}

.rank-no {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  color: #ffffff;
  font-weight: 900;
}

.rank-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-item strong,
.rank-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item small {
  margin-top: 4px;
  color: var(--gray-500);
}

.search-cta {
  padding-top: 30px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.search-card h2 {
  margin: 14px 0 8px;
  font-size: 34px;
}

.search-card p {
  margin: 0;
  color: var(--amber-50);
}

.page-shell {
  padding: 42px 0 80px;
  background: linear-gradient(180deg, var(--amber-50), #ffffff 38%, var(--orange-50));
}

.page-hero {
  padding: 50px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #ffffff, var(--orange-50));
  box-shadow: var(--shadow-soft);
}

.compact-hero {
  margin-bottom: 32px;
}

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

.category-hero-icon {
  position: absolute;
  right: 46px;
  top: 24px;
  color: rgba(249, 115, 22, 0.12);
  font-size: 130px;
}

.chip-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.category-chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--gray-700);
  box-shadow: 0 6px 16px rgba(120, 53, 15, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.category-chip.active,
.filter-chip.active {
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  color: #ffffff;
}

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

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

.category-overview-head {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.category-overview-head > span {
  display: inline-grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 22px;
  background: var(--orange-50);
  font-size: 32px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
}

.category-overview-head p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.overview-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-600);
  font-weight: 900;
}

.ranking-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.ranking-feature {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius-2xl);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-feature img {
  height: 380px;
  object-fit: cover;
  filter: saturate(1.05);
}

.ranking-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.76));
}

.ranking-feature span,
.ranking-feature h2,
.ranking-feature p {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
}

.ranking-feature span {
  top: 22px;
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--red-500);
  font-size: 22px;
  font-weight: 900;
}

.ranking-feature h2 {
  bottom: 82px;
  margin: 0;
}

.ranking-feature p {
  bottom: 26px;
  margin: 0;
  color: var(--amber-100);
  line-height: 1.6;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 64px 86px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.ranking-number {
  color: var(--orange-600);
  font-size: 22px;
  font-weight: 900;
}

.ranking-row img {
  width: 86px;
  height: 68px;
  object-fit: cover;
  border-radius: 16px;
}

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

.ranking-main small {
  margin-top: 6px;
  color: var(--gray-500);
}

.ranking-score {
  color: var(--red-500);
  font-size: 20px;
  font-weight: 900;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 28px;
}

.search-panel input {
  width: 100%;
  min-height: 54px;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 0 18px;
  outline: none;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.search-panel input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.search-panel button {
  border: 0;
  border-radius: 18px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--gray-900);
  cursor: pointer;
  font-weight: 900;
}

.search-notice {
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff7ed;
  color: var(--orange-700);
  font-weight: 900;
}

.detail-page {
  padding: 42px 0 80px;
  background: linear-gradient(180deg, var(--amber-50), #ffffff 52%, var(--orange-50));
}

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

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

.breadcrumb a {
  color: var(--orange-600);
  font-weight: 800;
}

.player-card {
  overflow: hidden;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
  cursor: pointer;
}

.play-layer.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  display: inline-grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  font-size: 34px;
}

.play-layer strong {
  max-width: min(90%, 720px);
  text-align: center;
  font-size: clamp(24px, 5vw, 42px);
}

.player-copy,
.detail-content-card,
.side-card,
.poster-card {
  padding: 26px;
}

.player-copy h1 {
  margin: 14px 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
}

.player-copy p,
.detail-content-card p {
  color: var(--gray-600);
  line-height: 1.9;
}

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

.detail-content-card h2 {
  margin: 24px 0 14px;
  font-size: 24px;
}

.detail-content-card h2:first-child {
  margin-top: 0;
}

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

.detail-meta-grid span {
  padding: 14px;
  border-radius: 16px;
  background: var(--gray-50);
  color: var(--gray-700);
}

.detail-meta-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--orange-600);
}

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

.detail-side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.poster-card img {
  border-radius: 24px;
  height: 420px;
  object-fit: cover;
}

.side-card h2 {
  margin: 0;
}

.related-section {
  margin-top: 32px;
}

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

.info-grid.single-column {
  grid-template-columns: 1fr;
}

.info-card {
  padding: 28px;
}

.info-card h2,
.faq-item h2 {
  margin: 0 0 12px;
}

.info-card p,
.faq-item p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.85;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 26px;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #78350f, #9a3412, #78350f);
}

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

.footer-logo .brand-icon {
  box-shadow: none;
}

.footer-logo strong,
.footer-logo small,
.site-footer a,
.site-footer p {
  display: block;
}

.footer-logo strong {
  font-size: 22px;
}

.footer-logo small,
.site-footer p,
.site-footer a {
  color: var(--amber-100);
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.site-footer a {
  margin: 10px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--amber-100);
}

@media (max-width: 1080px) {
  .four-col,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .hero-card,
  .hero-card img {
    min-height: 420px;
    height: 420px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

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

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    padding: 62px 0 104px;
    gap: 32px;
  }

  .hero-mini-list,
  .four-col,
  .three-col,
  .category-grid,
  .category-overview-grid,
  .ranking-features,
  .footer-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-pick {
    min-width: 0;
  }

  .section,
  .page-shell,
  .detail-page {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .page-hero {
    padding: 28px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .movie-poster img,
  .home-card .movie-poster img {
    height: 240px;
  }

  .search-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

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

  .poster-card img {
    height: 360px;
  }

  .ranking-row {
    grid-template-columns: 44px 70px minmax(0, 1fr);
  }

  .ranking-score {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}

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

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .hero-card,
  .hero-card img {
    min-height: 360px;
    height: 360px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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