html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #1f2937;
  background: #fff7ed;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

img {
  display: block;
  max-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;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(234, 88, 12, 0.32);
}

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

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

.main-nav a {
  padding: 10px 14px;
  color: #4b5563;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #92400e;
  background: #ffedd5;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  padding: 6px;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

.nav-search input,
.search-banner input,
.inline-filter input,
.filter-line input,
.search-controls input,
.search-controls select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #1f2937;
  background: transparent;
}

.nav-search input {
  padding: 8px 8px 8px 14px;
}

.nav-search button,
.search-banner button,
.inline-filter button,
.search-controls button {
  flex: 0 0 auto;
  color: #fff;
  background: #f59e0b;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-search button:hover,
.search-banner button:hover,
.inline-filter button:hover,
.search-controls button:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #92400e;
}

.hero {
  position: relative;
  min-height: 660px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #b45309, #f59e0b 45%, #ea580c);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  filter: blur(1px) saturate(1.08);
  transform: scale(1.04);
  transition: background-image 0.45s ease;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.32), transparent 28%), linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(146, 64, 14, 0.48));
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  filter: blur(8px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: center;
  min-height: 660px;
  padding: 54px 0 70px;
}

.hero-stage {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  color: #92400e;
  background: #ffedd5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #fffbeb;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}

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

.hero-tags small,
.tag-row small {
  display: inline-flex;
  align-items: center;
  color: #92400e;
  background: #ffedd5;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.hero .hero-tags small {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

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

.btn-primary,
.btn-secondary,
.btn-ghost,
.rank-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #b45309;
  background: #fff;
  box-shadow: 0 20px 38px rgba(17, 24, 39, 0.18);
}

.btn-secondary {
  color: #fff;
  background: rgba(146, 64, 14, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.rank-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(146, 64, 14, 0.18);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.45);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  background: #f59e0b;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
}

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.2);
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.hero-panel p {
  margin: 0 0 16px;
  color: #fffbeb;
  font-size: 14px;
  line-height: 1.6;
}

.hero-mini-list {
  display: grid;
  gap: 10px;
}

.mini-poster {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  color: #fff;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  opacity: 0.72;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.mini-poster.is-active,
.mini-poster:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.mini-poster img {
  width: 58px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-poster span {
  font-weight: 800;
  line-height: 1.35;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 30px;
  background: #fff;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.stat-grid div {
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(146, 64, 14, 0.12);
}

.stat-grid b {
  display: block;
  margin-bottom: 6px;
  color: #92400e;
  font-size: 22px;
}

.stat-grid span {
  color: #6b7280;
}

.home-section {
  padding: 66px 0 0;
}

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

.section-heading h2,
.ranking-box h2,
.detail-side h2,
.story-block h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 16px;
}

.section-heading a {
  flex: 0 0 auto;
  color: #b45309;
  font-weight: 900;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  color: #1f2937;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(146, 64, 14, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(146, 64, 14, 0.18);
}

.category-card b,
.category-card em,
.category-card strong {
  position: relative;
  z-index: 2;
  display: block;
}

.category-card b {
  margin-bottom: 8px;
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}

.category-card em {
  max-width: 78%;
  color: #6b7280;
  font-style: normal;
  line-height: 1.55;
}

.category-card strong {
  width: fit-content;
  margin-top: 18px;
  color: #92400e;
  background: #ffedd5;
  border-radius: 999px;
  padding: 6px 12px;
}

.category-card img {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 132px;
  height: 176px;
  object-fit: cover;
  border-radius: 20px;
  transform: rotate(8deg);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.24);
}

.category-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: #fed7aa;
  border-radius: 999px;
  opacity: 0.7;
}

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(146, 64, 14, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 64px rgba(146, 64, 14, 0.18);
}

.movie-card a {
  display: block;
  color: inherit;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111827;
}

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

.movie-card:hover .poster-wrap img,
.wide-card:hover img,
.related-item:hover img {
  transform: scale(1.08);
}

