:root {
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --yellow-50: #fefce8;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: rgba(255, 255, 255, 0.72);
  --line: rgba(217, 119, 6, 0.18);
  --shadow: 0 18px 45px rgba(120, 53, 15, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--amber-50), var(--yellow-50));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

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

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.22);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: rotate(10deg) scale(1.04);
}

.brand-text strong {
  display: block;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-700), #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--amber-700);
  font-size: 12px;
}

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

.nav-link {
  color: var(--amber-950);
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-panel input,
.quick-search input,
.filter-line input,
.search-box input {
  border: 2px solid var(--amber-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--amber-950);
  outline: none;
  padding: 11px 16px;
  min-width: 230px;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-panel input:focus,
.quick-search input:focus,
.filter-line input:focus,
.search-box input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
  background: #fff;
}

.header-search button,
.mobile-panel button,
.quick-search button,
.search-box button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--amber-500), #eab308);
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--amber-100);
  padding: 10px;
  margin-left: auto;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--amber-800);
  margin: 5px 0;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff7db;
  box-shadow: var(--shadow);
}

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.mobile-panel a {
  padding: 10px 8px;
  font-weight: 800;
  color: var(--amber-900);
}

main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 30px 0 48px;
}

.hero-viewport {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border-radius: 32px;
  background: var(--amber-900);
  box-shadow: 0 30px 70px rgba(69, 26, 3, 0.24);
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 42px;
  padding: 72px;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.55s ease both;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.15);
  transform: scale(1.04);
  opacity: 0.46;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(251, 191, 36, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(69, 26, 3, 0.96), rgba(120, 53, 15, 0.78) 45%, rgba(69, 26, 3, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff7ed;
  max-width: 720px;
}

.eyebrow,
.eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow-dark {
  color: var(--amber-800);
  background: var(--amber-100);
  border-color: var(--amber-200);
}

.hero-content h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  margin: 0 0 22px;
  letter-spacing: -0.04em;
}

.hero-content p {
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.75;
  margin: 0 0 28px;
  color: #ffedd5;
}

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

.hero-tags span {
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

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

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--amber-500), #eab308);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.28);
}

.button-secondary {
  color: var(--amber-900);
  background: #fff;
  border: 1px solid var(--amber-200);
}

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

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

.button-primary.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  background: rgba(255, 255, 255, 0.18);
}

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

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

.hero-poster span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 32px;
  background: rgba(245, 158, 11, 0.92);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 72px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  width: 28px;
  background: var(--amber-300);
}

.panel-block,
.filter-panel,
.page-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 28px;
  margin-bottom: 52px;
}

.quick-search h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--amber-950);
}

.quick-search form {
  display: flex;
  gap: 12px;
}

.quick-search input {
  flex: 1;
  min-width: 0;
}

.section-block {
  margin: 0 0 64px;
}

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

.section-heading span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--amber-700);
  font-size: 14px;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  color: var(--amber-950);
  letter-spacing: -0.03em;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 25px rgba(120, 53, 15, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(120, 53, 15, 0.16);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-200), var(--amber-50));
}

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

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.66));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-cover::after {
  opacity: 1;
}

.movie-duration,
.movie-play-icon {
  position: absolute;
  z-index: 2;
}

.movie-duration {
  right: 10px;
  top: 10px;
  color: #fff;
  background: var(--amber-500);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.movie-play-icon {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, 0.92);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.movie-info h3 {
  min-height: 52px;
  margin: 0 0 8px;
  color: #111827;
  font-size: 19px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: var(--amber-600);
}

.movie-info p {
  min-height: 46px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.movie-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rating {
  color: var(--amber-600);
  font-weight: 900;
}

.category-pill {
  color: var(--amber-800);
  background: var(--amber-100);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(120, 53, 15, 0.08);
}

.category-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  background: var(--amber-100);
}

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

.category-cover span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.category-card h3 {
  margin: 2px 0 8px;
  font-size: 22px;
  color: var(--amber-950);
}

.category-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.category-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--amber-800);
  font-weight: 700;
}

