:root {
  --peach-50: #fff7f5;
  --peach-100: #ffe5e0;
  --peach-200: #ffd4c9;
  --peach-300: #ffc9b9;
  --peach-400: #ffb5a7;
  --peach-500: #ffa07a;
  --pink-400: #ff9eb5;
  --pink-500: #ff8fa3;
  --coral-300: #ffb0a8;
  --ink: #2a2330;
  --muted: #6b6472;
  --line: rgba(255, 181, 167, 0.28);
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 20px 45px rgba(255, 159, 122, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(135deg, var(--peach-50), #fff, #fff3f7);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 158, 181, 0.22), transparent 28%),
    radial-gradient(circle at 82% 2%, rgba(255, 176, 168, 0.18), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 181, 167, 0.16), transparent 35%);
  z-index: -1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

.section {
  padding: 56px 0;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

.gradient-text {
  background: linear-gradient(135deg, #ff8f83, #ff8fa3, #ffb6c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-width: 0 0 1px;
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--peach-400), var(--pink-400));
  box-shadow: 0 10px 24px rgba(255, 143, 163, 0.32);
}

.brand-name {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.main-nav a {
  color: #5f5566;
  font-weight: 650;
  transition: color 0.24s ease;
}

.main-nav a:hover,
.category-pills a:hover,
.category-pills .is-active {
  color: var(--peach-500);
}

.nav-search {
  position: relative;
  width: min(260px, 24vw);
}

.nav-search input,
.big-search input,
.page-search input,
.filter-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px 48px 12px 18px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.nav-search input:focus,
.big-search input:focus,
.page-search input:focus,
.filter-input:focus {
  border-color: var(--pink-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 158, 181, 0.18);
}

.nav-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--peach-500), var(--pink-500));
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--peach-500);
  background: #fff0f1;
}

.hero-slider {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #1b141c;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.2s ease;
  pointer-events: none;
}

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

.hero-image,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 22, 0.92) 0%, rgba(20, 12, 22, 0.66) 40%, rgba(20, 12, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(255, 143, 163, 0.24), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 760px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 181, 167, 0.18);
  color: #ffdfd8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--peach-500);
  background: rgba(255, 181, 167, 0.15);
  border-color: var(--line);
}

.hero-content h1 {
  margin: 22px 0 16px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  margin: 0 0 22px;
}

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

.hero-tags span,
.tag-row span,
.tag-cloud a,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 700;
}

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

.btn-primary,
.btn-ghost,
.big-search button,
.page-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn-primary,
.big-search button,
.page-search button {
  color: #fff;
  background: linear-gradient(135deg, var(--peach-500), var(--pink-500));
  box-shadow: 0 14px 28px rgba(255, 143, 163, 0.28);
}

.btn-primary:hover,
.btn-ghost:hover,
.big-search button:hover,
.page-search button:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 0.24s ease, background 0.24s ease;
}

.hero-dot.is-active {
  width: 58px;
  background: linear-gradient(135deg, var(--peach-400), var(--pink-400));
}

.intro-panel {
  margin-top: -42px;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.intro-panel h2,
.section-head h2,
.content-main h2,
.content-side h2,
.page-hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.intro-panel p,
.page-hero p,
.content-main p,
.overview-card p {
  color: var(--muted);
  margin: 0;
}

.big-search,
.page-search {
  display: flex;
  gap: 10px;
}

.big-search input,
.page-search input {
  min-width: 0;
  padding-right: 18px;
}

.big-search button,
.page-search button {
  flex-shrink: 0;
}

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

.text-link {
  color: var(--peach-500);
  font-weight: 800;
}

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

.category-card {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(43, 31, 39, 0.08);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: saturate(1.06);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24, 14, 22, 0.82), rgba(24, 14, 22, 0.05));
}

.category-card span {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

.category-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.category-card em {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 13px;
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 181, 167, 0.18);
  box-shadow: 0 12px 28px rgba(43, 31, 39, 0.07);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--peach-100), #fff);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-wrap img,
.rank-card:hover img,
.ranking-row:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 55%);
  transition: opacity 0.3s ease;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--peach-500);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.movie-card-body strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.24s ease;
}

.movie-card:hover .movie-card-body strong {
  color: var(--peach-500);
}

.movie-card-body em {
  display: block;
  margin-top: 6px;
  color: #8a8191;
  font-style: normal;
  font-size: 13px;
}

.card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 44px;
  margin-top: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  margin-top: 13px;
}

.tag-row span,
.tag-cloud a,
.detail-meta span {
  color: var(--peach-500);
  background: rgba(255, 181, 167, 0.14);
  border-color: rgba(255, 181, 167, 0.22);
}

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

.rank-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 181, 167, 0.18);
  box-shadow: 0 10px 24px rgba(43, 31, 39, 0.06);
}

