:root {
  --candy-pink: #ffb3d9;
  --candy-rose: #ff8dc7;
  --candy-orange: #ffb347;
  --candy-yellow: #ffe66d;
  --candy-mint: #a8e6ce;
  --candy-blue: #87ceeb;
  --ink: #1f2937;
  --muted: #667085;
  --card: rgba(255, 255, 255, 0.86);
  --line: rgba(255, 179, 217, 0.28);
  --shadow: 0 18px 55px rgba(255, 141, 199, 0.22);
  --deep-shadow: 0 30px 90px rgba(67, 56, 202, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 5% 8%, rgba(255, 179, 217, 0.42), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(168, 230, 206, 0.46), transparent 30rem),
    linear-gradient(135deg, #fff8fc 0%, #ffffff 52%, #ffe5ec 100%);
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.gradient-text {
  background-image: linear-gradient(135deg, #ff8dc7, #ffb347, #d7b937, #43b989, #3aa0cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-effect {
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 45px rgba(255, 179, 217, 0.18);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background-image: linear-gradient(135deg, var(--candy-rose), var(--candy-yellow), var(--candy-mint));
  box-shadow: 0 12px 28px rgba(255, 141, 199, 0.45);
}

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

.desktop-nav a,
.mobile-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-menu a:hover,
.mobile-menu a.active {
  color: #be185d;
  background-color: rgba(255, 179, 217, 0.20);
  transform: translateY(-1px);
}

.nav-search {
  width: 280px;
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 179, 217, 0.40);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 11px 82px 11px 16px;
}

.nav-search button {
  position: absolute;
  right: 4px;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  color: #fff;
  cursor: pointer;
  background-image: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 179, 217, 0.18);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: #be185d;
  border-radius: 4px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
}

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

.mobile-menu input {
  width: 100%;
  border: 2px solid rgba(255, 179, 217, 0.32);
  border-radius: 999px;
  padding: 12px 16px;
  outline: 0;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 179, 217, 0.42), transparent 26rem),
    radial-gradient(circle at 82% 6%, rgba(168, 230, 206, 0.46), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 229, 236, 0.72));
}

.candy-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  opacity: 0.56;
  animation: floatDot 7s ease-in-out infinite;
}

.candy-dot:nth-child(1) {
  left: 8%;
  top: 22%;
  background: var(--candy-pink);
}

.candy-dot:nth-child(2) {
  left: 72%;
  top: 18%;
  background: var(--candy-yellow);
  animation-delay: -2s;
}

.candy-dot:nth-child(3) {
  left: 88%;
  top: 72%;
  background: var(--candy-mint);
  animation-delay: -4s;
}

@keyframes floatDot {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-22px) scale(1.18);
  }
}

.hero-carousel {
  position: relative;
  padding: 56px 0;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.hero-slide.active {
  display: grid;
  animation: fadeIn 0.6s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 141, 199, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  color: #be185d;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-desc {
  max-width: 720px;
  color: #475467;
  font-size: 18px;
  line-height: 1.9;
}

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

.candy-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.candy-button {
  color: #fff;
  background-image: linear-gradient(135deg, var(--candy-rose), var(--candy-orange), var(--candy-yellow));
  box-shadow: 0 14px 34px rgba(255, 141, 199, 0.34);
}

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

.candy-button:hover,
.ghost-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(255, 141, 199, 0.34);
}

.hero-poster {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(255, 179, 217, 0.56), rgba(255, 230, 109, 0.38), rgba(168, 230, 206, 0.42));
  box-shadow: var(--deep-shadow);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.04) 55%);
}

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

.hero-poster img.is-missing,
.poster-wrap img.is-missing,
.detail-cover img.is-missing {
  opacity: 0;
}

.hero-poster-info {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}

.hero-poster-info strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

.hero-poster-info span {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.20);
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 141, 199, 0.32);
  cursor: pointer;
}

.hero-dots button.active {
  width: 34px;
  background: var(--candy-rose);
}

