* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 179, 217, 0.36), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(168, 230, 206, 0.35), transparent 28rem),
    linear-gradient(135deg, rgba(255, 230, 109, 0.18), #ffffff 45%, rgba(255, 229, 236, 0.82));
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.section-container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ff8dc7, #ffb347, #ffe66d, #a8e6ce, #87ceeb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 179, 217, 0.24);
}

.candy-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.candy-button {
  color: #fff;
  background: linear-gradient(90deg, #ff8dc7, #ffb347, #a8e6ce);
  box-shadow: 0 12px 32px rgba(255, 141, 199, 0.36);
}

.ghost-button {
  color: #be185d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 141, 199, 0.38);
}

.candy-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 42px rgba(255, 179, 217, 0.46);
}

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(255, 179, 217, 0.22);
}

.nav-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff8dc7, #ffb347);
  box-shadow: 0 8px 24px rgba(255, 141, 199, 0.35);
  font-size: 0.9rem;
  padding-left: 0.12rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  flex: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #be185d;
  background: rgba(255, 179, 217, 0.18);
}

.nav-search,
.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 179, 217, 0.35);
  box-shadow: 0 10px 24px rgba(255, 179, 217, 0.18);
}

.nav-search input,
.hero-search input,
.filter-controls input,
.filter-controls select,
.search-page-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #374151;
  background: transparent;
}

.nav-search input {
  width: 14rem;
  padding: 0.55rem 0.75rem;
}

.nav-search button,
.hero-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, #ff8dc7, #ffb347);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  color: #be185d;
  background: rgba(255, 179, 217, 0.18);
  cursor: pointer;
}

.hero-slider {
  position: relative;
  margin-bottom: 3rem;
}

