:root {
  --color-pink: #ff8fab;
  --color-pink-soft: #ffb6c1;
  --color-blue: #87ceeb;
  --color-mint: #98d8c8;
  --color-peach: #ffdab9;
  --color-lavender: #d8c8ff;
  --color-cream: #fff8ef;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #eef2f7;
  --color-surface: rgba(255, 255, 255, 0.88);
  --shadow-soft: 0 2px 15px rgba(31, 41, 55, 0.08);
  --shadow-soft-lg: 0 14px 36px rgba(31, 41, 55, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 40%, #f7fbff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
  box-shadow: 0 10px 24px rgba(255, 143, 171, 0.35);
}

.brand-text {
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--color-pink), #55b9df, var(--color-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  color: #4b5563;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  border-radius: 999px;
}

.header-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 8px 8px 8px 14px;
  color: var(--color-text);
}

.header-search button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-search button,
.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-pink), #5abce0);
  box-shadow: 0 12px 22px rgba(255, 143, 171, 0.26);
}

.secondary-button {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
}

.primary-button:hover,
.secondary-button:hover,
.header-search button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-lg);
}

.small-button {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff2f5;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--color-pink);
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--color-border);
}

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

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: 690px;
  padding: 74px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 182, 193, 0.38), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(135, 206, 235, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(255, 182, 193, 0.22), rgba(255, 248, 239, 0.62), rgba(135, 206, 235, 0.22));
}

.hero-pattern,
.subpage-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 143, 171, 0.45) 1px, transparent 0);
  background-size: 34px 34px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-slider {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 44px;
  align-items: center;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

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

.hero-slide-bg {
  position: absolute;
  inset: -74px -36px -54px;
  opacity: 0.18;
  filter: blur(8px) saturate(1.05);
  z-index: -1;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 13px;
  color: #be4f70;
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.hero h1,
.subpage-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  background: linear-gradient(90deg, #ff7197, #48b6dc 52%, #63cdb9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 640px;
  margin: 22px 0 0;
  color: #4b5563;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-meta,
.detail-meta-grid,
.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-meta span,
.detail-meta-grid span,
.category-meta span {
  padding: 7px 12px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

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

.hero-poster {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  padding: 24px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 143, 171, 0.28), rgba(135, 206, 235, 0.24));
  box-shadow: 0 28px 70px rgba(31, 41, 55, 0.16);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

.hero-poster img,
.poster-link img,
.detail-cover img,
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-poster::before,
.poster-link::before,
.detail-cover::before,
.player-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 143, 171, 0.84), rgba(135, 206, 235, 0.76)),
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.55), transparent 30%);
}

.hero-poster::after,
.poster-link::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  z-index: 2;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.68), transparent);
}

.hero-poster span {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--color-pink);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-blue));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.hero-stats a,
.category-card,
.movie-card,
.category-overview-card,
.detail-text-card,
.category-rank-card,
.player-side-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-stats a {
  padding: 22px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-stats a:hover,
.category-card:hover,
.movie-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-lg);
}

.hero-stats strong {
  display: block;
  color: var(--color-pink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.hero-stats span {
  color: var(--color-muted);
  font-weight: 700;
}

.page-section {
  padding: 68px 0;
}

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

.section-heading h2,
.table-toolbar h2,
.detail-text-card h2,
.player-side-card h2,
.category-rank-card h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.section-heading p,
.category-card p,
.category-overview-card p,
.subpage-hero p,
.site-footer p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.section-action {
  color: var(--color-pink);
  font-weight: 900;
}

.soft-section {
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.10), rgba(135, 206, 235, 0.11));
}

.cream-section {
  background: linear-gradient(135deg, rgba(255, 248, 239, 0.88), rgba(255, 218, 185, 0.18));
}

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

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

.movie-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 143, 171, 0.24), rgba(135, 206, 235, 0.26));
}

.movie-card-horizontal .poster-link {
  aspect-ratio: auto;
  min-height: 100%;
}

.poster-link img {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform 260ms ease;
}

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

.rank-badge,
.year-badge,
.score-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(31, 41, 55, 0.18);
}

.rank-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #ff6b8f, #f59e0b);
}

.year-badge {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  background: rgba(17, 24, 39, 0.54);
  backdrop-filter: blur(6px);
}

.score-badge {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
}

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

.movie-card-topline,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.category-pill {
  color: #be4f70;
  font-weight: 900;
}

.movie-card h3 {
  margin: 9px 0 8px;
  color: #111827;
  font-size: 1.08rem;
  line-height: 1.35;
}

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

.movie-card p {
  min-height: 46px;
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 0.94rem;
}

.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-list span,
.detail-tags span {
  padding: 5px 9px;
  color: #be4f70;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.18);
}

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

