:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--amber-50), #ffffff 420px);
  color: var(--gray-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 237, 213, 0.94));
  border-bottom: 1px solid rgba(253, 230, 138, 0.7);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark,
.footer-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), #fb923c);
  color: white;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
}

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

.brand-text strong {
  font-size: 21px;
  color: var(--gray-800);
}

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

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

.nav-link {
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: 32px;
  width: 180px;
  padding: 8px;
  border: 1px solid var(--amber-100);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 14px;
}

.nav-dropdown-menu a:hover {
  background: var(--amber-50);
  color: var(--amber-700);
}

.header-search {
  position: relative;
  width: 270px;
}

.header-search input,
.mobile-search input,
.wide-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--gray-800);
  outline: none;
  transition: all 0.2s ease;
}

.header-search input {
  height: 42px;
  padding: 0 44px 0 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--amber-700);
  font-size: 20px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font-size: 26px;
}

.mobile-panel {
  display: none;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--amber-200);
  background: white;
}

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

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.mobile-search input {
  height: 42px;
  padding: 0 16px;
}

.mobile-search button,
.wide-search button {
  border: 0;
  border-radius: 999px;
  background: var(--amber-500);
  color: white;
  font-weight: 700;
  padding: 0 18px;
}

.mobile-link,
.mobile-category-links a {
  display: block;
  padding: 10px 0;
  color: var(--gray-700);
  font-weight: 650;
}

.mobile-category-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
  border-top: 1px solid var(--gray-100);
  margin-top: 8px;
  padding-top: 8px;
}

.hero-slider {
  position: relative;
  min-height: 630px;
  background: var(--gray-900);
  overflow: hidden;
}

.hero-track {
  position: relative;
  min-height: 630px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 56px;
  padding: 82px max(24px, calc((100vw - 1180px) / 2)) 92px;
  background-size: cover;
  background-position: center;
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.28), transparent 34%), linear-gradient(0deg, rgba(17, 24, 39, 0.58), transparent 42%);
  pointer-events: none;
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 850;
  max-width: 820px;
}

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

.hero-tags,
.movie-tags,
.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.side-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 13px;
}

.movie-tags .tag,
.side-tags span {
  background: var(--gray-100);
  color: var(--gray-600);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  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 {
  background: var(--amber-500);
  color: white;
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: var(--amber-600);
}

.btn-glass,
.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-light {
  border-color: var(--amber-200);
  background: white;
  color: var(--amber-700);
}

.hero-poster {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.92);
  color: white;
  font-size: 34px;
  transform: translate(-50%, -50%);
}

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

.hero-controls > button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 26px;
  backdrop-filter: blur(8px);
}

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

.hero-dot {
  width: 28px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.hero-dot.is-active {
  background: var(--amber-500);
}

.home-search-panel {
  margin-top: -42px;
  position: relative;
  z-index: 4;
}

.search-panel-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--amber-100);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.search-panel-inner h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.search-panel-inner p {
  margin: 0;
  color: var(--gray-600);
}

.wide-search {
  display: flex;
  gap: 10px;
}

.wide-search input {
  height: 50px;
  padding: 0 18px;
}

.wide-search button {
  min-width: 110px;
}

.section {
  padding: 72px 0;
}

.section-warm {
  background: linear-gradient(180deg, var(--amber-50), #fff7ed);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading .icon {
  width: 28px;
  height: 28px;
  color: var(--amber-600);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.category-chip-row a {
  padding: 10px 16px;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  background: white;
  color: var(--gray-700);
  font-weight: 700;
  transition: all 0.2s ease;
}

.category-chip-row a:hover {
  background: var(--amber-500);
  color: white;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

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

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

.category-card a {
  display: block;
  height: 100%;
  border: 1px solid var(--amber-100);
  border-radius: 22px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 118px;
  background: var(--gray-100);
}

.category-covers img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.category-content {
  padding: 18px;
}

.category-content h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.category-content p {
  min-height: 66px;
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
}

.category-content span,
.more-link {
  color: var(--amber-700);
  font-weight: 800;
}

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

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

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

.movie-card a {
  display: block;
  height: 100%;
}

.movie-thumb {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--gray-200);
}

.movie-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.movie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.movie-category,
.movie-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-category {
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--amber-700);
  backdrop-filter: blur(8px);
}

.movie-year {
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.68);
  color: white;
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-500);
  color: white;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.92);
  color: white;
  font-size: 30px;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: all 0.25s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info p {
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-foot,
.movie-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 12px;
}

