/* Static movie site styles inspired by the uploaded dark red gradient layout. */
:root {
  --bg: #030712;
  --bg-soft: #111827;
  --panel: rgba(31, 41, 55, 0.62);
  --panel-strong: rgba(17, 24, 39, 0.92);
  --text: #f9fafb;
  --muted: #9ca3af;
  --muted-strong: #d1d5db;
  --line: rgba(156, 163, 175, 0.18);
  --red-900: #7f1d1d;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --yellow: #facc15;
  --green: #22c55e;
  --blue: #2563eb;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(220, 38, 38, 0.18), transparent 32rem),
    linear-gradient(180deg, #030712 0%, #111827 48%, #030712 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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: linear-gradient(90deg, var(--red-900), var(--red-700), var(--red-900));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.brand-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow), var(--red-600));
  color: white;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.22);
}

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

.brand-text strong,
.footer-brand strong {
  font-size: 21px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fde68a, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em,
.footer-brand small {
  color: #fecaca;
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  position: relative;
  color: #fee2e2;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.nav-link-active::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
  content: "";
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: rgba(127, 29, 29, 0.55);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: white;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(254, 202, 202, 0.22);
  background: rgba(69, 10, 10, 0.97);
  padding: 10px 16px 16px;
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: #fee2e2;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link-active {
  background: var(--yellow);
  color: #7f1d1d;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.48), rgba(17, 24, 39, 0.98));
}

.hero-slider {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 84px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(3, 7, 18, 0.92) 0%, rgba(17, 24, 39, 0.76) 48%, rgba(127, 29, 29, 0.62) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  content: "";
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: clamp(17px, 2.5vw, 23px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fde68a;
  background: rgba(127, 29, 29, 0.42);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  background: var(--red-600);
  color: white;
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.35);
}

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

.primary-button:hover {
  background: var(--red-700);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(31, 41, 55, 0.72);
  color: white;
}

.ghost-button:hover {
  border-color: rgba(250, 204, 21, 0.5);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.hero-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: -72px;
  padding-bottom: 36px;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 32px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

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

.hero-stats {
  display: flex;
  gap: 12px;
}

.hero-stat {
  min-width: 112px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 12px 16px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(12px);
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  color: #fde68a;
}

.hero-stat span {
  color: #d1d5db;
  font-size: 12px;
}

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

.quick-search-section {
  margin-top: -12px;
  padding-bottom: 8px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

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

.section-link {
  color: #fca5a5;
  font-weight: 800;
}

.section-link:hover {
  color: #fde68a;
}

.search-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: rgba(17, 24, 39, 0.76);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.search-label {
  color: #fecaca;
  font-size: 13px;
  font-weight: 800;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(3, 7, 18, 0.62);
}

.search-box span {
  color: #fca5a5;
  font-size: 22px;
}

.search-box input {
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
}

.search-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(31, 41, 55, 0.88);
  box-shadow: 0 24px 48px rgba(127, 29, 29, 0.24);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.08);
}

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.type-badge,
.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  top: 12px;
  left: 12px;
  background: var(--red-600);
}

.year-badge {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.78);
}

.rank-badge {
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--yellow), var(--red-600));
  color: #450a0a;
}

.play-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.38);
  color: white;
  font-size: 42px;
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 17px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: #f87171;
}

.movie-info p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 46px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

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

.movie-card-compact .movie-info p {
  min-height: 0;
}

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

.category-tile {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 180px;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #111827;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.category-tile img,
.tile-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.tile-shade {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
}

.category-tile strong {
  font-size: 22px;
}

.category-tile em {
  color: #fde68a;
  font-style: normal;
}

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

.ranking-panel {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(17, 24, 39, 0.86);
}

.ranking-title {
  margin-bottom: 14px;
}

.ranking-title span {
  color: #fca5a5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ranking-title h2 {
  margin: 0;
  font-size: 26px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: rgba(127, 29, 29, 0.28);
}

.ranking-row span {
  color: #fde68a;
  font-weight: 900;
}

.ranking-row img {
  width: 58px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
}

.ranking-row strong,
.ranking-row em {
  grid-column: 3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-row strong {
  color: white;
}

.ranking-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(250, 204, 21, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(127, 29, 29, 0.52), rgba(17, 24, 39, 0.96));
}

.page-hero h1 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
}

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

