:root {
  --pink: #ff2d7b;
  --pink-soft: #ff6b9d;
  --magenta: #ff007a;
  --gold: #ffc53d;
  --orange: #ff8a3d;
  --cyan: #2ad4c5;
  --ink: #16161d;
  --ink-soft: #2a2a35;
  --text: #1e1e28;
  --muted: #5c5c6e;
  --line: rgba(22, 22, 29, 0.08);
  --bg: #fff7fb;
  --bg-alt: #ffffff;
  --panel: #ffffff;
  --dark: #0d0d14;
  --dark-2: #171722;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(255, 45, 123, 0.12);
  --nav-h: 64px;
  --ads-h: 0px;
  --font-display: "Outfit", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Outfit", sans-serif;
  --max: 1120px;
  --grad: linear-gradient(120deg, var(--gold), var(--orange), var(--pink), var(--magenta));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 45, 123, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(42, 212, 197, 0.1), transparent 50%),
    linear-gradient(180deg, #fff9fc 0%, #fff 38%, #f7f8ff 100%);
  line-height: 1.8;
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--magenta);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-size: 1.05rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--pink);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.sticky-ads {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  background: rgba(255, 252, 254, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(22, 22, 29, 0.06);
  text-align: center;
}

.sticky-ads.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-ads #ads,
.site-ads #ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  margin: 0.45rem auto;
  padding: 0 0.75rem;
  width: 100%;
  max-width: 100%;
}

.sticky-ads #ads > div,
.site-ads #ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.sticky-ads figure,
.site-ads figure {
  margin: 0;
  text-align: center;
}

.sticky-ads #ads img,
.site-ads #ads img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: #fff;
}

.sticky-ads #ads a,
.site-ads #ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

.sticky-ads #ads img:hover,
.site-ads #ads img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.sticky-ads #ads figcaption,
.sticky-ads #ads .caption,
.site-ads #ads figcaption,
.site-ads #ads .caption {
  height: 15px;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #666;
  text-align: center;
}

.sticky-ads .applist-title,
.site-ads .applist-title {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 0.35rem;
}

.site-ads {
  margin: 1rem auto 1.5rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-ads #applist,
.sticky-ads #applist {
  width: 100%;
  text-align: center;
}

.sticky-ads > * {
  margin-left: auto;
  margin-right: auto;
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 8, 16, 0.78) 0%, rgba(10, 8, 16, 0.45) 48%, rgba(10, 8, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 8, 16, 0.15) 0%, rgba(10, 8, 16, 0.75) 100%);
}

.hero-copy {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 680px;
  animation: rise 0.9s ease both;
  position: relative;
  z-index: 1;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-brand img {
  width: 56px;
  height: 56px;
}

.hero-brand strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  line-height: 1.35;
  font-weight: 700;
}

.hero p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 30px rgba(255, 45, 123, 0.35);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover {
  color: #fff;
  opacity: 0.92;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 247, 251, 0.9));
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.split {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 1.5rem 2rem;
  align-items: center;
  margin: 2rem 0;
}

.split.reverse {
  grid-template-columns: 7fr 3fr;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

.split-media.wide {
  aspect-ratio: 16 / 10;
  max-height: none;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.split-body p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.prose {
  font-size: 1.02rem;
  color: var(--text);
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2,
.prose h3 {
  margin: 1.8rem 0 0.8rem;
  line-height: 1.35;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.45rem;
}

.video-grid,
.artist-grid,
.drama-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}

.video-grid {
  grid-template-columns: repeat(4, 1fr);
}

.artist-grid {
  grid-template-columns: repeat(4, 1fr);
}

.drama-grid {
  grid-template-columns: repeat(4, 1fr);
}

.media-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media-card .thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--dark);
}

.media-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.video-grid .media-card .thumb {
  aspect-ratio: 16 / 9;
}

.video-grid .media-card .thumb img {
  object-fit: contain;
  object-position: center center;
  background: #0d0d14;
}

.media-card:hover .thumb img {
  transform: scale(1.05);
}

.video-grid .media-card:hover .thumb img {
  transform: none;
}

.media-card .meta {
  padding: 0.85rem 0.95rem 1.05rem;
}

.media-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.artist-card .thumb {
  aspect-ratio: 1;
}

.artist-card .meta {
  text-align: center;
}

.page-hero {
  padding: 2.5rem 0 1.25rem;
  background:
    linear-gradient(120deg, rgba(255, 45, 123, 0.08), rgba(42, 212, 197, 0.06)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #b7b7c5;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--pink);
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.article-block {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.keyword {
  color: var(--pink);
  font-weight: 700;
}

.cta-strip {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--dark);
  color: #fff;
  display: grid;
  gap: 0.75rem;
}

.cta-strip h2 {
  margin: 0;
  font-size: 1.3rem;
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  margin-top: 3rem;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 1rem;
}

.site-footer .brand span {
  color: #fff;
  background: none;
  -webkit-text-fill-color: initial;
}

.site-footer p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.error-page {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  margin: 0 0 1.5rem;
}

.toc strong {
  display: block;
  margin-bottom: 0.5rem;
}

.toc a {
  display: inline-block;
  margin: 0.2rem 0.75rem 0.2rem 0;
  color: var(--ink-soft);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .video-grid,
  .artist-grid,
  .drama-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media {
    max-height: 420px;
    margin-inline: auto;
    width: min(100%, 280px);
  }

  .split-media.wide {
    width: 100%;
    max-height: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 58px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    box-shadow: 0 12px 28px rgba(22, 22, 29, 0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 0.95rem 1.25rem;
    line-height: 1.4;
    overflow: visible;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .nav-menu a.active {
    background: rgba(255, 45, 123, 0.08);
    box-shadow: inset 3px 0 0 var(--pink);
  }

  .hero {
    display: block;
    min-height: 0;
    overflow: visible;
  }

  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    background: #120d14;
  }

  .hero-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.25rem 1rem 1.75rem;
    background: linear-gradient(180deg, #17131c 0%, #0d0d14 100%);
  }

  .hero h1 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .sticky-ads #ads,
  .site-ads #ads {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .sticky-ads #ads img,
  .site-ads #ads img {
    width: 46px;
    height: 46px;
  }

  .sticky-ads #ads > div,
  .site-ads #ads > div {
    width: 58px;
  }
}

@media (max-width: 480px) {
  .video-grid,
  .artist-grid,
  .drama-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .media-card .meta {
    padding: 0.65rem 0.7rem 0.85rem;
  }

  .media-card h3 {
    font-size: 0.88rem;
  }
}
