:root {
  --bg: #fffaf0;
  --bg-soft: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.14);
  --brand: #d97706;
  --brand-dark: #92400e;
  --brand-hot: #ea580c;
  --accent: #f43f5e;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 247, 237, 0.94));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(16px);
}

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

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

.brand-icon,
.footer-logo span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 22px;
  color: transparent;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-hot));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text em {
  font-size: 12px;
  color: var(--brand-dark);
  font-style: normal;
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-dark);
  background: rgba(251, 191, 36, 0.18);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.12);
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand-dark);
  border-radius: 999px;
}

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

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

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #321405;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-backdrop,
.page-hero::before,
.detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(67, 20, 7, 0.94), rgba(154, 52, 18, 0.72), rgba(244, 63, 94, 0.28)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero-backdrop::after,
.page-hero::after,
.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
    radial-gradient(circle at 86% 74%, rgba(251, 191, 36, 0.2), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 54px;
  color: #fff;
}

.hero-copy {
  padding-top: 30px;
}

.hero-kicker,
.page-hero span,
.section-title span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffedd5;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-lead,
.page-hero p,
.detail-copy p {
  max-width: 720px;
  font-size: clamp(17px, 2.2vw, 23px);
  color: #fff7ed;
}

.hero-tags,
.card-tags,
.chip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.tag-pill,
.chip-links a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 750;
}

.hero-actions,
.section-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.watch-button,
.ghost-button,
.search-box-large button,
.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 12px 22px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.watch-button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-hot));
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.28);
}

.watch-button:hover,
.ghost-button:hover,
.search-box-large button:hover,
.filter-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(146, 64, 14, 0.22);
}

.watch-button.light {
  color: var(--brand-dark);
  background: #fff;
}

.watch-button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}

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

.ghost-button.dark {
  width: fit-content;
  color: var(--brand-dark);
  border-color: var(--line);
  background: rgba(255, 247, 237, 0.9);
}

.hero-meta,
.inline-meta,
.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #fed7aa;
  font-weight: 700;
}

.hero-meta {
  margin-top: 24px;
}

.hero-meta span,
.inline-meta span,
.card-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta span:not(:last-child)::after,
.inline-meta span:not(:last-child)::after,
.card-meta-row span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  opacity: 0.55;
}

.hero-poster,
.hero-mini-poster,
.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #fbbf24, #fb7185);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

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

.hero-poster::after,
.hero-mini-poster::after,
.poster-frame::after,
.detail-cover::after,
.overview-cover::after,
.ranking-cover::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
}

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

.stats-strip {
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0;
}

.stats-grid div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

.stats-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 700;
}

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

.soft-bg {
  background: linear-gradient(180deg, #fff7ed, #fffaf0);
}

.section-title {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title span {
  color: var(--brand-dark);
  background: rgba(251, 191, 36, 0.22);
}

.section-title h2 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
}

.horizontal-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 270px);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scroll-snap-type: x mandatory;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 14px 36px rgba(146, 64, 14, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  scroll-snap-align: start;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 88, 12, 0.36);
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fbbf24, #fb7185);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.image-missing {
  opacity: 0;
}

.poster-frame:has(.image-missing)::before,
.hero-poster:has(.image-missing)::before,
.hero-mini-poster:has(.image-missing)::before,
.detail-cover:has(.image-missing)::before,
.overview-cover:has(.image-missing)::before,
.ranking-cover:has(.image-missing)::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.38), transparent 30%),
    linear-gradient(135deg, #f59e0b, #fb7185 48%, #7c2d12);
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
}

.rank-badge {
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  color: #7c2d12;
  background: #fef3c7;
}

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

.card-meta-row {
  gap: 4px;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 12px;
}

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

.movie-card h3 a:hover,
.text-link:hover,
.ranking-info h3 a:hover,
.info-list a:hover,
.overview-body h2 a:hover {
  color: var(--brand-hot);
}

