:root {
  --pink: #ec4899;
  --pink-deep: #db2777;
  --purple: #8b5cf6;
  --purple-deep: #7c3aed;
  --blue: #3b82f6;
  --green: #10b981;
  --orange: #f97316;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --line: rgba(148, 163, 184, 0.22);
  --shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
  --shadow-strong: 0 26px 70px rgba(236, 72, 153, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.24), transparent 34rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 34rem),
    linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 48%, #eff6ff 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

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

.container.narrow {
  width: min(920px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.site-logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.3);
}

.site-logo__text {
  display: grid;
  line-height: 1.15;
}

.site-logo__text strong,
.footer-logo {
  font-size: 21px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.site-logo__text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

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

.nav-link {
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.26);
}

.header-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 8px 4px 8px 12px;
  color: #374151;
  background: transparent;
}

.header-search button,
.quick-search button,
.button {
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
  padding: 8px 15px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.header-search button:hover,
.button:hover,
.quick-search button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.26);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #374151;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 70px 0 84px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.56;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb--one {
  width: 180px;
  height: 180px;
  left: 8%;
  top: 80px;
  background: #f9a8d4;
}

.hero-orb--two {
  width: 230px;
  height: 230px;
  right: 6%;
  bottom: 80px;
  background: #c4b5fd;
  animation-delay: 1.2s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.06);
  }
}

.hero-slides {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 500px;
  margin: 0 auto;
  border-radius: 34px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  gap: 40px;
  align-items: center;
  min-height: 500px;
  padding: 56px;
  border-radius: 34px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  box-shadow: var(--shadow-strong);
}

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

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.hero-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.24) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.72), transparent 32rem);
}

.hero-slide__content {
  max-width: 680px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #be185d;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 35px rgba(236, 72, 153, 0.14);
}

.hero-slide h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-slide p {
  margin: 0;
  max-width: 650px;
  color: #4b5563;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

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

.tag-chip,
.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  color: #7e22ce;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.18);
}

.tag-chip {
  padding: 7px 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
}

.button--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.button--light {
  color: #374151;
  background: rgba(255, 255, 255, 0.9);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

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

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

.hero-controls {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-arrow,
.hero-dot {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--pink);
  font-size: 32px;
  line-height: 1;
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.quick-search-panel {
  margin-top: -40px;
  position: relative;
  z-index: 8;
}

.quick-search-panel .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.quick-search label,
.inline-search span {
  color: #374151;
  font-weight: 800;
}

.quick-search input,
.inline-search input {
  border: 1px solid rgba(148, 163, 184, 0.28);
  outline: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: #374151;
}

.quick-search button {
  padding: 12px 20px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

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

.quick-links a,
.text-link,
.section-more {
  color: var(--pink);
  font-weight: 800;
}

.section {
  padding: 76px 0;
}

.section--white {
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(10px);
}

.section--soft {
  background: linear-gradient(90deg, rgba(252, 231, 243, 0.82), rgba(237, 233, 254, 0.82), rgba(219, 234, 254, 0.82));
}

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

.section-heading span {
  color: var(--pink);
  font-size: 14px;
  font-weight: 850;
}

.section-heading h2,
.about-block h2,
.page-hero h1 {
  margin: 8px 0 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-more {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

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

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

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

.movie-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(168, 85, 247, 0.18);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111827;
}

.poster-frame img,
.featured-poster img,
.compact-poster img,
.category-tile img,
.detail-poster img,
.category-overview-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-frame img,
.featured-poster img {
  transition: transform 0.5s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.54), transparent);
}

.movie-card__body {
  padding: 18px;
}

.movie-card__topline,
.movie-card__meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.movie-card__topline a,
.movie-meta a {
  color: var(--pink);
  font-weight: 800;
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.compact-title:hover,
.category-overview-card h2 a:hover {
  color: var(--pink);
}

.movie-card p,
.compact-body p,
.category-overview-card p,
.about-block p,
.page-hero p,
.content-card p,
.player-card p {
  color: var(--muted);
  line-height: 1.75;
}

.movie-card p {
  min-height: 56px;
  margin: 0 0 12px;
  font-size: 14px;
}

.movie-card__meta span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card--featured {
  min-height: 320px;
}

.featured-poster {
  position: relative;
  display: block;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.featured-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.82) 0%, rgba(17, 24, 39, 0.08) 62%);
}

.featured-label,
.featured-title {
  position: absolute;
  left: 20px;
  right: 20px;
  color: #fff;
}

.featured-label {
  bottom: 68px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.featured-title {
  bottom: 24px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.18;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.18);
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.24;
  filter: saturate(1.1);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.08));
}

