* {
  box-sizing: border-box;
}

:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --purple-50: #faf5ff;
  --purple-500: #a855f7;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --slate-900: #0f172a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-md: 0 10px 20px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.16);
  --radius-xl: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--pink-50), #ffffff 38%, #ffffff);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(251, 207, 232, 0.8);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon,
.footer-brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: var(--pink-600);
  background: linear-gradient(135deg, var(--pink-100), var(--amber-100));
  box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-size: 26px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--pink-500), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand small {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-500), var(--amber-500));
  transition: transform 0.2s ease;
}

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

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

.nav-dropdown {
  position: relative;
  padding: 26px 0;
}

.dropdown-menu {
  position: absolute;
  top: 68px;
  left: 50%;
  display: grid;
  min-width: 190px;
  padding: 10px;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  pointer-events: none;
  opacity: 0;
  border: 1px solid var(--pink-100);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  opacity: 1;
}

.dropdown-menu a {
  padding: 10px 12px;
  color: var(--gray-700);
  border-radius: 12px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  color: var(--pink-600);
  background: var(--pink-50);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: var(--pink-50);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--pink-600);
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid var(--pink-100);
  background: rgba(255, 255, 255, 0.95);
}

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

.mobile-nav a {
  padding: 12px 0;
  color: var(--gray-700);
  font-weight: 650;
}

.mobile-category-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(236, 72, 153, 0.22), transparent 28%),
    radial-gradient(circle at 85% 72%, rgba(245, 158, 11, 0.22), transparent 22%),
    linear-gradient(135deg, #fce7f3 0%, #faf5ff 48%, #fef3c7 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.45;
  background-image: radial-gradient(rgba(236, 72, 153, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 610px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 42px;
  padding: 54px 0;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--pink-600);
  font-weight: 700;
}

.hero-kicker span,
.page-kicker span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.12);
}

.hero h1 {
  margin: 0 0 20px;
  color: var(--gray-900);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--pink-500), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--gray-700);
  font-size: 20px;
  line-height: 1.75;
}

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

.btn-primary,
.btn-secondary,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  transition: all 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink-500), var(--pink-600));
  box-shadow: 0 16px 28px rgba(236, 72, 153, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(236, 72, 153, 0.32);
}

.btn-secondary {
  color: var(--pink-600);
  border: 2px solid var(--pink-200);
  background: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover,
.btn-soft:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-soft {
  color: var(--gray-700);
  background: var(--gray-100);
}

.hero-search {
  display: flex;
  width: min(640px, 100%);
  gap: 10px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid rgba(251, 207, 232, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--gray-900);
  background: transparent;
}

.hero-search button {
  height: 44px;
  padding: 0 22px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: var(--pink-500);
  font-weight: 700;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-links a {
  padding: 8px 13px;
  color: var(--pink-600);
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.floating-grid {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 420px;
  transform: translateY(-50%) rotate(9deg);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-poster-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background: var(--gray-100);
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.22);
  animation: floatCard 4.2s ease-in-out infinite;
}

.hero-poster-card:nth-child(2) {
  animation-delay: 0.25s;
}

.hero-poster-card:nth-child(3) {
  animation-delay: 0.5s;
}

.hero-poster-card:nth-child(4) {
  animation-delay: 0.75s;
}

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

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

.hero-poster-card strong {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-poster-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(15, 23, 42, 0.72));
}

.section {
  padding: 72px 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(180deg, var(--pink-50), #ffffff);
}

.section-amber {
  background: linear-gradient(90deg, var(--amber-50), var(--pink-50));
}

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

.section-head h1,
.section-head h2,
.page-hero h1 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p,
.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--gray-600, #4b5563);
  line-height: 1.8;
}

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

.feature-card {
  padding: 30px;
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff, var(--pink-50));
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

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

.feature-card span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--pink-600);
  border-radius: 999px;
  background: var(--pink-100);
  font-size: 24px;
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.7;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: all 0.22s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(15, 23, 42, 0.48);
  transition: opacity 0.22s ease;
}

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

.play-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 3px;
  transform: translate(-50%, -50%) scale(0.86);
  transition: all 0.22s ease;
  opacity: 0;
  color: var(--pink-600);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

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

.movie-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
}

.movie-badge {
  top: 12px;
  right: 12px;
  background: var(--pink-500);
}

.rank-badge {
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--amber-500), var(--pink-500));
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin-bottom: 10px;
}

.tag-row span {
  padding: 4px 8px;
  color: var(--pink-600);
  border-radius: 999px;
  background: var(--pink-50);
  font-size: 12px;
  font-weight: 650;
}

