:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --rose-500: #f43f5e;
  --red-500: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(120, 53, 15, 0.12);
  --shadow-lg: 0 24px 58px rgba(120, 53, 15, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.is-locked {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

main {
  min-height: 60vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(
    90deg,
    rgba(255, 251, 235, 0.96),
    rgba(255, 237, 213, 0.96)
  );
  border-bottom: 1px solid rgba(252, 211, 77, 0.55);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(100%, var(--max-width));
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-700), var(--orange-600));
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.24);
  transition: transform 0.25s ease;
}

.site-logo:hover .logo-mark {
  transform: scale(1.08) rotate(-3deg);
}

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

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

.nav-link,
.mobile-nav-link {
  color: var(--gray-700);
  font-weight: 700;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

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

.header-search input,
.mobile-search input,
.filter-panel input {
  height: 42px;
  border: 1px solid var(--amber-300);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-800);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button,
.filter-reset,
.primary-button,
.ghost-button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-search button,
.mobile-search button,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.22);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.ghost-button:hover,
.filter-reset:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--gray-800);
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 18px 24px 24px;
  background: var(--white);
  border-top: 1px solid var(--amber-100);
}

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

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

.mobile-search input {
  flex: 1;
}

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

.home-hero,
.page-hero,
.detail-page {
  position: relative;
  overflow: hidden;
}

.home-hero {
  min-height: 680px;
  color: var(--white);
  background: linear-gradient(135deg, #92400e, #ea580c);
}

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

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

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

.hero-bg img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.04);
}

.hero-bg span,
.detail-bg span {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 78% 22%,
      rgba(255, 255, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(17, 24, 39, 0.92),
      rgba(146, 64, 14, 0.72) 52%,
      rgba(17, 24, 39, 0.48)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  min-height: 680px;
  margin: 0 auto;
  padding: 86px 24px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 420px);
  align-items: center;
  gap: 56px;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 820px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fde68a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-summary {
  max-width: 720px;
  margin: 0;
  color: #ffedd5;
  font-size: 19px;
  line-height: 1.9;
}

.hero-tags,
.tag-row,
.category-links,
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.tag-row span,
.category-chip {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--amber-700);
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
}

.ghost-button {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

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

.hero-poster-play {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--amber-700);
  background: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  box-shadow: var(--shadow-md);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--white);
}

.feature-strip,
.content-section,
.callout-section,
.detail-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 38px;
  padding-bottom: 20px;
}

.feature-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 24px;
  padding: 26px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

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

.feature-card strong {
  font-size: 28px;
}

.feature-card span {
  color: rgba(255, 255, 255, 0.86);
}

.amber-card {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.orange-card {
  background: linear-gradient(135deg, var(--orange-500), var(--red-500));
}

.rose-card {
  background: linear-gradient(135deg, var(--red-500), var(--rose-500));
}

.content-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.soft-section {
  border-radius: 34px;
  background: rgba(255, 247, 237, 0.72);
}

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

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 950;
}

.section-heading p {
  margin: 0;
  color: var(--gray-500);
  font-size: 16px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber-700);
  font-weight: 900;
}

.section-more span {
  font-size: 24px;
  transition: transform 0.2s ease;
}

.section-more:hover span {
  transform: translateX(4px);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(252, 211, 77, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.movie-card.is-hidden {
  display: none;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), #fed7aa);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0),
    rgba(17, 24, 39, 0.62)
  );
}

.score-badge,
.rank-badge,
.play-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.score-badge {
  top: 12px;
  left: 12px;
  min-width: 50px;
  height: 30px;
  color: var(--amber-700);
  background: rgba(255, 255, 255, 0.92);
}

.rank-badge {
  top: 12px;
  right: 12px;
  height: 30px;
  padding: 0 11px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-500), var(--rose-500));
}

.play-badge {
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  color: var(--amber-700);
  background: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-card-body h3 {
  margin: 0 0 10px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

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

.movie-card-body p {
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span {
  padding-right: 8px;
  border-right: 1px solid rgba(107, 114, 128, 0.22);
}

.movie-meta span:last-child {
  border-right: 0;
}

.tag-row span {
  font-size: 12px;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.18),
    rgba(146, 64, 14, 0.86)
  );
}

.category-card strong,
.category-card small {
  position: relative;
  z-index: 2;
}

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

.category-card small {
  color: #ffedd5;
  line-height: 1.6;
}

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

.rank-row,
.rank-table-row {
  display: grid;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(252, 211, 77, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rank-row {
  grid-template-columns: 48px 64px minmax(0, 1.2fr) minmax(0, 1fr) 58px;
  padding: 12px 16px;
}

.rank-row:hover,
.rank-table-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 900;
}

.rank-row img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-title {
  color: var(--gray-900);
  font-weight: 900;
}

.rank-type {
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-score {
  color: var(--amber-700);
  font-size: 20px;
  font-weight: 950;
  text-align: right;
}

.callout-section {
  margin-top: 28px;
  margin-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 34px;
  padding-top: 52px;
  padding-bottom: 52px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: var(--shadow-lg);
}

.callout-section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
}

.callout-section p {
  max-width: 760px;
  margin: 0;
  color: #ffedd5;
  line-height: 1.8;
}

.light-button {
  color: var(--amber-700);
  background: var(--white);
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, var(--amber-700), var(--orange-600));
}

.compact-hero > div {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 78px 24px;
}

.compact-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  font-weight: 950;
}

