:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --blue-500: #3b82f6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 36%, #fff7ed 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container));
  height: 66px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}

.brand-text {
  font-size: 1.18rem;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  transition: transform 0.22s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: var(--gray-700);
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 116px 0 86px;
  overflow: hidden;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 52%, #fff8e1 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: center;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.hero-bg {
  position: absolute;
  width: 420px;
  height: 420px;
  filter: blur(8px);
  border-radius: 999px;
  opacity: 0.38;
}

.hero-bg-one {
  top: 10%;
  left: -110px;
  background: radial-gradient(circle, #fcd34d 0%, rgba(252, 211, 77, 0) 72%);
}

.hero-bg-two {
  right: -80px;
  bottom: 6%;
  background: radial-gradient(circle, #fb923c 0%, rgba(251, 146, 60, 0) 70%);
}

.floating-cinema-dot {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--amber-500);
  opacity: 0.24;
  animation: floatUp 12s ease-in-out infinite;
}

.dot-one {
  top: 28%;
  left: 14%;
}

.dot-two {
  top: 68%;
  left: 40%;
  animation-delay: -3s;
}

.dot-three {
  top: 22%;
  right: 18%;
  animation-delay: -6s;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(20px, -36px, 0) scale(1.25);
  }
}

.hero-copy {
  text-align: left;
}

.hero-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 30px;
}

.hero-main-icon {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: #ffffff;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: var(--shadow-md);
  animation: softPulse 2.8s ease-in-out infinite;
}

.hero-mini-icon {
  position: absolute;
  top: -12px;
  right: -12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: var(--red-500);
  box-shadow: var(--shadow-sm);
  animation: softBounce 1.8s ease-in-out infinite;
}

@keyframes softPulse {
  50% {
    transform: scale(1.05);
  }
}

@keyframes softBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--amber-700);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.98;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600), #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--gray-700);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.9;
}

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

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

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
}

.button-secondary {
  color: var(--amber-700);
  border: 2px solid rgba(245, 158, 11, 0.7);
  background: rgba(255, 255, 255, 0.92);
}

.button-light {
  color: var(--amber-700);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats span {
  padding: 10px 14px;
  color: var(--gray-700);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.hero-stats strong {
  color: var(--amber-700);
}

.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 530px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22) 46%, rgba(0, 0, 0, 0.05));
}

.hero-slide-copy {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: #ffffff;
}

.hero-slide-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  font-weight: 800;
}

.hero-slide-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-slide-copy p {
  max-width: 650px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.hero-slide-copy a {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--amber-700);
  background: #ffffff;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.hero-dot.is-active {
  width: 26px;
  background: #ffffff;
}

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

.compact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.compact-card img {
  width: 44px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  background: var(--amber-100);
}

.compact-card span {
  min-width: 0;
}

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

.compact-card small {
  color: var(--gray-500);
}

.hero-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.content-section,
.page-main {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

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

.tinted-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - var(--container)) / 2));
  padding-left: max(16px, calc((100vw - var(--container)) / 2));
  background: linear-gradient(135deg, var(--amber-50), #fff7ed);
}

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

.section-title h2,
.ranking-panel h2,
.ranking-block h2,
.ranking-main h2,
.ranking-side h2,
.detail-article h2,
.detail-meta-panel h2,
.player-section h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.section-title p,
.ranking-panel p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-action,
.text-link {
  color: var(--amber-700);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card-featured .poster-frame {
  aspect-ratio: 16 / 11;
}

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 2.75;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, var(--amber-200), var(--orange-500));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0) 58%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  transform: translate(-50%, -50%) scale(0.82);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.86);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.poster-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.movie-card-meta,
.movie-card-foot,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.movie-card-meta span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--amber-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-600);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-foot {
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.88rem;
}

