:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: #111827;
  --panel-2: #1e293b;
  --panel-3: #334155;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --line: rgba(148, 163, 184, 0.22);
  --brand: #f97316;
  --brand-2: #dc2626;
  --gold: #facc15;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.36);
  transition: transform 0.24s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fb923c, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #fb923c;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 260px;
}

.search-form input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  outline: none;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.78);
  border-radius: 999px;
  padding: 11px 44px 11px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus,
.large-search input:focus {
  border-color: rgba(251, 146, 60, 0.95);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.search-form button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.search-form button:hover {
  color: #fb923c;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: #ffffff;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 20px;
}

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

.hero {
  position: relative;
  height: 72vh;
  min-height: 560px;
  overflow: hidden;
}

.hero-stage,
.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-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, #020617 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 760px;
  padding-top: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0 14px;
  color: #ffffff;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
}

.hero-meta span:first-child,
.detail-meta span:first-child {
  color: var(--gold);
  font-weight: 800;
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
}

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

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

.primary-button,
.ghost-button,
.large-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.large-search button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 36px rgba(220, 38, 38, 0.26);
}

.primary-button {
  min-height: 46px;
  padding: 0 28px;
}

.primary-button.small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.92rem;
}

.primary-button:hover,
.large-search button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 46px rgba(249, 115, 22, 0.35);
}

.ghost-button {
  min-height: 46px;
  padding: 0 26px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.9);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.46);
  border-radius: 50%;
  cursor: pointer;
  font-size: 2.1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 32px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

.hero-dot.active {
  width: 34px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.home-search-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 26px;
  align-items: center;
  margin-top: -58px;
  padding: 30px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-search-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.home-search-panel p {
  margin: 0;
  color: var(--muted);
}

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

.large-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  outline: 0;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.68);
  border-radius: 999px;
  padding: 14px 18px;
}

.large-search button {
  padding: 0 26px;
}

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--subtle);
}

.section-more {
  color: #fb923c;
  font-weight: 800;
}

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

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

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

.movie-card {
  overflow: hidden;
  background: rgba(30, 41, 59, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(251, 146, 60, 0.38);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

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

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  filter: brightness(0.78);
}

.play-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 2.3rem;
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 800;
}

.duration {
  right: 10px;
  bottom: 10px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

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

.movie-title {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title {
  color: #fb923c;
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 10px 0 12px;
  overflow: hidden;
  color: var(--subtle);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

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

.category-tile {
  min-height: 180px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(220, 38, 38, 0.06)),
    rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: 22px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 146, 60, 0.55);
}

.category-tile span {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
}

.category-tile p {
  margin: 0 0 14px;
  color: var(--muted);
}

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

.category-mini-links a {
  color: #fed7aa;
  font-size: 0.82rem;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
}

.ranking-card,
.detail-side-card,
.detail-article,
.category-overview-card {
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.ranking-card {
  align-self: start;
  padding: 22px;
  position: sticky;
  top: 92px;
}

.compact-heading {
  align-items: start;
  margin-bottom: 16px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 36px 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(251, 146, 60, 0.28);
}

.rank-number {
  color: #fb923c;
  font-weight: 900;
  text-align: center;
}

.rank-poster {
  display: block;
  width: 48px;
  height: 62px;
  overflow: hidden;
  background: #0f172a;
  border-radius: 10px;
}

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

.rank-title {
  overflow: hidden;
  color: #ffffff;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info {
  display: none;
  color: var(--subtle);
  font-size: 0.9rem;
}

.rank-score {
  color: var(--gold);
  font-weight: 900;
}

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

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

.movie-card-horizontal .poster-link {
  height: 100%;
  aspect-ratio: auto;
}

.page-main {
  padding-top: 94px;
}

.page-hero {
  padding: 56px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(220, 38, 38, 0.06)),
    rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.slim-hero {
  min-height: 280px;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.78);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
}

.category-overview-list {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.category-overview-card {
  padding: 26px;
}

.category-overview-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
}

.category-overview-head p {
  margin: 0;
  color: var(--subtle);
}

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

.full-rank-list .rank-row {
  grid-template-columns: 52px 60px minmax(160px, 1fr) minmax(260px, 1.4fr) 70px;
}

.full-rank-list .rank-info {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--subtle);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: #fb923c;
}

.detail-hero {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

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

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

.detail-one-line {
  margin: 0 0 20px;
  color: #e2e8f0;
  font-size: 1.18rem;
}

.detail-tags {
  margin: 22px 0 28px;
}

.player-section {
  padding-top: 54px;
}

.player-box {
  position: relative;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.player-box video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-play-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.34);
  font-size: 2rem;
}

.player-message {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.player-message.show {
  opacity: 1;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding-top: 42px;
}

.detail-article,
.detail-side-card {
  padding: 28px;
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.04rem;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

.detail-side-card dt {
  color: var(--subtle);
}

.detail-side-card dd {
  margin: 0;
  color: var(--text);
}

.detail-side-card a {
  color: #fb923c;
}

.search-page-form {
  max-width: 720px;
  margin-top: 26px;
}

.site-footer {
  margin-top: 86px;
  padding: 44px 0 0;
  color: var(--subtle);
  background: rgba(2, 6, 23, 0.72);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

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

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

.footer-bottom {
  margin-top: 36px;
  padding: 18px 0;
  color: #64748b;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

[hidden] {
  display: none !important;
}

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

  .two-column-section {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    position: static;
  }
}

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

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-inner {
    height: 64px;
  }

  .hero {
    height: 680px;
  }

  .home-search-panel,
  .detail-hero,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: 620px;
    height: 76vh;
  }

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

  .hero-arrow {
    display: none;
  }

  .home-search-panel,
  .page-hero,
  .category-overview-card,
  .detail-article,
  .detail-side-card {
    padding: 22px;
    border-radius: 20px;
  }

  .large-search {
    flex-direction: column;
  }

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

  .section-heading,
  .category-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .movie-card-body p,
  .tag-row {
    display: none;
  }

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

  .movie-card-horizontal {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .full-rank-list .rank-row,
  .rank-row {
    grid-template-columns: 34px 44px minmax(0, 1fr) 44px;
  }

  .full-rank-list .rank-info {
    display: none;
  }

  .rank-poster {
    width: 44px;
    height: 58px;
  }

  .detail-hero {
    gap: 22px;
  }

  .detail-info h1 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .all-movie-grid,
  .compact-grid,
  .preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .movie-title {
    font-size: 0.94rem;
  }

  .movie-meta {
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
