:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --rose-50: #fff1f2;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.98), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid rgba(180, 83, 9, 0.12);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-size: 18px;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  box-shadow: 0 12px 24px rgba(180, 83, 9, 0.26);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--amber-800), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--gray-600);
  font-size: 12px;
}

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

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

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

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

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

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--amber-100);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.08);
}

.header-search input,
.mobile-search input {
  width: 150px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 10px;
  color: var(--gray-700);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--white);
  background: var(--amber-600);
  cursor: pointer;
  transition: background 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover {
  background: var(--amber-700);
}

.menu-button {
  display: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--gray-700);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  padding: 16px;
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.08);
}

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

.mobile-nav {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  background: var(--gray-50);
  font-weight: 650;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--amber-700);
  background: var(--amber-50);
}

.hero-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50) 48%, var(--amber-50));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 18px 18px, rgba(217, 119, 6, 0.12) 0 2px, transparent 2px), radial-gradient(circle at 48px 48px, rgba(244, 63, 94, 0.10) 0 2px, transparent 2px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  align-items: center;
  gap: 64px;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber-700);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  background: linear-gradient(90deg, var(--amber-600), var(--rose-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--gray-700);
  font-size: 20px;
  line-height: 1.8;
}

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

.primary-button,
.secondary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-600), var(--amber-700));
  box-shadow: 0 16px 30px rgba(180, 83, 9, 0.28);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 38px rgba(180, 83, 9, 0.34);
}

.secondary-button,
.outline-button {
  color: var(--amber-700);
  background: var(--white);
  border: 2px solid var(--amber-200);
  box-shadow: var(--shadow-soft);
}

.secondary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
  background: var(--amber-50);
}

.outline-button.small {
  padding: 10px 18px;
  min-height: 42px;
  box-shadow: none;
}

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

.hero-quick-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--amber-800);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(217, 119, 6, 0.14);
  font-size: 14px;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-poster {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.hero-poster:nth-child(2),
.hero-poster:nth-child(3) {
  transform: translateY(24px);
}

.hero-poster img,
.poster img,
.category-tile img,
.compact-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-poster:hover img,
.movie-card:hover .poster img,
.category-tile:hover img,
.compact-card:hover img {
  transform: scale(1.09);
}

.hero-card-layer,
.poster-shade,
.category-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72));
  opacity: 0.78;
}

.hero-card-play,
.play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 38px;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-poster:hover .hero-card-play,
.movie-card:hover .play-icon {
  opacity: 1;
  transform: scale(1);
}

.hero-card-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.35;
}

.hero-card-title small {
  display: block;
  margin-top: 4px;
  color: var(--amber-200);
  font-size: 13px;
}

.feature-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

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

.feature-grid div {
  text-align: center;
}

.feature-grid strong {
  display: block;
  color: var(--gray-900);
  font-size: 18px;
}

.feature-grid span {
  color: var(--gray-600);
  font-size: 14px;
}

.section {
  padding: 82px 0;
  background: var(--white);
}

.section-tint {
  background: linear-gradient(135deg, var(--gray-50), var(--amber-50));
}

.section-warm {
  background: linear-gradient(135deg, var(--amber-50), var(--rose-50));
}

.section-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2,
.page-hero h1,
.detail-panel h1,
.content-card h2,
.side-card h2 {
  margin: 0;
  color: var(--gray-900);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.section-head p,
.page-hero p,
.dark-cta p {
  color: var(--gray-600);
  line-height: 1.8;
}

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

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

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

.movie-card.soft {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.poster {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  background: var(--gray-200);
}

.rank-badge,
.rank-number {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--rose-600);
  box-shadow: 0 10px 18px rgba(225, 29, 72, 0.25);
}

.rank-badge {
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.card-body {
  padding: 20px;
}

.card-title {
  display: -webkit-box;
  min-height: 28px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  transition: color 0.25s ease;
}

.movie-card:hover .card-title {
  color: var(--amber-700);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gray-100);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--amber-50);
  font-size: 12px;
  font-weight: 700;
}

.center-action {
  margin-top: 38px;
  text-align: center;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.compact-poster {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.rank-number {
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.compact-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
}

.compact-info strong {
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-info em {
  color: var(--amber-700);
  font-style: normal;
  font-weight: 750;
}

.compact-info small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-600);
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.category-tile {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.category-copy {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  color: var(--white);
}

.category-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}

.category-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dark-cta {
  padding: 86px 0;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.dark-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
}

.dark-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  padding: 76px 0;
  color: var(--white);
  background: linear-gradient(110deg, var(--amber-600), var(--rose-600));
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 58px);
}

.page-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.page-hero .eyebrow {
  color: var(--amber-100);
}

.category-hero,
.ranking-hero {
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.22), transparent 24%), linear-gradient(110deg, var(--amber-700), var(--rose-600));
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.inline-links a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.search-toolbar {
  align-items: center;
}

.filter-input {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  color: var(--gray-700);
  font-weight: 800;
}

.filter-input.wide {
  width: 100%;
}

.filter-input input {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  outline: none;
  padding: 14px 16px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-chip {
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--amber-700);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  background: var(--amber-600);
  transform: translateY(-1px);
}

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

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

.is-hidden {
  display: none !important;
}

.detail-hero {
  padding: 34px 0 64px;
  background: linear-gradient(135deg, var(--gray-900), #2d1b09 60%, var(--amber-800));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: stretch;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.player-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

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

.player-cover.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.player-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.74));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--rose-600));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
  font-size: 30px;
  transform: translate(-50%, -50%);
}

.detail-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.detail-panel .eyebrow {
  color: var(--amber-200);
}

.detail-panel h1 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.detail-one-line {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.detail-tags .tag {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 0;
}

.info-list div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.info-list dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.info-list dd {
  margin: 5px 0 0;
  color: var(--white);
  font-weight: 800;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
}

.content-card,
.side-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.content-card {
  padding: 34px;
}

.content-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 28px;
}

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

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

.side-card {
  align-self: start;
  padding: 24px;
}

.side-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.side-card .compact-card {
  grid-template-columns: 92px 1fr;
  margin-bottom: 14px;
  box-shadow: none;
  border: 1px solid var(--gray-200);
}

.side-card .compact-poster {
  height: 112px;
}

.side-card .compact-info {
  padding: 12px;
}

.side-card .compact-info strong {
  font-size: 15px;
}

.side-card .compact-info small {
  display: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 40px;
  padding: 52px 0 34px;
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--amber-400, #fbbf24);
  font-size: 24px;
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--amber-200);
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

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

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

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

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

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

  .hero-grid {
    max-width: 620px;
  }

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

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

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

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

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

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

  .hero-inner {
    gap: 36px;
    padding: 46px 0;
  }

  .hero-desc {
    font-size: 17px;
  }

  .hero-actions,
  .hero-quick-links {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-poster {
    height: 170px;
    border-radius: 18px;
  }

  .hero-poster:nth-child(2),
  .hero-poster:nth-child(3) {
    transform: none;
  }

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

  .compact-card {
    grid-template-columns: 110px 1fr;
  }

  .compact-poster {
    height: 132px;
  }

  .poster {
    height: 260px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 24px;
  }
}
