:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #24150f;
  --muted: #745b4b;
  --line: rgba(146, 64, 14, 0.16);
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --orange: #ea580c;
  --gold: #fbbf24;
  --shadow: 0 24px 70px rgba(120, 53, 15, 0.16);
  --radius: 24px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.28), transparent 34rem),
    linear-gradient(135deg, #fffbeb 0%, #fff7ed 42%, #ffffff 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 251, 235, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.38);
}

.logo-text {
  font-size: 1.45rem;
  background: linear-gradient(90deg, #92400e, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link,
.nav-pill,
.chip {
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-link {
  padding: 9px 14px;
  color: #57331d;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.header-search {
  display: flex;
  align-items: center;
  width: 280px;
  padding: 4px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.search-workbench input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

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

.header-search button,
.mobile-search button,
.large-search button,
.search-workbench button,
.btn-primary,
.btn-secondary,
.ranking-more,
.section-more {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.header-search button,
.large-search button,
.search-workbench button,
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.22);
}

.header-search button {
  padding: 8px 14px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: #92400e;
  background: #ffedd5;
}

.quick-category-bar {
  border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.quick-category-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.nav-pill {
  flex: 0 0 auto;
  padding: 7px 13px;
  color: #92400e;
  background: rgba(254, 243, 199, 0.7);
}

.nav-pill:hover {
  background: #fde68a;
}

.mobile-panel {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
}

.mobile-search input {
  padding: 10px;
}

.mobile-search button {
  padding: 9px 14px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-link {
  padding: 12px 14px;
  color: #57331d;
  background: rgba(255, 237, 213, 0.76);
}

.mobile-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: #170c05;
}

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

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: blur(4px) saturate(1.16);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 26%, rgba(251, 191, 36, 0.26), transparent 22rem),
    linear-gradient(90deg, rgba(18, 9, 3, 0.96), rgba(120, 53, 15, 0.62), rgba(0, 0, 0, 0.88));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 50px;
  padding: 68px 0;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(120, 53, 15, 0.28);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-tags span,
.tag-row span,
.movie-tags span,
.search-hotwords a,
.chip {
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.78);
}

.hero-tags span {
  padding: 6px 12px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
}

.btn-secondary {
  color: #78350f;
  background: rgba(255, 255, 255, 0.82);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  background: linear-gradient(135deg, #78350f, #f59e0b);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

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

.poster-play,
.play-fab {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.32);
}

.poster-play {
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.4rem;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: 0.2s ease;
}

.hero-dot.is-active {
  width: 36px;
  background: #fbbf24;
}

.search-panel {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  padding: 20px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.large-search,
.search-workbench {
  display: flex;
  gap: 12px;
}

.large-search input,
.search-workbench input {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: #fff7ed;
}

.large-search button,
.search-workbench button {
  padding: 0 26px;
  border-radius: 18px;
}

.search-hotwords {
  margin-top: 14px;
}

.search-hotwords a {
  padding: 7px 13px;
  color: #92400e;
}

.section-block {
  padding: 58px 0 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.section-heading p {
  max-width: 640px;
  margin: 9px 0 0;
  color: var(--muted);
}

.section-more,
.ranking-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, #92400e, #f59e0b 52%, #ea580c);
  box-shadow: var(--shadow);
}

.category-card img {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 130px;
  height: 190px;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.36;
  transform: rotate(8deg);
}

.category-card strong,
.category-card small,
.category-card em {
  position: relative;
  z-index: 1;
  display: block;
}

.category-card strong {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.category-card small {
  color: rgba(255, 255, 255, 0.82);
}

.category-card em {
  margin-top: 22px;
  font-style: normal;
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(120, 53, 15, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(120, 53, 15, 0.16);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #78350f, #f59e0b, #fff7ed);
}

.movie-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.06);
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.48));
}

.cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #ffffff;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
}

img.is-missing {
  display: none;
}

.movie-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.94);
}

.movie-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: rgba(239, 68, 68, 0.92);
}

.play-fab {
  z-index: 3;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.86);
  transition: 0.2s ease;
}

.movie-card:hover .play-fab {
  opacity: 1;
  transform: scale(1);
}

.movie-info {
  padding: 16px;
}

.movie-title {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  color: #2b1609;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 7px;
  color: #c08428;
}

