:root {
  --marshmallow-pink: #ffb6c1;
  --marshmallow-blue: #87ceeb;
  --marshmallow-mint: #98d8c8;
  --marshmallow-peach: #ffdab9;
  --marshmallow-cream: #fff8dc;
  --text-strong: #1f2937;
  --text-main: #4b5563;
  --text-soft: #6b7280;
  --border-soft: rgba(148, 163, 184, 0.24);
  --white-soft: rgba(255, 255, 255, 0.86);
  --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-soft-lg: 0 4px 25px rgba(0, 0, 0, 0.10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 182, 193, 0.24), transparent 30rem),
    radial-gradient(circle at top right, rgba(135, 206, 235, 0.25), transparent 30rem),
    linear-gradient(135deg, var(--marshmallow-cream), #ffffff 45%, rgba(255, 182, 193, 0.10));
  min-height: 100vh;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text-strong);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--marshmallow-pink), var(--marshmallow-blue));
  box-shadow: 0 10px 28px rgba(255, 182, 193, 0.36);
}

.brand-text {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  background: linear-gradient(90deg, #ff8ea2, #56bfe8, #73cbb5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  color: #475569;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link-active {
  color: #ff8ea2;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: min(280px, 24vw);
}

.header-search input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  padding: 10px 44px 10px 16px;
  outline: none;
  color: var(--text-strong);
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ff8ea2;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 182, 193, 0.16);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 182, 193, 0.14);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #ff8ea2;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 110px) 0;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.55;
}

.hero-bg-shape-one {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 40px;
  background: rgba(255, 182, 193, 0.42);
}

.hero-bg-shape-two {
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: 40px;
  background: rgba(135, 206, 235, 0.38);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero-copy h1 {
  margin: 18px 0 20px;
  color: transparent;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.08em;
  background: linear-gradient(90deg, #ff8ea2, #66c8ef 48%, #68cdb2);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  margin: 0;
  max-width: 640px;
  color: #4b5563;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
}

.hero-badge,
.page-kicker,
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: #f47286;
  font-weight: 700;
  border: 1px solid rgba(255, 182, 193, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  padding: 8px 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-lg);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #ff8ea2, var(--marshmallow-pink));
}

.button-secondary,
.button-light {
  color: #334155;
  background: rgba(255, 255, 255, 0.90);
}

.button-full {
  width: 100%;
}

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

.hero-stats div,
.stats-grid div {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-stats strong,
.stats-grid strong {
  display: block;
  color: #ff8ea2;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.hero-stats span,
.stats-grid span {
  color: #64748b;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: clamp(410px, 44vw, 560px);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--marshmallow-pink), var(--marshmallow-blue));
  box-shadow: 0 28px 80px rgba(31, 41, 55, 0.20);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-image,
.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.18)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.58), transparent 48%);
}

.hero-slide-content {
  position: absolute;
  left: clamp(22px, 5vw, 50px);
  right: clamp(22px, 5vw, 50px);
  bottom: clamp(28px, 5vw, 54px);
  color: white;
}

.hero-slide-content h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.hero-slide-content p {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.hero-slide-content .pill {
  color: white;
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  padding: 7px 12px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: white;
}

.quick-category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.quick-category-strip a,
.category-card,
.info-card,
.detail-card,
.detail-info-card,
.detail-poster-card,
.ranking-column,
.filter-panel,
.search-tools {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.quick-category-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-category-strip a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-lg);
}

.quick-category-strip span {
  color: var(--text-strong);
  font-weight: 800;
}

.quick-category-strip strong {
  color: #ff8ea2;
}

.content-section {
  padding: clamp(42px, 6vw, 76px) 0 0;
}

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

.section-heading h2 {
  margin: 7px 0 0;
  color: var(--text-strong);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 8px 0 0;
  color: #64748b;
}

.section-kicker {
  color: #ff8ea2;
  font-weight: 900;
}

.section-more {
  color: #ff8ea2;
  font-weight: 800;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft-lg);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 182, 193, 0.65), rgba(135, 206, 235, 0.65)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, 0.18) 12px, rgba(255, 255, 255, 0.18) 24px);
}

