:root {
  color-scheme: light;
  --pink: #ec4899;
  --rose: #f43f5e;
  --orange: #f97316;
  --amber: #f59e0b;
  --yellow: #facc15;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --green: #10b981;
  --slate: #111827;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --paper: rgba(255, 255, 255, 0.88);
  --line: rgba(236, 72, 153, 0.18);
  --shadow: 0 20px 60px rgba(236, 72, 153, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  background: linear-gradient(135deg, #fdf2f8 0%, #fff7ed 48%, #fefce8 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.08);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-symbol {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--pink),
    var(--orange),
    var(--yellow)
  );
  box-shadow: 0 0 28px rgba(236, 72, 153, 0.42);
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.brand-name {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #4b5563;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--pink);
  background: rgba(236, 72, 153, 0.1);
  font-size: 24px;
}

main {
  width: 100%;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #ec4899 0%, #fb923c 52%, #facc15 100%);
}

.hero-carousel::before,
.hero-carousel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.38;
  z-index: 0;
}

.hero-carousel::before {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 48px;
  background: rgba(255, 255, 255, 0.48);
}

.hero-carousel::after {
  width: 440px;
  height: 440px;
  right: -160px;
  bottom: -130px;
  background: rgba(255, 255, 255, 0.32);
}

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

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

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: blur(2px) saturate(1.2);
}

.hero-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 35%,
      rgba(255, 255, 255, 0.16),
      transparent 34%
    ),
    linear-gradient(90deg, rgba(17, 24, 39, 0.28), rgba(236, 72, 153, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 46px;
  padding: 48px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  color: #fff;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.75;
}

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

.btn-primary,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 16px 38px rgba(236, 72, 153, 0.28);
}

.btn-light {
  color: var(--pink);
  background: #fff;
  box-shadow: 0 16px 38px rgba(255, 255, 255, 0.24);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-light:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 48px rgba(236, 72, 153, 0.32);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags span,
.tag-row span,
.card-meta span,
.detail-tags span,
.rank-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-tags span {
  padding: 6px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-art {
  position: relative;
  border-radius: 32px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  transform: rotate(2deg);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.hero-card-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 16px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.42),
    rgba(17, 24, 39, 0.82)
  );
  backdrop-filter: blur(12px);
}

.hero-card-caption strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.hero-card-caption span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot,
.hero-arrow {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.hero-dot.is-active,
.hero-dot:hover,
.hero-arrow:hover {
  background: #fff;
  color: var(--pink);
  transform: scale(1.12);
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 20px;
}

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

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

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-desc {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.search-panel {
  margin: 26px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.08);
}

.search-panel input,
.search-panel select {
  min-height: 46px;
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 16px;
  padding: 0 16px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

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

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

.category-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(236, 72, 153, 0.22);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.category-card.pink-orange,
.theme-pink-orange {
  background: linear-gradient(135deg, #ec4899, #fb923c);
}

.category-card.orange-gold,
.theme-orange-gold {
  background: linear-gradient(135deg, #fb923c, #f59e0b);
}

.category-card.rose-purple,
.theme-rose-purple {
  background: linear-gradient(135deg, #f43f5e, #8b5cf6);
}

.category-card.blue-cyan,
.theme-blue-cyan {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.category-card.pink-rose,
.theme-pink-rose {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.category-card.purple-indigo,
.theme-purple-indigo {
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
}

.category-card.teal-green,
.theme-teal-green {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
}

.category-card.yellow-orange,
.theme-yellow-orange {
  background: linear-gradient(135deg, #eab308, #f97316);
}

.category-card.red-orange,
.theme-red-orange {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-card.slate-dark,
.theme-slate-dark {
  background: linear-gradient(135deg, #374151, #111827);
}

.category-icon {
  display: block;
  font-size: 42px;
  margin-bottom: 18px;
}

.category-card h2,
.category-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

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

.movie-card {
  min-width: 0;
}

.movie-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.movie-card a:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.34);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.18);
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(17, 24, 39, 0.42);
  transition: opacity 0.25s ease;
}

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

.play-orb {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.card-badge,
.card-year {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-badge {
  left: 12px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.card-year {
  right: 12px;
  background: rgba(17, 24, 39, 0.55);
}

.card-body {
  padding: 18px;
}

.card-body h2,
.card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

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

.card-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  min-height: 54px;
}

.card-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card-meta span,
.rank-meta span {
  padding: 4px 9px;
  color: #64748b;
  font-size: 12px;
  background: rgba(236, 72, 153, 0.08);
}

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

.tag-row span,
.detail-tags span {
  padding: 5px 9px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  background: rgba(236, 72, 153, 0.1);
}

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

.rank-mini {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rank-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.16);
}

.rank-mini span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.rank-mini h3 {
  margin: 0;
  color: var(--ink);
}

.rank-mini p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #fb923c, #facc15);
}

.page-hero .section-wrap {
  padding: 74px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.8;
}

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

.category-sample a {
  position: relative;
  z-index: 2;
  padding: 10px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64748b;
  margin: 28px 0 20px;
  font-size: 14px;
}

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

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

.watch-zone {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.32);
}

.watch-zone video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.watch-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.24),
    rgba(17, 24, 39, 0.7)
  );
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

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

.watch-overlay strong {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  font-size: 32px;
}

.watch-overlay span {
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.36);
}

.detail-title {
  margin: 28px 0 0;
}

.detail-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-title p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #475569;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(236, 72, 153, 0.1);
}

.info-panel,
.content-panel {
  border: 1px solid rgba(236, 72, 153, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.08);
}

.info-panel {
  padding: 18px;
  position: sticky;
  top: 96px;
}

.info-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(236, 72, 153, 0.1);
}

.info-list dt {
  color: #94a3b8;
}

.info-list dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
  font-weight: 800;
}

