:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --orange: #f97316;
  --yellow: #f59e0b;
  --green: #10b981;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --black: #020617;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 25px 55px rgba(15, 23, 42, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 55%, var(--yellow) 100%);
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.26);
}

.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 22px;
}

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

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: 0.03em;
}

.brand-copy small {
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.9;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  white-space: nowrap;
}

.desktop-nav a {
  font-weight: 700;
  opacity: 0.94;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff7cc;
  transform: translateY(-1px);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.38);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(280px, 24vw);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.2);
}

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

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

.header-search button,
.cta-search button {
  border: 0;
  border-radius: 999px;
  color: var(--red);
  background: var(--white);
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
  margin: 8px auto 12px;
  width: min(1180px, 100%);
}

.mobile-panel input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
}

.mobile-panel button {
  border: 0;
  border-radius: 999px;
  color: var(--red);
  background: var(--white);
  padding: 10px 14px;
  font-weight: 800;
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  height: clamp(440px, 58vw, 640px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.55), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.33), transparent 28%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.62) 48%, rgba(185, 28, 28, 0.35) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
  animation: fadeInUp 0.7s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffedd5;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--orange), var(--red));
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.35);
}

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

.btn-text {
  color: #fed7aa;
  padding-left: 4px;
  padding-right: 4px;
}

.btn.full {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.32);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: max(18px, calc((100vw - 1180px) / 2 - 64px));
}

.hero-next {
  right: max(18px, calc((100vw - 1180px) / 2 - 64px));
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 36px;
  background: var(--white);
}

.section {
  padding: 72px 0;
}

.white-section {
  background: var(--white);
}

.gray-section {
  background: var(--gray-50);
}

.warm-section {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

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

.section-head h2,
.section-center h2,
.filter-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-head p,
.section-center p,
.filter-panel p {
  margin: 0;
  color: var(--gray-500);
}

.section-center {
  margin-bottom: 34px;
  text-align: center;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

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

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

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

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

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.92), rgba(249, 115, 22, 0.86)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 32%);
}

.poster-frame img,
.wide-poster img,
.poster-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-frame img,
.wide-card:hover .wide-poster img {
  transform: scale(1.1);
}

.category-pill,
.mini-label {
  display: inline-flex;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--red), var(--orange));
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
}

.play-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 30px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.play-mark::before {
  content: "";
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.play-mark {
  text-indent: 4px;
}

.play-mark::after {
  content: "▶";
  position: relative;
  z-index: 1;
}

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

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

.card-body h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.card-body h3 a:hover {
  color: var(--red);
}

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

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  color: var(--gray-500);
  font-size: 12px;
}

.meta-line span + span::before {
  content: "·";
  margin-right: 10px;
  color: #cbd5e1;
}

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

.wide-card {
  display: flex;
  overflow: hidden;
  min-height: 178px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.wide-poster {
  position: relative;
  flex: 0 0 190px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.rank-num {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.wide-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.wide-info h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.32;
}

.wide-info p {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-500);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-tile,
.category-overview-card a {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::before,
.category-overview-card a::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.28), transparent 35%);
}

.category-tile:hover,
.category-overview-card a:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.category-tile span,
.category-overview-card .overview-name {
  position: relative;
  font-size: 24px;
  font-weight: 900;
}

.category-tile p,
.category-overview-card p {
  position: relative;
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.84);
}

.category-tile strong,
.overview-links,
.overview-links a {
  position: relative;
}

.overview-links {
  display: grid;
  gap: 8px;
}

.overview-links a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.gradient-red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.gradient-orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.gradient-yellow {
  background: linear-gradient(135deg, #eab308, #fb923c);
}

.gradient-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.gradient-green {
  background: linear-gradient(135deg, #059669, #10b981);
}

.gradient-purple {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.gradient-pink {
  background: linear-gradient(135deg, #db2777, #fb7185);
}

.gradient-cyan {
  background: linear-gradient(135deg, #0891b2, #22c55e);
}

.cta-strip {
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-900), var(--black));
  padding: 60px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-search {
  display: flex;
  width: min(480px, 100%);
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.cta-search input {
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  padding: 10px 14px;
}

.cta-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  padding: 76px 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.compact-hero {
  background: linear-gradient(135deg, var(--gray-900), #7f1d1d 60%, var(--orange));
}

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

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.detail-card .breadcrumbs {
  color: var(--gray-500);
}

.breadcrumbs a:hover {
  color: #fed7aa;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1.28fr;
  gap: 24px;
  margin-bottom: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow);
}

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

.filter-grid label {
  display: grid;
  gap: 7px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--gray-50);
  padding: 11px 12px;
  outline: none;
}

.filter-grid input:focus,
.filter-grid select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.no-results {
  grid-column: 1 / -1;
  display: none;
  border-radius: var(--radius);
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 30px;
  text-align: center;
}

.detail-wrap {
  padding: 42px 0 0;
  background: var(--gray-50);
}

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

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow-lg);
}

.video-shell video {
  width: 100%;
  height: 100%;
  background: var(--black);
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.2));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-shell.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-large {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.video-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-shell:hover .video-controls,
.video-shell:focus-within .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.video-controls button {
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  cursor: pointer;
}

.video-message {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: none;
  border-radius: 14px;
  color: var(--white);
  background: rgba(220, 38, 38, 0.9);
  padding: 10px 12px;
  font-size: 14px;
}

.video-message.is-visible {
  display: block;
}

.detail-card,
.side-card {
  margin-top: 22px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.detail-card h2,
.side-card h2 {
  margin: 26px 0 12px;
  font-size: 22px;
}

.detail-card p {
  margin: 0 0 12px;
  color: var(--gray-700);
}

.lead-text {
  color: var(--gray-900) !important;
  font-size: 18px;
  font-weight: 700;
}

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

.detail-meta span {
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.detail-side {
  position: sticky;
  top: 104px;
  align-self: start;
}

.poster-side {
  overflow: hidden;
  padding: 0;
}

.poster-side img {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.poster-side h2,
.poster-side p,
.poster-side .btn {
  margin-left: 20px;
  margin-right: 20px;
}

.poster-side .btn {
  margin-bottom: 20px;
}

.side-links {
  display: grid;
  gap: 12px;
}

.side-links a {
  display: grid;
  gap: 3px;
  border-radius: 16px;
  background: var(--gray-50);
  padding: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-links a:hover {
  color: var(--red);
  background: #fff7ed;
}

.side-links small {
  color: var(--gray-500);
}

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #020617);
  padding: 56px 0 22px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
}

.site-footer p {
  color: #9ca3af;
}

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

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 12px;
  }

  .header-search {
    display: none;
  }

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

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

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

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

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

  .filter-panel,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

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

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

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

  .nav-wrap {
    min-height: 64px;
  }

  .brand-copy small {
    display: none;
  }

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

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

  .hero {
    height: 560px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-actions,
  .cta-search {
    flex-direction: column;
  }

  .btn,
  .cta-search button {
    width: 100%;
  }

  .section,
  .page-hero {
    padding: 48px 0;
  }

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

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

  .wide-card {
    min-height: 0;
  }

  .wide-poster {
    flex-basis: 128px;
  }

  .wide-info h3 {
    font-size: 17px;
  }

  .wide-info p {
    -webkit-line-clamp: 2;
  }

  .detail-card,
  .side-card {
    padding: 18px;
  }
}
