:root {
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --rose-600: #e11d48;
  --rose-100: #ffe4e6;
  --gray-950: #111827;
  --gray-900: #1f2937;
  --gray-800: #374151;
  --gray-700: #4b5563;
  --gray-600: #6b7280;
  --gray-500: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 12px 28px rgba(17, 24, 39, 0.10);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: #f9fafb;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #fff7ed, rgba(255, 255, 255, 0.96), #fff7ed);
  box-shadow: 0 8px 24px rgba(120, 53, 15, 0.10);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 80px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-900));
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.06);
}

.brand-text {
  display: grid;
}

.brand-title {
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(90deg, var(--amber-900), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray-600);
}

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

.nav-link {
  position: relative;
  font-weight: 700;
  color: var(--gray-700);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--amber-600);
  transition: width 0.25s ease;
}

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

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--gray-800);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 0 22px 18px;
  border-top: 1px solid rgba(217, 119, 6, 0.12);
}

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.72);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--amber-900);
  background: var(--amber-100);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 42%, #ffe4e6 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.35), transparent 25%), radial-gradient(circle at 80% 12%, rgba(225, 29, 72, 0.25), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, 0.60), transparent);
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: 72px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
}

.hero-slider {
  min-width: 0;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.hero-slide.active {
  display: grid;
  animation: fadeUp 0.55s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--amber-900);
  background: rgba(253, 230, 138, 0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  color: var(--gray-950);
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--gray-700);
  font-size: 20px;
}

.hero-tags,
.detail-meta,
.tag-row,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags span,
.detail-meta span,
.tag-row span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--amber-900);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(120, 53, 15, 0.08);
}

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

.primary-button,
.secondary-button,
.page-search button,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 28px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-600), var(--amber-800));
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.30);
}

.primary-button:hover,
.secondary-button:hover,
.page-search button:hover,
.hero-search button:hover {
  transform: translateY(-2px);
}

.secondary-button {
  min-height: 48px;
  padding: 0 28px;
  color: var(--amber-800);
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(217, 119, 6, 0.18);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

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

.hero-poster {
  position: relative;
  display: block;
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(120, 53, 15, 0.28);
  transition: transform 0.35s ease;
}

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

.hero-poster-glow {
  position: absolute;
  inset: auto 10% -24px;
  height: 40px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.35);
  filter: blur(20px);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-search,
.page-search {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 119, 6, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.hero-search input,
.page-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 12px;
  color: var(--gray-900);
}

.hero-search button,
.page-search button {
  min-height: 42px;
  padding: 0 20px;
  color: var(--white);
  background: var(--amber-700);
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.compact-card {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  border-radius: 22px;
  background: var(--gray-900);
  box-shadow: var(--shadow-card);
}

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

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

.compact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.compact-title,
.compact-year {
  position: absolute;
  left: 14px;
  right: 14px;
  color: var(--white);
}

.compact-title {
  bottom: 34px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-year {
  bottom: 13px;
  color: var(--amber-200);
  font-size: 13px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 99px;
  background: rgba(120, 53, 15, 0.20);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--amber-700);
}

.feature-strip {
  background: var(--white);
  padding: 42px 22px;
}

.feature-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
}

.feature-item span {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-100), #fed7aa);
  font-weight: 900;
  font-size: 22px;
  transition: transform 0.25s ease;
}

.feature-item:hover span {
  transform: scale(1.08);
}

.feature-item h2 {
  margin: 0 0 5px;
  font-size: 17px;
}

.feature-item p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 22px;
}

.no-top-gap {
  padding-top: 34px;
}

.soft-section {
  max-width: none;
  background: linear-gradient(135deg, #f9fafb, #fff7ed);
}

.soft-section > .section-heading,
.soft-section > .movie-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading h2,
.panel-heading h2,
.side-info-card h2,
.prose-card h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p,
.panel-heading p {
  margin: 0;
  max-width: 640px;
  color: var(--gray-600);
}

.section-action,
.text-link {
  color: var(--amber-800);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(120, 53, 15, 0.18);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray-900);
}

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

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

.movie-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 52px;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-play {
  opacity: 1;
}

.movie-year {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-700);
  font-size: 12px;
  font-weight: 900;
}

