:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #111827;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --amber-300: #fcd34d;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.16);
  --shadow-card: 0 14px 40px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-300));
  color: var(--slate-950);
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.34);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.main-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--orange-400);
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  min-width: 250px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.header-search input {
  flex: 1;
  min-width: 0;
  padding: 0 0 0 16px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.header-search button {
  width: 44px;
  height: 42px;
  border: 0;
  color: var(--white);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-search button:hover {
  color: var(--orange-400);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--white);
  background: transparent;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:hover {
  color: var(--orange-400);
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.34), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.2)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  min-height: 680px;
  padding: 96px 0 130px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-desc {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
}

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

.hero-meta {
  margin-bottom: 28px;
}

.meta-pill,
.tag-pill,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.meta-pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tag-pill {
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.btn-ghost:hover {
  color: var(--orange-400);
  background: rgba(255, 255, 255, 0.16);
}

.hero-search {
  display: flex;
  align-items: center;
  max-width: 620px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0 20px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

.hero-search button {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  color: var(--white);
  background: var(--orange-500);
  font-weight: 800;
}

.hero-thumbs {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 36px;
  z-index: 4;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: 14px;
}

.hero-thumb {
  position: relative;
  height: 88px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.hero-thumb span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  border-color: var(--orange-400);
  transform: translateY(-3px);
}

.hero-dots {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  bottom: 56px;
  z-index: 5;
  display: flex;
  gap: 9px;
}

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

.hero-dot.is-active {
  width: 32px;
  background: var(--orange-500);
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--orange-600);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--slate-600);
}

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

.category-card {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
  box-shadow: var(--shadow-card);
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.42), transparent 70%);
  z-index: -1;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
}

.category-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
}

.category-card span {
  display: inline-flex;
  align-items: center;
  color: #fed7aa;
  font-weight: 800;
}

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

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

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

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

.poster {
  position: relative;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.movie-grid.large-cards .poster {
  aspect-ratio: 16 / 10;
}

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

.movie-card:hover .poster img {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1.1);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.82));
}

.poster-badge,
.poster-score,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.poster-badge {
  left: 10px;
  top: 10px;
  color: var(--white);
  background: rgba(249, 115, 22, 0.95);
}

.poster-score {
  right: 10px;
  top: 10px;
  color: var(--slate-950);
  background: rgba(252, 211, 77, 0.95);
}

.rank-badge {
  left: 10px;
  top: 10px;
  color: var(--white);
  background: linear-gradient(135deg, #ef4444, var(--orange-500));
}

.poster-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: var(--white);
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.movie-card h3 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

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

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
}

.rating {
  color: var(--orange-600);
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.toolbar input,
.toolbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  padding: 0 16px;
  outline: 0;
  color: var(--slate-900);
  background: var(--white);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid rgba(249, 115, 22, 0.24);
  color: var(--orange-600);
  background: rgba(249, 115, 22, 0.08);
}

.filter-chip.is-active,
.filter-chip:hover {
  color: var(--white);
  background: var(--orange-500);
}

.empty-state {
  display: none;
  padding: 36px;
  border-radius: var(--radius-xl);
  color: var(--slate-600);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(249, 115, 22, 0.32), transparent 34%),
    linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.page-hero .container {
  padding: 70px 0;
}

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

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

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.ranking-poster {
  width: 78px;
  height: 92px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--slate-800);
}

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

.ranking-row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
}

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

.ranking-number {
  min-width: 48px;
  color: var(--orange-600);
  font-size: 24px;
  font-weight: 900;
  text-align: right;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) brightness(0.55) saturate(1.08);
  transform: scale(1.08);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.32), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 55%);
}

.detail-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 36px;
  align-items: end;
  padding: 70px 0;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-summary {
  max-width: 820px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.player-panel {
  padding: 48px 0 22px;
  background: var(--slate-950);
}

.player-panel h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: transparent;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(1.08);
}

.play-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
}

.play-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  font-size: 34px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 20px 48px rgba(249, 115, 22, 0.36);
  transition: transform 0.2s ease;
}

.player-cover:hover .play-icon {
  transform: scale(1.06);
}

.play-text {
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

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

.article-card {
  padding: 30px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 26px;
  font-weight: 900;
}

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

.side-card {
  padding: 20px;
}

.side-list {
  display: grid;
  gap: 14px;
}

.side-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
}

.side-item img {
  width: 76px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
}

.side-item h3 {
  margin: 0 0 6px;
  color: var(--slate-900);
  font-size: 15px;
  font-weight: 900;
}

.side-item p {
  display: -webkit-box;
  margin: 0;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-footer {
  margin-top: 0;
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--slate-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 32px;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
}

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

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

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

  .content-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

  .hero-content {
    padding: 84px 0 180px;
  }

  .hero-thumbs {
    left: 16px;
    right: 16px;
    grid-auto-columns: minmax(108px, 1fr);
    overflow-x: auto;
    padding-bottom: 6px;
  }

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

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

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

  .toolbar {
    grid-template-columns: 1fr;
  }
}

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

  .logo {
    font-size: 18px;
  }

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

  .hero-title {
    letter-spacing: -0.04em;
  }

  .hero-search {
    display: grid;
    border-radius: 24px;
  }

  .hero-search input,
  .hero-search button {
    min-height: 52px;
    width: 100%;
  }

  .hero-dots {
    bottom: 132px;
    left: 16px;
  }

  .section {
    padding: 46px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .movie-grid,
  .movie-grid.large-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h3 {
    font-size: 15px;
  }

  .ranking-row {
    grid-template-columns: 64px 1fr;
  }

  .ranking-number {
    grid-column: 1 / -1;
    text-align: left;
  }

  .article-card {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
