@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;800&display=swap');

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --rose-500: #f43f5e;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f8fafc;
  --white: #ffffff;
  --line: rgba(180, 83, 9, 0.16);
  --shadow: 0 24px 60px rgba(146, 64, 14, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(180deg, var(--amber-50) 0%, var(--orange-50) 42%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(251, 191, 36, 0.26);
  background: rgba(255, 251, 235, 0.88);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #78350f;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.28);
}

.logo-text {
  font-size: 22px;
  letter-spacing: 0.04em;
}

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

.nav-link,
.mobile-nav-link {
  color: #4b5563;
  font-weight: 600;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #92400e;
  background: rgba(251, 191, 36, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.18);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #92400e;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-nav-link {
  padding: 12px 16px;
}

.hero-carousel {
  padding: 0 0 56px;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease;
}

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

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: '';
  background:
    radial-gradient(circle at 72% 24%, rgba(245, 158, 11, 0.46), transparent 34%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.72) 44%, rgba(17, 24, 39, 0.28) 100%);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.96), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  padding-top: 140px;
  color: #ffffff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 12px;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
}

.hero-kicker {
  color: #fef3c7;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(253, 230, 138, 0.34);
}

.hero-content h1 {
  margin: 22px 0 18px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span,
.info-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

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

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.28);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-side {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  top: 110px;
  z-index: 4;
  width: 300px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero-side-title {
  display: block;
  margin-bottom: 12px;
  color: #fef3c7;
  font-size: 14px;
  font-weight: 800;
}

.hero-side-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  color: #ffffff;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-side-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-3px);
}

.hero-side-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.hero-side-card strong,
.hero-side-card em {
  display: block;
}

.hero-side-card strong {
  overflow: hidden;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-side-card em {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-style: normal;
}

.hero-rank-link {
  display: block;
  margin-top: 10px;
  padding: 12px;
  color: #78350f;
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  background: #fef3c7;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero-prev,
.hero-next {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  font-size: 34px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

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

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

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

.section {
  padding: 64px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.56);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.featured-copy h2,
.rank-panel-head h2 {
  margin: 14px 0 10px;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p,
.featured-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.featured-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 42px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.2), transparent 32%),
    #ffffff;
  box-shadow: var(--shadow);
}

.featured-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(146, 64, 14, 0.24);
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.info-pills span,
.tag-row span {
  color: #92400e;
  background: rgba(251, 191, 36, 0.18);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(146, 64, 14, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 28px 56px rgba(146, 64, 14, 0.17);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fef3c7;
}

.movie-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.cover-play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.76);
  backdrop-filter: blur(8px);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

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

.category-card {
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(146, 64, 14, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px rgba(146, 64, 14, 0.14);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 16px;
}

.category-covers img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.category-card span,
.channel-overview-card span {
  color: #d97706;
  font-size: 13px;
  font-weight: 800;
}

.category-card strong {
  display: block;
  margin: 6px 0;
  color: #111827;
  font-size: 22px;
}

.category-card p,
.channel-overview-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-panel-head h2 {
  font-size: 28px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 32px 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-number {
  color: #d97706;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

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

.rank-copy em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-more,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #b45309;
  font-weight: 800;
}

.search-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.global-search,
.local-filter {
  display: grid;
  grid-template-columns: 1fr 150px 150px 110px;
  gap: 12px;
  margin-bottom: 24px;
}

.global-search input,
.global-search select,
.local-filter input,
.local-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #374151;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 14px;
  background: #fffaf0;
  outline: none;
}

.global-search input:focus,
.global-search select:focus,
.local-filter input:focus,
.local-filter select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.global-search button,
.local-filter button {
  min-height: 46px;
  color: #ffffff;
  font-weight: 800;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  cursor: pointer;
}

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

.search-result-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: 16px;
  background: #fffaf0;
}

.search-result-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.search-result-card strong,
.search-result-card span {
  display: block;
}

.search-result-card strong {
  color: #111827;
  line-height: 1.35;
}

.search-result-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.search-empty,
.filter-empty {
  display: none;
  color: var(--muted);
  text-align: center;
}

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

.page-hero {
  position: relative;
  padding: 84px 0 68px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 24%, rgba(251, 191, 36, 0.42), transparent 34%),
    linear-gradient(135deg, #111827 0%, #78350f 58%, #f97316 100%);
}

.page-hero-small {
  padding: 70px 0;
}

.page-hero h1 {
  margin: 16px 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a {
  color: #fde68a;
  font-weight: 700;
}

.breadcrumb em {
  font-style: normal;
}

.channel-overview {
  display: grid;
  gap: 22px;
}

.channel-overview-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(146, 64, 14, 0.08);
}

.channel-thumb-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.channel-thumb-wall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.channel-overview-card h2 {
  margin: 6px 0 8px;
  font-size: 30px;
}

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

.inline-links a {
  padding: 7px 10px;
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
}

.rank-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.rank-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-xl);
  background: #111827;
}

.rank-feature-card img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.rank-feature-card:hover img {
  opacity: 0.92;
  transform: scale(1.05);
}

.rank-feature-card span,
.rank-feature-card strong {
  position: absolute;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.rank-feature-card span {
  bottom: 58px;
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
}

.rank-feature-card strong {
  bottom: 24px;
  color: #ffffff;
  font-size: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 94px 1fr 86px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(146, 64, 14, 0.06);
}

.rank-row-cover {
  position: relative;
}

.rank-row-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.rank-row-cover span {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

.rank-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rank-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.rank-row-action {
  display: grid;
  min-height: 42px;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #ffffff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.54;
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    radial-gradient(circle at 75% 20%, rgba(245, 158, 11, 0.34), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.66));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.detail-copy h1 {
  margin: 20px 0 16px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.03;
}

.detail-one-line {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.85;
}

.tag-row-large span {
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.player-section {
  padding-top: 42px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.62));
  cursor: pointer;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-button {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding-left: 5px;
  color: #ffffff;
  font-size: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 20px 44px rgba(217, 119, 6, 0.35);
}

.player-overlay strong {
  font-size: 24px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

.detail-article,
.detail-side-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(146, 64, 14, 0.08);
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 28px;
}

.detail-article h2:not(:first-child) {
  margin-top: 34px;
}

.detail-article p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 2;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.detail-side-card dt {
  color: #b45309;
  font-weight: 800;
}

.detail-side-card dd {
  margin: 0;
  color: #4b5563;
}

.site-footer {
  margin-top: 56px;
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #111827;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
}

.footer-links a {
  color: #fde68a;
  font-weight: 700;
}

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

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

  .rank-panel {
    position: static;
  }

  .hero-side {
    display: none;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-stage {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .featured-inner,
  .detail-hero-inner,
  .channel-overview-card {
    grid-template-columns: 1fr;
  }

  .featured-poster,
  .detail-poster {
    max-width: 280px;
  }

  .movie-grid-4,
  .movie-grid-3,
  .search-results,
  .category-grid,
  .rank-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-search,
  .local-filter {
    grid-template-columns: 1fr;
  }

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

  .rank-row-action {
    grid-column: 1 / -1;
  }

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

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

  .hero-stage {
    min-height: 620px;
  }

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

  .hero-content p,
  .detail-one-line,
  .page-hero p {
    font-size: 16px;
  }

  .movie-grid-4,
  .movie-grid-3,
  .search-results,
  .category-grid,
  .rank-feature-grid {
    grid-template-columns: 1fr;
  }

  .search-section,
  .featured-inner,
  .detail-article,
  .detail-side-card {
    padding: 20px;
  }

  .detail-hero-inner {
    padding: 44px 0;
  }
}
