:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-100: #ffedd5;
  --text-main: #172033;
  --text-muted: #64748b;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background: var(--slate-50);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-500), #ef4444);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.36);
}

.brand-text {
  font-size: 20px;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fb923c;
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  width: 310px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header-search input,
.mobile-search input,
.spotlight-search input,
.inline-filter input,
.advanced-search input,
.advanced-search select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.header-search input,
.mobile-search input {
  padding: 9px 12px;
}

.header-search button,
.mobile-search button,
.spotlight-search button,
.inline-filter button,
.advanced-search button {
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 11px;
  background: var(--orange-600);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button {
  padding: 8px 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.spotlight-search button:hover,
.inline-filter button:hover,
.advanced-search button:hover,
.primary-button:hover {
  background: #c2410c;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.08);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.58);
}

.mobile-search button {
  padding: 9px 14px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fb923c;
}

main {
  min-height: 60vh;
}

.hero-shell {
  background: var(--slate-950);
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-bg {
  position: absolute;
  inset: 0 calc((100vw - 1180px) / -2);
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(249, 115, 22, 0.3), transparent 28%), linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.9));
  z-index: -1;
}

.hero-content {
  padding: 110px 0 130px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.32);
  font-weight: 700;
  font-size: 14px;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #9a3412;
  background: var(--orange-100);
  font-size: 13px;
  font-weight: 700;
}

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

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

.primary-button {
  color: #fff;
  padding: 0 22px;
  background: var(--orange-600);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.3);
}

