:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-strong: rgba(15, 23, 42, 0.96);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.16);
  --cyan-border: rgba(34, 211, 238, 0.28);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --line: rgba(148, 163, 184, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 211, 238, 0.16), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(180deg, #020617 0%, #07111f 42%, #020617 100%);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 72%);
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--cyan-border);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

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

.brand {
  flex: 0 0 auto;
}

.brand-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--cyan-border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.28), rgba(59, 130, 246, 0.12));
  color: var(--cyan);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.22);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--cyan);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.header-search input {
  width: 190px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
}

.header-search button,
.large-search button,
.primary-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: white;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.32);
}

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

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid var(--cyan-border);
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--text);
  padding: 9px 12px;
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
}

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

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

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-slide > img,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.image-missing {
  display: none !important;
}

.hero-slide::before,
.detail-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(34, 211, 238, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(8, 47, 73, 0.45), rgba(15, 23, 42, 0.12));
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.74) 48%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.78) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding-top: 30px;
}

.hero-copy {
  width: min(680px, 100%);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  padding: 8px 14px;
  margin-bottom: 18px;
}

.eyebrow {
  padding: 6px 11px;
  margin-bottom: 12px;
}

.hero h1,
.detail-info h1,
.page-hero h1 {
  margin: 0;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 76px);
}

.hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-meta {
  margin: 24px 0 0;
  color: #dbeafe;
}

.hero-meta span,
.detail-meta span,
.hero-tags span,
.movie-card-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  color: #dbeafe;
  font-size: 13px;
  padding: 6px 10px;
}

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

.hero-tags span,
.movie-card-tags span {
  border-color: rgba(34, 211, 238, 0.18);
  background: rgba(34, 211, 238, 0.1);
  color: #a5f3fc;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-tile:hover,
.ranking-card:hover,
.category-overview-card:hover {
  transform: translateY(-3px);
}

.ghost-button {
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #dbeafe;
  font-weight: 800;
}

.hero-arrow {
  position: absolute;
  top: 46%;
  z-index: 4;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--cyan-border);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.68);
  color: white;
  cursor: pointer;
  font-size: 34px;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  right: 34px;
  bottom: 122px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--cyan);
}

.hero-search-panel {
  position: relative;
  z-index: 6;
  padding-top: 548px;
}

.large-search {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
  padding: 18px;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.large-search label {
  color: #dbeafe;
  font-weight: 800;
}

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

.large-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 14px 18px;
}

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

.section-block {
  margin-top: 74px;
}

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

.section-heading h2,
.ranking-head h2,
.content-card h2 {
  margin: 0;
  color: white;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-link {
  color: var(--cyan);
  font-weight: 800;
  white-space: nowrap;
}

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

.category-tile,
.category-overview-card,
.content-card,
.ranking-panel,
.category-feature,
.player-shell {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(8, 47, 73, 0.36));
  box-shadow: var(--shadow);
}

.category-tile {
  display: grid;
  min-height: 168px;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover,
.ranking-card:hover {
  border-color: var(--cyan-border);
}

.category-tile span {
  color: white;
  font-weight: 900;
  font-size: 20px;
}

.category-tile strong {
  align-self: center;
  color: var(--cyan);
  font-size: 38px;
}

.category-tile em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-card-link {
  display: grid;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(34, 211, 238, 0.28), transparent 32%),
    linear-gradient(135deg, #0f172a, #082f49);
}

.compact-card .poster-frame {
  aspect-ratio: 3 / 4;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.84) 100%);
}

.poster-year,
.poster-play {
  position: absolute;
  z-index: 2;
}

.poster-year {
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.88);
  color: #00111a;
  font-weight: 900;
}

.movie-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.movie-card-meta,
.movie-card-genre {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.movie-card h3 {
  margin: 0;
  color: white;
  font-size: 20px;
  line-height: 1.32;
}

.movie-card-desc {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 92px;
  border-radius: var(--radius-xl);
  padding: 22px;
}

.ranking-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.ranking-head a {
  color: var(--cyan);
  font-weight: 800;
}

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

.ranking-list a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.42);
}