.content-panel {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.content-panel h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 28px;
}

.content-panel p {
  color: #4b5563;
  line-height: 1.95;
  font-size: 17px;
}

.content-panel p + p {
  margin-top: 14px;
}

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

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

.rank-item a {
  display: grid;
  grid-template-columns: 64px 176px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 140px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rank-item a:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.16);
}

.rank-number {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.rank-item img {
  width: 176px;
  height: 104px;
  object-fit: cover;
  border-radius: 18px;
}

.rank-info h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.rank-info p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.text-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 58px 0 0;
}

.text-card {
  padding: clamp(24px, 5vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: var(--shadow);
}

.text-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.text-card h2 {
  margin: 32px 0 12px;
  font-size: 24px;
}

.text-card p,
.text-card li {
  color: #4b5563;
  line-height: 1.9;
  font-size: 17px;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(236, 72, 153, 0.16);
  background: linear-gradient(
    90deg,
    rgba(252, 231, 243, 0.9),
    rgba(255, 237, 213, 0.9),
    rgba(254, 249, 195, 0.9)
  );
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.8fr 0.8fr;
  gap: 32px;
}

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 14px;
  color: var(--ink);
}

.footer-inner p,
.footer-inner a,
.footer-bottom {
  color: #64748b;
  line-height: 1.8;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(236, 72, 153, 0.14);
  text-align: center;
}

.is-hidden-card {
  display: none !important;
}

.empty-state {
  display: none;
  padding: 34px;
  border-radius: 24px;
  text-align: center;
  color: #64748b;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(236, 72, 153, 0.12);
}

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

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 28px rgba(236, 72, 153, 0.42);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 38px rgba(249, 115, 22, 0.5);
  }
}

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

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

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

  .info-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-nav {
    height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(236, 72, 153, 0.14);
    box-shadow: var(--shadow);
  }

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

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

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(236, 72, 153, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 680px;
    gap: 24px;
    padding: 36px 0 72px;
  }

  .hero-art {
    max-width: 320px;
    margin: 0 auto;
    transform: none;
  }

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

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

  .category-grid,
  .movie-grid,
  .rank-strip,
  .related-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rank-item a {
    grid-template-columns: 52px 100px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-item img {
    width: 100px;
    height: 76px;
  }

  .rank-info h2 {
    font-size: 18px;
  }

  .rank-info p {
    display: none;
  }
}

@media (max-width: 520px) {
  .section-wrap {
    width: min(100% - 24px, 1180px);
  }

  .site-nav,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 20px;
  }

  .hero-carousel,
  .hero-inner {
    min-height: 620px;
  }

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

  .hero-copy h2 {
    font-size: 30px;
  }

  .hero-copy p {
    font-size: 16px;
  }

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

  .rank-item a {
    grid-template-columns: 44px 1fr;
  }

  .rank-item img {
    display: none;
  }

  .watch-overlay strong {
    width: 66px;
    height: 66px;
  }
}
