:root {
  --cherry-pink: #FFB7C5;
  --snow-white: #FFFFFF;
  --tender-green: #A8D5BA;
  --light-yellow: #FFF4E6;
  --soft-pink: #FFE4E9;
  --rose: #EC4899;
  --deep-rose: #BE185D;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: rgba(255, 255, 255, 0.42);
  --shadow: 0 20px 45px rgba(255, 183, 197, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #fff4e6 0%, #ffe4e9 42%, #ffd4e0 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.glass-effect {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-hover {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(236, 72, 153, 0.32);
}

.blossom-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blossom-layer span {
  position: absolute;
  top: -36px;
  width: 11px;
  height: 11px;
  background: radial-gradient(circle, #ffb7c5, #ff8ead);
  border-radius: 50% 0;
  opacity: 0.64;
  animation: fall linear infinite;
}

.blossom-layer span::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 5px;
  width: 11px;
  height: 11px;
  background: radial-gradient(circle, #ffb7c5, #ff8ead);
  border-radius: 0 50%;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0.72;
  }
  100% {
    transform: translateY(112vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.12);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #fb7185);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
  transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
  transform: rotate(12deg) scale(1.04);
}

.logo-text,
.footer-logo {
  font-size: 25px;
  line-height: 1;
  background: linear-gradient(90deg, #ec4899, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.nav-link {
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.header-search,
.mobile-search,
.hero-search,
.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-search input,
.filter-bar select {
  min-width: 0;
  border: 2px solid rgba(251, 207, 232, 0.9);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.hero-search input {
  width: min(420px, 100%);
  padding: 14px 20px;
}

.mobile-search input,
.filter-search input {
  flex: 1;
  padding: 11px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-search input:focus,
.filter-bar select:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 5px rgba(244, 114, 182, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-search button,
.primary-btn,
.secondary-btn,
.player-button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-search button,
.primary-btn,
.player-button {
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #fb7185);
  box-shadow: 0 12px 22px rgba(236, 72, 153, 0.28);
}

.header-search button,
.mobile-search button,
.filter-search button {
  padding: 10px 16px;
}

.hero-search button,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
}

.secondary-btn {
  color: var(--deep-rose);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.filter-search button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.player-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--deep-rose);
  background: rgba(252, 231, 243, 0.8);
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 14px;
  border-radius: 22px;
  animation: fadeIn 0.25s ease both;
}

.mobile-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: var(--rose);
  background: #fce7f3;
}

.page-main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 640px;
  padding: 50px 0 78px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: 5%;
  top: 8%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.26), transparent 68%);
}

.hero::after {
  width: 320px;
  height: 320px;
  left: 6%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(168, 213, 186, 0.38), transparent 70%);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 34px;
  z-index: 2;
}

.hero-copy {
  padding: 42px;
  border-radius: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--deep-rose);
  background: rgba(252, 231, 243, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
}

.hero-copy h1 span,
.gradient-text {
  background: linear-gradient(90deg, #ec4899, #fb7185, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 660px;
  margin: 22px 0 28px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-search {
  width: min(640px, 100%);
  margin-bottom: 22px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills a,
.tag-row span,
.info-pill,
.filter-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--deep-rose);
  background: rgba(252, 231, 243, 0.86);
  font-weight: 700;
}

.hero-pills a {
  padding: 9px 13px;
}

.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 510px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 26px 52px rgba(190, 24, 93, 0.25);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18) 48%, rgba(236, 72, 153, 0.12));
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
}

.hero-slide-content h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
}

.hero-slide-content p {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-slide-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.slider-dots {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.slider-dots button.active {
  width: 28px;
  background: #fff;
}

.floating-card {
  position: absolute;
  right: -18px;
  bottom: -34px;
  z-index: 3;
  width: min(300px, 72%);
  padding: 18px;
  border-radius: 24px;
  animation: floatUp 3.2s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-rose);
  font-size: 18px;
}

.floating-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
}

.content-section {
  padding: 46px 0;
}

.section-heading,
.page-title-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.section-heading > div,
.page-title-line > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #fb7185);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.25);
}

.section-heading h2,
.page-title-line h2,
.detail-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.section-heading p,
.page-title-line p {
  margin: 8px 0 0;
  color: var(--muted);
}

.more-link {
  color: var(--rose);
  font-weight: 800;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.movie-cover {
  position: relative;
  display: block;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #fff7ed);
}

.featured-grid .movie-cover {
  height: 290px;
}

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

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.03) 64%);
  opacity: 0.72;
}

