:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --surface-soft: #edf7ff;
  --text: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --dark: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #f8fbff 0%, #eef7ff 42%, #ecfeff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.header-inner {
  max-width: 1240px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.brand-text {
  font-size: 21px;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: #475569;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(360px, 32vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.header-search input,
.mobile-search input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 10px 14px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.search-page-box button {
  border: 0;
  color: #ffffff;
  padding: 10px 18px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #334155;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-search {
  display: flex;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  height: 72vh;
  overflow: hidden;
  background: var(--dark);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(6, 182, 212, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.62) 48%, rgba(15, 23, 42, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-title-block h1 {
  margin: 16px 0 16px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  color: #e0f2fe;
}

.hero-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(10px);
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.28);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

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

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

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 24px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.movie-cover img,
.rail-card img,
.recommend-card img,
.detail-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-cover img,
.rail-card img,
.recommend-card img {
  transition: transform 0.35s ease;
}

.movie-card:hover .movie-cover img,
.rail-card:hover img,
.recommend-card:hover img {
  transform: scale(1.08);
}

.cover-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(15, 23, 42, 0.45);
  transition: opacity 0.2s ease;
}

.play-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 35px rgba(6, 182, 212, 0.32);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .cover-shade,
.movie-card:hover .play-chip {
  opacity: 1;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.24);
}

.movie-info {
  padding: 18px;
}

.movie-meta-line,
.card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.movie-info h2 {
  margin: 10px 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.movie-info h2 a:hover {
  color: var(--blue);
}

.movie-info p {
  min-height: 44px;
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span {
  padding: 5px 9px;
  color: #2563eb;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

.card-stats {
  justify-content: space-between;
  margin-top: 14px;
  font-weight: 800;
}

.rail-section {
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.8), rgba(236, 254, 255, 0.92));
}

.rail-inner {
  max-width: 1288px;
}

.movie-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.rail-card {
  position: relative;
  flex: 0 0 240px;
  height: 150px;
  overflow: hidden;
  border-radius: 18px;
  background: #0f172a;
  box-shadow: var(--shadow-soft);
}

.rail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 68%);
}

.rail-title,
.rail-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 2;
  color: #ffffff;
}

.rail-title {
  bottom: 36px;
  font-weight: 800;
  line-height: 1.3;
}

.rail-meta {
  bottom: 14px;
  color: #bfdbfe;
  font-size: 13px;
}

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

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

.category-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  min-height: 190px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-panel::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.2));
}

.category-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.category-panel h2 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.category-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 150px 1fr;
}

.movie-card-compact .movie-cover {
  aspect-ratio: auto;
  min-height: 176px;
}

.movie-card-compact .movie-info p {
  -webkit-line-clamp: 3;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(6, 182, 212, 0.28), transparent 36%),
    linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0e7490);
}

.page-hero > div {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 24px;
}

.page-hero p {
  max-width: 720px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel,
.search-page-box {
  display: grid;
  grid-template-columns: 1fr 220px 180px;
  gap: 16px;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.filter-field label {
  display: block;
  margin: 0 0 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select,
.search-page-box input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  padding: 0 14px;
  background: #ffffff;
}

.filter-field input:focus,
.filter-field select:focus,
.search-page-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 44px 20px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

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

.search-page-box {
  grid-template-columns: 1fr 130px;
}

.search-page-box button {
  border-radius: 14px;
}

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

.search-result-card {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-result-card img {
  width: 138px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
}

.search-result-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.search-result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-hero {
  min-height: 520px;
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.04);
}

.detail-bg-mask {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.66) 62%, rgba(15, 23, 42, 0.28)),
    linear-gradient(0deg, #f6f9ff 0%, transparent 34%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #bfdbfe;
  font-size: 14px;
}

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

.detail-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: end;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

.detail-title-block p {
  max-width: 780px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.75;
}

.detail-tags span {
  color: #e0f2fe;
  background: rgba(37, 99, 235, 0.26);
}

.detail-section {
  padding-top: 36px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.player-card,
.detail-card,
.side-card {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
  margin-bottom: 24px;
  background: #020617;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(2, 6, 23, 0.72));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 35px rgba(6, 182, 212, 0.3);
  font-size: 26px;
}

.player-overlay strong {
  font-size: 18px;
}

.detail-card,
.side-card {
  padding: 26px;
  margin-bottom: 24px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-card p {
  margin: 0;
  color: #334155;
  line-height: 1.9;
  font-size: 17px;
}

.detail-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.detail-facts div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.detail-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-facts dd {
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 700;
}

.detail-side {
  position: sticky;
  top: 96px;
}

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

.recommend-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
}

.recommend-card img {
  height: 78px;
  border-radius: 14px;
}

.recommend-card strong,
.recommend-card em {
  display: block;
}

.recommend-card strong {
  margin-bottom: 8px;
  line-height: 1.35;
}

.recommend-card:hover strong {
  color: var(--blue);
}

.recommend-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #111827);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 34px;
}

.footer-logo .brand-text {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.footer-brand p {
  max-width: 460px;
  color: #94a3b8;
  line-height: 1.8;
}

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

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

.footer-links a:hover {
  color: #ffffff;
}

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

.footer-cats h2 {
  grid-column: 1 / -1;
}

.footer-bottom {
  padding: 20px 24px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow-soft);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .movie-grid,
  .ranking-grid,
  .dense-grid,
  .search-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-side {
    position: static;
  }
}

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

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

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

  .mobile-nav .nav-link {
    display: block;
    margin-bottom: 6px;
  }

  .hero-slider {
    min-height: 620px;
    height: auto;
  }

  .hero-slide {
    position: absolute;
  }

  .hero-content {
    min-height: 620px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

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

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

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

  .detail-poster {
    width: 210px;
  }

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

@media (max-width: 620px) {
  .header-inner,
  .hero-content,
  .content-section,
  .page-hero > div,
  .detail-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .ranking-grid,
  .dense-grid,
  .category-grid,
  .category-grid-large,
  .search-result-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-compact,
  .search-result-card,
  .recommend-card {
    grid-template-columns: 1fr;
  }

  .movie-card-compact .movie-cover,
  .search-result-card img,
  .recommend-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

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

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