:root {
  --pink: #ec4899;
  --rose: #f43f5e;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f97316;
  --yellow: #f59e0b;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: rgba(255, 255, 255, 0.86);
  --shadow: 0 20px 40px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #fdf2f8 0%, #faf5ff 48%, #eff6ff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  border: 0;
  padding: 8px 2px;
  background: none;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  display: grid;
  width: 190px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.dropdown-panel a:hover {
  color: var(--pink);
  background: linear-gradient(90deg, #fdf2f8, #faf5ff);
}

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

.nav-search input,
.search-tools input,
.search-tools select,
.filter-bar input,
.filter-bar select {
  border: 2px solid #fbcfe8;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 220px;
  padding: 10px 16px;
}

.nav-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.22);
}

.nav-search input:focus,
.search-tools input:focus,
.search-tools select:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  padding: 8px 10px;
  color: var(--pink);
  background: #fdf2f8;
  font-size: 22px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid #fce7f3;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0 20px;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #4b5563;
  font-weight: 800;
}

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: linear-gradient(120deg, #db2777, #7c3aed, #2563eb);
}

.hero-slider,
.hero-slide,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.06);
}

.hero-shade {
  background:
    radial-gradient(circle at 74% 46%, rgba(255, 255, 255, 0.26), transparent 26%),
    linear-gradient(90deg, rgba(124, 58, 237, 0.88), rgba(219, 39, 119, 0.74) 45%, rgba(37, 99, 235, 0.7)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.08));
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
  color: #fff;
}

.hero-copy {
  max-width: 720px;
  animation: fadeUp 0.9s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-weight: 900;
}

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

.hero p {
  margin: 0 0 24px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-meta,
.detail-meta,
.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.detail-meta span,
.movie-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-meta span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-light {
  color: var(--pink);
  background: #fff;
  box-shadow: 0 18px 35px rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.38);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  inset: auto 24px 24px auto;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: #fff;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: linear-gradient(0deg, #fdf2f8, rgba(253, 242, 248, 0));
}

.category-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -44px;
  margin-bottom: 64px;
}

.category-card,
.category-overview-head,
.page-hero {
  color: #fff;
  background-size: 200% 200%;
  animation: gradientMove 14s ease infinite;
}

.category-card {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.18);
}

.category-card strong {
  font-size: 21px;
}

