:root {
  --cherry-pink: #ffb7c5;
  --rose: #ff6f91;
  --rose-deep: #ed4f78;
  --snow-white: #ffffff;
  --tender-green: #a8d5ba;
  --light-yellow: #fff4e6;
  --soft-pink: #ffe4e9;
  --ink: #2f2933;
  --muted: #70636d;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --shadow: 0 20px 60px rgba(255, 111, 145, 0.18);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 183, 197, 0.42), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(168, 213, 186, 0.36), transparent 26%),
    linear-gradient(135deg, #fff4e6 0%, #ffe4e9 45%, #ffd4e0 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), transparent 85%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 183, 197, 0.45);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 32px rgba(255, 111, 145, 0.12);
}

.nav-shell,
.section,
.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

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

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6f91, #ffb7c5 50%, #a8d5ba);
  box-shadow: 0 12px 28px rgba(255, 111, 145, 0.34);
}

.logo-text {
  font-size: 1.38rem;
  color: transparent;
  background: linear-gradient(135deg, #f5527e, #ff9bad 48%, #6cb58a);
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #574d55;
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ed4f78;
  background: rgba(255, 183, 197, 0.22);
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  width: min(280px, 28vw);
  flex: 0 0 auto;
}

.nav-search input,
.search-panel input,
.local-filter {
  width: 100%;
  border: 2px solid rgba(255, 183, 197, 0.72);
  border-radius: 999px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
  padding: 12px 44px 12px 18px;
}

.nav-search button,
.search-panel button {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #ff6f91, #ffb7c5);
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(255, 111, 145, 0.24);
}

.nav-search input:focus,
.search-panel input:focus,
.local-filter:focus {
  border-color: var(--rose);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 111, 145, 0.12);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--rose-deep);
  background: rgba(255, 183, 197, 0.24);
}

.mobile-nav {
  display: none;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
  gap: 10px;
}

.mobile-nav .nav-link {
  display: block;
}

.hero {
  position: relative;
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 620px;
  margin: 34px auto 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 32px 86px rgba(255, 111, 145, 0.22);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 44px;
  padding: 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
}

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

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(110deg, rgba(255, 244, 230, 0.92), rgba(255, 228, 233, 0.84) 48%, rgba(255, 183, 197, 0.28)),
    var(--hero-image) center / cover no-repeat;
  filter: saturate(1.04);
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52) 50%, rgba(255, 255, 255, 0.16));
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 111, 145, 0.26);
  border-radius: 999px;
  color: #ed4f78;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: #2c2430;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero h1 span,
