:root {
  --amber-50: #fff7ed;
  --amber-100: #ffedd5;
  --amber-400: #f59e0b;
  --amber-500: #f97316;
  --amber-600: #ea580c;
  --orange-600: #c2410c;
  --red-500: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--amber-50), #ffffff 42%, #fff7ed);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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(255, 247, 237, 0.96), rgba(255, 237, 213, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid rgba(251, 146, 60, 0.25);
  box-shadow: 0 8px 22px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(4deg);
}

.brand-text strong,
.footer-brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #d97706, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--gray-500);
  font-style: normal;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gray-700);
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-600);
  background: rgba(251, 146, 60, 0.15);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(251, 146, 60, 0.16);
  color: var(--amber-600);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #f59e0b 0%, #fb923c 48%, #ea580c 100%);
}

.hero-light {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(70px);
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-light--left {
  left: 5%;
  top: 5%;
}

.hero-light--right {
  right: 2%;
  bottom: 0;
  animation-delay: 1.4s;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
}

.eyebrow,
.page-banner span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions,
.center-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.28);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.hero-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-category-row a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.hero-stage {
  position: relative;
}

.hero-slides {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(120, 53, 15, 0.34);
  background: rgba(17, 24, 39, 0.38);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.08) 48%, rgba(17, 24, 39, 0.42));
}

.hero-slide-overlay {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 2;
}

.hero-movie-type,
.card-badge,
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-movie-type {
  padding: 7px 12px;
  background: rgba(245, 158, 11, 0.94);
  color: var(--white);
}

.hero-slide h2 {
  margin: 14px 0 8px;
  font-size: 34px;
  line-height: 1.15;
}

.hero-slide p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-tags span,
.detail-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
}

.hero-slide-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--amber-500);
  color: var(--white);
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 24px;
  right: 24px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
}

.hero-controls button {
  pointer-events: auto;
  border: 0;
  color: var(--white);
  background: rgba(17, 24, 39, 0.42);
  backdrop-filter: blur(10px);
}

.hero-controls > button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-tint {
  max-width: none;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.85), rgba(236, 253, 245, 0.75));
}

.section-tint > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading span {
  color: var(--amber-600);
  background: var(--amber-100);
}

.section-heading h2,
.page-banner h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  color: var(--gray-800);
}

.section-heading p,
.page-banner p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.8;
}

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

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

.movie-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), #fed7aa);
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.58), transparent 60%);
}

.card-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(249, 115, 22, 0.92);
}

.rank-badge {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 14px;
  min-width: 32px;
  height: 32px;
  color: var(--white);
  background: rgba(239, 68, 68, 0.92);
}

.play-mark {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.9);
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 10px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta span,
.detail-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gray-100);
}

.card-tags {
  margin-top: 12px;
  color: var(--amber-600);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card--feature a {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.movie-card--feature .poster-wrap {
  aspect-ratio: auto;
  min-height: 420px;
}

.movie-card--feature .movie-card-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.movie-card--feature .movie-card-body h3 {
  font-size: 32px;
}

.movie-card--compact a {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 132px;
}

.movie-card--compact .poster-wrap {
  aspect-ratio: auto;
  height: 100%;
}

.movie-card--compact .movie-card-body {
  padding: 14px;
}

.movie-card--compact .movie-card-body h3 {
  font-size: 16px;
}

.movie-card--compact .movie-card-body p,
.movie-card--compact .card-tags {
  display: none;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 24px;
}

.featured-side {
  display: grid;
  gap: 18px;
}

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

.category-card a {
  display: grid;
  min-height: 260px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

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

.category-card-body {
  padding: 20px;
}

.category-card-body span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--amber-600);
  background: var(--amber-100);
  font-size: 12px;
  font-weight: 800;
}

.category-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-links a {
  display: inline-flex;
  min-height: auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--gray-100);
  box-shadow: none;
  color: var(--gray-600);
  font-size: 12px;
}

.page-banner {
  padding: 76px 24px 68px;
  text-align: center;
  background: linear-gradient(135deg, var(--amber-100), #ffffff 56%, #ffedd5);
}

.page-banner span {
  margin: 0 auto;
  color: var(--amber-600);
  background: rgba(249, 115, 22, 0.13);
}

.page-banner p {
  margin: 0 auto;
}

.category-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.category-pill {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  font-weight: 800;
}

.category-pill.is-active,
.category-pill:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

.search-panel {
  position: relative;
  margin-bottom: 30px;
}

.search-panel input {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: 18px;
  outline: none;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--gray-800);
}

.search-panel input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13), var(--shadow-soft);
}

.search-empty {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--amber-100);
  color: var(--amber-600);
  font-weight: 800;
  text-align: center;
}

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

.rank-row a {
  display: grid;
  grid-template-columns: 54px 110px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.rank-row strong {
  font-size: 28px;
  color: var(--amber-600);
  text-align: center;
}

.rank-row img {
  width: 110px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-info em {
  display: block;
  color: var(--gray-800);
  font-size: 17px;
  font-weight: 900;
  font-style: normal;
}

.rank-info small {
  display: block;
  margin-top: 6px;
  color: var(--gray-500);
}

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

.detail-hero {
  padding: 34px 24px 72px;
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.breadcrumbs {
  max-width: 1280px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--amber-600);
}

.detail-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.player-card,
.detail-side .side-panel,
.cover-card,
.detail-content {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-frame video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.22), rgba(17, 24, 39, 0.72));
}

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

.player-button-icon {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.94);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.28);
  font-size: 34px;
}

.player-status {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
  font-size: 14px;
}

.detail-content {
  padding: 30px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: none;
}

.detail-content h1 {
  margin: 0 0 18px;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.detail-content h2,
.side-panel h2 {
  margin: 28px 0 14px;
  color: var(--gray-800);
  font-size: 22px;
}

.detail-content p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.9;
}

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

.detail-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.cover-card {
  overflow: hidden;
}

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

.cover-card div {
  padding: 18px;
}

.cover-card strong {
  display: block;
  font-size: 19px;
}

.cover-card span {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--amber-600);
  background: var(--amber-100);
  font-size: 12px;
  font-weight: 800;
}

.side-panel {
  padding: 20px;
}

.side-panel .movie-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.side-panel .movie-card--compact a {
  grid-template-columns: 112px 1fr;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #9ca3af;
  line-height: 1.8;
}

.footer-links,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a,
.footer-tags a {
  color: #d1d5db;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover,
.footer-tags a:hover {
  color: var(--amber-400);
}

.footer-copy {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .hero-inner,
  .detail-grid,
  .featured-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    max-width: 760px;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 4px;
  }

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

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

  .hero-inner {
    padding: 56px 18px 64px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-slides {
    min-height: 420px;
    border-radius: 24px;
  }

  .hero-slide h2 {
    font-size: 27px;
  }

  .section {
    padding: 52px 18px;
  }

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

  .movie-card--feature a,
  .movie-card--compact a {
    grid-template-columns: 1fr;
  }

  .movie-card--feature .poster-wrap {
    min-height: 260px;
  }

  .rank-row a {
    grid-template-columns: 42px 90px 1fr;
  }

  .rank-views {
    grid-column: 3;
  }
}

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

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

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

  .btn {
    width: 100%;
  }

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

  .hero-slide-overlay {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .hero-controls {
    left: 14px;
    right: 14px;
  }

  .detail-hero {
    padding: 24px 16px 52px;
  }

  .detail-content {
    padding: 22px;
  }

  .rank-row a {
    grid-template-columns: 34px 76px 1fr;
    gap: 12px;
  }

  .rank-row img {
    width: 76px;
    height: 54px;
  }
}
