:root {
  --color-primary: 41 128 185;
  --color-primary-dark: 30 97 140;
  --color-primary-light: 93 173 226;
  --color-secondary: 52 152 219;
  --color-accent: 46 204 113;
  --color-accent-dark: 39 174 96;
  --color-warning: 245 158 11;
  --color-danger: 239 68 68;
  --bg-page: #f7fbff;
  --bg-soft: #eef7ff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --text-main: #142033;
  --text-muted: #5d6b7d;
  --line-soft: rgba(41, 128, 185, 0.16);
  --shadow-sm: 0 8px 22px rgba(26, 72, 112, 0.08);
  --shadow-md: 0 18px 42px rgba(26, 72, 112, 0.14);
  --shadow-xl: 0 28px 80px rgba(19, 42, 69, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-height: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(93, 173, 226, 0.24), transparent 34rem),
    radial-gradient(circle at 80% 8%, rgba(46, 204, 113, 0.16), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg-page) 42%, #eef6fb 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(18, 58, 96, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand {
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgb(var(--color-primary)), rgb(var(--color-accent))),
    rgb(var(--color-primary));
  box-shadow: 0 12px 24px rgba(41, 128, 185, 0.28);
}

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

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

.nav-link,
.mobile-link {
  color: #34475f;
  font-weight: 650;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 15px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: rgb(var(--color-primary-dark));
  background: rgba(41, 128, 185, 0.1);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 290px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-search input,
.mobile-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text-main);
  background: transparent;
}

.nav-search input {
  padding: 7px 6px 7px 12px;
}

.nav-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.filter-button {
  border: 0;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.mobile-search button,
.primary-button,
.filter-button {
  color: #ffffff;
  background: linear-gradient(135deg, rgb(var(--color-primary)), rgb(var(--color-primary-dark)));
  box-shadow: 0 12px 24px rgba(41, 128, 185, 0.23);
}

.nav-search button {
  padding: 7px 15px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
}

.secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.nav-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(41, 128, 185, 0.1);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: rgb(var(--color-primary-dark));
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--line-soft);
}

.mobile-panel.is-open {
  display: grid;
  gap: 10px;
}

.mobile-link {
  padding: 12px 14px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.mobile-search input {
  padding: 8px 10px;
}

.mobile-search button {
  padding: 8px 16px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  background: #07111d;
  color: #ffffff;
}

.hero-track {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease, transform 1.2s ease;
  transform: scale(1.04);
}

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

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 15, 28, 0.93) 0%, rgba(4, 15, 28, 0.73) 42%, rgba(4, 15, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 15, 28, 0.96) 0%, transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -18vw;
  top: 6vh;
  z-index: -1;
  width: 52vw;
  height: 52vw;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.34), transparent 60%);
  filter: blur(8px);
}

.hero-content {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: 56px;
  padding: 86px 0 60px;
}

.hero-copy {
  max-width: 780px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #e4f7ff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 750;
}

.section-kicker {
  color: rgb(var(--color-primary-dark));
  background: rgba(41, 128, 185, 0.1);
  border-color: rgba(41, 128, 185, 0.16);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  color: #b9ecff;
}

.hero-movie-title {
  margin: 22px 0 0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.12;
}

.hero-desc {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-tags span,
.tag-row span,
.meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-search-panel {
  margin: 34px 0 0;
  padding: 12px;
  max-width: 620px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

.hero-search-panel form {
  display: flex;
  gap: 10px;
}

.hero-search-panel input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  color: #ffffff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-search-panel input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search-panel button {
  padding: 0 22px;
  color: #ffffff;
  border: 0;
  border-radius: 18px;
  font-weight: 800;
  background: rgb(var(--color-accent));
}

.hero-side-card {
  align-self: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.23);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
}

.hero-side-card img {
  width: 100%;
  aspect-ratio: 16 / 21;
  object-fit: cover;
}

.hero-side-body {
  padding: 20px;
}

.hero-side-body h2 {
  margin: 0;
  font-size: 24px;
}

.hero-side-body p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

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

