:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-50: #fdf2f8;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 22px 55px rgba(244, 63, 94, 0.16);
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(
    180deg,
    rgba(255, 241, 242, 0.34),
    #ffffff 36%,
    rgba(255, 241, 242, 0.22)
  );
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.28);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(
    90deg,
    var(--rose-500),
    var(--pink-500),
    var(--rose-400)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--gray-500);
  font-size: 12px;
}

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

.nav-link {
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-500);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: var(--gray-700);
  background: var(--rose-50);
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(244, 63, 94, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

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

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 48px 0 82px;
  background: linear-gradient(
    135deg,
    var(--rose-100),
    var(--pink-50) 45%,
    #ffffff
  );
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  background: rgba(244, 63, 94, 0.18);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-glow-left {
  top: -160px;
  left: -120px;
}

.hero-glow-right {
  right: -120px;
  bottom: -180px;
  background: rgba(236, 72, 153, 0.18);
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.hero-carousel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

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

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

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

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px;
  background: linear-gradient(135deg, #ffffff, var(--rose-50));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--rose-600);
  background: rgba(255, 228, 230, 0.82);
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.8;
}

.hero-tags,
.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.hero-tags span,
.card-tags span,
.tag-list span,
.tag-list a {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  background: var(--rose-50);
  color: var(--rose-600);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.search-bar button,
.pill-link,
.ranking-entry {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.primary-btn,
.search-bar button,
.pill-link,
.ranking-entry {
  color: #ffffff;
  border: 0;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.26);
}

.ghost-btn {
  color: var(--rose-600);
  border: 1px solid rgba(244, 63, 94, 0.18);
  background: #ffffff;
}

.primary-btn:hover,
.ghost-btn:hover,
.search-bar button:hover,
.pill-link:hover,
.ranking-entry:hover {
  transform: translateY(-2px);
}

.hero-controls {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls button {
  border: 0;
}

.hero-controls > button {
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

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

.hero-ranking {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-ranking h2 {
  margin: 16px 0 20px;
  font-size: 30px;
}

.hot-list {
  display: grid;
  gap: 12px;
}

.hot-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  grid-template-areas:
    "num title score"
    "num sub score";
  gap: 2px 12px;
  padding: 11px;
  border-radius: 16px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hot-item:hover {
  background: var(--rose-50);
  transform: translateX(3px);
}

.list-num {
  grid-area: num;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  font-weight: 800;
}

.hot-title {
  grid-area: title;
  overflow: hidden;
  color: var(--gray-800);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-sub {
  grid-area: sub;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-score {
  grid-area: score;
  color: var(--rose-500);
  font-weight: 800;
}

.ranking-entry {
  margin-top: auto;
}

.quick-search-panel {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xl);
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-bar input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: none;
  background: #ffffff;
  padding: 0 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-bar input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  color: var(--rose-600);
  background: var(--rose-50);
  border-radius: var(--radius-full);
  padding: 8px 13px;
  font-weight: 700;
  font-size: 13px;
}

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

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

.section-head h2,
.page-hero h1 {
  margin: 12px 0 0;
  color: var(--gray-800);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.text-link {
  color: var(--rose-600);
  font-weight: 800;
}

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

.category-card,
.category-overview-card,
.movie-card,
.side-card,
.detail-content,
.player-card,
.cta-panel,
.filter-panel {
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.1);
  box-shadow: var(--shadow-md);
}

.category-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  height: 84px;
  overflow: hidden;
  border-radius: 16px;
}

.category-thumbs img,
.category-cover-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h3,
.category-overview-card h2 {
  margin: 0;
  color: var(--gray-800);
}

.category-card p,
.category-overview-card p,
.cta-panel p,
.site-footer p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.card-cover {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

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

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

.card-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
  opacity: 1;
}

.card-type,
.card-time,
.rank-badge,
.card-play {
  position: absolute;
  z-index: 2;
}

.card-type {
  top: 12px;
  left: 12px;
  color: #ffffff;
  background: var(--rose-500);
  border-radius: 9px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.card-time {
  right: 12px;
  bottom: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  font-weight: 900;
}

.card-play {
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  backdrop-filter: blur(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--rose-500);
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  color: var(--gray-500);
  font-size: 12px;
  justify-content: space-between;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.card-tags span {
  padding: 4px 8px;
  font-size: 12px;
}

.page-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--rose-100), var(--pink-50), #ffffff);
}

.compact-hero p {
  max-width: 760px;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 90px 90px;
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
}

.pill-link {
  margin-top: 16px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.filter-panel {
  margin-top: 36px;
  margin-bottom: 72px;
  padding: 24px;
  border-radius: 24px;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 220px 220px;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.search-filter-grid {
  grid-template-columns: minmax(0, 1.2fr) 190px 160px 190px;
}

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.genre-pills button {
  color: var(--rose-600);
  border: 1px solid rgba(244, 63, 94, 0.16);
  border-radius: var(--radius-full);
  background: var(--rose-50);
  padding: 8px 12px;
  font-weight: 700;
}

.genre-pills button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.detail-wrap {
  padding: 34px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gray-500);
  font-size: 14px;
}

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

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.player-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.84);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  font-size: 34px;
}

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

.detail-content {
  margin-top: 24px;
  padding: 28px;
  border-radius: 22px;
}

.detail-content h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.detail-meta {
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gray-500);
}

.detail-meta span {
  border-radius: var(--radius-full);
  background: var(--gray-100);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.detail-content section {
  margin-top: 24px;
}

.detail-content h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-content p,
.review-box p {
  margin: 0 0 14px;
  color: var(--gray-600);
  line-height: 1.9;
}

.review-box {
  padding: 22px;
  border: 1px solid rgba(244, 63, 94, 0.13);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rose-50), var(--pink-50));
}

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

.side-card {
  position: sticky;
  top: 104px;
  padding: 22px;
  border-radius: 22px;
}

.related-list {
  display: grid;
  gap: 14px;
}

.related-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 8px;
  transition: background 0.2s ease;
}

.related-row:hover {
  background: var(--rose-50);
}

.related-row img {
  width: 112px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.related-row strong,
.related-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-row strong {
  color: var(--gray-800);
  font-size: 14px;
  white-space: nowrap;
}

.related-row em {
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
  margin-top: 6px;
}

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

.cta-panel {
  margin: 70px auto;
  padding: 54px 24px;
  border: 0;
  color: #ffffff;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(
    90deg,
    var(--rose-500),
    var(--pink-500),
    var(--rose-400)
  );
  box-shadow: var(--shadow-xl);
}

.cta-panel h2 {
  margin: 12px 0;
  font-size: clamp(28px, 3vw, 42px);
}

.cta-panel p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.cta-icon {
  display: inline-flex;
  font-size: 40px;
}

.site-footer {
  border-top: 1px solid rgba(244, 63, 94, 0.12);
  background: linear-gradient(180deg, var(--rose-50), #ffffff);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 46px 0 26px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--gray-600);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--rose-500);
}

.copyright {
  padding: 18px 0 28px;
  color: var(--gray-500);
  font-size: 13px;
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-container,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-ranking {
    min-height: auto;
  }

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

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

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

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

  .nav-wrap {
    height: 68px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .hero-shell {
    padding-top: 30px;
  }

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

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

  .hero-image {
    min-height: 300px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-controls {
    left: 20px;
    bottom: 18px;
  }

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

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

  .card-cover {
    height: 190px;
  }

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

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

@media (max-width: 520px) {
  .site-container {
    width: min(100% - 22px, 1180px);
  }

  .hero-carousel {
    border-radius: 22px;
  }

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

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

  .quick-search-panel,
  .filter-panel,
  .detail-content,
  .side-card {
    padding: 18px;
    border-radius: 18px;
  }

  .movie-grid,
  .ranking-grid,
  .ranking-grid-all,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .card-cover {
    height: 230px;
  }

  .related-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .related-row img {
    width: 96px;
  }
}
