* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #0891b2;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  --soft-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 36rem);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.32);
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 12px;
  color: #334155;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link.compact {
  font-size: 14px;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}

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

.header-search input:focus,
.large-search input:focus,
.filter-panel input:focus,
.search-page-panel input:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.header-search button,
.large-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  padding: 11px 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.large-search button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f1f5f9;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: #334155;
}

.mobile-nav a:hover {
  color: var(--blue);
  background: #eff6ff;
}

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

.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  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.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.10) 62%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.05) 62%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  left: 0;
  right: 0;
  padding-bottom: 76px;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.82);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1.03;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero p {
  max-width: 690px;
  margin: 0;
  color: #e2e8f0;
  font-size: clamp(16px, 2.4vw, 21px);
}

.hero-meta,
.movie-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta {
  margin-top: 18px;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

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

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.34);
}

.btn.primary:hover {
  background: var(--blue-dark);
}

.btn.ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.48);
  backdrop-filter: blur(10px);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.72);
  transform: scale(1.06);
}

.hero-arrow.left {
  left: 24px;
}

.hero-arrow.right {
  right: 24px;
}

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

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

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

.container,
.page-section,
.quick-search-panel,
.split-section {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.quick-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-top: -36px;
  position: relative;
  z-index: 4;
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-panel h2,
.page-title h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.quick-search-panel p,
.page-title p,
.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.large-search {
  display: flex;
  gap: 10px;
}

.page-section {
  margin-top: 56px;
}

.page-section.surface,
.page-section.category-surface,
.detail-main-card,
.detail-side-card,
.filter-panel,
.search-page-panel,
.ranking-card,
.category-overview-card {
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.page-section.surface,
.page-section.category-surface {
  padding: 28px;
}

.page-section.category-surface {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
}

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

.rail-list {
  display: flex;
  gap: 20px;
  padding: 4px 0 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.rail-list .movie-card {
  min-width: 290px;
  max-width: 290px;
  scroll-snap-align: start;
}

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

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

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

.movie-card {
  min-width: 0;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: #0f172a;
  box-shadow: var(--soft-shadow);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
  filter: brightness(0.72);
}

.poster-region,
.poster-rating,
.poster-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(2, 6, 23, 0.66);
  backdrop-filter: blur(8px);
}

.poster-region {
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 9px;
}

.poster-rating {
  top: 10px;
  right: 10px;
  padding: 4px 9px;
}

.poster-play {
  left: 50%;
  top: 50%;
  padding: 10px 18px;
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity 0.25s ease, transform 0.25s ease;
  background: rgba(37, 99, 235, 0.88);
}

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

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

.movie-card h3,
.compact-row h3,
.ranking-card h2,
.category-overview-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.movie-card h3 a,
.compact-row h3 a,
.ranking-card h2 a,
.category-overview-card h2 a {
  transition: color 0.2s ease;
}

.movie-card:hover h3 a,
.compact-row:hover h3 a,
.ranking-card:hover h2 a,
.category-overview-card:hover h2 a {
  color: var(--blue);
}

.movie-card p,
.compact-row p,
.ranking-card p,
.category-overview-card p {
  margin: 7px 0 9px;
  color: var(--muted);
  font-size: 14px;
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 22px;
  border-radius: 20px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: var(--soft-shadow);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-card:hover img {
  opacity: 0.48;
  transform: scale(1.08);
}

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

.category-card h3,
.category-card p,
.category-card span {
  position: relative;
  z-index: 1;
}

.category-card span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.category-card h3 {
  margin: 96px 0 8px;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
  margin-bottom: 64px;
}

.rank-list,
.latest-list,
.side-related-list {
  display: grid;
  gap: 14px;
}

.compact-row {
  display: grid;
  grid-template-columns: auto 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background 0.2s ease, border 0.2s ease;
}

.compact-row:hover {
  border-color: var(--border);
  background: #ffffff;
}

.rank-no {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.compact-cover {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0f172a;
}

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

.page-top {
  padding-top: 38px;
  padding-bottom: 64px;
}

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

.page-title span,
.detail-category {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #dbeafe;
  font-size: 13px;
  font-weight: 900;
}

.page-title h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 54px);
}

.category-title-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 15px;
  color: #334155;
  background: #f1f5f9;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: var(--blue);
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 18px;
}

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

.category-mosaic img {
  width: 100%;
  height: 106px;
  object-fit: cover;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 52px 130px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.ranking-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
}

.ranking-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #0f172a;
}

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

.search-page-panel {
  margin-bottom: 28px;
  padding: 22px;
}

.search-count {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

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

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

.player-shell {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.26);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.big-play span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
}

.big-play:hover {
  background: var(--blue-dark);
  transform: translate(-50%, -50%) scale(1.04);
}

.player-shell.is-playing .big-play {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.60);
  font-size: 13px;
}

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

.detail-main-card,
.detail-side-card {
  padding: 24px;
}

.detail-title-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: start;
}

.detail-title-row > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.detail-title-row h1 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.detail-title-row p {
  margin: 0 0 18px;
  color: #475569;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.detail-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.detail-section p {
  margin: 0;
  color: #334155;
  line-height: 1.9;
}

.detail-tags span {
  min-height: 30px;
  padding: 0 12px;
  font-size: 13px;
}

.detail-side-card {
  position: sticky;
  top: 98px;
  align-self: start;
}

.detail-side-card .compact-row {
  grid-template-columns: 96px 1fr;
}

.detail-side-card .rank-no {
  display: none;
}

.detail-related-section {
  margin-bottom: 60px;
}

.site-footer {
  margin-top: 42px;
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-brand {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #93c5fd;
  font-size: 16px;
}

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

.site-footer li + li {
  margin-top: 8px;
}

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

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

[hidden] {
  display: none !important;
}

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

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

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

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

  .detail-side-card {
    position: static;
  }
}

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

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

  .hero {
    height: 520px;
  }

  .hero-content {
    padding-bottom: 68px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-panel,
  .large-search,
  .footer-grid,
  .category-overview-card,
  .detail-title-row {
    grid-template-columns: 1fr;
  }

  .large-search {
    display: grid;
  }

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

  .ranking-card {
    grid-template-columns: 42px 92px 1fr;
    gap: 12px;
  }

  .compact-row {
    grid-template-columns: 96px 1fr;
  }

  .compact-row .rank-no {
    display: none;
  }

  .detail-title-row > img {
    width: min(260px, 100%);
  }
}

@media (max-width: 540px) {
  .header-inner,
  .container,
  .page-section,
  .quick-search-panel,
  .split-section,
  .footer-grid,
  .copyright {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero {
    height: 500px;
  }

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

  .movie-grid,
  .movie-grid.four,
  .category-page-grid {
    gap: 16px;
  }

  .page-section.surface,
  .page-section.category-surface,
  .detail-main-card,
  .detail-side-card {
    padding: 18px;
  }

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

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

  .ranking-cover {
    width: 150px;
  }

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