.poster-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.8), transparent 56%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-pill,
.duration {
  position: absolute;
  z-index: 2;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.play-pill {
  left: 14px;
  bottom: 14px;
  background: #f59e0b;
  padding: 8px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration {
  top: 12px;
  right: 12px;
  background: rgba(17, 24, 39, 0.7);
  padding: 6px 9px;
}

.card-content {
  display: block;
  padding: 18px;
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #9ca3af;
  font-size: 12px;
}

.meta-line b,
.meta-line em,
.meta-line i {
  font-style: normal;
}

.meta-line b,
.meta-line i {
  color: #b45309;
  font-weight: 900;
}

.meta-line em {
  color: #6b7280;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 10px;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.wide-list,
.rank-list,
.related-list {
  display: grid;
  gap: 14px;
}

.wide-card a,
.rank-item,
.related-item,
.ranking-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  color: inherit;
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(146, 64, 14, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wide-card a:hover,
.rank-item:hover,
.related-item:hover,
.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(146, 64, 14, 0.16);
}

.wide-card img {
  width: 150px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.wide-card b,
.related-item b,
.row-info b {
  display: block;
  color: #111827;
  font-weight: 900;
}

.wide-card em,
.related-item em,
.row-info em {
  display: block;
  margin: 4px 0;
  color: #b45309;
  font-style: normal;
  font-size: 13px;
}

.wide-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking-box {
  height: fit-content;
  padding: 22px;
  background: linear-gradient(135deg, #fff, #ffedd5);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(146, 64, 14, 0.12);
}

.ranking-box h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.rank-item {
  grid-template-columns: 36px 62px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
}

.rank-item span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #92400e;
  background: #ffedd5;
  border-radius: 999px;
  font-weight: 950;
}

.rank-item.medal span {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.rank-item img {
  width: 62px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-item b,
.rank-item em {
  display: block;
}

.rank-item b {
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.rank-item em {
  color: #9ca3af;
  font-size: 12px;
  font-style: normal;
}

.rank-more {
  width: 100%;
  margin-top: 18px;
  color: #fff;
  background: #f59e0b;
}

.search-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 70px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(234, 88, 12, 0.22);
}

.search-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.search-banner p {
  margin: 0;
  color: #fffbeb;
}

.search-banner form,
.inline-filter,
.search-controls,
.filter-line {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
}

.search-banner input,
.inline-filter input,
.filter-line input,
.search-controls input,
.search-controls select {
  padding: 12px 16px;
}

.site-footer {
  margin-top: 70px;
  padding: 44px 0;
  color: #fffbeb;
  background: #111827;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}

.footer-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.footer-inner p {
  color: #d1d5db;
}

.footer-links {
  display: flex;
  gap: 14px;
}

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

.subpage {
  min-height: 60vh;
}

.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #b45309, #f59e0b 58%, #ea580c);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
  height: 360px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.page-hero.compact .container {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

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

.category-overview .category-card {
  min-height: 230px;
}

.breadcrumb,
.breadcrumb-bar a {
  color: #b45309;
  font-weight: 900;
}

.category-title-card .breadcrumb {
  display: inline-flex;
  margin-bottom: 12px;
  color: #fff;
}

.inline-filter {
  max-width: 560px;
  margin-top: 24px;
}

.filter-line {
  max-width: 640px;
  margin-bottom: 24px;
}

.empty-state {
  display: none;
  margin: 32px 0;
  padding: 32px;
  color: #92400e;
  background: #ffedd5;
  border-radius: 24px;
  text-align: center;
  font-weight: 900;
}

.search-controls {
  max-width: 780px;
  margin-top: 28px;
  border-radius: 28px;
}

.search-controls select {
  max-width: 180px;
  border-left: 1px solid #fed7aa;
}

.ranking-page {
  padding-top: 54px;
}

.ranking-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.feature-rank-card {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  background: #111827;
  border-radius: 30px;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.18);
}

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

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

.feature-rank-card span,
.feature-rank-card h2,
.feature-rank-card p {
  position: absolute;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.feature-rank-card span {
  top: 20px;
  width: fit-content;
  background: #f59e0b;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 950;
}

.feature-rank-card h2 {
  bottom: 76px;
  margin: 0;
  font-size: 28px;
  font-weight: 950;
}

.feature-rank-card p {
  bottom: 22px;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fffbeb;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.ranking-row {
  grid-template-columns: 52px 92px minmax(0, 1fr) 68px;
}

.ranking-row img {
  width: 92px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.row-rank {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #92400e;
  background: #ffedd5;
  border-radius: 999px;
  font-weight: 950;
}

.ranking-row strong {
  color: #f59e0b;
  font-size: 22px;
  font-weight: 950;
  text-align: right;
}

.detail-page {
  padding-top: 32px;
}

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

.breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #6b7280;
}

.player-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  background: #000;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.32);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  padding-left: 5px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
  box-shadow: 0 20px 42px rgba(234, 88, 12, 0.34);
  font-size: 34px;
}

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

.detail-card,
.side-sticky {
  background: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(146, 64, 14, 0.1);
}

.detail-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid #fed7aa;
}

.detail-cover {
  width: 190px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.detail-head h1 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

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

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

.detail-meta span {
  display: inline-flex;
  color: #92400e;
  background: #ffedd5;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
}

.story-block {
  padding-top: 26px;
}

.story-block h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.story-block p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.review-block {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-left: 5px solid #f59e0b;
  border-radius: 22px;
}

.info-table dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.info-table div {
  padding: 14px;
  background: #fff7ed;
  border-radius: 16px;
}

.info-table dt {
  color: #9ca3af;
  font-size: 13px;
}

.info-table dd {
  margin: 4px 0 0;
  color: #111827;
  font-weight: 900;
}

.detail-side {
  min-width: 0;
}

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

.detail-side h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.related-item {
  grid-template-columns: 92px minmax(0, 1fr);
}

.related-item img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.related-item b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
  .hero-inner,
  .split-section,
  .search-banner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

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

@media (max-width: 860px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .nav-search {
    position: absolute;
    left: 16px;
    right: 16px;
    display: none;
    width: auto;
  }

  .main-nav {
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.16);
  }

  .nav-search {
    top: 238px;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .nav-search {
    display: flex;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    display: block;
    padding: 44px 0 60px;
  }

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

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

  .hero-poster {
    width: min(260px, 76vw);
    margin: 16px auto 0;
  }

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

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

  .section-heading,
  .footer-inner {
    display: block;
  }

  .section-heading a {
    display: inline-flex;
    margin-top: 12px;
  }

  .detail-head,
  .info-table dl {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: min(220px, 70vw);
  }
}

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

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

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

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

  .hero-actions {
    display: grid;
  }

  .stat-grid,
  .movie-grid,
  .category-grid,
  .ranking-feature {
    grid-template-columns: 1fr;
  }

  .wide-card a,
  .ranking-row,
  .related-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .wide-card img,
  .ranking-row img {
    width: 92px;
    height: 68px;
  }

  .search-controls,
  .search-banner form,
  .inline-filter,
  .filter-line {
    display: grid;
    border-radius: 22px;
  }

  .search-controls select {
    max-width: none;
    border-left: 0;
    border-top: 1px solid #fed7aa;
  }
}