.category-overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: var(--panel);
}

.category-cover-stack {
  position: relative;
  min-height: 190px;
}

.category-cover-stack img {
  position: absolute;
  width: 68%;
  height: 150px;
  border: 4px solid rgba(17, 24, 39, 0.92);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.category-cover-stack img:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
}

.category-cover-stack img:nth-child(2) {
  top: 28px;
  left: 46px;
  z-index: 2;
}

.category-cover-stack img:nth-child(3) {
  top: 56px;
  left: 92px;
  z-index: 1;
}

.category-overview-card span {
  color: #fde68a;
  font-weight: 800;
}

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

.category-overview-card p,
.category-overview-card li {
  color: var(--muted);
}

.category-overview-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  padding-left: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 64px;
  background: #030712;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(17, 24, 39, 0.76), rgba(127, 29, 29, 0.7)),
    var(--detail-image);
  background-position: center;
  background-size: cover;
  filter: blur(16px) saturate(1.12);
  transform: scale(1.08);
  opacity: 0.8;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 26px;
  color: #d1d5db;
  font-size: 14px;
}

.breadcrumb a {
  color: #fca5a5;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
}

.detail-one-line {
  max-width: 840px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 20px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.detail-meta-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(17, 24, 39, 0.62);
}

.detail-meta-grid strong {
  color: #fca5a5;
  font-size: 12px;
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.92);
  box-shadow: var(--shadow);
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-video {
  width: 100%;
  height: 100%;
  background: black;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.72));
  cursor: pointer;
}

.player-start.is-hidden {
  display: none;
}

.player-start span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-600);
  font-size: 34px;
  box-shadow: 0 18px 38px rgba(220, 38, 38, 0.42);
}

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

.player-note {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
}

.detail-content {
  display: grid;
  gap: 22px;
  padding: 36px 0;
}

.text-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: var(--panel);
}

.text-panel h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.text-panel p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 16px;
}

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

.info-list div {
  border-radius: 14px;
  padding: 12px;
  background: rgba(3, 7, 18, 0.38);
}

.info-list dt {
  color: #fca5a5;
  font-size: 13px;
  font-weight: 800;
}

.info-list dd {
  margin: 4px 0 0;
  color: #e5e7eb;
}

.standalone-content {
  max-width: 920px;
}

.site-footer {
  margin-top: 34px;
  padding: 52px 0 22px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.82), #000000);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: white;
  font-size: 17px;
}

.footer-grid p {
  margin: 14px 0 0;
}

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

.footer-grid a:hover,
.footer-bottom a:hover {
  color: #f87171;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  border-top: 1px solid rgba(156, 163, 175, 0.14);
  padding-top: 18px;
  color: #6b7280;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
  cursor: pointer;
}

.back-to-top.is-visible {
  display: block;
}

.is-filtered-out {
  display: none !important;
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

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

  .two-column-section,
  .detail-grid,
  .category-overview-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

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

  .header-inner {
    height: 62px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

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

  .hero-shell {
    min-height: 720px;
  }

  .hero-slide {
    padding-top: 48px;
    gap: 28px;
  }

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

  .hero-bottom {
    display: grid;
    margin-top: -56px;
  }

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

  .hero-stat {
    min-width: 0;
    padding: 10px;
  }

  .section-heading {
    display: grid;
  }

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

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

  .movie-info {
    padding: 13px;
  }

  .movie-info p,
  .movie-meta span:nth-child(2) {
    display: none;
  }

  .page-hero {
    padding: 52px 0;
  }

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

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

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

  .detail-meta-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .page-hero-actions {
    display: grid;
  }
}