.movie-foot span:first-child {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card-horizontal {
  border-radius: 14px;
}

.movie-card-horizontal a {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 126px;
}

.movie-card-horizontal .movie-thumb {
  height: 100%;
}

.movie-card-horizontal .movie-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.movie-card-horizontal .movie-meta {
  margin-bottom: 8px;
  color: var(--amber-700);
  font-weight: 700;
}

.movie-card-horizontal .movie-tags {
  margin-top: 6px;
}

.movie-card-horizontal .tag {
  font-size: 12px;
  padding: 3px 8px;
}

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

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

.compact-list .movie-card-horizontal a {
  grid-template-columns: 110px minmax(0, 1fr);
}

.compact-list .movie-info p,
.compact-list .movie-tags {
  display: none;
}

.more-link {
  display: inline-flex;
  margin-top: 18px;
}

.page-hero {
  padding: 86px 0 64px;
  background: radial-gradient(circle at 22% 12%, rgba(245, 158, 11, 0.26), transparent 30%), linear-gradient(135deg, var(--gray-900), #2b1604);
  color: white;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--amber-200);
  font-weight: 800;
}

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

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

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-bar input,
.filter-bar select {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
}

.filter-empty {
  display: none;
  grid-column: 1 / -1;
  padding: 36px;
  border-radius: 18px;
  background: white;
  color: var(--gray-600);
  text-align: center;
}

.ranking-layout {
  max-width: 980px;
}

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

.search-title {
  margin-bottom: 24px;
  color: var(--gray-700);
  font-size: 18px;
  font-weight: 700;
}

.detail-main {
  background: linear-gradient(180deg, var(--amber-50), #fff 560px);
}

.detail-hero {
  padding: 34px 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--amber-700);
  font-weight: 700;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: black;
  box-shadow: var(--shadow-lg);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.18));
  color: white;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.94);
  font-size: 44px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.player-error {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.72);
  color: white;
  font-size: 14px;
  display: none;
}

.player-error.is-visible {
  display: block;
}

.detail-heading {
  padding: 26px 0 12px;
}

.detail-tags-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-tags-line a,
.detail-tags-line span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: white;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.detail-tags-line a {
  background: var(--amber-500);
  color: white;
}

.detail-heading h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.detail-heading p {
  margin: 0 0 16px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.8;
}

.content-card,
.info-card {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-sm);
}

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

.content-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.9;
}

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

.poster-card {
  overflow: hidden;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.poster-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.info-card dl {
  margin: 0;
}

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

.info-card dt {
  color: var(--gray-500);
}

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

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

.side-tags {
  margin-top: 18px;
}

.site-footer {
  margin-top: 52px;
  background: linear-gradient(180deg, var(--gray-900), #030712);
  color: var(--gray-300);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 0.7fr 0.8fr;
  gap: 42px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo strong {
  color: white;
  font-size: 24px;
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
  color: var(--gray-400);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 6px;
  color: white;
  font-size: 18px;
}

.footer-links a {
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--amber-500);
}

.footer-bottom {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-500);
  text-align: center;
  font-size: 14px;
}

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

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

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

  .detail-sidebar {
    position: static;
  }

  .poster-card img {
    height: 360px;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    height: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 58px 24px 96px;
  }

  .hero-poster {
    width: min(280px, 82vw);
    transform: none;
  }

  .hero-poster img {
    height: 360px;
  }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

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

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

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

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

  .hero-actions,
  .page-actions {
    display: grid;
  }

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

  .movie-card-horizontal a {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .movie-thumb {
    height: 230px;
  }

  .poster-card img {
    height: 420px;
  }

  .content-card,
  .info-card {
    padding: 20px;
  }
}