.category-tile > *:not(img) {
  position: relative;
  z-index: 2;
}

.category-tile__letter {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 900;
}

.category-tile strong,
.category-tile em {
  display: block;
}

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

.category-tile em {
  font-style: normal;
  opacity: 0.9;
  line-height: 1.6;
  font-size: 13px;
}

.compact-list {
  display: grid;
  gap: 16px;
}

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

.movie-card--compact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.compact-poster {
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 15px;
  overflow: hidden;
  background: #111827;
}

.compact-title {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.compact-body p {
  margin: 8px 0;
  font-size: 14px;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #facc15, #fb923c, #f43f5e);
  box-shadow: 0 10px 30px rgba(251, 146, 60, 0.35);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag-pill {
  padding: 10px 16px;
  color: #7c3aed;
  background: rgba(255, 255, 255, 0.8);
}

.about-block {
  text-align: center;
}

.about-block p {
  margin: 18px auto 0;
  max-width: 780px;
  font-size: 18px;
}

.site-footer {
  padding: 42px 0;
  background: rgba(17, 24, 39, 0.96);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  font-weight: 900;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a:hover {
  color: #fff;
}

.page-hero {
  padding: 86px 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 16% 10%, rgba(244, 114, 182, 0.26), transparent 24rem),
    radial-gradient(circle at 80% 24%, rgba(96, 165, 250, 0.23), transparent 24rem);
}

.page-hero p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 18px;
}

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

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

.breadcrumb--light {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb--light a:hover {
  color: #fff;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 18px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.category-overview-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #111827;
}

.category-overview-card h2 {
  margin: 4px 0 8px;
  color: #111827;
  font-size: 28px;
}

.mini-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0;
}

.mini-link-row a {
  padding: 7px 11px;
  border-radius: 999px;
  color: #7c3aed;
  font-size: 13px;
  font-weight: 750;
  background: #f5f3ff;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.filter-panel--search {
  justify-content: center;
}

.filter-buttons,
.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  padding: 10px 16px;
  border-radius: 999px;
  color: #374151;
  font-weight: 800;
  background: #f3f4f6;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: translateY(-1px);
}

.inline-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-search--wide {
  width: min(720px, 100%);
}

.inline-search--wide input {
  width: 100%;
}

.empty-state {
  margin: 32px 0 0;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  background: #fff;
}

.rank-panel {
  display: none;
}

.rank-panel.is-active {
  display: block;
}

.rank-tabs {
  justify-content: center;
  margin-bottom: 30px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 44px 0 64px;
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.detail-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.56));
  backdrop-filter: blur(8px);
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.detail-info .hero-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-info h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-one-line {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.75;
}

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

.detail-meta-grid span {
  padding: 13px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.13);
}

.detail-meta-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 12px;
}

.player-card,
.content-card {
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.player-card {
  padding: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.12));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.4);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #fff;
}

.player-card h2 {
  margin: 18px 8px 8px;
  font-size: 24px;
}

.player-card p {
  margin: 0 8px 4px;
}

.content-card {
  padding: 28px;
  margin-bottom: 22px;
}

.content-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 26px;
}

.content-card p {
  margin: 0;
  font-size: 17px;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.prev-next a {
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--pink);
  font-weight: 850;
  background: #fff;
  box-shadow: var(--shadow);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .movie-grid,
  .rank-grid,
  .movie-grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
  }

  .site-logo {
    margin-right: auto;
  }

  .menu-toggle {
    display: inline-block;
  }

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

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

  .header-search {
    order: 5;
    width: 100%;
  }

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

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

  .hero-poster {
    max-width: 280px;
    margin: 0 auto;
  }

  .quick-search-panel .container,
  .quick-search {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .rank-grid,
  .movie-grid--home,
  .featured-grid,
  .compact-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .filter-panel,
  .inline-search {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .container.narrow,
  .hero-slides,
  .hero-controls {
    width: min(100% - 22px, 1180px);
  }

  .hero-carousel {
    min-height: 0;
    padding: 30px 0 56px;
  }

  .hero-slide {
    min-height: 0;
    padding: 26px;
    border-radius: 26px;
  }

  .hero-slide h1 {
    font-size: 36px;
  }

  .hero-slide p {
    font-size: 16px;
  }

  .section {
    padding: 52px 0;
  }

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

  .movie-grid,
  .rank-grid,
  .movie-grid--home,
  .featured-grid,
  .category-grid,
  .compact-list--grid {
    grid-template-columns: 1fr;
  }

  .movie-card--compact {
    grid-template-columns: 82px 1fr;
  }

  .prev-next {
    grid-template-columns: 1fr;
  }

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