:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  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.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

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

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand-text em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(330px, 32vw);
}

.header-search input,
.filter-card input,
.quick-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  height: 40px;
  padding: 0 16px;
}

.header-search input:focus,
.filter-card input:focus,
.quick-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.header-search button,
.quick-card button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  height: 40px;
  padding: 0 18px;
}

.header-search button:hover,
.quick-card button:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.36);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 12px;
  gap: 10px;
  overflow-x: auto;
}

.mobile-nav .nav-link,
.category-strip a,
.category-tabs a {
  white-space: nowrap;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav .nav-link.active,
.mobile-nav .nav-link:hover,
.category-strip a:hover,
.category-tabs a:hover,
.category-tabs a.active {
  color: #ffffff;
  background: var(--blue);
}

.category-strip {
  display: flex;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  overflow-x: auto;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #020617;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.62) 45%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  bottom: 13%;
  width: min(780px, calc(100% - 64px));
  color: #ffffff;
}

.hero-tags,
.tag-list,
.genre-list,
.meta-row,
.detail-meta,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-list span,
.genre-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.26);
  border: 1px solid rgba(191, 219, 254, 0.24);
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p {
  width: min(680px, 100%);
  margin: 0 0 28px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

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

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.hero-dot.active {
  background: #ffffff;
}

.quick-search {
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.quick-card {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quick-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.quick-card form {
  display: flex;
  gap: 10px;
}

.quick-card input {
  min-height: 50px;
  padding: 0 18px;
}

.quick-card button {
  min-width: 118px;
  border: 0;
  padding: 0 22px;
}

.page-section,
.page-main {
  padding: 54px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-more,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

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

.movie-card,
.wide-card,
.compact-card,
.category-overview-card,
.rank-row,
.side-card,
.detail-article,
.detail-info-card,
.player-card,
.ranking-panel,
.latest-panel,
.filter-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

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

.movie-card:hover,
.wide-card:hover,
.rank-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.15);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f172a;
}

.poster-wrap img,
.wide-cover img,
.rank-row-cover img,
.category-tile img,
.category-preview img,
.rank-thumb img,
.detail-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-wrap img,
.wide-cover img,
.category-tile img,
.rank-row-cover img {
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-wrap img,
.wide-card:hover .wide-cover img,
.category-tile:hover img,
.rank-row:hover .rank-row-cover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-play,
.play-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.88);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-year {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 15px;
}

.card-body h2 {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.35;
}

.card-body h2 a:hover,
.wide-title:hover,
.rank-row h2 a:hover,
.category-overview-body h2 a:hover {
  color: var(--blue);
}

.card-body p,
.wide-body p,
.rank-row-body p,
.detail-one-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  -webkit-line-clamp: 2;
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-meta,
.meta-row,
.detail-meta {
  color: var(--muted);
  font-size: 13px;
}

.card-meta span,
.meta-row span,
.detail-meta span {
  border-radius: 999px;
  background: #f3f4f6;
  padding: 5px 9px;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 20px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.tile-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.24));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 20px;
  right: 20px;
}

.category-tile strong {
  bottom: 62px;
  font-size: 24px;
}

.category-tile em {
  bottom: 22px;
  color: #dbeafe;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

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

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

.wide-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.play-badge {
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.wide-card:hover .play-badge {
  opacity: 1;
}

.wide-body {
  min-width: 0;
  padding: 18px;
}

.wide-title {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.wide-body p,
.rank-row-body p {
  -webkit-line-clamp: 2;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.ranking-panel {
  align-self: start;
  padding: 24px;
}

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

.ranking-list a {
  display: grid;
  grid-template-columns: 38px 70px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.rank-no {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.ranking-list img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rank-info strong,
.compact-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em,
.compact-info em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.latest-panel {
  padding: 30px;
}

.compact-grid,
.side-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-card {
  box-shadow: none;
  border: 1px solid var(--line);
  overflow: hidden;
}

.compact-link {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rank-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.compact-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 12px;
}

.page-title {
  padding-top: 34px;
  padding-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.05em;
}

.page-title p {
  width: min(760px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.category-overview-card {
  overflow: hidden;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 150px;
  overflow: hidden;
  background: #0f172a;
}

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

.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-overview-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.filter-card {
  margin-bottom: 24px;
  padding: 18px;
}

.filter-card input {
  height: 52px;
  padding: 0 18px;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rank-row-cover span {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 900;
}

.rank-row-body {
  padding: 22px;
}

.rank-row h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.detail-main {
  padding-bottom: 54px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero-section {
  padding: 30px 0 48px;
  background: radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.24), transparent 35%), linear-gradient(135deg, #020617, #0f172a 54%, #111827);
}

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

.player-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000000;
}

.video-shell video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-left: 5px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.48);
  font-size: 30px;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #0f172a;
}

.detail-copy h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.15;
}

.detail-one-line {
  -webkit-line-clamp: 4;
  color: #dbeafe;
  line-height: 1.75;
}

.detail-meta {
  margin: 16px 0;
}

.detail-meta span {
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.12);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  padding-top: 42px;
}

.detail-article {
  padding: 28px;
}

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

.detail-article h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.side-card {
  align-self: start;
  padding: 20px;
}

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.footer-brand p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.8;
}

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

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

.footer-links a {
  color: #cbd5e1;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 16px;
  color: #9ca3af;
  text-align: center;
}

.movie-item.is-hidden {
  display: none;
}

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

  .mobile-nav {
    display: flex;
  }

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

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

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

  .ranking-panel,
  .side-card {
    width: 100%;
  }
}

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

  .brand-text em {
    display: none;
  }

  .hero {
    height: 66vh;
    min-height: 470px;
  }

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

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-dots {
    left: 20px;
  }

  .quick-card,
  .quick-card form,
  .wide-card,
  .rank-row,
  .detail-info-card {
    grid-template-columns: 1fr;
  }

  .poster-grid,
  .wide-grid,
  .category-list,
  .search-list,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .wide-card {
    display: block;
  }

  .wide-cover,
  .rank-row-cover {
    aspect-ratio: 16 / 9;
  }

  .detail-poster {
    width: min(210px, 62vw);
  }
}

@media (max-width: 520px) {
  .container,
  .header-inner,
  .mobile-nav,
  .category-strip,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .poster-grid,
  .wide-grid,
  .category-list,
  .search-list,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .compact-link {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .hero-content p {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }
}
