* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111827;
  background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 48%, #eff6ff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, rgba(88, 28, 135, 0.96), rgba(157, 23, 77, 0.96), rgba(30, 64, 175, 0.96));
  box-shadow: 0 12px 30px rgba(88, 28, 135, 0.28);
  backdrop-filter: blur(14px);
}

.nav-bar {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

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

.brand-mark,
.footer-brand span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #581c87;
  background: linear-gradient(135deg, #fde68a, #fbcfe8);
  box-shadow: 0 0 28px rgba(253, 230, 138, 0.5);
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fde68a;
  transform: translateY(-1px);
}

.top-search {
  display: flex;
  align-items: center;
  width: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.top-search input {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 14px;
}

.top-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.top-search button {
  color: #581c87;
  background: #fde68a;
  padding: 10px 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-banner {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, rgba(236, 72, 153, 0.94), rgba(147, 51, 234, 0.94), rgba(59, 130, 246, 0.94));
}

.stars-background {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.9) 0 1px, transparent 2px), radial-gradient(circle at 80% 10%, rgba(255,255,255,0.85) 0 1px, transparent 2px), radial-gradient(circle at 70% 75%, rgba(255,255,255,0.8) 0 1px, transparent 2px), radial-gradient(circle at 35% 80%, rgba(255,255,255,0.65) 0 1px, transparent 2px);
  background-size: 150px 150px, 220px 220px, 180px 180px, 260px 260px;
  animation: starDrift 16s linear infinite;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.42;
}

.hero-glow-a {
  left: 8%;
  top: 15%;
  background: #fde68a;
}

.hero-glow-b {
  right: 4%;
  bottom: 10%;
  background: #93c5fd;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 46px;
  padding: 64px 0;
}

.eyebrow,
.hero-kicker,
.sub-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: #7e22ce;
  background: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-main-copy h1 {
  margin: 24px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 38px rgba(88, 28, 135, 0.3);
}

.hero-main-copy p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
}

