:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #111827;
  --bg-card-2: #1e293b;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --line: rgba(148, 163, 184, 0.22);
  --orange: #f97316;
  --red: #dc2626;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(220, 38, 38, 0.12), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.header-shell {
  width: min(100%, var(--container));
  min-height: 72px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.28);
}

.brand-name {
  font-size: clamp(20px, 2vw, 28px);
  background: linear-gradient(90deg, #fb923c, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  color: #e2e8f0;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.desktop-category-row {
  display: flex;
  gap: 8px;
  margin-left: 4px;
}

.category-shortcut {
  padding: 7px 10px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.category-shortcut:hover {
  color: #fff;
  border-color: rgba(249, 115, 22, 0.55);
}

.header-search {
  display: flex;
  width: min(320px, 26vw);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.45);
}

.header-search input,
.filter-bar input,
.search-panel input {
  width: 100%;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search input {
  padding: 9px 12px;
}

.header-search button {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 20px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.mobile-nav-link {
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #e2e8f0;
}

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

.hero-stage {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

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

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.hero-overlay,
.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.78) 38%, rgba(2, 6, 23, 0.35) 70%, rgba(2, 6, 23, 0.92) 100%),
    linear-gradient(0deg, #020617 0%, transparent 38%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--container));
  min-height: 650px;
  margin: 0 auto;
  padding: 76px 20px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 430px;
  gap: 46px;
  align-items: center;
}

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

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

.hero-label,
.hero-tags span,
.detail-tags span,
.detail-meta span,
.card-tags span,
.movie-flags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.hero-label {
  padding: 7px 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-size: 14px;
  font-weight: 800;
}

.hero-label.muted,
.hero-tags span,
.detail-tags span,
.detail-meta span,
.card-tags span {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.hero h1,
.sub-hero h1,
.detail-info h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero p,
.sub-hero p,
.detail-one-line {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-tags {
  margin: 24px 0;
}

.hero-tags span,
.detail-tags span,
.detail-meta span,
.card-tags span {
  padding: 6px 10px;
  font-size: 13px;
}

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

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.28);
}

.ghost-button,
.section-more {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--line);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(2deg);
}

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

.hero-poster span,
.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff;
  background: rgba(249, 115, 22, 0.9);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.35);
  transform: translate(-50%, -50%);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: #64748b;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--orange);
}

.content-section {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 58px 20px;
}

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

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

.eyebrow {
  margin: 0 0 7px;
  color: #fb923c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.text-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
}

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

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

.movie-card a {
  display: block;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card a:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.24) 50%, rgba(0, 0, 0, 0.08));
}

.movie-flags {
  position: absolute;
  top: 12px;
  right: 12px;
}

.movie-flags span {
  padding: 4px 8px;
  color: #fff;
  background: rgba(2, 6, 23, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 999px;
  font-size: 12px;
}

.play-hover {
  width: 58px;
  height: 58px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.poster-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
}

.poster-title h3 {
  display: -webkit-box;
  min-height: 1.25em;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-desc,
.movie-meta {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  color: #94a3b8;
  -webkit-line-clamp: 1;
}

.card-tags {
  min-height: 44px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.94);
}

.card-tags span {
  padding: 3px 8px;
  color: #cbd5e1;
  font-size: 12px;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.5);
}

.category-tile img,
.category-overview-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.category-tile::after,
.category-overview-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.58), rgba(220, 38, 38, 0.34), rgba(2, 6, 23, 0.8));
}

.category-tile span,
.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: grid !important;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile strong {
  font-size: 24px;
  font-weight: 900;
}

.category-tile small {
  margin-top: 8px;
  color: #dbeafe;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(249, 115, 22, 0.28), transparent 34rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
}

.sub-hero > div {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 74px 20px 62px;
}

.sub-hero h1 {
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 14px;
}

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

.category-overview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-overview-card a {
  position: relative;
  display: block;
  min-height: 230px;
  padding: 24px;
}

.category-overview-card a > div {
  position: relative;
  z-index: 2;
}

.category-overview-card span {
  color: #fed7aa;
  font-weight: 900;
}

.category-overview-card h2 {
  margin: 10px 0;
  font-size: 28px;
}

.category-overview-card p {
  color: #dbeafe;
}

.category-overview-card ul {
  margin: 0;
  padding: 16px 22px 22px 40px;
  color: #cbd5e1;
}

.category-overview-card li + li {
  margin-top: 8px;
}