.movie-category,
.movie-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-category {
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  background: rgba(236, 72, 153, 0.88);
}

.movie-duration {
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.62);
}

.rank-badge {
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 999px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.62);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-info h2,
.movie-info h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover .movie-info h2,
.movie-card:hover .movie-info h3 {
  color: var(--rose);
}

.movie-meta,
.movie-brief {
  margin: 0;
  color: var(--muted);
}

.movie-meta {
  font-size: 13px;
  font-weight: 700;
}

.movie-brief {
  display: -webkit-box;
  min-height: 45px;
  margin-top: 10px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  padding: 6px 9px;
  font-size: 12px;
}

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

.category-card {
  display: block;
  min-height: 170px;
  padding: 22px;
  border-radius: 26px;
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--deep-rose);
  font-size: 23px;
}

.category-card p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.7;
}

.category-card span {
  color: var(--rose);
  font-weight: 900;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #fb7185);
  font-weight: 900;
}

.rank-item img {
  width: 72px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
  background: #fce7f3;
}

.rank-copy {
  min-width: 0;
}

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

.rank-copy strong {
  color: var(--ink);
  font-size: 17px;
}

.rank-copy em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-score {
  color: var(--rose);
  font-weight: 900;
}

.page-hero {
  padding: 54px 0 24px;
}

.page-hero-card {
  padding: 34px;
  border-radius: 32px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

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

.breadcrumb a {
  color: var(--rose);
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin: 28px 0;
  padding: 18px;
  border-radius: 26px;
}

.filter-bar select {
  padding: 11px 15px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.filter-chip {
  border: 0;
  padding: 8px 12px;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.empty-tip {
  display: none;
  padding: 28px;
  border-radius: 24px;
  color: #4b5563;
  text-align: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 34px 0 12px;
}

.detail-main,
.detail-side,
.detail-section {
  border-radius: 28px;
}

.detail-main {
  overflow: hidden;
}

.player-wrap {
  position: relative;
  background: #111827;
}

.player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
  object-fit: contain;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at 50% 42%, rgba(236, 72, 153, 0.24), rgba(0, 0, 0, 0.72));
  z-index: 3;
}

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

.player-button {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  padding-left: 4px;
  font-size: 36px;
}

.detail-title {
  padding: 28px;
}

.detail-title h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.info-pill {
  padding: 8px 11px;
  font-size: 13px;
}

.detail-title p {
  margin: 0;
  color: #4b5563;
  line-height: 1.85;
}

.detail-side {
  padding: 18px;
  align-self: start;
}

.detail-poster {
  width: 100%;
  max-height: 440px;
  border-radius: 22px;
  object-fit: cover;
  background: #fce7f3;
}

.side-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.side-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.side-list img {
  width: 58px;
  height: 72px;
  border-radius: 13px;
  object-fit: cover;
  background: #fce7f3;
}

.side-list strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.side-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.detail-section {
  padding: 28px;
  margin: 24px 0;
}

.detail-section h2 {
  margin-bottom: 14px;
}

.detail-section p {
  margin: 0 0 16px;
  color: #374151;
  line-height: 1.95;
}

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

.compact-card .movie-cover {
  height: 190px;
}

.compact-card .movie-info h2 {
  min-height: 42px;
  font-size: 16px;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 26px;
  padding: 42px 0;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
}

.footer-grid p,
.footer-grid a {
  color: #4b5563;
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  margin: 6px 0;
}

.footer-grid a:hover {
  color: var(--rose);
}

.footer-bottom {
  padding: 18px;
  color: #6b7280;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

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

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

  .mobile-nav:not([hidden]) {
    display: block;
  }

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

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

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

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

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

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

  .hero {
    min-height: auto;
    padding: 28px 0 48px;
  }

  .hero-copy,
  .page-hero-card,
  .detail-title,
  .detail-section {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-slider {
    min-height: 420px;
    border-radius: 28px;
  }

  .hero-search,
  .filter-bar,
  .rank-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-search,
  .filter-search {
    display: grid;
  }

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

  .movie-cover,
  .featured-grid .movie-cover {
    height: 210px;
  }

  .movie-info {
    padding: 14px;
  }

  .movie-brief,
  .tag-row {
    display: none;
  }

  .section-heading,
  .page-title-line {
    display: block;
  }

  .rank-item {
    grid-template-columns: 42px 60px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }
}

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

  .movie-cover,
  .featured-grid .movie-cover {
    height: 260px;
  }
}