.compact-hero p:last-child {
  max-width: 850px;
  margin: 0;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.9;
}

.category-links {
  margin-top: 24px;
}

.category-chip {
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.category-chip:hover {
  background: #fde68a;
  transform: translateY(-2px);
}

.filter-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(252, 211, 77, 0.48);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.filter-panel input {
  flex: 1;
  min-width: 0;
}

.filter-reset {
  color: var(--amber-700);
  background: var(--amber-100);
}

.filter-chips {
  margin-bottom: 26px;
}

.filter-chips button {
  border: 1px solid rgba(252, 211, 77, 0.8);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--amber-700);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.filter-chips button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

.empty-state {
  display: none;
  margin: 36px 0 0;
  border-radius: 18px;
  padding: 24px;
  color: var(--gray-500);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-state.is-visible {
  display: block;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  border: 1px solid rgba(252, 211, 77, 0.46);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-overview-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
}

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

.category-overview-cover span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.32));
}

.category-overview-card h2 {
  margin: 6px 0 12px;
  color: var(--gray-900);
  font-size: 28px;
  font-weight: 950;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 800;
}

.rank-table-row {
  grid-template-columns: 58px minmax(0, 1fr) minmax(160px, 0.7fr) 58px;
  padding: 16px 20px;
}

.rank-table-row span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 900;
}

.rank-table-row strong {
  color: var(--gray-900);
  font-size: 18px;
}

.rank-table-row em {
  color: var(--gray-500);
  font-style: normal;
}

.rank-table-row b {
  color: var(--amber-700);
  font-size: 20px;
  text-align: right;
}

.detail-page {
  min-height: 720px;
  color: var(--white);
  background: var(--gray-900);
}

.detail-bg span {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.94)),
    radial-gradient(
      circle at 15% 20%,
      rgba(245, 158, 11, 0.46),
      transparent 30%
    );
}

.detail-inner {
  position: relative;
  z-index: 2;
  padding-top: 34px;
  padding-bottom: 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: #ffedd5;
  font-weight: 700;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: start;
}

.player-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  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;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--amber-700);
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.06),
    rgba(17, 24, 39, 0.58)
  );
  cursor: pointer;
}

.play-overlay span {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 38px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}

.play-overlay:hover span {
  transform: scale(1.08);
}

.player-box.is-playing .play-overlay {
  display: none;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.78);
  font-weight: 700;
}

.detail-info-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.detail-info-card > img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.detail-info-card h1 {
  margin: 10px 0 12px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 950;
}

.detail-info-card p {
  margin: 0;
  color: #ffedd5;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

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

.detail-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.text-card {
  border: 1px solid rgba(252, 211, 77, 0.42);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.text-card h2 {
  margin: 0 0 16px;
  color: var(--gray-900);
  font-size: 26px;
  font-weight: 950;
}

.text-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 2;
}

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

.footer-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  max-width: 520px;
}

.footer-logo .logo-text {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.footer-brand p {
  margin: 16px 0 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 16px 22px;
  font-weight: 800;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 24px;
  text-align: center;
  color: #fde68a;
}

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

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

  .hero-content {
    grid-template-columns: 1fr 340px;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .site-header-inner {
    height: 66px;
  }

  .hero-content {
    min-height: 680px;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 58px;
  }

  .hero-poster {
    min-height: 330px;
    transform: none;
  }

  .hero-arrow {
    display: none;
  }

  .feature-strip,
  .three-grid,
  .four-grid,
  .category-grid,
  .category-overview-grid,
  .detail-text-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-info-card {
    grid-template-columns: 150px 1fr;
  }

  .detail-info-card > img {
    height: 240px;
  }

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

  .rank-type {
    display: none;
  }

  .rank-table-row {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .rank-table-row em {
    display: none;
  }

  .callout-section,
  .footer-inner,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header-inner,
  .feature-strip,
  .content-section,
  .callout-section,
  .detail-inner,
  .compact-hero > div {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-text {
    font-size: 20px;
  }

  .home-hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-copy h1,
  .hero-copy h2,
  .compact-hero h1 {
    font-size: 40px;
  }

  .feature-strip,
  .three-grid,
  .four-grid,
  .category-grid,
  .category-overview-grid,
  .detail-text-section {
    grid-template-columns: 1fr;
  }

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

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .rank-row {
    grid-template-columns: 40px 1fr 46px;
  }

  .rank-row img {
    display: none;
  }

  .movie-card-body p {
    min-height: auto;
  }
}
