:root {
  color-scheme: light;
  --amber: #f59e0b;
  --orange: #f97316;
  --yellow: #facc15;
  --dark: #111827;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #f1f5f9;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 48%, #fef3c7 100%);
  color: #1f2937;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--amber), var(--orange), #d97706);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.28);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  font-size: 24px;
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.08) rotate(-4deg);
}

.logo-text {
  font-size: 21px;
}

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

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

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

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  color: #1f2937;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.header-search input {
  width: 240px;
  padding: 10px 46px 10px 18px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: #ffffff;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button {
  position: absolute;
  right: 4px;
  width: 34px;
  height: 34px;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
  background: #7c2d12;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

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

.mobile-panel-inner {
  padding: 14px 0 18px;
}

.mobile-search {
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 16px;
}

.mobile-search button {
  padding: 11px 18px;
}

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

.mobile-link {
  color: #ffffff;
  font-weight: 700;
  padding: 8px 0;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111827;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  color: #ffffff;
  animation: fadeUp 0.8s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.95);
}

.hero-copy p {
  max-width: 610px;
  margin: 0 0 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.ghost-button.light {
  background: rgba(255, 255, 255, 0.24);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.hero-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: width 0.3s ease, background 0.3s ease;
}

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

.section-block {
  padding: 72px 0;
}

.section-band {
  padding: 72px 0;
  background: linear-gradient(90deg, #ffedd5, #fef3c7);
}

.section-title {
  margin-bottom: 30px;
}

.section-title.centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title.row-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-title h2,
.page-hero h1,
.detail-card h1,
.detail-card h2 {
  margin: 0;
  color: #1f2937;
  font-weight: 850;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.section-title p,
.page-hero-copy {
  margin: 8px 0 0;
  color: #6b7280;
}

.section-title a,
.related-block .row-title a {
  color: #d97706;
  font-weight: 800;
}

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

.category-card,
.category-overview-card {
  min-height: 210px;
  padding: 24px;
  border: 2px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: var(--shadow);
}

.category-card span,
.category-main-link span {
  display: inline-flex;
  font-size: 42px;
  margin-bottom: 12px;
}

.category-card h3,
.category-main-link h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #1f2937;
}

.category-card p,
.category-main-link p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

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

.category-mini-links a {
  max-width: 100%;
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fed7aa);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--amber);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 27px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #1f2937;
  font-size: 18px;
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #6b7280;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
}

.card-meta span:first-child {
  color: #ca8a04;
  font-weight: 850;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
}

.movie-card-large .large-image {
  height: 360px;
}

.card-body-large h3 {
  font-size: 25px;
  -webkit-line-clamp: 2;
}

.movie-card-horizontal {
  display: flex;
  gap: 0;
}

.horizontal-image {
  width: 190px;
  height: 132px;
  flex: 0 0 190px;
}

.horizontal-list {
  display: grid;
  gap: 16px;
  align-content: start;
}

