:root {
  --amber-50: #fff8eb;
  --amber-100: #fdecc8;
  --amber-200: #f8d990;
  --amber-400: #f5b740;
  --amber-500: #f59e0b;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-900: #7c2d12;
  --text: #1f2937;
  --muted: #667085;
  --line: #f0dcc2;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(124, 45, 18, 0.12);
  --shadow-strong: 0 25px 70px rgba(124, 45, 18, 0.22);
  --radius: 24px;
  --radius-lg: 32px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--amber-50), #ffffff 42%, #ffffff);
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 248, 235, 0.96), rgba(255, 237, 213, 0.96));
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 10px 30px rgba(124, 45, 18, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-mark.small {
  width: 38px;
  height: 38px;
  background: #fff7ed;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
}

.brand-mark svg path {
  fill: #ffffff;
  stroke: none;
}

.brand-mark.small svg,
.brand-mark.small svg circle {
  stroke: var(--orange-600);
}

.brand-mark.small svg path {
  fill: var(--orange-600);
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: transparent;
  background: linear-gradient(90deg, var(--orange-600), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-copy small,
.footer-brand small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #7c5f42;
}

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

.desktop-nav a {
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--orange-600);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(251, 146, 60, 0.28);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input {
  width: 220px;
  border: 0;
  outline: 0;
  padding: 10px 6px 10px 14px;
  background: transparent;
}

.header-search button,
.mobile-menu form button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff7ed;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--orange-700);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  padding: 0 16px 18px;
  background: linear-gradient(180deg, #fff7ed, #ffffff);
  border-top: 1px solid rgba(251, 146, 60, 0.18);
}

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

.mobile-menu a {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

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

.mobile-menu input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
}

.hero-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--orange-400), var(--amber-400) 48%, var(--orange-500));
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(1px);
  animation: pulse 3s ease-in-out infinite;
}

.orb-one {
  width: 160px;
  height: 160px;
  top: 88px;
  left: 8%;
}

.orb-two {
  width: 240px;
  height: 240px;
  right: 8%;
  bottom: 80px;
  animation-delay: 0.7s;
}

.orb-three {
  width: 90px;
  height: 90px;
  right: 35%;
  top: 70px;
  animation-delay: 1.2s;
}

.hero-shell {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.68fr);
  align-items: center;
  gap: 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-copy {
  color: #ffffff;
  max-width: 700px;
}

.hero-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--orange-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-label {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  padding: 9px 14px;
  border-radius: 999px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: #fffaf0;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  cursor: pointer;
}

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

.button-light {
  background: #ffffff;
  color: var(--orange-600);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.button-ghost:hover {
  color: var(--orange-600);
  background: #ffffff;
}

.button-ghost-dark,
.button-outline {
  color: var(--orange-700);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.button-full {
  width: 100%;
  margin-top: 14px;
}

.hero-poster {
  position: relative;
  display: block;
  width: min(100%, 390px);
  justify-self: end;
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(124, 45, 18, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.46));
}

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

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

.hero-poster span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.56);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 44px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

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

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

.feature-card,
.movie-card,
.content-panel,
.info-panel,
.ranking-panel,
.category-card,
.listing-controls {
  background: var(--card);
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.movie-card:hover,
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
  font-weight: 900;
  margin-bottom: 16px;
}

.feature-card h3,
.movie-card h3,
.content-panel h2,
.info-panel h2,
.ranking-panel h2 {
  margin: 0;
  color: #273142;
}

.feature-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.tint-section {
  padding: 70px 0;
  background: linear-gradient(90deg, var(--amber-100), #ffedd5);
}

.tint-section.soft {
  background: linear-gradient(90deg, #fff7ed, #fffbeb);
}

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

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.section-more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--orange-600);
  font-weight: 800;
}

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

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 32%),
    linear-gradient(135deg, #fb923c, #f59e0b 52%, #c2410c);
}

.big-cards .poster-frame {
  aspect-ratio: 16 / 9;
}

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

.poster-frame img.image-error,
.hero-poster img.image-error,
.ranking-item img.image-error {
  opacity: 0;
}

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

.poster-badge,
.poster-score {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.poster-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.poster-score {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.58);
}

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

.movie-kicker {
  margin: 0 0 8px;
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 2.7em;
  margin-bottom: 8px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-tags,
.detail-tags,
.detail-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.movie-tags span,
.detail-tags span,
.detail-category-links a {
  color: var(--orange-700);
  background: #fff7ed;
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

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

.movie-card-compact h3 {
  font-size: 16px;
}

.home-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 74px 0;
}

.ranking-panel {
  padding: 24px;
  align-self: start;
}

.sticky-panel {
  position: sticky;
  top: 100px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #f7e2c8;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-row strong {
  color: var(--orange-600);
  font-size: 18px;
}

.rank-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.rank-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.category-strip {
  padding: 70px 0;
}

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

.category-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  box-shadow: var(--shadow);
  font-weight: 900;
}

.category-pill strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-900));
  color: #ffffff;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
}

.cta-inner p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.8;
}

.page-main {
  min-height: 72vh;
}

.page-hero {
  padding: 78px 0;
  color: #ffffff;
  background: linear-gradient(120deg, var(--orange-400), var(--amber-500), var(--orange-600));
}

.page-hero.warm {
  background: linear-gradient(120deg, var(--orange-400), var(--amber-500));
}