.movie-info {
  padding: 18px;
}

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

.movie-info h2 a:hover {
  color: var(--amber-800);
}

.movie-desc {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
}

.movie-meta span {
  min-height: 26px;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--amber-900);
  background: #fff7ed;
  box-shadow: none;
}

.movie-genre {
  margin-top: 11px;
  color: var(--gray-500);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.category-tile {
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--white), #fff7ed);
  border: 1px solid rgba(217, 119, 6, 0.13);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.category-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--amber-700);
  font-weight: 900;
}

.category-tile h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-tile p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

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

.ranking-panel {
  align-self: start;
  position: sticky;
  top: 104px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 24px 10px;
}

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

.panel-heading a {
  color: var(--amber-800);
  font-weight: 900;
  white-space: nowrap;
}

.ranking-panel ol {
  margin: 0;
  padding: 10px 18px 22px;
  list-style: none;
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.ranking-panel li:last-child a {
  border-bottom: 0;
}

.rank-num {
  color: var(--amber-700);
  font-weight: 900;
}

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

.rank-text {
  min-width: 0;
  display: grid;
}

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

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 22px;
  color: var(--white);
  background: linear-gradient(120deg, var(--amber-700), var(--rose-600));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.24), transparent 28%), radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.86);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.page-search {
  max-width: 620px;
  margin-top: 30px;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: #fff7ed;
}

.category-preview img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.category-overview-info {
  padding: 24px;
}

.category-overview-info span {
  color: var(--amber-700);
  font-weight: 900;
}

.category-overview-info h2 {
  margin: 8px 0;
  font-size: 26px;
}

.category-overview-info p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.filter-chip {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  background: var(--amber-700);
  border-color: var(--amber-700);
}

.empty-state {
  display: none;
  padding: 32px;
  margin-top: 24px;
  border-radius: 20px;
  text-align: center;
  color: var(--gray-600);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.empty-state.show {
  display: block;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  padding: 16px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--gray-900);
}

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

.ranking-cover span {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-700);
  font-weight: 900;
}

.ranking-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.ranking-info p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: var(--white);
  background: var(--gray-950);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.50));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 62px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-200);
}

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

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.detail-meta {
  margin-bottom: 16px;
}

.detail-meta span,
.tag-row span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.tag-row {
  margin-top: 10px;
}

.soft-tags span {
  color: var(--amber-100);
}

.detail-content {
  padding-top: 52px;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

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

.player-card,
.prose-card,
.side-info-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-orb {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  font-size: 32px;
}

.prose-card {
  padding: 28px;
}

.prose-card h2 {
  font-size: 28px;
}

.prose-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.side-info-card {
  position: sticky;
  top: 104px;
  padding: 26px;
}

.side-info-card h2 {
  font-size: 28px;
}

.side-info-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.side-info-card div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.side-info-card dt {
  color: var(--gray-500);
  font-weight: 700;
}

.side-info-card dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 800;
}

.side-info-card a {
  color: var(--amber-800);
}

.site-footer {
  background: var(--gray-950);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  margin-bottom: 12px;
  color: var(--amber-500);
  font-size: 26px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--amber-500);
  font-size: 18px;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 22px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.46);
}

[hidden],
.is-filtered-out {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-inner,
  .split-section,
  .detail-main-grid {
    grid-template-columns: 1fr;
  }

  .hero-side,
  .ranking-panel,
  .side-info-card {
    position: static;
  }

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

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

@media (max-width: 780px) {
  .header-inner {
    height: 72px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 22px;
  }

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

  .hero-inner {
    padding: 48px 18px;
  }

  .hero-slide,
  .detail-layout,
  .footer-inner,
  .category-overview-grid,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-thumbs {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
  }

  .compact-card {
    min-width: 150px;
    min-height: 190px;
  }

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

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

  .page-hero {
    padding: 54px 18px;
  }

  .content-section {
    padding: 52px 18px;
  }

  .detail-hero-inner {
    padding: 28px 18px 46px;
  }

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

@media (max-width: 520px) {
  .brand-subtitle {
    display: none;
  }

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

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

  .hero-search,
  .page-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .feature-grid,
  .large-grid,
  .movie-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .side-info-card div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