.movie-card p {
  min-height: 52px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.compact-card p {
  min-height: 46px;
}

.card-tags {
  min-height: 28px;
  margin: 0 0 12px;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rating {
  color: #ca8a04;
  font-weight: 900;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 850;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 36px rgba(146, 64, 14, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -60px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.28);
  filter: blur(8px);
}

.category-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 184px;
  border-radius: 22px;
  object-fit: cover;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.category-card div {
  position: relative;
  z-index: 1;
  align-self: center;
}

.category-card span,
.category-overview-card span,
.result-summary,
.search-status {
  color: var(--brand-dark);
  font-weight: 850;
}

.category-card h3 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.category-card p,
.category-card em,
.category-overview-card p,
.hot-panel p,
.side-panel p,
.cta-inner p {
  color: var(--muted);
}

.category-card em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
}

.two-column-section,
.list-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.hot-panel,
.side-panel,
.search-panel,
.player-card,
.article-block {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(146, 64, 14, 0.08);
}

.hot-panel,
.side-panel,
.search-panel {
  padding: 22px;
}

.hot-panel-head h2,
.side-panel h2,
.article-block h2 {
  margin: 8px 0 8px;
  font-size: 26px;
  line-height: 1.2;
}

.hot-panel-head span {
  color: var(--accent);
  font-weight: 900;
}

.hot-list,
.side-ranking {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.ranking-row {
  display: grid;
  grid-template-columns: 46px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(146, 64, 14, 0.1);
  border-radius: 20px;
  background: rgba(255, 251, 235, 0.64);
}

.hot-list .ranking-row,
.side-ranking .ranking-row {
  grid-template-columns: 38px 56px minmax(0, 1fr);
}

.hot-list .watch-button,
.side-ranking .watch-button,
.hot-list .inline-meta,
.side-ranking .inline-meta,
.hot-list .ranking-info p,
.side-ranking .ranking-info p {
  display: none;
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 900;
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

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

.ranking-info h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.ranking-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.inline-meta {
  color: var(--brand-dark);
  font-size: 13px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  color: #fff;
  background: linear-gradient(135deg, #92400e, #ea580c 58%, #f43f5e);
}

.cta-inner {
  max-width: 760px;
  text-align: center;
}

.cta-inner span {
  color: #fed7aa;
  font-weight: 850;
}

.cta-inner h2 {
  margin: 12px 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.cta-inner p {
  color: #fff7ed;
  font-size: 18px;
}

.cta-inner .watch-button {
  margin-top: 22px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #5f240b;
}

.compact-hero {
  min-height: 340px;
  display: grid;
  align-items: center;
}

.compact-hero::before {
  background-image:
    linear-gradient(90deg, rgba(67, 20, 7, 0.93), rgba(234, 88, 12, 0.66)),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.16), transparent 25%);
}

.page-hero .container,
.detail-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 820px;
}

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

.category-hero {
  min-height: 520px;
}

.page-hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 44px;
  align-items: center;
}

.hero-mini-poster {
  padding: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-mini-poster strong {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(146, 64, 14, 0.08);
}

.overview-cover {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

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

.overview-body h2 {
  margin: 6px 0;
  font-size: 26px;
}

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.overview-links a,
.quick-link-grid a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #ffedd5;
  font-size: 13px;
  font-weight: 800;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-link-grid a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 130px;
  padding: 22px;
  border-radius: 24px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(146, 64, 14, 0.08);
}

.quick-link-grid strong {
  font-size: 24px;
}

.quick-link-grid span {
  color: var(--muted);
  margin-top: 6px;
}

.filter-bar,
.search-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 160px auto;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

.filter-bar input,
.filter-bar select,
.search-box-large input,
.search-filters select {
  width: 100%;
  border: 1px solid rgba(146, 64, 14, 0.18);
  border-radius: 999px;
  background: #fff;
  padding: 12px 16px;
  color: var(--text);
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus,
.search-box-large input:focus,
.search-filters select:focus {
  border-color: rgba(234, 88, 12, 0.56);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.filter-bar button,
.search-box-large button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-hot));
}

.result-summary,
.search-status {
  margin: 12px 0 20px;
}

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

.ranking-list {
  display: grid;
  gap: 14px;
}

.search-box-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 14px;
}

.search-box-large input {
  min-height: 58px;
  font-size: 18px;
}

.search-filters {
  grid-template-columns: repeat(3, 1fr);
}

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

.detail-hero-inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.detail-cover {
  padding: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.detail-cover img {
  border-radius: 24px;
}

.detail-copy .hero-kicker a {
  color: inherit;
}

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

.detail-meta-grid div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.detail-meta-grid strong,
.detail-meta-grid span {
  display: block;
}

.detail-meta-grid strong {
  font-size: 18px;
}

.detail-meta-grid span {
  color: #fed7aa;
  font-size: 13px;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card {
  overflow: hidden;
  padding: 0;
}

.video-shell {
  position: relative;
  background: #111827;
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  font-size: 32px;
}

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

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

.player-status {
  padding: 14px 18px;
  color: var(--muted);
  background: #fff7ed;
  border-top: 1px solid var(--line);
}

.article-block {
  padding: 24px;
}

.article-block p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

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

.info-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(146, 64, 14, 0.1);
}

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

.info-list dd {
  margin: 0;
  font-weight: 700;
}

.detail-side {
  position: sticky;
  top: 96px;
}

.side-card-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
}

.side-card-list a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.82);
}

.side-card-list img {
  grid-row: span 2;
  width: 56px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.side-card-list span {
  font-weight: 850;
  line-height: 1.3;
}

.side-card-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  color: #ffedd5;
  background: linear-gradient(180deg, #7c2d12, #431407);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
}

.footer-brand p,
.site-footer p {
  color: #fed7aa;
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #fed7aa;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 237, 213, 0.14);
  color: #fed7aa;
}

@media (max-width: 1080px) {
  .movie-grid,
  .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

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

  .hero-slider,
  .hero-content {
    min-height: 760px;
  }

  .hero-content,
  .page-hero-inner,
  .detail-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 84px;
  }

  .hero-poster,
  .hero-mini-poster,
  .detail-cover {
    max-width: 260px;
    justify-self: center;
  }

  .stats-grid,
  .category-grid,
  .overview-grid,
  .quick-link-grid,
  .detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .filter-bar,
  .search-filters {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 42px 64px minmax(0, 1fr);
  }

  .ranking-row .watch-button {
    display: none;
  }
}

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

  .header-inner {
    height: 66px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-icon,
  .footer-logo span {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 34px;
  }

  .stats-grid,
  .movie-grid,
  .library-grid,
  .category-grid,
  .overview-grid,
  .quick-link-grid,
  .detail-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-cards {
    grid-auto-columns: minmax(220px, 78vw);
  }

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

  .category-card img {
    height: 220px;
  }

  .search-box-large {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    max-width: 220px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