.category-card em {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.category-icon {
  font-size: 28px;
}

.section-block {
  margin-bottom: 68px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.heading-blue h2 {
  background-image: linear-gradient(90deg, var(--blue), var(--cyan));
}

.heading-blue a {
  color: var(--blue);
}

.heading-gold h2 {
  background-image: linear-gradient(90deg, var(--yellow), var(--orange));
}

.heading-gold a {
  color: var(--orange);
}

.heading-green h2 {
  background-image: linear-gradient(90deg, var(--green), #059669);
}

.heading-green a {
  color: var(--green);
}

.gradient-panel {
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.panel-warm {
  background: linear-gradient(135deg, #fff7ed, #fff1f2, #fdf2f8);
}

.panel-cool {
  background: linear-gradient(135deg, #eff6ff, #ecfeff, #f0fdfa);
}

.panel-gold {
  background: linear-gradient(135deg, #fffbeb, #fef3c7, #fff7ed);
}

.panel-green {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa, #f7fee7);
}

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

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.movie-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
}

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

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

.movie-year,
.movie-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
}

.movie-year {
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  font-size: 12px;
}

.movie-play {
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.22s ease;
}

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

.movie-body {
  padding: 16px;
}

.movie-body h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card-link:hover h2 {
  color: var(--pink);
}

.movie-body p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.movie-tags span {
  color: #1d4ed8;
  background: #dbeafe;
}

.movie-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

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

.ranking-row {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ranking-link {
  display: grid;
  grid-template-columns: 52px 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.rank-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7c2d12;
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  font-size: 20px;
  font-weight: 900;
}

.rank-gold {
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.rank-silver {
  color: #fff;
  background: linear-gradient(135deg, #cbd5e1, #64748b);
}

.rank-bronze {
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #c2410c);
}

.ranking-link img {
  width: 150px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-info strong,
.ranking-info em {
  display: block;
}

.ranking-info strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.ranking-info em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.ranking-views {
  color: var(--orange);
  font-weight: 900;
}

.page-shell {
  padding-top: 34px;
  padding-bottom: 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
}

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

.page-hero {
  overflow: hidden;
  position: relative;
  margin-bottom: 28px;
  border-radius: 34px;
  padding: clamp(30px, 6vw, 58px);
  box-shadow: var(--shadow);
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

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

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

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

.category-overview {
  border-radius: 28px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.category-overview-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}

.category-overview p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.category-samples,
.related-list {
  display: grid;
  gap: 12px;
}

.small-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.small-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.small-card img {
  width: 112px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
}

.small-card strong,
.small-card em {
  display: block;
}

.small-card strong {
  margin-bottom: 6px;
  color: #111827;
  line-height: 1.4;
}

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

.filter-bar,
.search-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 24px;
  background: var(--soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.search-tools {
  grid-template-columns: minmax(0, 1fr) 170px 170px 170px;
}

.search-tools input,
.search-tools select,
.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 12px 16px;
}

.search-empty {
  display: none;
  margin: 28px 0;
  padding: 22px;
  border-radius: 22px;
  color: #9f1239;
  background: #ffe4e6;
  font-weight: 900;
  text-align: center;
}

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

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

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

.detail-main,
.related-panel,
.detail-card {
  min-width: 0;
}

.player-section {
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(139, 92, 246, 0.18));
  box-shadow: var(--shadow);
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #020617;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), rgba(2, 6, 23, 0.66));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 34px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

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

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

.detail-card,
.related-panel {
  margin-top: 22px;
  border-radius: 26px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-card h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.detail-lead {
  margin: 0 0 20px;
  color: #be185d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
}

.detail-meta span {
  color: #6d28d9;
  background: #f3e8ff;
}

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

.detail-tags span {
  color: #075985;
  background: #e0f2fe;
}

.text-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}

.text-section h2,
.related-panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.text-section p {
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.review-section {
  border-top-color: #fed7aa;
}

.review-section p {
  border-left: 4px solid var(--orange);
  border-radius: 18px;
  padding: 18px;
  background: #fff7ed;
}

.related-panel {
  position: sticky;
  top: 92px;
  margin-top: 0;
}

.ranking-page-panel {
  padding: 18px;
}

.ranking-list-large .ranking-link {
  grid-template-columns: 58px 170px minmax(0, 1fr) auto;
}

.ranking-list-large .ranking-link img {
  width: 170px;
  height: 100px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(90deg, #db2777, #7c3aed, #2563eb);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-logo {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.gradient-pink-purple,
.gradient-purple-pink {
  background-image: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
}

.gradient-red-orange {
  background-image: linear-gradient(135deg, #ef4444, #f97316, #f59e0b);
}

.gradient-orange-yellow {
  background-image: linear-gradient(135deg, #f97316, #f59e0b, #facc15);
}

.gradient-green-emerald {
  background-image: linear-gradient(135deg, #22c55e, #10b981, #14b8a6);
}

.gradient-cyan-blue {
  background-image: linear-gradient(135deg, #06b6d4, #3b82f6, #6366f1);
}

.gradient-blue-indigo {
  background-image: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
}

.gradient-purple-pink {
  background-image: linear-gradient(135deg, #8b5cf6, #ec4899, #f43f5e);
}

.gradient-violet-blue {
  background-image: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
}

[data-search-card].is-hidden {
  display: none;
}

@keyframes gradientMove {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: center;
    padding-top: 20px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .related-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-logo {
    font-size: 21px;
  }

  .hero {
    height: 590px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-meta,
  .hero-actions {
    justify-content: center;
  }

  .category-strip,
  .movie-grid,
  .movie-grid-three,
  .category-movie-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gradient-panel {
    padding: 16px;
    border-radius: 24px;
  }

  .ranking-link,
  .ranking-list-large .ranking-link {
    grid-template-columns: 42px 96px minmax(0, 1fr);
  }

  .ranking-link img,
  .ranking-list-large .ranking-link img {
    width: 96px;
    height: 64px;
  }

  .ranking-views {
    display: none;
  }

  .filter-bar,
  .search-tools {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .related-panel {
    padding: 18px;
  }

  .text-section p {
    font-size: 16px;
  }
}