.feature-section {
  padding: 72px 0;
  background: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.ranking-section {
  padding: 72px 0;
  background: linear-gradient(135deg, #ffedd5, #fef3c7, #fef9c3);
}

.ranking-list,
.ranking-page-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.ranking-item,
.ranking-row {
  display: grid;
  grid-template-columns: 54px 84px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row {
  grid-template-columns: 58px 110px 1fr 150px;
  padding: 16px;
}

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

.rank-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 900;
}

.rank-1 {
  background: #facc15;
  color: #ffffff;
}

.rank-2 {
  background: #d1d5db;
  color: #ffffff;
}

.rank-3 {
  background: #fb923c;
  color: #ffffff;
}

.ranking-item img,
.ranking-row img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-row img {
  width: 110px;
  height: 110px;
}

.ranking-item h3,
.ranking-row h2 {
  margin: 0 0 4px;
  color: #1f2937;
  font-size: 18px;
}

.ranking-item p,
.ranking-row p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.ranking-row p {
  -webkit-line-clamp: 2;
}

.ranking-score {
  text-align: right;
}

.ranking-score strong {
  display: block;
  color: #ca8a04;
  font-size: 20px;
}

.ranking-score span {
  color: #6b7280;
  font-size: 13px;
}

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

.review-card,
.review-box {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-head > span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.review-head strong {
  display: block;
  color: #1f2937;
}

.review-head p {
  margin: 0;
  color: #eab308;
}

.review-card > p,
.review-box > p {
  margin: 0;
  color: #4b5563;
}

.review-card a {
  display: inline-flex;
  margin-top: 14px;
  color: #d97706;
  font-weight: 700;
}

.page-hero {
  padding: 86px 0;
  color: #ffffff;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 25%), linear-gradient(90deg, var(--amber), var(--orange));
}

.page-hero p {
  margin: 0 0 12px;
  font-weight: 850;
  opacity: 0.9;
}

.page-hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
}

.page-hero-copy {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 13px 16px;
}

.empty-state {
  margin-top: 24px;
  padding: 40px;
  border-radius: 20px;
  background: #ffffff;
  color: #6b7280;
  text-align: center;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.detail-shell {
  padding: 34px 0 72px;
  background: linear-gradient(135deg, #f9fafb, #fff7ed);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a {
  color: #d97706;
  font-weight: 700;
}

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

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: var(--radius);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
  color: #ffffff;
  transition: background 0.2s ease;
}

.play-trigger span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 38px;
  text-indent: 5px;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.play-trigger:hover span {
  transform: scale(1.08);
}

.play-trigger[hidden] {
  display: none;
}

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

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.detail-card h1 {
  font-size: clamp(28px, 4vw, 38px);
}

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

.detail-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  color: #6b7280;
}

.score-pill {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  font-weight: 900;
}

.detail-tags span {
  background: #ffedd5;
  color: #b45309;
}

.text-section {
  border-top: 1px solid #f1f5f9;
  margin-top: 20px;
  padding-top: 4px;
}

.text-section p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 17px;
}

.detail-side {
  min-width: 0;
}

.sticky-card {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.side-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, #fde68a, #fed7aa);
}

.side-card h2 {
  margin: 18px 0 12px;
  color: #1f2937;
  font-size: 21px;
}

.info-list {
  margin: 0;
}

.info-list div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.info-list dt {
  color: #6b7280;
}

.info-list dd {
  margin: 0;
  color: #1f2937;
  font-weight: 800;
  text-align: right;
}

.info-list a {
  color: #d97706;
}

.related-block {
  padding-bottom: 0;
}

.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin-top: 28px;
}

.search-page-form input {
  flex: 1;
  padding: 15px 18px;
}

.search-page-form button {
  padding: 0 28px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 20px;
}

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

.site-footer p {
  margin: 0;
  color: #9ca3af;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 8px 0;
  color: #9ca3af;
}

.site-footer a:hover {
  color: #f59e0b;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

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

  .sticky-card {
    position: static;
  }

  .side-cover {
    max-height: 420px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    height: 560px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

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

  .hero-control {
    display: none;
  }

  .section-block,
  .section-band,
  .feature-section,
  .ranking-section {
    padding: 48px 0;
  }

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

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

  .card-image {
    height: 180px;
  }

  .movie-card-horizontal {
    display: block;
  }

  .horizontal-image {
    width: 100%;
    height: 190px;
  }

  .ranking-item,
  .ranking-row {
    grid-template-columns: 42px 70px 1fr;
  }

  .ranking-item strong,
  .ranking-score {
    grid-column: 3;
    text-align: left;
  }

  .ranking-item img,
  .ranking-row img {
    width: 70px;
    height: 70px;
  }

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

  .detail-title-row {
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .logo-text {
    font-size: 18px;
  }

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

  .hero-actions,
  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .search-page-form button {
    width: 100%;
  }
}
