:root {
  --bg: #fffaf1;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(120, 113, 108, 0.18);
  --amber: #d97706;
  --amber-dark: #92400e;
  --green: #15803d;
  --rose: #e11d48;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --radius-xl: 28px;
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.15), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(22, 163, 74, 0.12), transparent 30rem),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(240, 253, 244, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.16);
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.08);
}

.site-nav {
  width: min(100% - 32px, var(--max));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--green));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.26);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.03);
}

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

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

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

.nav-link {
  position: relative;
  padding: 8px 2px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--amber);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.global-search {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(217, 119, 6, 0.18);
  box-shadow: 0 6px 18px rgba(120, 113, 108, 0.08);
}

.global-search input {
  width: 230px;
  border: 0;
  outline: 0;
  padding: 10px 14px 10px 18px;
  background: transparent;
}

.global-search button,
.primary-btn,
.ghost-btn,
.card-actions a,
.category-overview-card a,
.wide-link {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.global-search button,
.primary-btn,
.card-actions a,
.category-overview-card a,
.wide-link {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--green));
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.22);
}

.global-search button {
  padding: 10px 18px;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.55rem;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.64), rgba(17, 24, 39, 0.86)),
    var(--hero-image, linear-gradient(135deg, #111827, #7c2d12));
  background-size: cover;
  background-position: center;
  filter: saturate(1.12);
}

.hero::after {
  background:
    radial-gradient(circle at 18% 35%, rgba(245, 158, 11, 0.22), transparent 22rem),
    radial-gradient(circle at 82% 42%, rgba(34, 197, 94, 0.18), transparent 20rem);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.16;
  filter: blur(18px) saturate(1.1);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #fff;
  max-width: 680px;
}

.eyebrow,
.section-heading p,
.rank-panel p,
.page-hero p,
.category-overview-card p {
  margin: 0 0 8px;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.hero-content h1 {
  max-width: 740px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
}

.hero-content h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4.5vw, 4.2rem);
}

.hero-content p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-tags,
.tag-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
}

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover,
.card-actions a:hover,
.category-overview-card a:hover,
.wide-link:hover,
.global-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.28);
}

.hero-poster {
  display: block;
  align-self: center;
  overflow: hidden;
  border-radius: 34px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.34);
  transform: perspective(900px) rotateY(-8deg);
}

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

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: #f59e0b;
}

.quick-entry {
  width: min(100% - 32px, var(--max));
  margin: -30px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-entry a {
  padding: 20px;
  border-radius: 20px;
  color: var(--amber-dark);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 119, 6, 0.15);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-entry a:hover {
  transform: translateY(-4px);
  background: #fff7ed;
}

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

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

.section-heading h2,
.rank-panel h2,
.page-hero h1,
.content-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.section-heading a {
  color: var(--amber-dark);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 58px rgba(31, 41, 55, 0.15);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #92400e);
}

.poster img,
.mini-card img,
.detail-poster img,
.category-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.68));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient {
  opacity: 1;
}

.quality-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 28px;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 999px;
}

.quality-badge {
  right: 12px;
  background: linear-gradient(135deg, var(--rose), var(--amber));
}

.rank-badge {
  left: 12px;
  background: rgba(17, 24, 39, 0.82);
}

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

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-card h2 {
  margin: 8px 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.movie-card h2 a:hover {
  color: var(--amber-dark);
}

.movie-card p {
  min-height: 3.1em;
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.92rem;
}

.tag-row span {
  color: var(--amber-dark);
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.score {
  color: var(--amber-dark);
  font-weight: 900;
}

.card-actions a {
  padding: 8px 12px;
  font-size: 0.82rem;
}

.soft-panel {
  width: min(100% - 32px, calc(var(--max) + 40px));
  padding-inline: 20px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

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

.category-tile {
  overflow: hidden;
  min-height: 246px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
  transition: transform 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 116px;
  margin-bottom: 16px;
}

.category-mosaic img {
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #92400e);
}

.category-tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.category-tile em,
.category-overview-card span,
.mini-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

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

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(67, 20, 7, 0.92));
  color: #fff;
  box-shadow: var(--shadow);
}

.rank-panel h2 {
  color: #fff;
  margin-bottom: 20px;
}

.rank-list,
.overview-mini-list {
  display: grid;
  gap: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.16);
}

.mini-card img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #92400e);
}

.mini-card strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-panel .mini-card em {
  color: rgba(255, 255, 255, 0.64);
}

.wide-link {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 12px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  width: min(100% - 32px, var(--max));
  margin: 34px auto 0;
  padding: clamp(46px, 8vw, 86px);
  color: #fff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 24%, rgba(245, 158, 11, 0.33), transparent 20rem),
    linear-gradient(135deg, #111827, #78350f 58%, #14532d);
  box-shadow: var(--shadow);
}

.page-hero span {
  display: block;
  max-width: 820px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.08);
}

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

.category-overview-card a {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
}

.category-overview-card .mini-card {
  background: #fff7ed;
}

.tool-bar,
.library-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.tool-bar {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.library-tools {
  grid-template-columns: minmax(260px, 1fr) repeat(3, 180px);
}

.tool-bar input,
.tool-bar select,
.library-tools input,
.library-tools select {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
}

.tool-bar input:focus,
.tool-bar select:focus,
.library-tools input:focus,
.library-tools select:focus {
  border-color: rgba(217, 119, 6, 0.55);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.result-state {
  margin: 28px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  filter: blur(14px) saturate(1.08);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.96));
}

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

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0 72px;
  color: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background: linear-gradient(135deg, #111827, #92400e);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.35);
}

.detail-poster span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--green));
  font-weight: 900;
}

.detail-info h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.detail-lead {
  max-width: 760px;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.detail-meta span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.detail-actions .ghost-btn {
  color: #fff;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.24);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.56));
  cursor: pointer;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--green));
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.28);
  font-size: 2rem;
}

.player-overlay strong {
  font-size: 1.22rem;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.content-card {
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.08);
}

.content-card p {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 1.02rem;
}

.site-footer {
  margin-top: 44px;
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #0f172a);
}

.footer-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: #fbbf24;
}

.footer-brand {
  color: #fff;
  font-size: 1.2rem;
}

.footer-grid p {
  max-width: 440px;
  margin: 14px 0 0;
  color: #9ca3af;
}

.footer-bottom {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.92rem;
}

.image-fallback {
  opacity: 0;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .movie-grid,
  .category-grid,
  .slim-grid,
  .ranking-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column,
  .overview-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  .site-nav {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 8px;
  }

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

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

  .nav-link {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.64);
  }

  .global-search input {
    width: 100%;
  }

  .hero {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 42px 0 82px;
  }

  .hero-poster {
    max-width: 290px;
    justify-self: center;
    transform: none;
  }

  .quick-entry {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .tool-bar,
  .library-tools,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .quick-entry,
  .movie-grid,
  .category-grid,
  .slim-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .section-wrap {
    padding: 46px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .content-card,
  .category-overview-card {
    padding: 22px;
  }
}