.movie-poster img,
.category-card img,
.horizontal-poster img,
.detail-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

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

.image-unavailable {
  opacity: 0;
}

.movie-duration,
.rank-badge,
.movie-play {
  position: absolute;
  z-index: 2;
}

.movie-duration {
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
}

.rank-badge {
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8ea2, #56bfe8);
}

.movie-play {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: white;
  border-radius: 50%;
  background: rgba(255, 182, 193, 0.92);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-meta-line,
.movie-card-stats,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.movie-meta-line {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.movie-meta-line span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #cbd5e1;
}

.movie-card h3,
.horizontal-card h3 {
  margin: 10px 0 8px;
  color: var(--text-strong);
  font-size: 1.05rem;
  line-height: 1.42;
}

.movie-card h3 a,
.horizontal-card h3 a {
  transition: color 0.2s ease;
}

.movie-card h3 a:hover,
.horizontal-card h3 a:hover {
  color: #ff8ea2;
}

.movie-card p,
.horizontal-card p,
.category-card p,
.info-card p,
.detail-card p {
  color: #64748b;
  line-height: 1.75;
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.5em;
  margin: 0 0 12px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-stats {
  justify-content: space-between;
  color: #64748b;
  font-size: 0.84rem;
}

.movie-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span,
.detail-tags span {
  display: inline-flex;
  padding: 5px 9px;
  color: #ff7f96;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.15);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.side-ranking {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.side-ranking h2,
.ranking-column h2 {
  margin: 0 0 16px;
  color: var(--text-strong);
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: auto 86px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, background 0.2s ease;
}

.horizontal-card:hover {
  transform: translateX(3px);
  background: white;
}

.list-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ff8ea2;
  font-weight: 900;
  border-radius: 12px;
  background: rgba(255, 182, 193, 0.15);
}

.horizontal-poster {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.60), rgba(135, 206, 235, 0.60));
}

.horizontal-card h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
}

.horizontal-card p {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 0.86rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.filter-panel {
  margin-top: clamp(34px, 5vw, 62px);
  border-radius: 28px;
  padding: 22px;
}

.filter-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.filter-panel-title h2 {
  margin: 0;
  color: var(--text-strong);
}

.filter-panel-title p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.filter-controls,
.search-tools {
  display: grid;
  grid-template-columns: 1.7fr repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.filter-search,
.large-search label {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-search svg,
.large-search svg {
  position: absolute;
  left: 15px;
  color: #94a3b8;
}

.filter-controls input,
.filter-controls select,
.search-tools select,
.large-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  color: var(--text-strong);
  background: white;
}

.filter-controls input,
.large-search input {
  padding-left: 42px;
}

.filter-controls input:focus,
.filter-controls select:focus,
.search-tools select:focus,
.large-search input:focus {
  border-color: var(--marshmallow-pink);
  box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.18);
}

.empty-state {
  margin-top: 22px;
  padding: 42px;
  color: #64748b;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at top right, rgba(135, 206, 235, 0.22), transparent 28rem),
    linear-gradient(135deg, rgba(255, 182, 193, 0.16), rgba(135, 206, 235, 0.16));
}

.page-kicker {
  padding: 7px 13px;
}

.page-hero h1 {
  max-width: 860px;
  margin: 18px 0 14px;
  color: var(--text-strong);
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.9;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #ff8ea2;
  font-weight: 800;
}

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

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-lg);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.42));
}

.category-card img {
  position: absolute;
  right: -12px;
  bottom: -20px;
  z-index: -2;
  width: 58%;
  height: 72%;
  border-radius: 30px;
  opacity: 0.62;
}

.category-kind {
  display: inline-flex;
  padding: 6px 10px;
  color: #ff8ea2;
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.16);
}

.category-card strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--text-strong);
  font-size: 1.35rem;
}

.category-card p {
  max-width: 72%;
  margin: 0;
  font-size: 0.95rem;
}

.category-card em {
  display: inline-flex;
  margin-top: 18px;
  color: #0f766e;
  font-style: normal;
  font-weight: 900;
}

.year-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.year-chip-grid a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text-strong);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.year-chip-grid span {
  color: #ff8ea2;
  font-size: 0.86rem;
}