.rank-number {
  grid-row: span 2;
  color: var(--cyan);
  font-weight: 900;
}

.rank-title {
  color: white;
  font-weight: 800;
}

.rank-meta {
  color: var(--muted-2);
  font-size: 12px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.compact-hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(8, 47, 73, 0.56), rgba(15, 23, 42, 0.94));
}

.page-hero .container,
.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.75;
}

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

.breadcrumb a {
  color: #a5f3fc;
}

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

.category-overview-card {
  border-radius: var(--radius-xl);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-overview-card a {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 28px;
}

.category-count {
  width: fit-content;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-weight: 900;
  padding: 6px 10px;
}

.category-overview-card h2 {
  margin: 0;
  color: white;
  font-size: 30px;
}

.category-overview-card p,
.category-overview-card small {
  color: var(--muted);
  line-height: 1.7;
}

.category-feature {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 26px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.category-feature h2 {
  margin: 0 0 12px;
  color: white;
  font-size: clamp(28px, 4vw, 44px);
}

.category-feature p {
  color: var(--muted);
  line-height: 1.8;
}

.category-feature-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #082f49);
}

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

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

.inline-search {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  color: #dbeafe;
  font-weight: 800;
}

.inline-search.wide {
  width: min(720px, 100%);
}

.inline-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  background: rgba(15, 23, 42, 0.82);
  color: white;
  padding: 15px 16px;
}

.result-count {
  color: var(--cyan);
  font-weight: 900;
}

.detail-hero {
  min-height: 640px;
  background: #020617;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  filter: blur(2px) saturate(1.15);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.8) 55%, rgba(2, 6, 23, 0.48) 100%),
    linear-gradient(0deg, #020617 0%, transparent 42%);
}

.detail-hero-inner {
  padding: 70px 0 54px;
}

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

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a, #082f49);
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.detail-one-line {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  margin: 22px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
}

.movie-player {
  display: block;
  width: 100%;
  min-height: 520px;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(2, 6, 23, 0.42));
  color: white;
  cursor: pointer;
}

.player-start span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: white;
  font-size: 34px;
  box-shadow: 0 20px 60px rgba(34, 211, 238, 0.28);
}

.player-start strong {
  font-size: 20px;
}

.player-shell.is-playing .player-start {
  display: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 4;
  margin: 0;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  color: #dbeafe;
  font-size: 13px;
  padding: 8px 12px;
}

.player-shell.is-playing .player-status {
  display: none;
}

.detail-content {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.4fr 1fr;
}

.content-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.content-card p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.9;
}

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

.ranking-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-card a {
  display: grid;
  grid-template-columns: 58px 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.ranking-card-number {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 900;
}

.ranking-card-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #082f49);
}

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

.ranking-card h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 24px;
}

.ranking-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.ranking-card small {
  color: var(--muted-2);
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--cyan-border);
  background: rgba(2, 6, 23, 0.72);
}

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

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

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 18px;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.no-results {
  display: none;
  border: 1px dashed var(--cyan-border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

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

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

  .ranking-panel {
    position: static;
  }
}

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

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

  .hero {
    min-height: 760px;
  }

  .hero-content {
    align-items: flex-start;
    min-height: 610px;
    padding-top: 72px;
  }

  .hero-arrow {
    top: auto;
    bottom: 158px;
  }

  .hero-prev {
    left: 14px;
  }

  .hero-next {
    right: 14px;
  }

  .hero-dots {
    right: 16px;
    bottom: 116px;
  }

  .hero-search-panel {
    padding-top: 602px;
  }

  .large-search div,
  .tool-row,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .large-search div {
    display: grid;
  }

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

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

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

  .movie-card-desc {
    min-height: auto;
    font-size: 14px;
  }

  .category-feature,
  .detail-layout,
  .footer-grid,
  .ranking-card a {
    grid-template-columns: 1fr;
  }

  .category-feature-poster,
  .detail-poster {
    width: min(260px, 100%);
  }

  .detail-hero-inner {
    padding-top: 48px;
  }

  .movie-player {
    min-height: 260px;
  }

  .ranking-card-poster {
    width: 120px;
  }
}

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

  .hero-actions {
    display: grid;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }
}
