:root {
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --blue: #2563eb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbeafe;
  --paper: #ffffff;
  --soft: #f0fdfa;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

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

body.no-scroll {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(236, 254, 255, 0.95), rgba(239, 246, 255, 0.94), rgba(240, 253, 250, 0.95));
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.12);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 12px 25px rgba(6, 182, 212, 0.25);
}

.brand-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #0891b2, #0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  color: #334155;
  font-weight: 650;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0891b2;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.search-form,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 260px;
  height: 42px;
  padding: 0 46px 0 18px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

.search-button {
  position: absolute;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  background: #cffafe;
  color: #0f766e;
  width: 42px;
  height: 42px;
  font-size: 22px;
  cursor: pointer;
}

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

.mobile-panel.open {
  display: block;
}

.mobile-search {
  margin-bottom: 12px;
}

.mobile-search .search-input {
  width: 100%;
}

.mobile-nav {
  display: grid;
  gap: 6px;
}

.mobile-link {
  padding: 11px 14px;
  border-radius: 14px;
  color: #334155;
  font-weight: 650;
}

.mobile-link:hover,
.mobile-link.active {
  color: #0891b2;
  background: #ecfeff;
}

.hero-carousel {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-image,
.detail-bg,
.category-tile img,
.ranking-poster img,
.poster-frame img,
.detail-poster img,
.mini-posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(circle at 25% 20%, #67e8f9, transparent 32%), linear-gradient(135deg, #0f172a, #164e63 48%, #0f766e);
}

img.image-missing {
  opacity: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.55) 50%, rgba(2, 6, 23, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  color: white;
}

.hero-kicker {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  color: #facc15;
  font-weight: 750;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 710px;
  margin: 22px 0 0;
  color: #e2e8f0;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.13);
  color: #0e7490;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(6, 182, 212, 0.9);
  color: white;
}

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

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

.primary-action {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.28);
}

.primary-action.dark {
  color: #0f766e;
  background: white;
}

.secondary-action {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

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

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--cyan);
}

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

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

.section-heading h2,
.side-panel h2,
.copy-card h2 {
  margin: 0;
  color: #1e293b;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.section-more {
  color: #0891b2;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.65);
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(circle at top left, #67e8f9, transparent 35%), linear-gradient(135deg, #0f172a, #155e75, #0f766e);
}

.poster-frame img {
  transition: transform 0.5s ease, opacity 0.25s ease;
}

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

.movie-type {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(6, 182, 212, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.play-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: white;
  background: rgba(6, 182, 212, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.movie-card strong {
  color: #1e293b;
  font-size: 18px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card em {
  min-height: 42px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

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

.movie-card.compact strong {
  font-size: 16px;
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.18));
}

.category-tile img {
  position: absolute;
  inset: 0;
  transition: transform 0.45s ease;
}

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

.category-tile span,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
  color: white;
}

.category-tile span {
  margin: 74px 18px 6px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  margin: 0 18px 18px;
  color: #cbd5e1;
  font-style: normal;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.rank-panel,
.callout-panel,
.filter-card,
.copy-card,
.side-panel,
.category-overview-card {
  border: 1px solid rgba(186, 230, 253, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.rank-panel {
  padding: 28px;
}

.callout-panel {
  padding: 34px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.callout-panel h2 {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.callout-panel p {
  margin: 0 0 24px;
  line-height: 1.8;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 52px 96px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  transition: background 0.25s ease, transform 0.25s ease;
}

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

.ranking-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #475569;
  background: #e2e8f0;
  font-weight: 900;
}

.ranking-index.top-one,
.ranking-index.top-two,
.ranking-index.top-three {
  color: white;
}

.ranking-index.top-one {
  background: #eab308;
}

.ranking-index.top-two {
  background: #94a3b8;
}

.ranking-index.top-three {
  background: #ea580c;
}

.ranking-poster {
  display: block;
  height: 64px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #164e63, #0f766e);
}

.ranking-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ranking-copy strong {
  overflow: hidden;
  color: #1e293b;
  font-size: 17px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy em {
  color: #64748b;
  font-style: normal;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-meta {
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

.full-ranking {
  padding: 18px;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  border-radius: 30px;
  color: white;
  background: radial-gradient(circle at top left, rgba(103, 232, 249, 0.62), transparent 33%), linear-gradient(135deg, #0f172a, #164e63, #0f766e);
  box-shadow: var(--shadow);
}

.small-hero {
  padding: 48px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #e0f2fe;
  font-size: 17px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.filter-card {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
  padding: 20px;
}

.filter-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-line strong {
  margin-right: 6px;
  color: #0f172a;
}

.filter-line button {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  color: #0f766e;
  background: #ecfeff;
  cursor: pointer;
  font-weight: 750;
}

.filter-line button.active,
.filter-line button:hover {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.category-overview-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.mini-posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 90px;
}

.mini-posters img {
  overflow: hidden;
  border-radius: 12px;
}

.category-overview-card strong {
  font-size: 22px;
  font-weight: 900;
}

.category-overview-card em {
  color: #64748b;
  font-style: normal;
  line-height: 1.65;
}

.search-results {
  padding-bottom: 0;
}

.search-result-panel {
  padding: 28px;
  border: 1px solid rgba(186, 230, 253, 0.8);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: white;
  background: #020617;
}

.detail-bg,
.detail-bg-shade {
  position: absolute;
  inset: 0;
}

.detail-bg-shade {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.22));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  background: linear-gradient(135deg, #164e63, #0f766e);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.detail-main-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-badges span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #e0f2fe;
  font-weight: 750;
}

.detail-one-line {
  max-width: 800px;
  margin: 20px 0 18px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags {
  margin-bottom: 24px;
}

.detail-tags span {
  color: white;
  background: rgba(6, 182, 212, 0.8);
}

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

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

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #1e293b, #020617 60%);
}

.player-video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.42));
  cursor: pointer;
}

.player-card.playing .play-cover {
  display: none;
}

.play-circle {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 20px 45px rgba(6, 182, 212, 0.35);
  font-size: 34px;
}

.play-cover strong {
  font-size: 19px;
}

.copy-card,
.side-panel {
  padding: 28px;
}

.copy-card h2,
.side-panel h2 {
  margin-bottom: 16px;
  font-size: 25px;
}

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

.review-card {
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0f2fe;
}

.info-list dt {
  color: #0891b2;
  font-weight: 850;
}

.info-list dd {
  margin: 0;
  color: #334155;
}

.side-panel {
  align-self: start;
  position: sticky;
  top: 96px;
}

.side-grid {
  display: grid;
  gap: 16px;
}

.side-grid .movie-card {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.side-grid .poster-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 118px;
}

.side-grid .tag-row {
  display: none;
}

.site-footer {
  margin-top: 44px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a 60%, #164e63);
}

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

.footer-brand {
  color: white;
  font-size: 24px;
  font-weight: 900;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.1);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

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

  .split-section,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

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

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

  .hero-carousel {
    height: 560px;
  }

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

  .content-section {
    padding: 38px 0;
  }

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

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

  .ranking-row {
    grid-template-columns: 42px 74px 1fr;
  }

  .ranking-meta {
    display: none;
  }

  .small-hero {
    padding: 34px 22px;
  }

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

  .detail-poster {
    width: min(240px, 70vw);
  }

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

@media (max-width: 520px) {
  .movie-grid,
  .movie-grid.dense,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