.section-block {
  padding: 58px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.more-link {
  color: #be185d;
  font-weight: 900;
}

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

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 179, 217, 0.24);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 32px rgba(255, 179, 217, 0.16);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.poster-link {
  display: block;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(255, 179, 217, 0.58), rgba(255, 230, 109, 0.34), rgba(168, 230, 206, 0.40));
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .poster-wrap img {
  transform: scale(1.05);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 58%);
}

.duration,
.rating {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(8px);
}

.duration {
  left: 12px;
  bottom: 12px;
}

.rating {
  right: 12px;
  top: 12px;
  background: rgba(255, 141, 199, 0.82);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.card-body h3 {
  min-height: 3em;
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.card-body h3 a:hover {
  color: #be185d;
}

.card-body p {
  min-height: 4.8em;
  margin: 0 0 12px;
  color: #667085;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: #be185d;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 179, 217, 0.20);
}

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

.category-card,
.rank-item,
.info-panel,
.search-panel,
.detail-panel {
  border: 1px solid rgba(255, 179, 217, 0.26);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(255, 179, 217, 0.14);
}

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

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

.category-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-hero {
  padding: 72px 0 36px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 179, 217, 0.22);
}

.filter-bar input,
.filter-bar select,
.search-panel input,
.search-panel select {
  border: 2px solid rgba(255, 179, 217, 0.28);
  border-radius: 999px;
  padding: 12px 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.78);
}

.filter-bar input {
  min-width: 280px;
  flex: 1;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.rank-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  background-image: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
}

.rank-thumb {
  width: 88px;
  height: 116px;
  border-radius: 18px;
  object-fit: cover;
  background-image: linear-gradient(135deg, rgba(255, 179, 217, 0.58), rgba(168, 230, 206, 0.40));
}

.rank-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rank-score {
  padding: 10px 14px;
  border-radius: 999px;
  color: #be185d;
  font-weight: 950;
  background: rgba(255, 179, 217, 0.18);
}

.detail-hero {
  padding: 46px 0 34px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 32px;
  background-image: linear-gradient(135deg, rgba(255, 179, 217, 0.58), rgba(255, 230, 109, 0.34), rgba(168, 230, 206, 0.40));
  box-shadow: var(--deep-shadow);
}

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

.detail-copy h1 {
  margin: 16px 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #be185d;
  font-weight: 900;
}

.detail-meta span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 179, 217, 0.20);
}

.detail-copy p {
  max-width: 820px;
  color: #475467;
  font-size: 18px;
  line-height: 1.9;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #0b1020;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.28);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050816;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(255, 141, 199, 0.20), rgba(0, 0, 0, 0.38));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 34px;
  background-image: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
  box-shadow: 0 20px 44px rgba(255, 141, 199, 0.42);
}

.player-shell.is-playing .play-overlay {
  opacity: 0;
  visibility: hidden;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
}

.detail-panel {
  padding: 28px;
}

.detail-panel h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.detail-panel p {
  color: #475467;
  line-height: 2;
  white-space: pre-line;
}

.sidebar-stack {
  display: grid;
  gap: 18px;
}

.side-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 179, 217, 0.22);
}

.side-card img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  background-image: linear-gradient(135deg, rgba(255, 179, 217, 0.58), rgba(168, 230, 206, 0.40));
}

.side-card strong {
  display: block;
  line-height: 1.4;
}

.side-card span {
  color: var(--muted);
  font-size: 13px;
}

.search-panel {
  padding: 18px;
  margin-bottom: 24px;
}

.search-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 140px;
  gap: 12px;
}

.empty-result {
  padding: 28px;
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.info-panel {
  padding: 28px;
  color: #475467;
  line-height: 1.9;
}

.info-panel h2,
.info-panel h3 {
  color: var(--ink);
}

.site-footer {
  margin-top: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 34px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 950;
  margin-bottom: 12px;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #be185d;
  background: rgba(255, 179, 217, 0.18);
  font-weight: 800;
}

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

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-poster {
    transform: none;
  }

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

  .rank-item {
    grid-template-columns: 46px 74px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 3;
    justify-self: start;
  }

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

@media (max-width: 560px) {
  .section-container {
    width: min(100% - 22px, 1280px);
  }

  .logo {
    font-size: 20px;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.03em;
  }

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

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

  .detail-panel {
    padding: 20px;
  }
}