.hero-dot {
  width: 30px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

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

.hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-cats a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.section {
  padding: 74px 0;
}

.section.compact {
  padding-top: 48px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-title h1,
.section-title h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-title p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: rgb(var(--color-primary-dark));
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(41, 128, 185, 0.12);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41, 128, 185, 0.26);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0b1724;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.poster-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  transform: scale(0.96);
  transition: transform 0.25s ease, background 0.25s ease;
}

.movie-card:hover .poster-play {
  transform: scale(1.06);
  background: rgb(var(--color-accent));
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, rgb(var(--color-warning)), #ef4444);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.movie-card-body {
  padding: 17px;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.movie-card-meta span,
.movie-card-meta a {
  display: inline-flex;
  align-items: center;
}

.movie-card h2 {
  margin: 10px 0 0;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h2 a:hover {
  color: rgb(var(--color-primary-dark));
}

.movie-card p {
  min-height: 48px;
  margin: 9px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  padding: 5px 9px;
  color: rgb(var(--color-primary-dark));
  background: rgba(41, 128, 185, 0.09);
}

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

.category-card {
  position: relative;
  min-height: 196px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(41, 128, 185, 0.13);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(46, 204, 113, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 255, 0.96));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(41, 128, 185, 0.13);
}

.category-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 25px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 22px;
  color: var(--text-muted);
  line-height: 1.72;
}

.category-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: rgb(var(--color-primary-dark));
  font-weight: 900;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(41, 128, 185, 0.12);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.rank-num {
  color: rgb(var(--color-primary-dark));
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 96px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 15px;
}

.rank-item h2 {
  margin: 0;
  font-size: 20px;
}

.rank-item p {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  gap: 12px;
  margin: 0 0 26px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(41, 128, 185, 0.17);
  border-radius: 16px;
  color: var(--text-main);
  background: #ffffff;
  outline: 0;
}

.filter-button {
  min-height: 48px;
  padding: 0 22px;
}

.empty-state {
  display: none;
  padding: 36px;
  border-radius: 22px;
  color: var(--text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-soft);
}

.empty-state.is-visible {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: rgb(var(--color-primary-dark));
  font-weight: 750;
}

.detail-hero {
  padding: 38px 0 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0b1724;
  box-shadow: var(--shadow-xl);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.meta-chip {
  padding: 7px 12px;
  color: rgb(var(--color-primary-dark));
  background: rgba(41, 128, 185, 0.1);
}

.detail-info .lead {
  margin: 22px 0 0;
  color: #34475f;
  font-size: 18px;
  line-height: 1.9;
}

.detail-actions {
  margin-top: 28px;
}

.content-card {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 27px;
}

.content-card p {
  margin: 0;
  color: #34475f;
  line-height: 1.9;
}

.content-card p + p {
  margin-top: 16px;
}

.player-section {
  padding: 0 0 68px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #050b12;
  box-shadow: var(--shadow-xl);
}

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

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: rgba(3, 9, 16, 0.58);
}

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

.play-button {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding-left: 6px;
  border-radius: 50%;
  font-size: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, rgb(var(--color-accent)), rgb(var(--color-primary)));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease;
}

.play-cover:hover .play-button {
  transform: scale(1.08);
}

.player-title {
  margin: 18px 0 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.site-footer {
  margin-top: 42px;
  padding: 46px 0 0;
  color: #d9e8f7;
  background: linear-gradient(135deg, #07111d, #0d2438);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.site-footer p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-bottom {
  margin-top: 38px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

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

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

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

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

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 72px;
  }

  .hero-side-card {
    max-width: 420px;
  }

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

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

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

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

  .detail-poster {
    max-width: 380px;
  }

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

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

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

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 56px;
  }

  .hero-search-panel form {
    flex-direction: column;
  }

  .hero-search-panel button {
    min-height: 46px;
  }

  .hero-side-card {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    display: block;
  }

  .section-more {
    margin-top: 16px;
  }

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

  .movie-card-body {
    padding: 13px;
  }

  .movie-card h2 {
    font-size: 17px;
  }

  .movie-card p {
    min-height: auto;
  }

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

  .rank-item {
    grid-template-columns: 46px 78px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-num {
    font-size: 24px;
  }

  .rank-item img {
    width: 78px;
  }

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

  .content-card {
    padding: 20px;
  }

  .play-button {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .movie-grid.small {
    grid-template-columns: 1fr;
  }
}