.hero-search {
  display: flex;
  max-width: 620px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 60px rgba(31, 41, 55, 0.18);
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  color: #fff;
  padding: 14px 18px;
  border: 0;
  outline: 0;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.hero-search button,
.btn-light {
  border-radius: 999px;
  color: #581c87;
  background: #fde047;
  padding: 14px 24px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(253, 224, 71, 0.28);
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-quick-links a,
.btn-glass {
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-quick-links a:hover,
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 80px rgba(31, 41, 55, 0.28);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: center;
  padding: 32px;
  opacity: 0;
  transform: translateX(16px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

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

.hero-copy h2 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

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

.hero-tags {
  margin: 18px 0 24px;
}

.hero-tags span,
.card-tags span,
.detail-tags span {
  border-radius: 999px;
  color: #be185d;
  background: #fce7f3;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(31, 41, 55, 0.35);
  transform: rotate(2deg);
}

.hero-poster img,
.poster-frame img,
.detail-info-card img,
.small-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #db2777, #7e22ce);
}

.hero-dots {
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: #fde047;
}

.page-section {
  padding: 64px 0;
}

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

.section-heading span {
  color: #be185d;
  background: #fce7f3;
}

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 660px;
  margin: 0;
  color: #6b7280;
}

.section-more,
.category-enter {
  display: inline-flex;
  border-radius: 999px;
  color: #be185d;
  background: #fce7f3;
  padding: 12px 18px;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.section-more:hover,
.category-enter:hover {
  background: #fbcfe8;
  transform: translateY(-2px);
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 28px;
  color: #fff;
  padding: 24px;
  box-shadow: 0 22px 50px rgba(88, 28, 135, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(88, 28, 135, 0.26);
}

.category-tile span,
.category-overview-head span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 28px;
}

.category-tile strong,
.category-overview-head strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 24px;
}

.category-tile em,
.category-overview-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
}

.pink-purple { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.yellow-pink { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.rose-violet { background: linear-gradient(135deg, #fb7185, #a855f7); }
.purple-blue { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.red-pink { background: linear-gradient(135deg, #ef4444, #db2777); }
.cyan-blue { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.indigo-purple { background: linear-gradient(135deg, #4f46e5, #9333ea); }
.orange-rose { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.slate-purple { background: linear-gradient(135deg, #334155, #7e22ce); }
.green-cyan { background: linear-gradient(135deg, #10b981, #0891b2); }
.amber-yellow { background: linear-gradient(135deg, #d97706, #eab308); }
.stone-red { background: linear-gradient(135deg, #78716c, #b91c1c); }

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.16);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.poster-frame img {
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.poster-shade span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  padding: 10px 16px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 40px;
  border-radius: 999px;
  color: #581c87;
  background: #fde047;
  padding: 7px 10px;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

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

.card-meta-line,
.card-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
}

.movie-card h3 {
  min-height: 48px;
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #db2777;
}

.movie-card p {
  display: -webkit-box;
  min-height: 60px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #4b5563;
  font-size: 14px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-tags {
  margin-bottom: 12px;
}

.card-stats {
  justify-content: space-between;
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(155deg, #581c87, #be185d, #1d4ed8);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(88, 28, 135, 0.25);
}

.ranking-title span {
  color: #fde047;
  font-weight: 900;
}

.ranking-title h2 {
  margin: 4px 0 18px;
  font-size: 30px;
}

.ranking-panel ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranking-panel a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  padding: 11px 12px;
}

.ranking-panel span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #581c87;
  background: #fde047;
  font-weight: 900;
}

.ranking-panel strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-panel em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 170px 170px auto auto;
  gap: 12px;
  align-items: end;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  padding: 18px;
  margin-bottom: 26px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 44px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  outline: 0;
  background: #fff;
  padding: 0 13px;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

.filter-panel button {
  height: 44px;
  border-radius: 16px;
  padding: 0 18px;
  color: #fff;
  background: #db2777;
  font-weight: 900;
}

.filter-panel button[data-filter-reset] {
  color: #be185d;
  background: #fce7f3;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #7e22ce, #db2777, #2563eb);
  padding: 76px 0;
}

.sub-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.28), transparent 26%), radial-gradient(circle at 80% 10%, rgba(253,224,71,0.24), transparent 24%);
}

.sub-hero .container,
.detail-hero .container {
  position: relative;
  z-index: 1;
}

.sub-hero h1,
.detail-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sub-hero p,
.detail-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}

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

.category-overview-card {
  min-height: 360px;
}

.category-overview-head {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.category-overview-head strong {
  margin: 0;
}

.category-samples {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.small-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px;
}

.small-card img {
  aspect-ratio: 2 / 3;
  border-radius: 12px;
}

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

.small-card em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-style: normal;
}

.category-enter {
  position: relative;
  z-index: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.player-card,
.detail-info-card,
.detail-content article {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

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

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.35), rgba(88, 28, 135, 0.42));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-cover span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: #581c87;
  background: #fde047;
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(253, 224, 71, 0.26);
}

.play-cover strong {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  backdrop-filter: blur(10px);
}

.play-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
}

.player-title-row span {
  border-radius: 999px;
  color: #be185d;
  background: #fce7f3;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
}

.player-title-row strong {
  font-size: 18px;
}

.detail-info-card {
  padding: 18px;
}

.detail-info-card img {
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.14);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.detail-meta-grid div {
  border-radius: 16px;
  background: #f9fafb;
  padding: 12px;
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: #6b7280;
  font-size: 12px;
}

.detail-meta-grid strong {
  margin-top: 3px;
  color: #111827;
  font-size: 14px;
}

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

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

.detail-content article {
  padding: 26px;
}

.detail-content h2 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.detail-content p {
  margin: 0;
  color: #374151;
  font-size: 16px;
}

.year-links a {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  margin-top: 40px;
  color: #fff;
  background: linear-gradient(90deg, #581c87, #831843, #1e3a8a);
}

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

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fde047;
}

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

@keyframes starDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 150px 150px, -220px 220px, 180px -180px, -260px -260px; }
}

@media (max-width: 1120px) {
  .nav-links,
  .top-search {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

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

  .hero-layout,
  .two-column-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 500px;
  }

  .ranking-panel {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .hero-banner,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    padding: 52px 0;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .hero-poster {
    width: min(240px, 70%);
    margin: 0 auto;
  }

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

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

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

  .category-grid,
  .category-overview-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand {
    font-size: 20px;
  }

  .hero-main-copy h1 {
    font-size: 42px;
  }

  .hero-search,
  .hero-actions,
  .player-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }

  .hero-slider {
    min-height: 650px;
    border-radius: 26px;
  }

  .hero-slide {
    padding: 22px;
  }

  .hero-dots {
    left: 22px;
    bottom: 20px;
  }

  .movie-grid,
  .compact-grid,
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h3 {
    font-size: 15px;
  }

  .category-grid,
  .category-overview-grid,
  .detail-content,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .sub-hero,
  .detail-hero {
    padding: 52px 0;
  }

  .play-cover span {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }
}
