:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --yellow-50: #fefce8;
  --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.14);
  --shadow-card: 0 10px 25px rgba(120, 53, 15, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--amber-50), var(--orange-50) 48%, var(--yellow-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 252, 232, 0.96), rgba(255, 247, 237, 0.96));
  box-shadow: 0 8px 28px rgba(146, 64, 14, 0.12);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
  font-size: 15px;
}

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

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber-800);
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: var(--amber-600);
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-700);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange-700);
  background: rgba(251, 191, 36, 0.18);
}

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

.header-search input,
.mobile-search input,
.page-filter-input,
.search-panel input,
.search-panel select,
.page-filter-select {
  height: 42px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

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

.header-search button,
.mobile-search button {
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.16);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-800);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

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

.mobile-search input {
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
  color: var(--amber-700);
  font-weight: 700;
}

.mobile-nav-link.is-active {
  color: var(--orange-700);
}

.hero-carousel {
  position: relative;
  height: min(74vh, 640px);
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide img,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36) 52%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  color: #fff;
}

.hero-content h1 {
  max-width: 760px;
  margin: 14px 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(194, 65, 12, 0.28);
}

.hero-meta,
.detail-meta,
.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-meta {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.32);
}

.ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 0;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

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

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

.section-heading h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.section-more {
  min-height: 40px;
  color: var(--orange-700);
  background: #fff;
  border: 1px solid rgba(217, 119, 6, 0.22);
  box-shadow: 0 10px 20px rgba(120, 53, 15, 0.08);
}

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

.movie-row {
  display: grid;
  grid-auto-columns: minmax(240px, 280px);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scrollbar-width: none;
}

.movie-row::-webkit-scrollbar {
  display: none;
}

.scroll-shell {
  position: relative;
}

.scroll-button {
  position: absolute;
  top: 35%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--gray-700);
  background: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  font-size: 26px;
}

.scroll-left {
  left: -16px;
}

.scroll-right {
  right: -16px;
}

.movie-card,
.horizontal-card,
.overview-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover,
.horizontal-card:hover,
.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(120, 53, 15, 0.18);
}

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

.poster-link img,
.horizontal-poster img,
.category-tile img,
.overview-samples img,
.rank-item img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-link img,
.horizontal-card:hover .horizontal-poster img,
.category-tile:hover img {
  transform: scale(1.08);
}

.duration-badge,
.rating-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
}

.rating-badge {
  left: 10px;
  top: 10px;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-meta-line {
  color: var(--gray-500);
  font-size: 13px;
}

.movie-meta-line span::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.35);
  vertical-align: middle;
}

.movie-meta-line span:last-child::after {
  display: none;
}

.movie-card h3,
.horizontal-card h3 {
  margin: 10px 0 8px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.movie-card h3 a:hover,
.horizontal-card h3 a:hover,
.overview-card h2 a:hover {
  color: var(--orange-700);
}

.movie-card p,
.horizontal-card p {
  display: -webkit-box;
  min-height: 45px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--amber-700);
  background: rgba(251, 191, 36, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.feature-band {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.82), rgba(254, 243, 199, 0.86));
}

.band-inner {
  padding-top: 54px;
  padding-bottom: 54px;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 14px;
}

.horizontal-poster {
  position: relative;
  display: block;
  min-height: 120px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.horizontal-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.horizontal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.category-tile {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--amber-800);
  box-shadow: var(--shadow-card);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.category-tile span,
.category-tile em {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
}

.category-tile span {
  bottom: 58px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile em {
  bottom: 18px;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.two-column-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.1);
  transition: transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
}

.rank-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 900;
}

.rank-item img {
  width: 72px;
  height: 48px;
  border-radius: 10px;
}

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

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.page-main,
.detail-main {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-900), var(--orange-700));
}

.compact-hero {
  min-height: 270px;
  display: flex;
  align-items: end;
  padding: 52px max(16px, calc((100vw - 1180px) / 2)) 46px;
}

.compact-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

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

.overview-card {
  padding: 18px;
}

.overview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.overview-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.overview-card-head > a {
  color: var(--orange-700);
  font-weight: 800;
}

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

.overview-samples a {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
}

.overview-samples img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--amber-100);
}

.filter-panel,
.search-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.page-filter-input,
.search-panel input {
  flex: 1 1 280px;
}

.search-panel select,
.page-filter-select {
  min-width: 150px;
}

.search-summary {
  margin: 0 0 18px;
  color: var(--gray-600);
  font-weight: 800;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.pagination a,
.pagination strong,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 12px;
  color: var(--amber-700);
  background: #fff;
  border: 1px solid rgba(217, 119, 6, 0.22);
  font-weight: 800;
}

.pagination strong {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
}

.ranking-aside {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.ranking-aside h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.ranking-aside a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--amber-700);
  background: rgba(251, 191, 36, 0.14);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: var(--gray-900);
}

.detail-bg,
.detail-overlay {
  position: absolute;
  inset: 0;
}

.detail-bg {
  filter: blur(6px) scale(1.04);
  opacity: 0.65;
}

.detail-overlay {
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.58) 58%, rgba(17, 24, 39, 0.42));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

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

.breadcrumb a:hover {
  color: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  aspect-ratio: 3 / 4.2;
}

.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.7;
}

.detail-meta {
  margin-bottom: 18px;
}

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

.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-content {
  padding-top: 42px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.player-play {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.35);
  font-size: 30px;
}

.player-overlay strong {
  font-size: 22px;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.detail-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.detail-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
}

.detail-section p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.95;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}

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

.info-list dd {
  margin: 0;
  color: var(--gray-800);
  line-height: 1.6;
}

.site-footer {
  margin-top: 32px;
  color: var(--amber-50);
  background: linear-gradient(135deg, var(--amber-900), #7c2d12, var(--orange-700));
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 430px;
  color: rgba(255, 251, 235, 0.78);
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--amber-200);
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 251, 235, 0.84);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
  color: rgba(255, 251, 235, 0.78);
  font-size: 14px;
}

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

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

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

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

  .horizontal-grid,
  .ranking-list-large,
  .two-column-section,
  .detail-columns,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .ranking-aside {
    position: static;
  }

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

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

  .brand-name {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

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

  .hero-content {
    bottom: 72px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    margin-top: 14px;
  }

  .movie-grid,
  .category-grid,
  .mini-card-grid,
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .horizontal-card {
    grid-template-columns: 130px 1fr;
  }

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

  .detail-poster {
    width: min(320px, 100%);
  }

  .detail-info h1 {
    font-size: 42px;
  }

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

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

@media (max-width: 520px) {
  .content-section {
    width: min(100% - 24px, 1180px);
    padding: 38px 0;
  }

  .movie-grid,
  .category-grid,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }

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

  .horizontal-poster {
    aspect-ratio: 16 / 10;
  }

  .rank-item {
    grid-template-columns: 36px 64px 1fr;
  }

  .rank-item img {
    width: 64px;
    height: 44px;
  }

  .compact-hero {
    min-height: 240px;
  }

  .player-play {
    width: 64px;
    height: 64px;
  }
}