.page-hero.category-hero {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-900));
}

.page-hero .eyebrow {
  color: #fff7ed;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.06;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.8;
}

.listing-shell,
.category-layout,
.ranking-page,
.about-grid {
  padding: 42px 0 82px;
}

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

.listing-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 210px 160px 170px;
  gap: 16px;
  padding: 18px;
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin: 0 0 7px;
  color: #7c5f42;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  background: #fffaf5;
}

.field input:focus,
.field select:focus {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.listing-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.listing-summary p {
  margin: 0;
  color: var(--muted);
}

.listing-summary strong {
  color: var(--orange-600);
}

.view-buttons {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: #fff7ed;
}

.view-buttons button,
.ranking-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  color: #7c5f42;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.view-buttons button.is-active,
.ranking-tabs button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.listing-grid.is-list {
  grid-template-columns: 1fr;
}

.listing-grid.is-list .movie-card-link {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.listing-grid.is-list .poster-frame {
  height: 210px;
}

.empty-state {
  padding: 50px;
  text-align: center;
  color: var(--muted);
  background: #fff7ed;
  border-radius: var(--radius);
}

.category-overview-section {
  padding: 42px 0;
}

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 26px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(194, 65, 12, 0.9), rgba(245, 158, 11, 0.72)),
    var(--category-cover) center / cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.category-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.category-card p {
  margin: 0 0 20px;
  color: #fff7ed;
  line-height: 1.7;
}

.category-card strong {
  position: absolute;
  right: 22px;
  bottom: 20px;
}

.ranking-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #fff7ed;
}

.ranking-list {
  display: none;
}

.ranking-list.is-active {
  display: block;
}

.ranking-list h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 58px 74px minmax(0, 1fr) 88px 110px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
}

.ranking-number {
  color: var(--orange-600);
  font-size: 24px;
  font-weight: 900;
}

.ranking-item img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
}

.ranking-main strong,
.ranking-main small {
  display: block;
}

.ranking-main strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.ranking-main small {
  color: var(--muted);
  line-height: 1.4;
}

.ranking-score {
  color: #b45309;
  font-weight: 900;
}

.ranking-views {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.detail-main {
  background: #ffffff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(124, 45, 18, 0.95), rgba(194, 65, 12, 0.86)),
    var(--detail-cover) center / cover;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34));
}

.detail-hero-inner {
  position: relative;
  padding: 34px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 34px;
  color: #ffedd5;
  font-size: 14px;
}

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

.detail-hero-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.detail-poster {
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
}

.detail-one-line {
  max-width: 860px;
  margin: 0;
  color: #fff7ed;
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-category-links a {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.player-section {
  padding: 46px 0 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #111827;
  box-shadow: var(--shadow-strong);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

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

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  color: var(--orange-600);
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  font-size: 32px;
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay em {
  color: #ffedd5;
  font-style: normal;
}

.player-status {
  margin: 0;
  padding: 13px 18px;
  color: #fef3c7;
  background: #1f2937;
  font-size: 14px;
}

.detail-content-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 28px 0 70px;
}

.content-panel,
.info-panel {
  padding: 28px;
}

.content-panel h2 {
  margin-top: 28px;
  font-size: 28px;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p {
  color: #475467;
  font-size: 17px;
  line-height: 1.9;
}

.info-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f6e2cb;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row span {
  color: var(--muted);
}

.info-row strong {
  color: #273142;
}

.related-section {
  padding: 0 0 82px;
}

.site-footer {
  color: #ffedd5;
  background: linear-gradient(135deg, var(--orange-900), #431407);
}

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

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: #ffedd5;
}

.site-footer p {
  line-height: 1.8;
}

.site-footer a {
  display: block;
  margin: 9px 0;
}

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

.footer-bottom {
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 237, 213, 0.16);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #fed7aa;
  font-size: 14px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.42;
  }
}

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

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

  .hero-slide {
    grid-template-columns: 1fr 300px;
    gap: 30px;
  }

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

  .home-two-column,
  .category-layout,
  .detail-content-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

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

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

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding: 34px 0 82px;
  }

  .hero-poster {
    width: min(100%, 260px);
    justify-self: start;
  }

  .hero-dots {
    bottom: 28px;
  }

  .feature-grid,
  .movie-grid,
  .movie-grid.six-cols,
  .movie-grid.three-cols,
  .movie-grid.four-cols,
  .movie-list-grid,
  .category-card-grid,
  .category-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-grid {
    padding: 42px 0;
  }

  .feature-card,
  .movie-card-body,
  .content-panel,
  .info-panel,
  .ranking-panel {
    padding: 18px;
  }

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

  .listing-controls {
    grid-template-columns: 1fr;
  }

  .listing-grid.is-list .movie-card-link {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .listing-grid.is-list .poster-frame {
    height: 170px;
  }

  .ranking-item {
    grid-template-columns: 46px 58px minmax(0, 1fr);
  }

  .ranking-item img {
    width: 58px;
    height: 76px;
  }

  .ranking-score,
  .ranking-views {
    grid-column: 3 / 4;
    text-align: left;
  }

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

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

  .play-circle {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .feature-grid,
  .movie-grid,
  .movie-grid.six-cols,
  .movie-grid.three-cols,
  .movie-grid.four-cols,
  .movie-list-grid,
  .category-card-grid,
  .category-strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
