:root {
  color-scheme: light;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-50: #fff7ed;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-900: #7c2d12;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(120, 53, 15, 0.08);
  --shadow-md: 0 18px 45px rgba(120, 53, 15, 0.13);
  --shadow-lg: 0 28px 80px rgba(120, 53, 15, 0.20);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --max-width: 1180px;
}

* {
  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(--slate-900);
  background: linear-gradient(135deg, var(--amber-50), var(--orange-50));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.26);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--amber-900), var(--orange-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--amber-700);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.nav-link {
  color: var(--slate-600);
  font-weight: 650;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-box input {
  width: 100%;
  border: 1px solid var(--amber-200);
  background: var(--amber-50);
  color: var(--slate-900);
  outline: none;
  border-radius: 999px;
  padding: 11px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-box input:focus {
  border-color: var(--amber-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--amber-600);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  background: var(--amber-700);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-50);
  color: var(--amber-900);
}

.mobile-panel {
  display: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px 18px;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

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

.mobile-nav a {
  padding: 10px 12px;
  background: var(--amber-50);
  color: var(--amber-800);
  border-radius: 12px;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--amber-900), var(--orange-900));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(245, 158, 11, 0.28), transparent 32%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.74), rgba(120, 53, 15, 0.42)),
    linear-gradient(90deg, rgba(120, 53, 15, 0.86), rgba(124, 45, 18, 0.38));
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  min-height: 620px;
  margin: 0 auto;
  padding: 60px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 56px;
  color: var(--white);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(253, 230, 138, 0.34);
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

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

.hero-lead {
  max-width: 640px;
  margin: 0 0 16px;
  color: rgba(255, 251, 235, 0.92);
  font-size: clamp(18px, 2.4vw, 24px);
}

.hero-title-line {
  max-width: 640px;
  margin: 0 0 30px;
  color: var(--amber-100);
  font-size: 18px;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.secondary-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  padding: 14px 24px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.32);
}

.primary-btn:hover {
  background: var(--amber-700);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(217, 119, 6, 0.40);
}

.secondary-btn {
  padding: 13px 22px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-poster {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-poster span {
  display: block;
  padding: 18px 20px;
  color: var(--amber-50);
  font-weight: 800;
  font-size: 18px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-categories {
  position: relative;
  margin-top: -54px;
  z-index: 6;
  padding: 0 22px;
}

.quick-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.quick-inner a {
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(253, 230, 138, 0.70);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-inner a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quick-inner strong {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-900);
  font-size: 18px;
}

.quick-inner span {
  color: var(--slate-600);
  font-size: 13px;
}

.content-section,
.category-preview {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 74px 22px;
}

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

.section-heading h2,
.footer-column h2,
.detail-article h2,
.detail-side h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--slate-600);
  max-width: 680px;
}

.text-link {
  flex-shrink: 0;
  padding: 10px 18px;
  color: var(--amber-800);
  background: var(--amber-100);
}

.text-link:hover {
  color: var(--white);
  background: var(--amber-600);
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(253, 230, 138, 0.55);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--amber-100);
}

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

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

.thumb-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.70), transparent 66%);
  transition: opacity 0.22s ease;
}

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

.duration-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
}

.duration-pill {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.76);
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.32);
}

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

.card-kicker,
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 700;
}

.card-kicker span:first-child {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-100);
}