.movie-card-foot a {
  color: var(--amber-700);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 188px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-count {
  width: max-content;
  padding: 6px 12px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  font-weight: 800;
}

.category-name {
  font-size: 1.4rem;
  font-weight: 900;
}

.category-preview {
  display: flex;
  align-items: end;
  gap: 8px;
}

.category-preview img {
  width: 46px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.ranking-panel,
.ranking-side,
.detail-meta-panel {
  position: sticky;
  top: 90px;
  padding: 24px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

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

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--gray-50);
  transition: transform 0.2s ease, background 0.2s ease;
}

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

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

.rank-item img {
  width: 56px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy {
  min-width: 0;
}

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

.rank-copy small {
  color: var(--gray-500);
}

.cta-section {
  width: min(100% - 32px, 920px);
  margin: 30px auto 80px;
  padding: 64px 28px;
  text-align: center;
  color: #ffffff;
  border-radius: 34px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: var(--shadow-lg);
}

.cta-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.6rem;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-section p {
  margin: 0 0 24px;
  opacity: 0.9;
}

.page-main {
  padding: 104px 0 72px;
}

.page-hero {
  margin-bottom: 34px;
  padding: 46px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  box-shadow: var(--shadow-sm);
}

.page-hero p {
  margin: 0 0 10px;
  color: var(--amber-700);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.page-hero span {
  color: var(--gray-600);
  font-size: 1.05rem;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.category-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.category-cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.74);
  font-weight: 800;
}

.category-overview-body h2 {
  margin: 0 0 10px;
}

.category-overview-body p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.compact-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 16px;
  border: 2px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  background: var(--amber-50);
}

.filter-search span {
  color: var(--amber-700);
  font-size: 1.3rem;
  font-weight: 900;
}

.filter-search input {
  width: 100%;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
}

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

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-grid select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--gray-800);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  outline: 0;
  background: #ffffff;
}

.filter-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--gray-600);
}

.filter-result-line button {
  padding: 8px 14px;
  color: var(--amber-700);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  background: var(--amber-50);
  cursor: pointer;
}

.hidden-card {
  display: none !important;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}

.ranking-main,
.ranking-block {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

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

.ranking-side a {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--amber-50);
  color: var(--amber-700);
  font-weight: 800;
}

.ranking-block {
  margin-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gray-500);
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  box-shadow: var(--shadow-sm);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 20%, var(--amber-200), var(--orange-500));
  box-shadow: var(--shadow-md);
}

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

.detail-kicker {
  margin: 0 0 12px;
  color: var(--amber-700);
  font-weight: 900;
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 1.18rem;
  line-height: 1.9;
}

.player-section {
  margin-top: 34px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 14px;
  place-items: center;
  align-content: center;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.movie-player.is-playing .player-overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.play-orb {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: var(--shadow-md);
  font-size: 2rem;
}

.play-copy {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  margin-top: 34px;
  align-items: start;
}

.detail-article {
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.detail-article h2 + p {
  margin-top: 12px;
}

.detail-article p {
  color: var(--gray-700);
  line-height: 2;
}

.detail-article p + h2 {
  margin-top: 28px;
}

.detail-meta-panel dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.detail-meta-panel dt {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-meta-panel dd {
  margin: -8px 0 6px;
  color: var(--gray-900);
}

.detail-meta-panel a {
  color: var(--amber-700);
  font-weight: 800;
}

.related-section {
  width: 100%;
}

.site-footer {
  margin-top: 40px;
  color: var(--amber-100);
  background: linear-gradient(135deg, #78350f, #9a3412 56%, #7c2d12);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-brand {
  color: #ffffff;
}

.footer-shell p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--amber-100);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.footer-links a {
  color: var(--amber-100);
}

.image-missing {
  visibility: hidden;
}

@media (max-width: 1120px) {
  .hero-shell,
  .split-section,
  .ranking-layout,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-icon-wrap,
  .hero-stats,
  .hero-actions {
    justify-content: center;
  }

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

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

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

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

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

  .hero-section {
    padding-top: 98px;
  }

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

  .hero-slider {
    min-height: 430px;
  }

  .hero-mini-list {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .movie-grid-three,
  .movie-grid-four,
  .category-grid,
  .category-overview-grid,
  .large-rank-list,
  .rank-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 560px) {
  .content-section,
  .page-main {
    width: min(100% - 22px, var(--container));
  }

  .hero-shell {
    width: min(100% - 22px, var(--container));
  }

  .hero-copy h1 {
    font-size: 3.15rem;
  }

  .hero-slider {
    min-height: 360px;
    border-radius: 24px;
  }

  .hero-slide-copy {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .featured-grid,
  .movie-grid-three,
  .movie-grid-four,
  .category-grid,
  .category-overview-grid,
  .large-rank-list,
  .rank-list-grid,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero,
  .page-hero,
  .filter-panel,
  .detail-article,
  .detail-meta-panel,
  .ranking-main,
  .ranking-block {
    padding: 20px;
    border-radius: 22px;
  }

  .detail-poster {
    max-width: 260px;
    margin: 0 auto;
  }

  .filter-result-line {
    align-items: flex-start;
    flex-direction: column;
  }
}