.hero-stage {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.08);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.55) 45%, rgba(17, 24, 39, 0.2)),
    linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 26%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-copy {
  width: min(720px, 100%);
  color: #fff;
  padding-top: 2rem;
  animation: fadeInUp 0.7s ease both;
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: #ffe5ec;
  background: rgba(255, 179, 217, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hero-copy h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  line-height: 1.1;
}

.hero-copy p {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-tags,
.hero-actions,
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-tags {
  margin-top: 1.25rem;
}

.hero-tags span,
.hero-categories a,
.tag-list span,
.card-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  color: #be185d;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 2rem;
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 9.5rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 2rem;
  background: #ff8dc7;
}

.hero-panel {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(260px, 0.95fr);
  gap: 1rem;
  margin-top: -7.2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 2rem;
  box-shadow: 0 20px 48px rgba(255, 179, 217, 0.28);
}

.hero-search {
  grid-column: 1 / -1;
}

.hero-search input {
  flex: 1;
  padding: 0.95rem 1rem;
}

.hero-search button {
  padding: 0.9rem 1.4rem;
}

.hero-categories a {
  padding: 0.65rem 0.95rem;
  color: #be185d;
  background: rgba(255, 179, 217, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-categories a:hover {
  transform: translateY(-2px);
  background: rgba(255, 179, 217, 0.3);
}

.hero-thumbs {
  display: grid;
  gap: 0.65rem;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid transparent;
  transition: background 0.2s ease, border 0.2s ease;
}

.hero-thumb.active,
.hero-thumb:hover {
  border-color: rgba(255, 141, 199, 0.46);
  background: rgba(255, 255, 255, 0.86);
}

.hero-thumb img {
  width: 5.5rem;
  height: 3.35rem;
  object-fit: cover;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #ffb3d9, #a8e6ce);
}

.hero-thumb strong,
.hero-thumb em {
  display: block;
}

.hero-thumb strong {
  color: #111827;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-thumb em {
  margin-top: 0.2rem;
  color: #6b7280;
  font-size: 0.82rem;
  font-style: normal;
}

.page-hero,
.section-block {
  padding: 3.5rem 0;
}

.page-hero h1,
.section-title h2,
.detail-title h1 {
  margin: 0;
  color: #111827;
  letter-spacing: -0.05em;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 760px;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.85;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.section-title p {
  margin: 0.4rem 0 0;
  color: #6b7280;
}

.section-title a {
  color: #be185d;
  font-weight: 900;
}

.horizontal-row {
  display: flex;
  gap: 1rem;
  padding: 0.35rem 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.horizontal-row::-webkit-scrollbar {
  display: none;
}

.horizontal-row .movie-card {
  width: 18rem;
  min-width: 18rem;
}

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

.video-card {
  overflow: hidden;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 18px 46px rgba(255, 179, 217, 0.5);
}

.video-card a,
.poster-wrap,
.card-body,
.card-meta {
  display: block;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #ffb3d9, #ffe66d, #a8e6ce);
}

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

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

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

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

.card-badge,
.card-duration {
  position: absolute;
  top: 0.7rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.card-badge {
  left: 0.7rem;
  background: linear-gradient(90deg, #ff8dc7, #ffb347);
}

.card-duration {
  right: 0.7rem;
  background: rgba(17, 24, 39, 0.74);
}

.play-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.12rem;
  border-radius: 50%;
  color: #be185d;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 1rem;
}

.card-body strong {
  color: #111827;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.video-card:hover strong {
  color: #be185d;
}

.card-desc {
  min-height: 2.8rem;
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.55;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
  color: #6b7280;
  font-size: 0.82rem;
}

.feature-card {
  min-height: 28rem;
}

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

.category-card {
  display: block;
  min-height: 13rem;
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 179, 217, 0.25);
  box-shadow: 0 12px 28px rgba(255, 179, 217, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-0.45rem);
  box-shadow: 0 18px 42px rgba(255, 179, 217, 0.42);
}

.category-card span {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #ff8dc7, #ffb347, #a8e6ce);
  font-weight: 900;
}

.category-card h2,
.category-card h3 {
  margin: 0;
  color: #111827;
  font-size: 1.25rem;
}

.category-card p {
  margin: 0.65rem 0 0;
  color: #6b7280;
  line-height: 1.65;
}

.rank-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.rank-row a {
  display: grid;
  grid-template-columns: 3rem 5.5rem 1fr auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 5.2rem;
  padding: 0.65rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 179, 217, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row a:hover {
  transform: translateX(0.35rem);
  background: rgba(255, 255, 255, 0.95);
}

.rank-no {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff8dc7, #ffb347);
  font-weight: 900;
}

.rank-row img {
  width: 5.5rem;
  height: 3.35rem;
  object-fit: cover;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #ffb3d9, #a8e6ce);
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  color: #111827;
  line-height: 1.25;
}

.rank-info em {
  margin-top: 0.25rem;
  color: #6b7280;
  font-style: normal;
  font-size: 0.86rem;
}

.rank-score {
  color: #b45309;
  font-weight: 900;
}

.filter-panel {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px rgba(255, 179, 217, 0.18);
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.filter-title strong {
  color: #111827;
  font-size: 1.1rem;
}

.filter-title span {
  color: #6b7280;
  font-size: 0.9rem;
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 12rem;
  gap: 0.75rem;
}

.filter-controls input,
.filter-controls select,
.search-page-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 179, 217, 0.35);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 2rem 0 0;
}

.pagination a,
.pagination span {
  min-width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #be185d;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 179, 217, 0.28);
}

.pagination a.active,
.pagination a:hover {
  color: #fff;
  background: linear-gradient(90deg, #ff8dc7, #ffb347);
}

.detail-layout {
  padding: 2rem 1rem 4rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: #be185d;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 1.25rem;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #050505;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.34);
}

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

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.2rem;
  border: 0;
  border-radius: 50%;
  color: #be185d;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-start.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.84);
}

.player-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.86rem;
}

.detail-card,
.side-card {
  border-radius: 1.5rem;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(255, 179, 217, 0.18);
}

.detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-title h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.detail-category {
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #ff8dc7, #ffb347);
  font-weight: 900;
}

.detail-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.detail-meta {
  margin-bottom: 1rem;
  color: #6b7280;
}

.detail-meta span,
.tag-list span {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 179, 217, 0.16);
}

.detail-section {
  padding-top: 1.1rem;
  margin-top: 1.1rem;
  border-top: 1px solid rgba(255, 179, 217, 0.24);
}

.detail-section h2,
.side-card h2 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: 1.25rem;
}

.detail-section p,
.side-card p {
  color: #4b5563;
  line-height: 1.85;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffb3d9, #a8e6ce);
}

.side-list {
  display: grid;
  gap: 0.65rem;
}

.side-list a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.95rem;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease, background 0.2s ease;
}

.side-list a:hover {
  color: #be185d;
  background: rgba(255, 179, 217, 0.18);
}

.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  width: min(780px, 100%);
  margin: 1.5rem 0 0;
}

.search-results {
  min-height: 18rem;
}

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: #6b7280;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.25rem;
  background: linear-gradient(135deg, rgba(255, 179, 217, 0.18), rgba(255, 230, 109, 0.12), rgba(168, 230, 206, 0.18));
  border-top: 1px solid rgba(255, 179, 217, 0.24);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid p {
  max-width: 30rem;
  color: #6b7280;
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 0.85rem;
  color: #be185d;
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: #6b7280;
}

.footer-links a:hover {
  color: #be185d;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: #6b7280;
  text-align: center;
  border-top: 1px solid rgba(255, 179, 217, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

  .nav-panel.open {
    display: flex;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .nav-search input {
    flex: 1;
    width: auto;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    margin-top: -6rem;
  }

  .hero-thumbs {
    display: none;
  }

  .hero-control {
    display: none;
  }

  .hero-copy {
    padding-inline: 1rem;
  }

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

  .filter-controls,
  .search-page-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .section-container {
    padding: 0 0.85rem;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 5rem;
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .hero-copy h2 {
    font-size: 1.55rem;
  }

  .hero-panel {
    border-radius: 1.25rem;
  }

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

  .horizontal-row .movie-card {
    width: 16rem;
    min-width: 16rem;
  }

  .rank-row a {
    grid-template-columns: 2.5rem 4.5rem 1fr;
  }

  .rank-score {
    display: none;
  }

  .detail-title {
    display: block;
  }

  .detail-category {
    display: inline-flex;
    margin-top: 0.85rem;
  }
}
