:root {
  --site-bg: #f8f7f4;
  --surface: #ffffff;
  --surface-soft: #f2f7f1;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #e7e5e4;
  --brand: #16a34a;
  --brand-dark: #15803d;
  --gold: #f59e0b;
  --shadow: 0 24px 60px rgba(28, 25, 23, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(231, 229, 228, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.25);
  font-weight: 900;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong,
.footer-brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

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

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

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--brand-dark);
  background: #ecfdf5;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px;
}

.header-search input,
.mobile-search input,
.filter-bar input {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.header-search input {
  width: 210px;
  padding-left: 12px;
}

.header-search button,
.mobile-search button,
.primary-btn,
.small-btn {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.22);
  cursor: pointer;
}

.header-search button,
.mobile-search button {
  padding: 8px 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

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

.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: #111827;
}

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

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

.hero-backdrop,
.detail-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.68) 45%, rgba(12, 10, 9, 0.22) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: center;
  padding: 96px 0;
  color: #fff;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 999px;
  color: #15803d;
  background: #ecfdf5;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
}

.hero-kicker {
  color: #bbf7d0;
  border-color: rgba(187, 247, 208, 0.35);
  background: rgba(22, 163, 74, 0.18);
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  color: #166534;
  background: #dcfce7;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-btn,
.ghost-btn,
.small-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 22px;
}

.ghost-btn {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0 22px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.small-btn:hover,
.text-link:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(22, 163, 74, 0.88);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

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

.slim-section {
  padding-top: 12px;
}

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

.section-heading h2,
.page-hero h1,
.detail-copy h1 {
  margin: 12px 0 0;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

.section-heading p,
.page-hero p,
.category-overview-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
}

.section-more,
.text-link {
  color: var(--brand-dark);
  font-weight: 900;
}

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

.category-tile,
.category-cover {
  position: relative;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(28, 25, 23, 0.05), rgba(28, 25, 23, 0.78)), var(--tile-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.12);
}

.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.category-tile span,
.category-cover span {
  font-size: 22px;
  font-weight: 950;
}

.category-tile strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.6;
}

.movie-grid,
.rank-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(22, 163, 74, 0.28);
  box-shadow: 0 28px 68px rgba(28, 25, 23, 0.14);
  transform: translateY(-6px);
}

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

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

.movie-card:hover .poster-link img {
  transform: scale(1.05);
}

.poster-play,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  background: rgba(22, 163, 74, 0.92);
  padding: 7px 11px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

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

.movie-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card h3 a:hover,
.ranking-info h2 a:hover {
  color: var(--brand-dark);
}

.movie-meta,
.movie-desc {
  margin: 8px 0 0;
}

.movie-meta {
  color: #a8a29e;
  font-size: 13px;
  font-weight: 700;
}

.movie-desc {
  min-height: 3.2em;
  color: #57534e;
  font-size: 14px;
  line-height: 1.62;
}

.movie-card .tag-row {
  margin-top: 12px;
}

.movie-card.compact {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 180px;
}

.movie-card.compact .poster-link img {
  height: 100%;
  min-height: 180px;
}

.movie-card.compact .movie-desc {
  min-height: auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 16% 20%, rgba(34, 197, 94, 0.16), transparent 32%), linear-gradient(135deg, #ffffff, #f1f5f1);
}

.page-hero-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 46px;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 18px;
}

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

.category-overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.07);
}

.category-cover {
  display: grid;
  align-items: end;
  min-height: 170px;
  padding: 20px;
}

.category-overview-card h2 {
  margin: 16px 0 8px;
  font-size: 22px;
  font-weight: 950;
}

.category-overview-card p {
  min-height: 4.8em;
  margin: 0 0 12px;
}

.filter-section {
  padding-top: 36px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 12px 34px rgba(28, 25, 23, 0.06);
}

.filter-bar label {
  color: var(--ink);
  font-weight: 900;
}

.filter-bar input {
  flex: 1;
  min-height: 42px;
  font-size: 16px;
}

.large-filter {
  position: sticky;
  top: 88px;
  z-index: 10;
}

