:root {
  --page: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fffbeb;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.28);
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --orange: #f97316;
  --red: #ef4444;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.55), #ffffff 38%, rgba(254, 243, 199, 0.55));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #dc2626, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

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

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.24s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 260px;
}

.header-search input,
.quick-search-panel input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(245, 158, 11, 0.22);
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 46px 12px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-search input:focus,
.quick-search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.header-search button {
  position: absolute;
  right: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  color: #374151;
  font-weight: 800;
}

.mobile-nav-link.is-active {
  color: var(--amber-dark);
  background: #fffbeb;
}

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

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

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

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.68) 42%, rgba(15, 23, 42, 0.2) 100%), linear-gradient(0deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  min-height: 650px;
  color: #ffffff;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.sub-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(253, 230, 138, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 650px;
  margin: 22px 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.primary-button,
.ghost-button,
.text-button,
.quick-search-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button,
.quick-search-panel button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 28px rgba(245, 158, 11, 0.24);
}

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

.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.quick-search-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(245, 158, 11, 0.28);
}

.hero-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

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

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

.hero-card span,
.movie-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.32);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 34px;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.22s ease, background 0.22s ease;
}

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

.quick-search-panel {
  position: relative;
  z-index: 10;
  margin-top: -42px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.quick-search-panel input {
  min-height: 52px;
  border-radius: 14px;
  padding: 0 18px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-links a {
  padding: 8px 12px;
  color: #92400e;
  background: #fffbeb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.page-section {
  padding: 48px 0 10px;
}

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

.section-heading > div:first-child {
  display: grid;
  gap: 6px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-more {
  color: var(--amber-dark);
  font-weight: 900;
}

.featured-grid,
.movie-grid,
.compact-grid,
.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
  transform: translateY(-5px);
}

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

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

.movie-card:hover .movie-poster img,
.list-card:hover .list-cover img,
.ranking-item:hover .rank-cover img {
  transform: scale(1.08);
}

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 52%);
}

.movie-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.movie-play {
  z-index: 3;
  width: 54px;
  height: 54px;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .movie-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03);
}

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

.movie-card-body h2,
.list-body h2,
.rank-content h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card-body h2 a:hover,
.list-body h2 a:hover,
.rank-content h2 a:hover {
  color: var(--amber-dark);
}

.movie-card-body p,
.list-body p,
.rank-content p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 13px;
}

.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 999px;
}

.movie-card-compact .movie-card-body p {
  display: none;
}

.movie-card-compact .movie-card-body h2 {
  font-size: 15px;
}

.movie-card-compact .movie-poster {
  aspect-ratio: 3 / 4;
}

.list-stack {
  display: grid;
  gap: 16px;
}

.list-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.list-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.list-body {
  align-self: center;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.88), rgba(245, 158, 11, 0.82));
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.category-tile > span,
.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile > span {
  margin-bottom: 12px;
  font-size: 34px;
}

.category-tile strong {
  font-size: 22px;
  font-weight: 950;
}

.category-tile small {
  max-width: 240px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.category-tile img {
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 58%;
  height: 125%;
  object-fit: cover;
  opacity: 0.28;
  transform: rotate(6deg);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-tile:hover img {
  opacity: 0.38;
  transform: rotate(3deg) scale(1.08);
}

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

.ranking-list {
  gap: 18px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 48px 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 14px;
  font-weight: 950;
}

.rank-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.sub-hero {
  padding: 58px 0;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(253, 230, 138, 0.38), transparent 28%), linear-gradient(135deg, #f59e0b, #f97316 48%, #dc2626);
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.sub-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

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

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

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

.category-overview-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.category-overview-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.category-overview-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #fffbeb;
  border-radius: 16px;
  font-size: 28px;
}

.category-overview-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 950;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

.category-samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.category-samples a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #111827;
}

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

.category-samples span {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 8px 8px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
  font-size: 12px;
  font-weight: 800;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  border-radius: 12px;
  padding: 12px 14px;
}

.result-line {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.result-line strong {
  color: var(--amber-dark);
}

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

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.44)), linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.18));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 44px 0 62px;
}

.detail-breadcrumb {
  color: rgba(255, 255, 255, 0.78);
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.detail-copy h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-copy p {
  max-width: 760px;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.85;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-bottom: 18px;
}

.detail-facts div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

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

.detail-facts span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.detail-facts strong {
  margin-top: 3px;
  color: #ffffff;
  font-size: 16px;
}

.detail-tags {
  margin-bottom: 24px;
}

.player-section {
  margin-top: -72px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.36);
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.big-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36);
  font-size: 36px;
}

.play-overlay strong {
  max-width: min(720px, 90%);
  text-align: center;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 950;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  padding: 44px 0 0;
}

.content-card,
.side-card {
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.content-card {
  padding: 30px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 950;
}

.content-card p {
  margin: 0 0 28px;
  color: #374151;
  line-height: 1.9;
  text-align: justify;
}

.side-card {
  align-self: start;
  padding: 22px;
  position: sticky;
  top: 100px;
}

.side-related {
  display: grid;
  gap: 12px;
}

.side-related .ranking-item {
  grid-template-columns: 36px 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.side-related .rank-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 13px;
}

.side-related .rank-content h2 {
  font-size: 14px;
  margin-bottom: 4px;
}

.side-related .rank-content p,
.side-related .movie-meta {
  display: none;
}

.site-footer {
  margin-top: 68px;
  background: linear-gradient(135deg, #f9fafb, #ffffff 50%, #fffbeb);
  border-top: 1px solid rgba(245, 158, 11, 0.13);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-grid p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 950;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #4b5563;
  font-weight: 700;
}

.footer-grid a:hover {
  color: var(--amber-dark);
}

.footer-bottom {
  padding: 18px;
  color: #6b7280;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

[data-card].is-hidden {
  display: none !important;
}

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding: 70px 0;
  }

  .hero-card {
    display: none;
  }

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

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

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .side-card {
    position: static;
  }
}

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

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

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

  .brand-text small {
    display: none;
  }

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

  .hero-copy p {
    font-size: 16px;
  }

  .hero-nav {
    display: none;
  }

  .quick-search-panel form,
  .featured-grid,
  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .list-card,
  .ranking-item {
    grid-template-columns: 1fr;
  }

  .rank-number {
    position: absolute;
    margin: 10px;
    z-index: 2;
  }

  .ranking-item {
    position: relative;
  }

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

  .detail-hero {
    min-height: auto;
  }

  .player-section {
    margin-top: -32px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .content-card {
    padding: 22px;
  }

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