.movie-card h2,
.movie-card h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.4;
}

.movie-card h2 a:hover,
.movie-card h3 a:hover {
  color: var(--pink-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  margin: 0 0 12px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta strong {
  color: var(--amber-500);
}

.compact-card .movie-card-body {
  padding: 14px;
}

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

.category-tile {
  overflow: hidden;
  min-height: 260px;
  border-radius: 26px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transition: all 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.category-tile > a {
  display: block;
  padding: 28px 28px 18px;
}

.category-tile span {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.category-tile h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.category-tile ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 28px 28px;
  list-style: none;
}

.category-tile li a {
  display: block;
  overflow: hidden;
  padding: 8px 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.gradient-pink { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.gradient-purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.gradient-amber { background: linear-gradient(135deg, #f59e0b, #fb7185); }
.gradient-violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.gradient-rose { background: linear-gradient(135deg, #fb7185, #ef4444); }
.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.gradient-slate { background: linear-gradient(135deg, #334155, #111827); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.gradient-green { background: linear-gradient(135deg, #22c55e, #14b8a6); }
.gradient-red { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.gradient-blue { background: linear-gradient(135deg, #2563eb, #7c3aed); }

.page-hero {
  padding: 70px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, var(--pink-500), var(--purple-500));
}

.page-hero h1,
.page-hero p {
  color: #ffffff;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 160px auto;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--pink-100);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: none;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--pink-300, #f9a8d4);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.filter-panel button {
  min-height: 46px;
  padding: 0 18px;
  color: var(--pink-600);
  border: 0;
  border-radius: 14px;
  background: var(--pink-50);
  font-weight: 750;
}

.empty-state {
  display: none;
  padding: 36px;
  color: var(--gray-500);
  text-align: center;
  border: 1px dashed var(--pink-200);
  border-radius: 20px;
  background: #ffffff;
}

.empty-state.is-visible {
  display: block;
}

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

.ranking-row {
  display: grid;
  align-items: center;
  grid-template-columns: 58px 86px 1fr auto;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.ranking-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--pink-500));
  font-weight: 900;
}

.ranking-row img {
  width: 76px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-row h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.ranking-row p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-score {
  color: var(--amber-500);
  font-weight: 900;
}

.detail-wrap {
  padding: 42px 0 72px;
}

.detail-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 34px;
}

.player-box {
  overflow: hidden;
  border-radius: 26px;
  background: #050505;
  box-shadow: var(--shadow-xl);
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.player-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.55));
}

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

.play-layer button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 28px;
  color: var(--pink-600);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xl);
  font-weight: 900;
}

.play-layer button span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding-left: 3px;
  color: #ffffff;
  border-radius: 999px;
  background: var(--pink-500);
}

.detail-panel {
  padding: 28px;
  border: 1px solid var(--pink-100);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.detail-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.detail-panel .one-line {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.8;
}

.detail-cover {
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 22px;
  background: var(--gray-100);
}

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

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

.meta-grid div {
  padding: 12px;
  border-radius: 14px;
  background: var(--pink-50);
}

.meta-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

.meta-grid strong {
  color: var(--gray-900);
}

.content-card {
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.content-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 2;
}

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

.site-footer {
  border-top: 1px solid var(--pink-100);
  background: linear-gradient(180deg, var(--pink-50), var(--pink-100));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 48px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gray-900);
  font-size: 20px;
}

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

.site-footer p,
.site-footer a {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--pink-600);
}

.footer-bottom {
  padding: 18px 16px;
  color: var(--gray-500);
  text-align: center;
  border-top: 1px solid rgba(251, 207, 232, 0.7);
  font-size: 13px;
}

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

@media (max-width: 1024px) {
  .hero-inner,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .floating-grid {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(5deg);
  }

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

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

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

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

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 42px 0 56px;
  }

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

  .hero p {
    font-size: 17px;
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .hero-search input {
    min-height: 42px;
  }

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

  .hero-visual {
    min-height: 360px;
  }

  .floating-grid {
    width: min(360px, 88vw);
    gap: 12px;
  }

  .section {
    padding: 48px 0;
  }

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

  .movie-grid,
  .category-grid,
  .feature-grid,
  .related-grid,
  .ranking-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-row {
    grid-template-columns: 44px 68px 1fr;
  }

  .ranking-row img {
    width: 60px;
    height: 82px;
  }

  .ranking-score {
    grid-column: 3;
  }

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