:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --teal: #14b8a6;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --orange: #f97316;
  --red: #ef4444;
  --pink: #ec4899;
  --violet: #7c3aed;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.28);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  color: #334155;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--surface-soft);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero-slider {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #2563eb 58%, #0f172a);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.24), transparent 26%),
    radial-gradient(circle at 75% 35%, rgba(20, 184, 166, 0.32), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(248, 250, 252, 0.06));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(26px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-backdrop {
  position: absolute;
  inset: -10% -18%;
  z-index: -1;
  background-position: center;
  background-size: cover;
  opacity: 0.22;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.04);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-intro h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content h2 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-summary {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

.hero-meta span,
.detail-meta span {
  padding: 8px 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.ghost-dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
}

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

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.ghost-dark-button {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.34);
}

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

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

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-thumbs {
  display: flex;
  gap: 10px;
  max-width: min(760px, calc(100vw - 120px));
  overflow-x: auto;
  padding: 8px;
  scrollbar-width: none;
}

.hero-thumbs::-webkit-scrollbar {
  display: none;
}

.hero-thumb,
.hero-arrow {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 8px 12px 8px 8px;
  border-radius: 18px;
  opacity: 0.72;
}

.hero-thumb.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.hero-thumb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  font-size: 30px;
  border-radius: 999px;
}

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

.section-narrow {
  padding: 28px 0 0;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-links a {
  padding: 12px 18px;
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.with-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
}

.section-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #0f766e, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.compact-heading {
  margin-bottom: 18px;
}

.search-panel {
  width: 100%;
}

.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box {
  position: relative;
}

.search-input {
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 18px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-input:focus {
  border-color: rgba(20, 184, 166, 0.7);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12), var(--shadow-soft);
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--muted);
  transform: translateY(-50%);
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card strong,
.category-overview-card h2 {
  position: relative;
  display: block;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.category-card em,
.category-overview-card p {
  position: relative;
  display: block;
  min-height: 68px;
  color: var(--muted);
  font-style: normal;
}

.category-samples,
.category-overview-card ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.category-samples a,
.category-overview-card li a {
  overflow: hidden;
  color: #334155;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-glow {
  position: absolute;
  top: -36px;
  right: -36px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
}

.accent-blue .category-glow,
.accent-blue.category-hero,
.accent-blue.category-side-card {
  background-color: rgba(37, 99, 235, 0.08);
}

.accent-pink .category-glow,
.accent-pink.category-hero,
.accent-pink.category-side-card {
  background-color: rgba(236, 72, 153, 0.08);
}

.accent-violet .category-glow,
.accent-violet.category-hero,
.accent-violet.category-side-card {
  background-color: rgba(124, 58, 237, 0.08);
}

.accent-orange .category-glow,
.accent-orange.category-hero,
.accent-orange.category-side-card {
  background-color: rgba(249, 115, 22, 0.08);
}

.accent-red .category-glow,
.accent-red.category-hero,
.accent-red.category-side-card {
  background-color: rgba(239, 68, 68, 0.08);
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
}

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

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

.score-badge,
.rank-badge,
.mini-rank {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.score-badge {
  right: 10px;
  bottom: 10px;
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

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

.meta-row {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.meta-row span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: #cbd5e1;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card h3 a:hover {
  color: var(--teal);
}

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

.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span,
.detail-tags li {
  padding: 5px 9px;
  color: #0f766e;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
}

.split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  display: flex;
  gap: 13px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow);
}

.mini-poster {
  position: relative;
  flex: 0 0 88px;
  overflow: hidden;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
}

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

.mini-rank {
  top: 6px;
  left: 6px;
  min-width: 26px;
  height: 26px;
  font-size: 12px;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.mini-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.mini-info strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.page-hero,
.detail-hero {
  position: relative;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.page-hero {
  display: flex;
  align-items: center;
  min-height: 360px;
  padding: 68px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #0f766e, #2563eb);
}

.compact-page-hero,
.ranking-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, #0f766e, #2563eb 70%, #0f172a);
}

.page-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.page-hero .primary-button {
  margin-top: 26px;
}

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

.breadcrumb a:hover {
  color: var(--teal);
}

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

.detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.16), transparent 28%);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  min-height: 520px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.28);
}

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

.detail-intro .breadcrumb {
  color: rgba(255, 255, 255, 0.74);
}

.detail-intro h1 {
  margin-bottom: 16px;
}

.detail-one-line {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.detail-tags {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-tags li {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.detail-main,
.detail-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.player-card,
.content-card,
.aside-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #020617;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.68));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-button {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--blue);
  font-size: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  transform: translateX(2px);
}

.content-card,
.aside-card {
  padding: 28px;
}

.content-card h2,
.aside-card h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.content-card p,
.aside-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-line;
}

.category-side-card .ghost-dark-button {
  margin-top: 18px;
}

.site-footer {
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.84);
  background: #0f172a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-brand {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 22px;
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
}

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

.footer-links a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

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

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

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

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    display: none;
    width: min(260px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 58px;
    padding-bottom: 170px;
  }

  .hero-poster {
    min-height: 300px;
  }

  .hero-poster img {
    min-height: 300px;
  }

  .split-section,
  .detail-layout,
  .detail-hero-inner,
  .section-heading.with-search {
    grid-template-columns: 1fr;
  }

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

  .detail-hero-inner {
    align-items: start;
  }

  .detail-aside {
    order: -1;
  }
}

@media (max-width: 720px) {
  .brand-text {
    font-size: 18px;
  }

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

  .hero-content h1,
  .page-hero h1,
  .detail-intro h1 {
    font-size: 40px;
  }

  .hero-content h2 {
    font-size: 30px;
  }

  .hero-summary,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-controls {
    bottom: 18px;
  }

  .hero-thumb {
    min-width: 146px;
  }

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

  .section {
    padding: 48px 0;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

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

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

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

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button,
  .ghost-dark-button {
    width: 100%;
  }
}