.ranking-section {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff, #fff7db);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.ranking-list,
.rank-full-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ranking-item a,
.rank-row a {
  display: grid;
  grid-template-columns: 64px 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-item a:hover,
.rank-row a:hover {
  transform: translateX(4px);
  background: #fff;
}

.rank-num {
  color: var(--amber-600);
  font-weight: 950;
  font-size: 22px;
  text-align: center;
}

.ranking-item img,
.rank-row img {
  width: 78px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--amber-100);
}

.rank-text strong {
  display: block;
  color: #111827;
  margin-bottom: 4px;
}

.rank-text em,
.rank-text small {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.ranking-item b,
.rank-row b {
  color: var(--amber-600);
}

.center-action {
  margin-top: 22px;
  text-align: center;
}

.page-main {
  padding: 34px 0 68px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 46px;
  margin-bottom: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(252, 211, 77, 0.46), transparent 28%),
    linear-gradient(135deg, var(--amber-950), var(--amber-700));
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 840px;
  margin: 0;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  padding: 24px;
}

.filter-line {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.filter-line input {
  flex: 1;
  min-width: 0;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  color: var(--amber-800);
  background: #fff;
  padding: 9px 13px;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: var(--amber-500);
  border-color: var(--amber-500);
}

.empty-state {
  display: none;
  text-align: center;
  color: var(--amber-800);
  font-weight: 800;
  padding: 40px;
}

.empty-state.is-visible {
  display: block;
}

.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-box input {
  flex: 1;
  min-width: 0;
}

.detail-page {
  padding-top: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--amber-800);
  font-weight: 800;
  margin: 0 0 18px;
}

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

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f172a;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.56));
  z-index: 3;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 36px;
  background: linear-gradient(135deg, var(--amber-500), #eab308);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.32);
  transition: transform 0.2s ease;
}

.play-overlay:hover span {
  transform: scale(1.08);
}

.play-overlay.is-hidden {
  display: none;
}

.detail-copy {
  margin-top: 24px;
  padding: 28px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.detail-copy h1 {
  margin: 0 0 16px;
  color: var(--amber-950);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-score {
  flex-shrink: 0;
  color: var(--amber-600);
  font-size: 24px;
}

.lead-text {
  margin: 0 0 22px;
  color: #374151;
  font-size: 20px;
  line-height: 1.8;
}

.detail-tags span {
  color: var(--amber-800);
  background: var(--amber-100);
  border-color: var(--amber-200);
}

.detail-copy h2,
.info-panel h2,
.side-related h2 {
  margin: 26px 0 12px;
  color: var(--amber-950);
  font-size: 24px;
}

.detail-copy p {
  margin: 0 0 16px;
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.detail-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 98px;
}

.poster-panel,
.info-panel,
.side-related {
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(120, 53, 15, 0.08);
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
  background: var(--amber-100);
}

.info-panel dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

.info-panel dt {
  color: var(--muted);
  font-weight: 700;
}

.info-panel dd {
  margin: 0;
  color: #111827;
  font-weight: 800;
}

.compact-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.compact-card:first-of-type {
  border-top: 0;
}

.compact-card img {
  width: 78px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--amber-100);
}

.compact-card strong {
  display: block;
  color: #111827;
  margin-bottom: 4px;
}

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

.related-section {
  margin-top: 58px;
}

.site-footer {
  margin-top: 48px;
  color: var(--amber-50);
  background: linear-gradient(180deg, var(--amber-900), var(--amber-950));
}

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

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: var(--amber-200);
}

.site-footer p {
  margin: 0;
  color: var(--amber-100);
  line-height: 1.8;
}

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

.site-footer a {
  color: var(--amber-100);
}

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

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(252, 211, 77, 0.2);
  text-align: center;
  color: var(--amber-200);
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .header-search {
    display: none;
  }

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

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

  .hero-poster {
    display: none;
  }

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

  .detail-aside {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .mobile-toggle {
    display: block;
  }

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

  .hero-viewport,
  .hero-slide {
    min-height: 560px;
  }

  .hero-slide {
    padding: 46px 28px 88px;
  }

  .hero-controls {
    left: 28px;
  }

  .quick-search,
  .category-card,
  .footer-inner,
  .detail-aside {
    grid-template-columns: 1fr;
  }

  .quick-search form,
  .search-box,
  .filter-line {
    flex-direction: column;
  }

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

  .ranking-item a,
  .rank-row a {
    grid-template-columns: 44px 64px minmax(0, 1fr);
  }

  .ranking-item b,
  .rank-row b {
    grid-column: 3;
  }
}

@media (max-width: 560px) {
  main,
  .header-inner,
  .mobile-panel,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1280px);
  }

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

  .brand-text small {
    display: none;
  }

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

  .page-hero,
  .filter-panel,
  .detail-copy,
  .ranking-section {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p,
  .lead-text {
    font-size: 16px;
  }

  .detail-title-row {
    flex-direction: column;
  }
}