.filter-bar,
.search-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.78);
}

.filter-bar input,
.search-panel input {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.54);
  border: 1px solid var(--line);
}

.filter-bar span,
.search-panel span {
  color: #fed7aa;
  font-weight: 900;
  white-space: nowrap;
}

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

.empty-state {
  margin: 28px 0 0;
  padding: 28px;
  text-align: center;
  color: #cbd5e1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

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

.ranking-row a {
  display: grid;
  grid-template-columns: 78px 130px minmax(0, 1fr) 76px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.84);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.ranking-row a:hover {
  transform: translateX(5px);
  border-color: rgba(249, 115, 22, 0.55);
}

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

.ranking-row img {
  width: 130px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-row h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.ranking-row p {
  margin: 0 0 4px;
  color: #cbd5e1;
}

.ranking-row small {
  color: #94a3b8;
}

.ranking-row b {
  color: #fff;
  text-align: center;
  padding: 9px 12px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 14px;
}

.detail-hero {
  min-height: 610px;
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 62px 20px 70px;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  margin-top: 10px;
}

.detail-meta,
.detail-tags {
  margin: 18px 0;
}

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

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.player-overlay-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #fff;
  background:
    radial-gradient(circle, rgba(249, 115, 22, 0.25), transparent 20rem),
    rgba(2, 6, 23, 0.52);
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay-button span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 50%;
  font-size: 34px;
  box-shadow: 0 20px 55px rgba(249, 115, 22, 0.35);
}

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

.player-box.is-playing .player-overlay-button {
  opacity: 0;
  visibility: hidden;
}

.detail-content {
  padding-bottom: 24px;
}

.detail-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 28px;
}

.text-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
}

.text-card p {
  color: #dbeafe;
  font-size: 16px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.9);
}

.footer-shell {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 38px 20px;
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 24px;
  color: #cbd5e1;
}

.footer-brand {
  margin-bottom: 10px;
  color: #fb923c;
  font-size: 24px;
}

.footer-links,
.footer-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links {
  flex-direction: column;
}

.footer-links a,
.footer-category-links a {
  color: #cbd5e1;
}

.footer-links a:hover,
.footer-category-links a:hover {
  color: #fb923c;
}

.red::after,
.red.category-tile::after {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.68), rgba(249, 115, 22, 0.42), rgba(2, 6, 23, 0.82));
}

.orange::after,
.orange.category-tile::after {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.68), rgba(245, 158, 11, 0.4), rgba(2, 6, 23, 0.82));
}

.blue::after,
.blue.category-tile::after {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.66), rgba(14, 165, 233, 0.38), rgba(2, 6, 23, 0.82));
}

.purple::after,
.purple.category-tile::after {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.66), rgba(236, 72, 153, 0.38), rgba(2, 6, 23, 0.82));
}

.pink::after,
.pink.category-tile::after {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.66), rgba(244, 114, 182, 0.38), rgba(2, 6, 23, 0.82));
}

.cyan::after,
.cyan.category-tile::after {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.66), rgba(59, 130, 246, 0.38), rgba(2, 6, 23, 0.82));
}

.green::after,
.green.category-tile::after {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.66), rgba(16, 185, 129, 0.38), rgba(2, 6, 23, 0.82));
}

@media (max-width: 1100px) {
  .desktop-category-row {
    display: none;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

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

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

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

  .header-shell {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .hero-poster {
    max-width: 420px;
    transform: none;
  }

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

  .detail-text,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .ranking-row a {
    grid-template-columns: 60px 100px minmax(0, 1fr);
  }

  .ranking-row b {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-control {
    display: none;
  }

  .hero h1,
  .sub-hero h1,
  .detail-info h1 {
    font-size: 38px;
  }

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

  .content-section {
    padding: 42px 14px;
  }

  .header-shell,
  .sub-hero > div,
  .detail-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-heading,
  .filter-bar,
  .search-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar span,
  .search-panel span {
    white-space: normal;
  }

  .ranking-row a {
    grid-template-columns: 52px 92px minmax(0, 1fr);
    gap: 12px;
  }

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

  .ranking-row img {
    width: 92px;
  }

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

  .ranking-row p {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 20px;
  }

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

  .hero-content {
    padding-top: 46px;
    padding-bottom: 80px;
  }

  .movie-grid,
  .all-grid {
    grid-template-columns: 1fr;
  }

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

  .poster-title h3 {
    font-size: 18px;
  }
}
