:root {
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --orange-500: #f97316;
  --rose-500: #f43f5e;
  --purple-500: #a855f7;
  --cyan-500: #06b6d4;
  --emerald-500: #10b981;
  --slate-950: #020617;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.16);
  --shadow-deep: 0 24px 60px rgba(69, 26, 3, 0.28);
  --radius-lg: 24px;
  --radius-xl: 32px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--amber-50), #ffffff 42%, var(--amber-50));
  color: var(--gray-900);
  min-width: 320px;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-700), var(--amber-500));
  box-shadow: 0 10px 30px rgba(146, 64, 14, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon,
.footer-brand span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--white);
  box-shadow: inset 0 0 0 3px rgba(245, 158, 11, 0.18);
  transition: transform 0.25s ease;
}

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

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-copy em {
  display: block;
  margin-top: 4px;
  color: var(--amber-100);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.header-search input,
.mobile-panel input,
.search-page-form input,
.filter-toolbar input,
.filter-toolbar select {
  width: 100%;
  border: 0;
  outline: 0;
}

.header-search input {
  height: 42px;
  padding: 0 86px 0 18px;
  color: var(--white);
  background: transparent;
}

.header-search input::placeholder {
  color: var(--amber-100);
}

.header-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--white);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

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

.mobile-panel nav {
  display: grid;
  gap: 12px;
  padding: 16px 0;
}

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.mobile-panel button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--amber-800);
  background: var(--white);
  cursor: pointer;
}

.hero-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fffbeb 42%, #fed7aa);
}

.hero-background {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0));
  filter: blur(4px);
}

.hero-container {
  position: relative;
  height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 56px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(146, 64, 14, 0.12);
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 20px 0 16px;
  color: var(--amber-950);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p,
.sub-hero p,
.detail-copy p {
  margin: 0;
  color: var(--amber-900);
  font-size: 20px;
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.detail-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.meta-line span {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span,
.detail-meta span {
  color: var(--amber-950);
  background: rgba(255, 255, 255, 0.72);
}

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

.primary-button,
.secondary-button,
.section-link,
.category-tile > a,
.category-overview-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-700);
  box-shadow: 0 14px 30px rgba(180, 83, 9, 0.28);
}

.secondary-button,
.section-link {
  color: var(--amber-800);
  background: var(--white);
  box-shadow: inset 0 0 0 2px rgba(180, 83, 9, 0.25);
}

.primary-button:hover,
.secondary-button:hover,
.section-link:hover,
.category-tile > a:hover,
.category-overview-copy a:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.24), rgba(255, 255, 255, 0.5));
  transform: rotate(-5deg);
}

.hero-media img {
  position: relative;
  width: min(360px, 80vw);
  max-height: 480px;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
  transition: transform 0.45s ease;
}

.hero-media:hover img {
  transform: scale(1.035) rotate(1deg);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 0;
}

.hero-next {
  right: 0;
}

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

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

.hero-dots button.active {
  width: 34px;
  background: var(--amber-700);
}

.quick-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -34px;
}

.quick-panel a {
  display: grid;
  gap: 8px;
  min-height: 106px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.quick-panel strong {
  color: var(--amber-900);
  font-size: 22px;
}

.quick-panel span {
  color: var(--gray-600);
}

.page-section {
  padding: 72px 0 0;
}

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

.section-heading h2,
.search-results-head h2,
.content-card h2 {
  margin: 0 0 8px;
  color: var(--amber-950);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.search-results-head p {
  margin: 0;
  color: var(--amber-800);
  font-size: 17px;
}

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

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

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

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--amber-100);
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(69, 26, 3, 0.58));
  opacity: 0.82;
}

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
}

.poster-badge {
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  background: rgba(244, 63, 94, 0.94);
  font-size: 12px;
}

.poster-play {
  left: 50%;
  bottom: 18px;
  padding: 10px 16px;
  background: rgba(217, 119, 6, 0.92);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card-body h2 a:hover,
.ranking-item h2 a:hover {
  color: var(--amber-700);
}

.movie-card-body p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
}

.meta-line {
  gap: 6px;
  margin-bottom: 12px;
}

.meta-line span {
  color: var(--amber-900);
  background: var(--amber-100);
  font-size: 12px;
}

.tag-row span {
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 12px;
}

.horizontal-section {
  overflow: hidden;
}

.scroll-wrap {
  position: relative;
}

.horizontal-list {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 22px;
  scrollbar-width: none;
}

.horizontal-list::-webkit-scrollbar {
  display: none;
}

.compact-card {
  flex: 0 0 286px;
}

.scroll-button {
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  font-size: 28px;
  cursor: pointer;
}

.scroll-button.left {
  left: -12px;
}