.rank-card img {
  width: 92px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.rank-card strong,
.ranking-info strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.rank-card em,
.ranking-info em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.26), transparent 20%),
    linear-gradient(135deg, var(--peach-400), var(--pink-400), var(--coral-300));
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}

.page-hero .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.category-pills a {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 181, 167, 0.2);
  color: #675b6f;
  font-weight: 800;
}

.filter-bar {
  margin-bottom: 24px;
}

.filter-input {
  max-width: 520px;
  padding-right: 18px;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 181, 167, 0.18);
  box-shadow: 0 10px 26px rgba(43, 31, 39, 0.07);
}

.overview-cover {
  overflow: hidden;
  border-radius: 20px;
}

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

.overview-card h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

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

.mini-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--peach-500);
  background: rgba(255, 181, 167, 0.13);
  font-size: 13px;
  font-weight: 700;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 58px 78px 1fr 72px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 181, 167, 0.18);
  box-shadow: 0 8px 22px rgba(43, 31, 39, 0.05);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--peach-500), var(--pink-500));
  font-weight: 900;
}

.ranking-row img {
  width: 78px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.score {
  color: var(--peach-500);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.detail-page {
  background: linear-gradient(180deg, rgba(255, 247, 245, 0), var(--peach-50) 680px);
}

.detail-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: #fff;
}

.detail-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 22, 0.9), rgba(20, 12, 22, 0.58), rgba(20, 12, 22, 0.72)),
    linear-gradient(0deg, rgba(255, 247, 245, 1), transparent 38%);
}

.detail-head {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin-bottom: 36px;
}

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

.detail-title-wrap {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  max-width: 980px;
}

.detail-poster {
  width: 245px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.detail-title-wrap h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-title-wrap p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.player-section {
  padding-top: 0;
  margin-top: -42px;
  position: relative;
  z-index: 4;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background: #0f0d12;
  box-shadow: 0 26px 70px rgba(20, 12, 22, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f0d12;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(15, 13, 18, 0.62), rgba(15, 13, 18, 0.26));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  border-radius: 50%;
  color: var(--peach-500);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  font-size: 31px;
}

.play-overlay strong {
  font-size: 20px;
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.content-main,
.content-side {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 181, 167, 0.18);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 14px 32px rgba(43, 31, 39, 0.06);
}

.content-main h2,
.content-side h2 {
  font-size: 28px;
  margin-top: 0;
}

.content-main p {
  margin: 0 0 22px;
  font-size: 16px;
}

.tag-cloud {
  margin-top: 20px;
}

.content-side dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 16px;
  margin: 0;
}

.content-side dt {
  color: #8a8191;
  font-weight: 800;
}

.content-side dd {
  margin: 0;
  color: var(--ink);
}

.site-footer {
  margin-top: 62px;
  padding: 46px 0 24px;
  background: linear-gradient(135deg, var(--peach-100), #fff3f7);
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 20px;
}

.site-footer p {
  color: var(--muted);
  margin: 0;
}

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

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

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--peach-500);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8a8191;
  font-size: 13px;
  text-align: center;
}

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

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

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

@media (max-width: 860px) {
  .nav-wrap {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

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

  .main-nav,
  .nav-search {
    display: none;
    width: 100%;
  }

  .main-nav.is-open,
  .nav-search.is-open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
  }

  .nav-search {
    width: 100%;
  }

  .hero-slider,
  .hero-content {
    min-height: 590px;
  }

  .hero-layer {
    background: linear-gradient(0deg, rgba(20, 12, 22, 0.92), rgba(20, 12, 22, 0.45));
  }

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

  .big-search,
  .page-search {
    flex-direction: column;
  }

  .overview-grid,
  .rank-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: 190px;
  }

  .detail-hero {
    min-height: 700px;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-wrap,
  .footer-grid,
  .footer-bottom,
  .hero-content {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 21px;
  }

  .hero-slider,
  .hero-content {
    min-height: 560px;
  }

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

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

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .section {
    padding: 38px 0;
  }

  .intro-panel {
    margin-top: -26px;
    padding: 22px;
    border-radius: 22px;
  }

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

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

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

  .card-desc,
  .tag-row {
    display: none;
  }

  .category-card {
    min-height: 180px;
  }

  .category-card img {
    min-height: 180px;
  }

  .rank-card,
  .ranking-row {
    grid-template-columns: 68px 1fr;
  }

  .rank-card img,
  .ranking-row img {
    width: 68px;
  }

  .rank-num,
  .score {
    display: none;
  }

  .overview-card {
    grid-template-columns: 1fr;
  }

  .player-shell {
    border-radius: 20px;
  }

  .play-overlay span {
    width: 66px;
    height: 66px;
    font-size: 25px;
  }

  .content-main,
  .content-side {
    padding: 22px;
    border-radius: 22px;
  }
}