.movie-one-line {
  display: -webkit-box;
  min-height: 3.4em;
  margin: 10px 0 12px;
  overflow: hidden;
  color: #624132;
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-tags span,
.tag-row span {
  padding: 4px 8px;
  color: #92400e;
  font-size: 0.78rem;
}

.compact-card .movie-info {
  padding: 13px;
}

.compact-card .movie-one-line {
  display: none;
}

.ranking-box,
.content-card,
.sitemap-card,
.category-overview-card,
.filter-bar,
.table-wrap,
.search-workbench,
.search-status {
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.ranking-box {
  position: sticky;
  top: 110px;
  padding: 24px;
}

.ranking-head span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.ranking-head h2 {
  margin: 8px 0;
  font-size: 2rem;
}

.ranking-head p {
  margin: 0 0 16px;
  color: var(--muted);
}

.ranking-box ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-box li a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.ranking-box li span {
  color: var(--orange);
  font-weight: 900;
}

.ranking-box li strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-box li em {
  color: #92400e;
  font-style: normal;
  font-weight: 900;
}

.ranking-more {
  width: 100%;
  margin-top: 18px;
}

.page-hero {
  padding: 62px 0 24px;
}

.small-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1;
}

.small-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: #8a5a2d;
  font-size: 0.95rem;
}

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

.chip-row {
  margin-top: 24px;
}

.chip {
  padding: 8px 13px;
  color: #92400e;
}

.chip.is-current {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.filter-bar {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  padding: 14px;
}

.filter-bar input,
.filter-bar select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 16px;
  background: #fff7ed;
}

.filter-bar input {
  flex: 1;
}

.filter-bar select {
  color: #57331d;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 210px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.category-cover-stack {
  position: relative;
  height: 160px;
}

.category-cover-stack img {
  position: absolute;
  width: 92px;
  height: 136px;
  object-fit: cover;
  border: 4px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(120, 53, 15, 0.2);
}

.category-cover-stack img:nth-child(1) {
  left: 0;
  top: 12px;
  transform: rotate(-7deg);
}

.category-cover-stack img:nth-child(2) {
  left: 46px;
  top: 0;
  z-index: 1;
}

.category-cover-stack img:nth-child(3) {
  left: 92px;
  top: 18px;
  transform: rotate(8deg);
}

.category-cover-stack img:nth-child(4) {
  left: 128px;
  top: 36px;
  transform: rotate(14deg);
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.category-overview-card span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.ranking-table th,
.ranking-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.14);
  text-align: left;
}

.ranking-table th {
  color: #92400e;
  background: #fff7ed;
}

.rank-number {
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 900;
}

.rank-title {
  font-size: 1.05rem;
  font-weight: 900;
}

.ranking-table p {
  margin: 4px 0 0;
  color: var(--muted);
}

.detail-page {
  padding: 42px 0 70px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.8fr;
  gap: 30px;
  align-items: stretch;
}

.player-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 32px;
  background: #100904;
  box-shadow: var(--shadow);
}

.movie-player {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.64));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 20px 48px rgba(234, 88, 12, 0.35);
  font-size: 2rem;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.detail-info {
  padding: 30px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-info h1 {
  margin: 16px 0 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.detail-one-line {
  color: #614532;
  font-size: 1.08rem;
}

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

.detail-meta-grid div {
  padding: 14px;
  border-radius: 18px;
  background: #fff7ed;
}

.detail-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: #4a2410;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.content-card {
  padding: 28px;
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.content-card p {
  margin: 0;
  color: #5b3e2a;
}

.search-workbench {
  padding: 14px;
}

.search-status {
  margin: 18px 0;
  padding: 15px 18px;
  color: #92400e;
}

.sitemap-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 70px;
}

.sitemap-card {
  padding: 24px;
}

.sitemap-card h2 {
  margin-top: 0;
}

.sitemap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-card li + li {
  margin-top: 10px;
}

.sitemap-card a:hover {
  color: var(--orange);
}

.sitemap-full {
  grid-column: 1 / -1;
}

.sitemap-movie-list {
  columns: 3;
}

.sitemap-movie-list li {
  break-inside: avoid;
}

.sitemap-movie-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  margin-top: 72px;
  color: #fffbeb;
  background: linear-gradient(135deg, #78350f, #92400e 45%, #ea580c);
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-grid p {
  color: rgba(255, 251, 235, 0.82);
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #fde68a;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-grid a {
  color: rgba(255, 251, 235, 0.84);
}

.footer-grid a:hover {
  color: #ffffff;
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

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

  .hero-poster {
    min-height: 420px;
  }

  .ranking-box {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 66px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .hero-carousel,
  .hero-content {
    min-height: 740px;
  }

  .hero-content {
    gap: 28px;
    padding: 42px 0 80px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 18vw, 4.2rem);
  }

  .hero-poster {
    min-height: 360px;
  }

  .large-search,
  .search-workbench,
  .filter-bar {
    flex-direction: column;
  }

  .large-search button,
  .search-workbench button {
    min-height: 50px;
  }

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

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .compact-grid,
  .detail-content-grid,
  .sitemap-layout {
    grid-template-columns: 1fr;
  }

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

  .movie-grid {
    gap: 16px;
  }

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

  .player-card,
  .movie-player {
    min-height: 280px;
  }

  .sitemap-movie-list {
    columns: 1;
  }

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