:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f0fdf4;
  --bg-mint: #ecfdf5;
  --text: #111827;
  --muted: #6b7280;
  --line: #d1fae5;
  --primary: #059669;
  --primary-dark: #047857;
  --teal: #0d9488;
  --accent: #14b8a6;
  --shadow: 0 20px 45px rgba(15, 118, 110, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 118, 110, 0.08);
  --radius: 24px;
  --radius-lg: 32px;
  --container: 1180px;
  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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(5, 150, 105, 0.28);
}

.logo-text {
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--primary-dark), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--bg-soft);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--primary-dark);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: var(--bg-mint);
  color: var(--primary-dark);
}

main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 48%, #ccfbf1 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 25%, rgba(16, 185, 129, 0.18), transparent 26%), radial-gradient(circle at 82% 12%, rgba(20, 184, 166, 0.2), transparent 24%), linear-gradient(rgba(5, 150, 105, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 150, 105, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: -40px -40px auto auto;
  width: 58vw;
  height: 58vw;
  min-width: 520px;
  min-height: 520px;
  border-radius: 999px;
  background-position: center;
  background-size: cover;
  opacity: 0.16;
  filter: blur(6px) saturate(1.25);
  mask-image: radial-gradient(circle, #000000 0%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  align-items: center;
  gap: 56px;
  max-width: var(--container);
  min-height: 640px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, #065f46 0%, var(--primary) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h1 span {
  display: block;
  font-size: 0.58em;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 26px;
  color: #4b5563;
  font-size: 1.12rem;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.95);
  color: #065f46;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.primary-button,
.ghost-button,
.soft-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(5, 150, 105, 0.26);
}

.ghost-button {
  border: 2px solid rgba(5, 150, 105, 0.35);
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-dark);
}

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.62);
  border-radius: 34px;
  background: #d1fae5;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-poster::after,
.poster-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(4, 120, 87, 0.58));
  content: "";
  opacity: 0.8;
}

.hero-poster-play,
.poster-play {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
}

.hero-poster-play {
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.9);
  box-shadow: 0 16px 32px rgba(6, 95, 70, 0.28);
}

.hero-search-card {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.hero-search label {
  color: var(--primary-dark);
  font-weight: 900;
  white-space: nowrap;
}

.hero-search div {
  display: flex;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 18px;
  outline: 0;
}

.hero-search button {
  border: 0;
  padding: 0 22px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--primary);
}

.content-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px;
}

.soft-section {
  max-width: none;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.soft-section > * {
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

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

.section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-action,
.soft-button {
  border: 1px solid rgba(5, 150, 105, 0.16);
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(5, 150, 105, 0.13);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(5, 150, 105, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #ccfbf1);
}

.poster-frame img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-play {
  right: 14px;
  bottom: 14px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.92);
  font-size: 0.78rem;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  min-width: 38px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #10b981);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

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

.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.movie-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--primary);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 8px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  min-height: 24px;
  padding: 2px 8px;
  font-size: 0.74rem;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(5, 150, 105, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.category-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.category-card::after,
.category-overview-card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  content: "";
}

.category-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #ffffff;
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1.3rem;
}

.category-card em {
  color: var(--muted);
  font-style: normal;
}

.page-hero {
  max-width: var(--container);
  margin: 34px auto 0;
  padding: 58px 24px;
}

.page-hero > div {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ecfdf5, #ffffff 50%, #ccfbf1);
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #064e3b;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.breadcrumb strong {
  color: #111827;
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(5, 150, 105, 0.13);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-field,
.filter-selects label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field span,
.filter-selects span {
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 900;
}

.search-field input,
.filter-selects select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
  color: #111827;
  outline: 0;
}

.search-field input {
  padding: 0 16px;
}

.filter-selects select {
  padding: 0 12px;
}

.search-field input:focus,
.filter-selects select:focus {
  border-color: rgba(5, 150, 105, 0.58);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.08);
}

.filter-selects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.empty-result {
  margin: 24px 0;
  padding: 24px;
  border: 1px dashed rgba(5, 150, 105, 0.28);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--primary-dark);
  font-weight: 900;
  text-align: center;
}

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

.category-overview-card {
  padding: 22px;
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.category-overview-head span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.category-overview-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.category-preview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.category-preview-strip a {
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-soft);
}

.category-preview-strip img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 900;
}

.detail-hero {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5, #ffffff 48%, #ccfbf1);
}

.detail-backdrop {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 68vw;
  height: 68vw;
  border-radius: 999px;
  background-position: center;
  background-size: cover;
  opacity: 0.14;
  filter: blur(8px) saturate(1.25);
  mask-image: radial-gradient(circle, #000000 0%, transparent 72%);
}

.detail-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
}

.detail-poster {
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.detail-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-info h1 {
  max-width: 780px;
  margin: 0 0 12px;
  color: #064e3b;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 850px;
  margin: 0 0 24px;
  color: #374151;
  font-size: 1.12rem;
}

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

.meta-list div {
  padding: 14px;
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.meta-list dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.meta-list dd {
  margin: 2px 0 0;
  color: #064e3b;
  font-weight: 900;
}

.detail-tags {
  margin-bottom: 28px;
}

.player-section {
  padding-bottom: 40px;
}

.video-player {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
}

.video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: radial-gradient(circle at center, rgba(5, 150, 105, 0.24), rgba(2, 6, 23, 0.74));
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.34);
  font-size: 1.6rem;
}

.player-start strong {
  font-size: 1.1rem;
}

.video-player.is-playing .player-start {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.player-status {
  position: absolute;
  right: 18px;
  bottom: 14px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.62);
  color: #d1fae5;
  font-size: 0.8rem;
  font-weight: 800;
}

.detail-text-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
}

.detail-copy-card {
  padding: 28px;
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-copy-card h2 {
  margin: 0 0 14px;
  color: #064e3b;
  font-size: 1.5rem;
}

.detail-copy-card p {
  margin: 0;
  color: #374151;
}

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

.movie-card-wide .movie-card-body {
  padding: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft), #ffffff);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
}

.footer-brand p {
  max-width: 480px;
  color: var(--muted);
}

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

.footer-columns h3 {
  margin: 0 0 14px;
  color: #064e3b;
}

.footer-columns a {
  display: block;
  margin: 8px 0;
  color: #4b5563;
}

.footer-columns a:hover {
  color: var(--primary);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 1180px) {
  .movie-grid,
  .featured-grid,
  .ranking-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-content {
    grid-template-columns: 1fr 310px;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero-section {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 700px;
    padding-top: 42px;
  }

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

  .hero-search-card,
  .hero-search {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-dots {
    justify-content: center;
  }

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

  .filter-panel,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .detail-text-section,
  .ranking-lead-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 66px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .content-section,
  .page-hero,
  .detail-layout {
    padding-right: 16px;
    padding-left: 16px;
  }

  .page-hero > div {
    padding: 28px;
  }

  .movie-grid,
  .featured-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .movie-card p {
    display: none;
  }

  .filter-selects,
  .meta-list,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .player-start span {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .featured-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }
}