.ranking-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: clamp(42px, 6vw, 76px);
}

.ranking-column {
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: 28px;
  padding: 20px;
}

.large-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.large-search label {
  display: block;
}

.large-search input {
  min-height: 56px;
  border-radius: 20px;
}

.search-tools {
  grid-template-columns: repeat(3, minmax(140px, 1fr)) auto;
  align-items: center;
  margin-top: 32px;
  border-radius: 24px;
  padding: 18px;
}

.search-tools p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
  white-space: nowrap;
}

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

.info-card {
  border-radius: 28px;
  padding: 30px;
}

.info-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ff8ea2;
  border-radius: 20px;
  background: rgba(255, 182, 193, 0.16);
}

.info-card h2 {
  margin: 18px 0 8px;
  color: var(--text-strong);
}

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

.detail-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: white;
}

.detail-backdrop {
  filter: blur(1px) saturate(1.1);
  transform: scale(1.03);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.40)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.08));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.breadcrumb a:hover {
  color: white;
}

.detail-title-block h1 {
  max-width: 900px;
  margin: 16px 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 1.04;
}

.detail-title-block p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.9;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-top: -62px;
  position: relative;
  z-index: 2;
}

.detail-main,
.detail-sidebar {
  display: grid;
  gap: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  color: white;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(255, 182, 193, 0.18), transparent 20rem),
    linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.22));
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8ea2, var(--marshmallow-blue));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

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

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

.player-shell.is-playing .player-overlay {
  display: none;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.66);
}

.detail-card,
.detail-info-card,
.detail-poster-card {
  border-radius: 28px;
}

.detail-card {
  padding: clamp(24px, 4vw, 34px);
}

.detail-card h2,
.detail-info-card h2 {
  margin: 0 0 14px;
  color: var(--text-strong);
}

.detail-card p {
  margin: 0;
  font-size: 1.03rem;
}

.detail-poster-card {
  overflow: hidden;
  padding: 14px;
}

.detail-poster-card img {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.65), rgba(135, 206, 235, 0.65));
}

.detail-poster-card .button {
  margin-top: 14px;
}

.detail-info-card {
  padding: 22px;
}

.detail-info-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.detail-info-card dt {
  color: #94a3b8;
  font-weight: 800;
}

.detail-info-card dd {
  margin: 0;
  color: var(--text-strong);
  font-weight: 700;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.site-footer {
  margin-top: clamp(58px, 7vw, 92px);
  padding: 44px 0;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.84);
}

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

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--text-strong);
}

.footer-grid p {
  color: #64748b;
  line-height: 1.75;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: #64748b;
}

.footer-grid a:hover {
  color: #ff8ea2;
}

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

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

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

@media (max-width: 980px) {
  .header-search {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-soft-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-link:hover,
  .nav-link-active {
    background: rgba(255, 182, 193, 0.13);
  }

  .hero-layout,
  .split-section,
  .detail-layout,
  .ranking-dashboard,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar,
  .side-ranking {
    position: static;
  }

  .quick-category-strip,
  .featured-grid,
  .category-grid,
  .small-category-grid,
  .about-grid,
  .stats-grid {
    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-mark {
    width: 34px;
    height: 34px;
  }

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

  .hero-section {
    padding: 42px 0 28px;
  }

  .hero-copy h1 {
    letter-spacing: -0.05em;
  }

  .hero-stats,
  .quick-category-strip,
  .movie-grid,
  .compact-grid,
  .featured-grid,
  .category-grid,
  .small-category-grid,
  .about-grid,
  .stats-grid,
  .filter-controls,
  .search-tools,
  .large-search {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 430px;
    border-radius: 26px;
  }

  .section-heading,
  .filter-panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .horizontal-card {
    grid-template-columns: auto 76px minmax(0, 1fr);
  }

  .category-card p {
    max-width: 100%;
  }

  .category-card img {
    width: 52%;
    opacity: 0.26;
  }

  .detail-hero,
  .detail-hero-inner {
    min-height: 360px;
  }

  .detail-layout {
    margin-top: -36px;
  }

  .player-shell {
    border-radius: 22px;
  }
}