.scroll-button.right {
  right: -12px;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-tile::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile h2,
.category-overview-copy h1 {
  position: relative;
  margin: 0 0 12px;
  font-size: 30px;
}

.category-tile p,
.category-overview-copy p {
  position: relative;
  margin: 0 0 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.category-samples {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.category-samples a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
}

.category-tile > a,
.category-overview-copy a {
  position: relative;
  width: max-content;
  color: var(--amber-900);
  background: var(--white);
}

.category-card-a { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.category-card-b { background: linear-gradient(135deg, #d97706, #f97316); }
.category-card-c { background: linear-gradient(135deg, #a855f7, #ec4899); }
.category-card-d { background: linear-gradient(135deg, #ef4444, #7c2d12); }
.category-card-e { background: linear-gradient(135deg, #334155, #d97706); }
.category-card-f { background: linear-gradient(135deg, #06b6d4, #f59e0b); }
.category-card-g { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.category-card-h { background: linear-gradient(135deg, #92400e, #f59e0b); }
.category-card-i { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.category-card-j { background: linear-gradient(135deg, #111827, #b45309); }
.category-card-k { background: linear-gradient(135deg, #78350f, #dc2626); }
.category-card-l { background: linear-gradient(135deg, #10b981, #f59e0b); }

.ranking-band {
  margin-top: 80px;
  padding: 68px 0;
  color: var(--white);
  background: linear-gradient(180deg, var(--amber-900), var(--amber-800));
}

.ranking-band .section-heading h2,
.ranking-band .section-heading p {
  color: var(--white);
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  color: var(--gray-900);
  box-shadow: 0 16px 40px rgba(69, 26, 3, 0.15);
}

.ranking-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

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

.ranking-cover span {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--amber-700);
  font-weight: 900;
}

.ranking-item h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.ranking-item p {
  margin: 0 0 12px;
  color: var(--gray-600);
  line-height: 1.65;
}

.sub-hero {
  position: relative;
  padding: 76px 0;
  color: var(--amber-950);
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.sub-hero .container {
  position: relative;
  z-index: 2;
}

.sub-hero h1 {
  max-width: 900px;
}

.sub-hero p {
  max-width: 780px;
}

.category-hero,
.ranking-hero,
.search-hero {
  color: var(--white);
}

.category-hero .eyebrow,
.ranking-hero .eyebrow,
.search-hero .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
}

.category-hero h1,
.category-hero p,
.ranking-hero h1,
.ranking-hero p,
.search-hero h1,
.search-hero p {
  color: var(--white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 28px;
}

.category-preview-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.category-preview-list a {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 126px;
  background: rgba(255, 255, 255, 0.2);
}

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

.category-preview-list span {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 8px 8px;
  color: var(--white);
  font-size: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.filter-toolbar {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--amber-900);
  font-size: 13px;
  font-weight: 800;
}

.filter-toolbar input,
.filter-toolbar select {
  min-height: 44px;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--gray-900);
  background: var(--amber-50);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.16);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.15);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 70px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1,
.detail-copy p {
  color: var(--white);
}

.detail-copy p {
  max-width: 820px;
}

.detail-meta {
  margin: 20px 0 18px;
}

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

.player-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-950);
  box-shadow: var(--shadow-deep);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: #000000;
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.26), rgba(2, 6, 23, 0.84));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--white);
  font-size: 34px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.play-cover strong {
  max-width: min(760px, 88%);
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.15;
  text-align: center;
}

.play-cover em {
  font-style: normal;
  color: var(--amber-100);
}

.detail-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.content-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.content-card p {
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.related-list {
  padding-bottom: 36px;
}

.search-page-form {
  display: flex;
  max-width: 720px;
  min-height: 58px;
  margin-top: 30px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.search-page-form input {
  padding: 0 20px;
  color: var(--gray-900);
  background: transparent;
}

.search-page-form button {
  min-width: 116px;
  color: var(--white);
  background: var(--amber-700);
}

.search-results-head {
  margin-bottom: 28px;
}

.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-700);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
}

.site-footer {
  margin-top: 88px;
  color: var(--amber-50);
  background: linear-gradient(180deg, var(--amber-800), var(--amber-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer li {
  color: var(--amber-100);
  line-height: 1.8;
}

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

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

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

.footer-bottom {
  padding: 22px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--amber-100);
  text-align: center;
}

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 36px 0 76px;
  }

  .hero-container,
  .hero-section {
    min-height: 780px;
  }

  .hero-container {
    height: 780px;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .quick-panel,
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-grid,
  .ranking-list-page,
  .footer-grid,
  .detail-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-poster {
    width: min(300px, 80vw);
  }

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

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

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

  .brand-copy em {
    display: none;
  }

  .hero-container,
  .hero-section {
    min-height: 720px;
  }

  .hero-container {
    height: 720px;
  }

  .hero-copy p,
  .sub-hero p,
  .detail-copy p {
    font-size: 16px;
  }

  .hero-arrow {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .hero-dots {
    bottom: 38px;
  }

  .quick-panel,
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-grid,
  .ranking-list-page,
  .footer-grid,
  .detail-content,
  .filter-toolbar {
    grid-template-columns: 1fr;
  }

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

  .ranking-item {
    grid-template-columns: 92px 1fr;
  }

  .video-shell {
    min-height: 220px;
  }

  .search-page-form {
    border-radius: 24px;
    flex-direction: column;
  }

  .search-page-form input,
  .search-page-form button {
    min-height: 46px;
    border-radius: 18px;
  }
}