.empty-state {
  display: none;
  border: 1px dashed #bbf7d0;
  border-radius: 20px;
  color: #166534;
  background: #f0fdf4;
  padding: 24px;
  text-align: center;
  font-weight: 800;
}

.empty-state.show {
  display: block;
}

.pill-links,
.detail-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-links a,
.detail-nav-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: #57534e;
  font-weight: 800;
}

.pill-links a:hover,
.detail-nav-links a:hover {
  color: var(--brand-dark);
  border-color: rgba(22, 163, 74, 0.32);
  background: #ecfdf5;
}

.ranking-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-row {
  display: grid;
  grid-template-columns: 64px 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 14px 36px rgba(28, 25, 23, 0.06);
}

.ranking-number {
  color: #d6d3d1;
  font-size: 34px;
  font-weight: 950;
  text-align: center;
}

.ranking-poster img {
  width: 88px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-info h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
}

.ranking-info p,
.ranking-info span {
  display: block;
  margin: 6px 0 0;
  color: var(--muted);
}

.ranking-info span {
  line-height: 1.6;
}

.small-btn {
  min-height: 40px;
  padding: 0 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  background-image: linear-gradient(90deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.72), rgba(12, 10, 9, 0.44)), var(--detail-image);
  filter: saturate(1.08);
}

.detail-inner {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 58px;
}

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

.breadcrumb a:hover {
  color: #bbf7d0;
}

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

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

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

.detail-poster span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(22, 163, 74, 0.92);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.detail-copy h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
}

.detail-line {
  max-width: 820px;
  margin: 18px 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.78;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.detail-copy .tag-row span {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.detail-copy .primary-btn {
  margin-top: 24px;
}

.detail-player-section {
  padding-bottom: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 26px 76px rgba(15, 23, 42, 0.2);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.34);
  font-size: 34px;
  line-height: 1;
  padding-left: 5px;
}

.player-overlay strong {
  max-width: min(780px, calc(100% - 32px));
  font-size: clamp(22px, 3vw, 38px);
  text-align: center;
}

.detail-text {
  padding-top: 24px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.07);
}

.article-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 950;
}

.article-card h2:not(:first-child) {
  margin-top: 30px;
}

.article-card p {
  margin: 0;
  color: #44403c;
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: #1c1917;
  color: #fff;
}

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

.footer-brand {
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  color: #a8a29e;
}

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

.footer-links a {
  color: #d6d3d1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #bbf7d0;
  border-color: rgba(187, 247, 208, 0.35);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

  .hero-poster {
    width: min(240px, 70vw);
    justify-self: start;
  }

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

  .detail-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .ranking-row {
    grid-template-columns: 48px 78px minmax(0, 1fr);
  }

  .ranking-row .small-btn {
    grid-column: 2 / -1;
    width: fit-content;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    min-height: 64px;
  }

  .brand-text small {
    display: none;
  }

  .hero-slider {
    min-height: 760px;
  }

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

  .hero-control {
    top: auto;
    bottom: 76px;
    transform: none;
  }

  .hero-control.prev {
    left: 16px;
  }

  .hero-control.next {
    right: 16px;
  }

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

  .section-heading {
    display: block;
  }

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

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

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

  .movie-card.compact .poster-link img {
    height: auto;
  }

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

  .movie-card h3 {
    font-size: 15px;
  }

  .movie-desc {
    display: none;
  }

  .tag-row span {
    font-size: 11px;
  }

  .filter-bar {
    display: grid;
  }

  .large-filter {
    top: 74px;
  }

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

  .detail-poster {
    width: min(220px, 68vw);
  }

  .detail-copy h1 {
    font-size: 38px;
  }

  .ranking-row {
    grid-template-columns: 40px 70px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .ranking-number {
    font-size: 24px;
  }

  .ranking-info h2 {
    font-size: 17px;
  }

  .ranking-info span {
    display: none;
  }
}

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

  .hero-slider {
    min-height: 700px;
  }

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

  .page-hero-inner {
    padding-top: 58px;
  }

  .play-icon {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }
}
