:root {
  --orange: #f97316;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --dark: #111827;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #fed7aa;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--dark);
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 50%, #fffbeb 100%);
  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;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 8px 28px rgba(248, 113, 113, 0.08);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--orange), var(--rose), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.28);
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
  background: #fff7ed;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--orange);
  background: #fff7ed;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) brightness(0.75);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 40%, rgba(249, 115, 22, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.64) 48%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 55%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  top: 45%;
  width: min(620px, calc(100% - 64px));
  transform: translateY(-50%);
  color: #ffffff;
  z-index: 2;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-kicker span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

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

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

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--rose));
  box-shadow: 0 16px 34px rgba(244, 63, 94, 0.28);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-cover {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(350px, 28vw);
  aspect-ratio: 3 / 4;
  transform: translateY(-50%) rotate(2deg);
  border-radius: 28px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

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

.hero-cover:hover img {
  transform: scale(1.08);
}

.hero-dots {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  bottom: 150px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

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

.hero-dots button.active {
  width: 36px;
  background: linear-gradient(90deg, var(--orange), var(--rose));
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.search-form {
  flex: 1;
  display: flex;
  gap: 12px;
}

.search-form input,
.page-filter input,
.filter-box input,
.filter-box select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(251, 146, 60, 0.32);
  border-radius: 16px;
  padding: 0 16px;
  background: #ffffff;
  color: var(--dark);
  outline: none;
}

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

.search-form button {
  min-width: 96px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--orange), var(--rose));
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a,
.spotlight-tags a,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: #c2410c;
  background: #ffedd5;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head.tight {
  margin-bottom: 16px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
}

.section-head a {
  color: var(--orange);
  font-weight: 800;
}

.section-mark {
  width: 7px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), var(--rose));
}

.section-mark.rose {
  background: linear-gradient(180deg, var(--rose), var(--amber));
}

.section-mark.amber {
  background: linear-gradient(180deg, var(--amber), var(--orange));
}

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

.category-card {
  position: relative;
  min-height: 178px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--orange), var(--rose));
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.78) 100%);
}

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

.category-card span,
.category-card p {
  position: relative;
  z-index: 1;
}

.category-card span {
  font-size: 20px;
  font-weight: 900;
}

.category-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.16);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fecdd3);
}

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

.movie-card:hover .poster-wrap img {
  transform: scale(1.1);
  filter: brightness(0.82);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  transition: opacity 0.25s ease;
}

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

.type-badge,
.rank-num {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.92);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.rank-num {
  left: auto;
  right: 12px;
  background: rgba(17, 24, 39, 0.72);
}

.play-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.75);
  opacity: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 15px;
}

.card-body h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-row span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #ea580c;
  background: #fff7ed;
  font-size: 12px;
}

.compact-card .card-body h2 {
  font-size: 15px;
}

.compact-card .card-body p {
  display: none;
}

.rank-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 24px;
}

.rank-panel,
.spotlight-panel,
.content-card,
.category-overview {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-panel,
.spotlight-panel {
  padding: 26px;
}

.rank-list,
.rank-page-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 36px 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fff7ed;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: #ffedd5;
  transform: translateX(4px);
}

.rank-row strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  font-size: 14px;
}

.rank-row img {
  width: 70px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-title {
  min-width: 0;
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-meta {
  color: #6b7280;
  font-size: 13px;
  white-space: nowrap;
}

.spotlight-panel {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, var(--orange), var(--rose) 55%, var(--amber));
}

.spotlight-panel h2 {
  margin: 0 0 14px;
  font-size: 32px;
}

.spotlight-panel p {
  color: rgba(255, 255, 255, 0.9);
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.spotlight-tags a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.page-hero {
  padding: 86px 0 62px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, var(--orange), var(--rose), var(--amber));
}

.page-hero p {
  margin: 0 0 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero p a {
  color: #ffffff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
}

.page-hero span {
  display: block;
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.page-filter,
.filter-box {
  margin-top: 28px;
}

.filter-box {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(130px, 0.4fr));
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

.category-overview {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(17, 24, 39, 0.16);
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 160px;
  overflow: hidden;
}

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

.category-info {
  padding: 22px;
}

.category-info h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-info p {
  margin: 0 0 14px;
  color: var(--muted);
}

.category-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-info span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #c2410c;
  background: #ffedd5;
  font-size: 12px;
}

.detail-hero {
  padding: 42px 0 64px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 20%, rgba(249, 115, 22, 0.4), transparent 30%),
    linear-gradient(135deg, #111827, #7f1d1d 48%, #431407);
}

.detail-container {
  display: grid;
  gap: 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  aspect-ratio: 16 / 9;
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: #000000;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.18), rgba(0, 0, 0, 0.62));
}

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

.big-play {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
  font-size: 34px;
}

.detail-info h1 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
}

.detail-info p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-type {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

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

.content-card {
  padding: 28px;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.content-card p {
  margin: 0 0 12px;
  color: #374151;
  font-size: 16px;
}

.accent-card {
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

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

.info-list div {
  padding: 14px;
  border-radius: 18px;
  background: #fff7ed;
}

.info-list dt {
  color: #9a3412;
  font-size: 12px;
  font-weight: 900;
}

.info-list dd {
  margin: 6px 0 0;
  color: #111827;
  font-weight: 800;
}

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

.rank-page-list {
  margin-bottom: 28px;
}

.rank-more {
  margin-top: 20px;
}

.empty-state {
  display: none;
  padding: 34px;
  border-radius: 24px;
  text-align: center;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #7c2d12 58%, #881337);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 36px;
}

.footer-main p {
  max-width: 480px;
  color: #d1d5db;
}

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

.footer-col h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.footer-col a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fb923c;
}

.footer-tags div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.16);
  font-size: 13px;
}

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

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .category-grid,
  .movie-grid,
  .small-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .rank-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-cover {
    opacity: 0.42;
    right: 24px;
    width: 300px;
  }

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

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

@media (max-width: 760px) {
  .nav-wrap {
    height: 64px;
  }

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    top: 36%;
    left: 20px;
    width: calc(100% - 40px);
  }

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

  .hero-cover {
    display: none;
  }

  .hero-dots {
    left: 20px;
    bottom: 180px;
  }

  .hero-search {
    display: grid;
    bottom: 20px;
    padding: 14px;
  }

  .search-form {
    display: grid;
  }

  .quick-links {
    justify-content: center;
  }

  .section {
    padding: 42px 0;
  }

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

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

  .category-overview-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .rank-row {
    grid-template-columns: 30px 56px minmax(0, 1fr);
  }

  .rank-meta {
    grid-column: 3;
    white-space: normal;
  }

  .detail-hero {
    padding-top: 28px;
  }

  .content-card {
    padding: 22px;
  }

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

@media (max-width: 460px) {
  .brand,
  .footer-brand {
    font-size: 19px;
  }

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

  .card-body {
    padding: 12px;
  }

  .card-body h2 {
    font-size: 15px;
  }

  .card-body p,
  .tag-row {
    display: none;
  }
}