.movie-card h3 {
  margin: 12px 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-meta {
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  color: var(--slate-500);
  font-weight: 600;
}

.tag-line {
  margin-top: 10px;
  color: var(--slate-500);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.band-section {
  padding: 72px 22px;
  background: linear-gradient(135deg, var(--amber-900), var(--orange-900));
}

.band-section .section-heading,
.band-section .ranking-strip {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.light-heading h2,
.light-heading p {
  color: var(--white);
}

.text-link.light {
  color: var(--amber-50);
  background: rgba(255, 255, 255, 0.14);
}

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

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

.horizontal-card a {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 16px;
  min-height: 120px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.horizontal-poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--amber-100);
}

.horizontal-poster img {
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

.horizontal-poster strong {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

.horizontal-info span {
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
}

.horizontal-info h3 {
  margin: 5px 0;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
}

.horizontal-info p {
  margin: 0 0 8px;
  color: var(--slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal-info div {
  color: var(--slate-500);
  font-size: 13px;
}

.page-hero {
  background: linear-gradient(120deg, var(--amber-900), var(--orange-900));
  color: var(--white);
  padding: 86px 22px;
  overflow: hidden;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.36), transparent 68%);
}

.page-hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero span {
  color: var(--amber-100);
  font-weight: 800;
}

.page-hero h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 780px;
  margin: 0 0 24px;
  color: rgba(255, 251, 235, 0.90);
  font-size: 19px;
}

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

.category-card a {
  display: block;
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(253, 230, 138, 0.58);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card span {
  color: var(--amber-700);
  font-weight: 800;
}

.category-card h2 {
  margin: 10px 0;
  font-size: 26px;
}

.category-card p {
  color: var(--slate-600);
}

.category-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-card-links a,
.tag-row a {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 750;
}

.toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(253, 230, 138, 0.70);
  box-shadow: var(--shadow-sm);
}

.filter-box {
  display: grid;
  gap: 8px;
  flex: 1;
  color: var(--slate-600);
  font-weight: 800;
}

.sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sort-buttons button {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--slate-700);
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sort-buttons button.active,
.sort-buttons button:hover {
  color: var(--white);
  background: var(--amber-600);
}

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

.detail-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 22px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--slate-500);
  font-size: 14px;
}

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

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(253, 230, 138, 0.58);
}

.player-wrap {
  position: relative;
  background: var(--slate-900);
  aspect-ratio: 16 / 9;
}

.movie-video,
.player-cover,
.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-video {
  background: #000000;
  z-index: 1;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.46;
}

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

.play-button {
  position: relative;
  z-index: 3;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
  font-size: 36px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-button:hover {
  transform: scale(1.08);
  background: var(--amber-700);
}

.detail-info {
  padding: 30px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-info h1 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
}

.detail-lead {
  max-width: 900px;
  margin: 0 0 22px;
  color: var(--slate-600);
  font-size: 18px;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-weight: 750;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  margin-top: 26px;
}

.detail-article,
.detail-side {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(253, 230, 138, 0.58);
}

.detail-article h2,
.detail-side h2 {
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--slate-700);
  font-size: 17px;
}

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

.info-list div {
  padding: 14px;
  border-radius: 16px;
  background: var(--amber-50);
}

.info-list dt {
  color: var(--amber-800);
  font-weight: 900;
}

.info-list dd {
  margin: 4px 0 0;
  color: var(--slate-700);
}

.detail-side .horizontal-card a {
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 10px;
}

.related-section {
  padding-top: 42px;
}

.big-search {
  display: flex;
  max-width: 640px;
  gap: 10px;
}

.search-results {
  display: grid;
  gap: 18px;
}

.search-empty {
  padding: 38px;
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--slate-600);
  box-shadow: var(--shadow-sm);
}

.site-footer {
  margin-top: 40px;
  color: var(--amber-50);
  background: linear-gradient(135deg, var(--amber-900), var(--orange-900));
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 54px 22px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.brand-footer .brand-text strong {
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.brand-footer .brand-text small,
.footer-brand p,
.footer-column a,
.footer-bottom {
  color: rgba(255, 251, 235, 0.76);
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer-column h2 {
  color: var(--white);
  font-size: 18px;
}

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

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px;
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  font-size: 14px;
}

.hidden-card {
  display: none;
}

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

  .header-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

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

@media (max-width: 880px) {
  .header-search {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 70px;
    padding-bottom: 88px;
  }

  .hero-poster {
    display: none;
  }

  .quick-inner,
  .movie-grid,
  .small-grid,
  .category-grid,
  .ranking-strip,
  .top-grid,
  .footer-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

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

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

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

  .quick-categories {
    margin-top: -26px;
    padding: 0 16px;
  }

  .content-section,
  .category-preview,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .detail-info,
  .detail-article,
  .detail-side {
    padding: 20px;
  }

  .play-button {
    width: 74px;
    height: 74px;
    font-size: 28px;
  }

  .big-search,
  .mobile-search {
    flex-direction: column;
  }
}
