:root {
  --emerald: #059669;
  --emerald-dark: #047857;
  --teal: #0d9488;
  --amber: #f59e0b;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #ecfdf5;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 45%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #065f46;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.32);
}

.brand-name {
  white-space: nowrap;
  font-size: 1.12rem;
}

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

.nav-link,
.mobile-nav-link {
  color: #334155;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--emerald);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(300px, 28vw);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
}

.header-search input,
.mobile-search input,
.quick-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search button,
.mobile-search button,
.quick-search button {
  border: 0;
  cursor: pointer;
  color: white;
  background: var(--emerald);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #ecfdf5;
  cursor: pointer;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--emerald-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 18px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero-carousel {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5 0%, #f0fdfa 46%, #fffbeb 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 10%, rgba(255, 255, 255, 0.65) 44%, rgba(255, 255, 255, 0.98) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 70px 20px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: 54px;
  align-items: center;
}

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

.hero-kicker,
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--emerald-dark);
  background: rgba(236, 253, 245, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 22px 0 22px;
  color: #065f46;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy h1 strong {
  color: transparent;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 24px;
  color: #334155;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

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

.primary-button,
.secondary-button,
.panel-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: white;
  background: var(--emerald);
  box-shadow: 0 15px 30px rgba(5, 150, 105, 0.32);
}

.secondary-button {
  color: var(--emerald-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(5, 150, 105, 0.65);
}

.primary-button:hover,
.secondary-button:hover,
.panel-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-poster {
  position: relative;
  display: block;
  max-width: 380px;
  margin-left: auto;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: white;
  background: var(--emerald);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--emerald-dark);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.25);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-search-band {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  padding: 0 20px 24px;
}

.quick-search {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.quick-search input {
  padding: 0 14px;
  font-size: 1rem;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 76px 20px;
}

.soft-section {
  max-width: none;
  padding-left: max(20px, calc((100% - 1280px) / 2 + 20px));
  padding-right: 20px;
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.9), rgba(240, 253, 250, 0.84), rgba(236, 253, 245, 0.9));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2,
.panel-heading h2 {
  margin: 14px 0 10px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.panel-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.movie-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.movie-card[hidden] {
  display: none;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e2e8f0;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.08);
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  color: white;
  font-size: 0.75rem;
  font-weight: 850;
}

.year-badge {
  right: 12px;
  background: var(--emerald);
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, var(--amber), #ef4444);
}

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

.movie-card.compact .movie-card-body {
  padding: 14px;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.movie-card.compact h3 {
  font-size: 0.98rem;
}

.movie-card h3 a:hover {
  color: var(--emerald);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.tag-row {
  margin-top: 12px;
}

.horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x proximity;
}

.wide-card {
  scroll-snap-align: start;
  overflow: hidden;
  background: white;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.wide-card a {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.wide-card img {
  width: 118px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.wide-card h3 {
  margin: 8px 0;
  font-size: 1.15rem;
}

.wide-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

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

.category-tile {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.category-tile img {
  width: 112px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.category-tile span,
.category-overview-body h2 {
  display: block;
  color: #065f46;
  font-size: 1.2rem;
  font-weight: 900;
}

.category-tile p,
.category-overview-body p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-panel,
.poster-card,
.story-card,
.review-card,
.player-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 26px;
}

.panel-heading span {
  color: var(--emerald-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ranking-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "num title" "num meta";
  gap: 4px 12px;
  padding: 13px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-list a:hover {
  background: #ecfdf5;
  transform: translateX(3px);
}

.ranking-list span {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: white;
  background: var(--emerald);
  border-radius: 12px;
  font-weight: 900;
}

.ranking-list strong {
  grid-area: title;
}

.ranking-list em {
  grid-area: meta;
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
}

.panel-more {
  width: 100%;
  color: white;
  background: var(--emerald);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 20px;
  background: linear-gradient(135deg, #d1fae5 0%, #f0fdfa 52%, #fff7ed 100%);
}

.page-hero.slim {
  padding: 72px 20px;
}

.page-hero > div {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  margin: 18px 0 14px;
  color: #064e3b;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-hero p {
  margin: 0;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.category-overview-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 26px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

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

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

.category-overview-body {
  padding: 22px;
}

.category-overview-body span {
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-bar {
  position: sticky;
  top: 76px;
  z-index: 25;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 150px;
  gap: 12px;
  margin-bottom: 30px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.filter-bar input,
.filter-bar select {
  height: 46px;
  padding: 0 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 20px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

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

.player-card {
  padding: 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #020617;
  border-radius: 18px;
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  object-fit: contain;
  cursor: pointer;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.52));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(5, 150, 105, 0.92);
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.4);
  font-size: 2.05rem;
  padding-left: 6px;
}

.story-card,
.review-card,
.poster-card {
  padding: 26px;
}

.story-card h2,
.review-card h2 {
  margin: 0 0 16px;
  color: #064e3b;
  font-size: 1.5rem;
}

.story-card p,
.review-card p,
.poster-card p {
  margin: 0;
  color: #334155;
  line-height: 1.86;
}

.review-box {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
}

.avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  border-radius: 18px;
  font-weight: 900;
}

.stars {
  margin-bottom: 10px;
  color: #f59e0b;
  letter-spacing: 0.08em;
}

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

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
}

.poster-card h1 {
  margin: 22px 0 12px;
  color: #064e3b;
  font-size: 2rem;
  line-height: 1.15;
}

.poster-card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.poster-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.poster-card dt {
  color: var(--muted);
  font-weight: 700;
}

.poster-card dd {
  margin: 0;
  color: #0f172a;
  text-align: right;
  font-weight: 800;
}

.poster-card dd a {
  color: var(--emerald);
}

.related-section {
  padding-top: 56px;
}

.site-footer {
  margin-top: 70px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1.2fr;
  gap: 36px;
}

.footer-wrap p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links,
.footer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: start;
}

.footer-links a,
.footer-cats a {
  color: #475569;
  font-weight: 700;
}

.footer-links a:hover,
.footer-cats a:hover {
  color: var(--emerald);
}

.footer-bottom {
  padding: 18px 20px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

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

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

  .two-column-section,
  .detail-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .detail-side {
    position: static;
  }
}

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

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

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 54px;
  }

  .hero-poster {
    max-width: 260px;
    margin: 0;
    transform: none;
  }

  .hero-arrow {
    top: auto;
    bottom: 72px;
    transform: none;
  }

  .quick-search,
  .filter-bar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .quick-search {
    border-radius: 20px;
  }

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

  .category-tile {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .category-tile img {
    width: 88px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 1rem;
  }

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

  .hero-copy h1 {
    font-size: 2.7rem;
  }

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

  .primary-button,
  .secondary-button,
  .quick-search button {
    width: 100%;
  }

  .content-section {
    padding: 54px 16px;
  }

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

  .wide-card a {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .wide-card img {
    width: 92px;
  }

  .detail-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .player-card,
  .story-card,
  .review-card,
  .poster-card {
    padding: 16px;
  }

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