.page-hero h1 span {
  color: transparent;
  background: linear-gradient(135deg, #f5527e, #ff9bad 50%, #75b58d);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description,
.page-hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: #5e525c;
  font-size: 1.08rem;
  line-height: 1.82;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #7a4a59;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 183, 197, 0.38);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6f91, #ff9bad);
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(255, 111, 145, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 111, 145, 0.32);
}

.button.is-light {
  color: #ed4f78;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 197, 0.48), 0 12px 26px rgba(255, 111, 145, 0.1);
}

.hero-poster {
  position: relative;
  justify-self: end;
  width: min(390px, 100%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 183, 197, 0.42), rgba(168, 213, 186, 0.25));
  box-shadow: 0 24px 70px rgba(47, 41, 51, 0.22);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-slide.is-active .hero-poster img {
  transform: scale(1.045);
}

.hero-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(237, 79, 120, 0.9);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-controls {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-control,
.hero-dot {
  border: 0;
  color: #ed4f78;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 26px rgba(255, 111, 145, 0.13);
}

.hero-control {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.hero-dots {
  position: absolute;
  left: 72px;
  bottom: 36px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #ff6f91;
}

.section {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

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

.section-title {
  margin: 0;
  color: #2f2933;
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-title span {
  color: #ed4f78;
}

.section-subtitle {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.category-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  background: var(--glass);
  box-shadow: 0 18px 42px rgba(255, 111, 145, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  position: absolute;
  right: -36px;
  bottom: -40px;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  content: "";
  background: radial-gradient(circle, rgba(255, 111, 145, 0.24), transparent 66%);
}

.category-card:hover,
.movie-card:hover,
.rank-row:hover,
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 62px rgba(255, 111, 145, 0.2);
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  color: #2f2933;
  font-size: 1.28rem;
}

.category-card p {
  margin: 0;
  color: #6c6068;
  line-height: 1.7;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(255, 111, 145, 0.12);
  backdrop-filter: blur(16px);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 183, 197, 0.4), rgba(168, 213, 186, 0.26));
}

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

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

.movie-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(to top, rgba(47, 41, 51, 0.72), transparent 58%);
  transition: opacity 0.24s ease;
}

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

.play-float {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
  transform: scale(0.86);
}

.movie-card:hover .play-float {
  opacity: 1;
  transform: scale(1);
}

.play-float span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #ff5f8a;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.card-badge,
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(237, 79, 120, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.card-time {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(47, 41, 51, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.movie-body {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.movie-title {
  display: -webkit-box;
  min-height: 2.78em;
  margin: 0;
  overflow: hidden;
  color: #2f2933;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0;
  overflow: hidden;
  color: #6f626c;
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8a7a84;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-hero {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 34px auto 36px;
  padding: clamp(32px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    radial-gradient(circle at right top, rgba(168, 213, 186, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 228, 233, 0.62));
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #836f7a;
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #ed4f78;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.local-filter {
  padding: 13px 18px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 38px 0 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: #7a4a59;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 183, 197, 0.42);
}

.pagination .current {
  color: #ffffff;
  background: linear-gradient(135deg, #ff6f91, #ff9bad);
  box-shadow: 0 14px 30px rgba(255, 111, 145, 0.24);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 36px rgba(255, 111, 145, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.rank-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6f91, #ffb7c5);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 111, 145, 0.24);
}

.rank-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 183, 197, 0.28);
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-title {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 900;
}

.rank-desc {
  margin: 0;
  color: #70636d;
  line-height: 1.6;
}

.rank-stat {
  color: #ed4f78;
  font-weight: 900;
  white-space: nowrap;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  background: rgba(255, 183, 197, 0.24);
  box-shadow: 0 24px 66px rgba(47, 41, 51, 0.18);
}

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

.detail-title {
  margin: 0;
  color: #2f2933;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.detail-lead {
  margin: 18px 0 0;
  color: #5e525c;
  font-size: 1.08rem;
  line-height: 1.82;
}

.player-section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 40px auto;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background: #111018;
  box-shadow: 0 28px 74px rgba(47, 41, 51, 0.28);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111018;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(255, 111, 145, 0.18), transparent 28%),
    linear-gradient(to top, rgba(17, 16, 24, 0.74), rgba(17, 16, 24, 0.16));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-start-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  color: #ff5f8a;
  background: rgba(255, 255, 255, 0.92);
  font-size: 2.1rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

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

.info-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(255, 111, 145, 0.1);
  backdrop-filter: blur(16px);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.info-card + .info-card {
  margin-top: 18px;
}

.info-card h2,
.info-card h3 {
  margin: 0 0 14px;
  color: #2f2933;
  font-size: 1.35rem;
}

.info-card p {
  margin: 0;
  color: #625762;
  line-height: 1.86;
}

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

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 183, 197, 0.6);
  color: #6c6068;
}

.meta-list strong {
  color: #2f2933;
}

.related-compact {
  display: grid;
  gap: 12px;
}

.related-compact a {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 244, 230, 0.64);
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-compact a:hover {
  background: rgba(255, 228, 233, 0.82);
  transform: translateX(3px);
}

.related-compact img {
  width: 74px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
}

.related-compact strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-compact span {
  display: block;
  margin-top: 4px;
  color: #8a7a84;
  font-size: 0.84rem;
}

.search-panel {
  position: relative;
  max-width: 760px;
  margin-top: 26px;
}

.search-panel input {
  padding: 18px 64px 18px 22px;
  font-size: 1.04rem;
}

.search-panel button {
  width: 52px;
  height: 52px;
}

.empty-state {
  padding: 48px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  color: #70636d;
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 183, 197, 0.42);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: 28px;
  padding: 42px 0;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.footer-text,
.footer-links a {
  color: #6c6068;
  line-height: 1.75;
}

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

.footer-bottom {
  padding: 18px 0 28px;
  color: #7f727a;
  text-align: center;
  font-size: 0.9rem;
}

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

.cherry-blossom {
  position: absolute;
  top: -20px;
  width: 12px;
  height: 12px;
  border-radius: 50% 0 50% 50%;
  background: radial-gradient(circle, #ffcad5, #ff91ac);
  opacity: 0.58;
  animation-name: blossom-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes blossom-fall {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
  }

  100% {
    transform: translate3d(70px, 110vh, 0) rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .desktop-nav,
  .nav-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 880px) {
  .hero {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 24px 86px;
  }

  .hero-poster {
    justify-self: center;
    width: min(330px, 86vw);
  }

  .hero-dots {
    left: 24px;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 52px 90px minmax(0, 1fr);
  }

  .rank-stat {
    grid-column: 3;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .section,
  .footer-inner,
  .page-hero,
  .player-section,
  .hero,
  .mobile-nav {
    width: min(100% - 20px, var(--max-width));
  }

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

  .hero {
    margin-top: 18px;
    border-radius: 24px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .page-hero {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .movie-body {
    padding: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