.category-card {
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card a:first-child {
  display: block;
}

.category-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
}

.category-card h3 {
  margin: 14px 0 6px;
}

.category-card ul,
.category-overview-card ul,
.site-footer ul,
.category-rank-card ol,
.player-side-card ul {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.category-card li + li,
.category-overview-card li + li,
.site-footer li + li,
.player-side-card li + li {
  margin-top: 8px;
}

.category-card li a,
.category-overview-card li a,
.site-footer a {
  color: #4b5563;
}

.category-card li a:hover,
.category-overview-card li a:hover,
.site-footer a:hover {
  color: var(--color-pink);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 182, 193, 0.26), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(135, 206, 235, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(255, 248, 239, 0.88), rgba(255, 255, 255, 0.9));
}

.subpage-hero .container {
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.6rem);
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: center;
}

.category-rank-card {
  padding: 24px;
}

.category-rank-card ol {
  display: grid;
  gap: 10px;
}

.category-rank-card a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  color: #4b5563;
}

.category-rank-card span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
  font-weight: 900;
}

.category-rank-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-rank-card em {
  color: var(--color-pink);
  font-style: normal;
  font-weight: 900;
}

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

.category-overview-card {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-overview-head {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
}

.category-overview-head > span {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
}

.category-overview-card h2 {
  margin: 0;
}

.category-overview-card li a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  color: #ffffff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  filter: blur(10px) saturate(1.1);
}

.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.48));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.32);
}

.detail-cover img {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.74);
}

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

.detail-info h1 {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.detail-one-line {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.detail-meta-grid span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow-soft-lg);
}

.player-shell::before {
  opacity: 0.2;
}

.movie-player {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 490px;
  background: #111827;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #ffffff;
  border: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 143, 171, 0.36), transparent 26%),
    rgba(17, 24, 39, 0.52);
  transition: opacity 180ms ease, visibility 180ms ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-blue));
  box-shadow: 0 18px 48px rgba(255, 143, 171, 0.36);
  font-size: 2.1rem;
}

.player-overlay strong {
  font-size: 1.3rem;
}

.player-overlay em {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.player-side-card {
  padding: 24px;
}

.player-side-card li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.player-side-card span {
  color: var(--color-muted);
}

.player-side-card a,
.player-side-card strong {
  color: #111827;
  text-align: right;
}

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

.detail-text-card {
  padding: 28px;
}

.detail-text-card p {
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 1.02rem;
}

.full-span {
  grid-column: 1 / -1;
}

.genre-tags span {
  color: #2e7d72;
  background: rgba(152, 216, 200, 0.22);
}

.search-panel {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.search-panel label {
  display: grid;
  gap: 7px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  outline: 0;
  background: #ffffff;
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.22);
}

.search-result-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0;
  color: var(--color-muted);
}

.search-result-bar strong {
  color: var(--color-pink);
  font-size: 1.35rem;
}

.ranking-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.ranking-table th {
  color: #111827;
  background: #fff7fa;
}

.ranking-table td:first-child {
  color: var(--color-pink);
  font-weight: 900;
}

.ranking-table a {
  font-weight: 800;
}

.ranking-table a:hover {
  color: var(--color-pink);
}

.sitemap-page {
  display: grid;
  gap: 24px;
}

.sitemap-year-block {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.sitemap-year-block h2 {
  margin: 0 0 14px;
}

.sitemap-year-block ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-year-block a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #4b5563;
}

.sitemap-year-block a:hover {
  color: var(--color-pink);
}

.sitemap-year-block span {
  color: var(--color-muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.site-footer {
  padding: 52px 0;
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.08), rgba(135, 206, 235, 0.08));
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

img.is-missing {
  display: none;
}

.searchable-card.is-hidden {
  display: none;
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .hero-poster {
    min-height: 360px;
    transform: none;
  }

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

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

  .split-hero,
  .player-layout,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: min(320px, 100%);
  }

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

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

  .sitemap-year-block ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .header-inner {
    min-height: 64px;
  }

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

  .hero {
    min-height: auto;
    padding: 46px 0 36px;
  }

  .hero-slider {
    min-height: 730px;
  }

  .hero-slide {
    align-content: start;
    gap: 24px;
  }

  .hero-poster {
    min-height: 320px;
  }

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

  .section-heading,
  .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .detail-text-grid,
  .footer-grid,
  .category-overview-grid,
  .search-panel,
  .sitemap-year-block ul {
    grid-template-columns: 1fr;
  }

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

  .player-shell,
  .movie-player {
    min-height: 260px;
  }

  .detail-hero {
    padding: 36px 0;
  }

  .subpage-hero {
    padding: 48px 0;
  }
}