.secondary-button {
  color: #fff;
  padding: 0 20px;
  background: rgba(51, 65, 85, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary-button:hover {
  transform: translateY(-1px);
  background: rgba(71, 85, 105, 0.95);
}

.hero-card {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(14px);
}

.hero-card-img {
  display: block;
  height: 430px;
  background-color: var(--slate-800);
  background-position: center;
  background-size: cover;
}

.hero-card-info {
  display: block;
  padding: 18px;
  color: #fff;
}

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

.hero-card-info em {
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
  margin-top: 5px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.hero-dot.active {
  width: 34px;
  border-radius: 999px;
  background: var(--orange-500);
}

.search-spotlight {
  width: min(1180px, calc(100% - 32px));
  margin: -52px auto 0;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  box-shadow: var(--shadow-card);
}

.search-spotlight h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.search-spotlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.spotlight-search,
.inline-filter,
.advanced-search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.spotlight-search input,
.inline-filter input,
.advanced-search input,
.advanced-search select {
  min-height: 46px;
  color: var(--text-main);
  padding: 0 14px;
  border-radius: 12px;
  background: var(--slate-50);
}

.spotlight-search button,
.inline-filter button,
.advanced-search button {
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

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

.slate-section,
.light-section {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
}

.slate-section {
  background: linear-gradient(180deg, #fff, #f1f5f9);
}

.light-section {
  background: #fff;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
}

.section-heading > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--orange-100);
  font-size: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-700));
}

.poster-image,
.wide-cover,
.category-cover,
.side-poster {
  background-color: var(--slate-800);
  background-position: center;
  background-size: cover;
}

.poster-image {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-image {
  transform: scale(1.07);
}

.quality-badge,
.rank-badge {
  position: absolute;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.quality-badge {
  right: 14px;
  background: rgba(234, 88, 12, 0.9);
}

.rank-badge {
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.movie-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.movie-card h2,
.wide-content h2,
.category-overview-card h2 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h2 a:hover,
.wide-content h2 a:hover,
.category-overview-card h2 a:hover {
  color: var(--orange-600);
}

.movie-card p,
.wide-content p,
.category-overview-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14px;
}

.text-link {
  min-height: auto;
  margin-top: 14px;
  color: var(--orange-600);
}

.text-link:hover {
  color: #c2410c;
  transform: translateX(3px);
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  box-shadow: var(--shadow-soft);
}

.category-card:nth-child(2n) {
  background: linear-gradient(135deg, #7c2d12, var(--slate-900));
}

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

.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

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

.category-glow {
  position: absolute;
  right: -36px;
  top: -36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.38);
  filter: blur(8px);
}

.wide-list {
  display: grid;
  gap: 16px;
}

.wide-item {
  display: grid;
  grid-template-columns: 58px 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.wide-rank {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange-500), #dc2626);
}

.wide-cover {
  display: block;
  width: 220px;
  height: 124px;
  border-radius: 16px;
}

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

.center-action {
  margin-top: 28px;
  text-align: center;
}

.page-hero {
  color: #fff;
  background: radial-gradient(circle at 20% 15%, rgba(249, 115, 22, 0.32), transparent 32%), linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.compact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 30px;
  align-items: center;
  padding: 78px max(16px, calc((100% - 1180px) / 2));
}

.compact-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

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

.inline-filter {
  width: 100%;
}

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

.category-overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-cover {
  min-height: 220px;
  border-radius: 18px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-links a {
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--slate-100);
  font-size: 13px;
}

.search-page-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.advanced-search {
  display: grid;
  grid-template-columns: 1fr 180px 150px 110px;
  margin-bottom: 28px;
}

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

.search-result-card {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.search-result-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.pager span {
  color: #fff;
  background: var(--orange-600);
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 36px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

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

.player-card,
.detail-card,
.side-panel {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
  background: #000;
}

.video-shell {
  position: relative;
  background: #000;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.34), rgba(2, 6, 23, 0.78));
}

.play-layer.hidden {
  display: none;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange-600);
  box-shadow: 0 18px 38px rgba(234, 88, 12, 0.36);
  font-size: 34px;
}

.play-layer strong {
  max-width: min(80%, 620px);
  font-size: 24px;
  text-align: center;
}

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

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

.detail-card h2 {
  margin: 32px 0 12px;
  font-size: 24px;
}

.detail-card p {
  margin: 0;
  color: #334155;
  font-size: 16px;
}

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

.detail-tags {
  margin-top: 20px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.related-section {
  width: 100%;
  padding-bottom: 0;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.side-poster {
  height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.side-panel {
  padding: 22px;
}

.side-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.side-panel dl {
  margin: 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 9px 12px;
}

.side-panel dt {
  color: var(--text-muted);
}

.side-panel dd {
  margin: 0;
  font-weight: 700;
}

.side-panel a:hover {
  color: var(--orange-600);
}

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

.side-rank {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 13px;
  background: var(--slate-50);
}

.side-rank span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  background: var(--orange-600);
  font-weight: 800;
}

.side-rank strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.side-rank em {
  color: var(--orange-600);
  font-style: normal;
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--slate-950);
}

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

.footer-brand,
.site-footer h2 {
  color: #fff;
  font-weight: 900;
}

.footer-brand {
  margin-bottom: 12px;
  font-size: 24px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.56);
}

.filter-item.filtered-out {
  display: none;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-card {
    display: none;
  }

  .search-spotlight,
  .compact-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

  .wide-item {
    grid-template-columns: 50px 180px minmax(0, 1fr);
  }

  .wide-cover {
    width: 180px;
    height: 104px;
  }

  .detail-side {
    grid-template-columns: 280px 1fr;
  }

  .side-panel:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 62px;
  }

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

  .hero-carousel {
    min-height: 560px;
  }

  .hero-content {
    padding: 72px 0 110px;
  }

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

  .search-spotlight,
  .spotlight-search,
  .inline-filter,
  .advanced-search {
    grid-template-columns: 1fr;
  }

  .spotlight-search,
  .inline-filter,
  .advanced-search {
    display: grid;
  }

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-cover {
    min-height: 240px;
  }

  .wide-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .wide-cover {
    grid-column: 1 / -1;
    width: 100%;
    height: 190px;
  }

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

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

  .side-poster {
    height: 360px;
  }

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

@media (max-width: 460px) {
  .poster-link {
    height: 240px;
  }

  .hero-actions,
  .detail-actions {
    display: grid;
  }

  .play-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}
