:root {
  --bg: #07060a;
  --bg-2: #100e14;
  --bg-3: #1a1520;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 180, 200, 0.12);
  --text: #f7eef2;
  --muted: #b5a0ab;
  --pink: #ff3d7f;
  --orange: #ff8a2b;
  --magenta: #e91e8c;
  --grad: linear-gradient(135deg, #ffb347 0%, #ff3d7f 48%, #c026d3 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 138, 43, 0.25), rgba(255, 61, 127, 0.2), rgba(192, 38, 211, 0.15));
  --nav-h: 64px;
  --dl-h: 72px;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 61, 127, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 138, 43, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, #0b0910 100%);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ff9ec0;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 6, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 40px;
  max-width: min(168px, 46vw);
  border-radius: 8px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 61, 127, 0.15);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

/* ===== Sticky site ads (from myads.html) ===== */
#siteAdsSticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 999;
  background: #120e16;
  border-bottom: 1px solid rgba(255, 180, 200, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  padding: 6px 12px;
}

#siteAdsContent {
  margin: 16px 0 20px;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 180, 200, 0.14);
}

#siteAdsSticky .ads,
#siteAdsContent .ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 8px 0 4px;
}

#siteAdsSticky .ads > div,
#siteAdsContent .ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 78px;
  flex: 0 0 78px;
}

#siteAdsSticky img,
#siteAdsContent img {
  width: 65px;
  height: 65px;
  min-width: 65px;
  min-height: 65px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#siteAdsSticky .applist-title,
#siteAdsContent .applist-title {
  text-align: center;
  color: #f7eef2;
  font-size: 14px;
  font-weight: 600;
}

#siteAdsSticky .caption,
#siteAdsContent .caption {
  height: 15px;
  font-size: 11px;
  color: #cbb6c0;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(420px, 78vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 10, 0.88) 0%, rgba(7, 6, 10, 0.55) 42%, rgba(7, 6, 10, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 6, 10, 0.95) 0%, rgba(7, 6, 10, 0.2) 45%, transparent 70%);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb4cc;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.2;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 61, 127, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: #fff;
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 61, 127, 0.5);
}

/* ===== Sections / SEO layout 3:7 ===== */
.section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.split-37 {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.split-37.reverse {
  grid-template-columns: 7fr 3fr;
}

.split-37.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 3 / 4;
}

.split-media.landscape {
  aspect-ratio: 4 / 5;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.split-37:hover .split-media img {
  transform: scale(1.04);
}

.split-body h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.split-body p {
  margin: 0 0 12px;
  color: #d8c6cf;
}

.split-body p:last-child {
  margin-bottom: 0;
}

/* Cards grids for videos / artists */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 61, 127, 0.45);
}

.media-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.media-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0a0a0c;
}

.media-card .info {
  padding: 12px;
}

.media-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.artist-card {
  text-align: center;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.artist-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 61, 127, 0.45);
}

.artist-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.artist-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.drama-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.drama-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.drama-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.drama-card span {
  display: block;
  padding: 10px;
  font-size: 0.88rem;
  text-align: center;
  background: var(--bg-3);
}

/* Feature list */
.feature-list {
  display: grid;
  gap: 18px;
}

.toc {
  margin: 20px 0 32px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.toc a {
  color: #ff9ec0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a {
  color: #ff9ec0;
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

.page-hero {
  padding: 28px 0 10px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.prose {
  padding-bottom: 48px;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
}

.prose h3 {
  margin: 24px 0 10px;
  font-size: 1.1rem;
}

.prose p,
.prose li {
  color: #d8c6cf;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose .split-37 {
  margin-top: 24px;
}

/* Error pages */
.error-wrap {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-wrap h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-wrap p {
  color: var(--muted);
  max-width: 520px;
  margin: 12px auto 24px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: auto;
  height: 40px;
  max-width: 160px;
  border-radius: 8px;
  object-fit: contain;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.keyword-cloud a,
.keyword-cloud span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.keyword-cloud a:hover {
  color: #fff;
  border-color: rgba(255, 61, 127, 0.45);
}

/* Mobile */
@media (max-width: 960px) {
  .card-grid,
  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drama-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-37,
  .split-37.reverse {
    grid-template-columns: 1fr;
  }

  .split-37.reverse .split-media {
    order: 0;
  }

  .split-media {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 58px;
    --dl-h: auto;
  }

  .nav-row {
    min-height: 58px;
  }

  .brand img {
    height: 34px;
    max-width: min(148px, 52vw);
  }

  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--nav-h) + 8px);
    flex-direction: column;
    align-items: stretch;
    background: rgba(16, 14, 20, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    flex: 0 0 auto;
    background: #000;
  }

  .hero-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    transform: none;
    animation: none;
  }

  .hero-media::after {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    padding: 22px 0 28px;
    max-width: none;
    background: linear-gradient(180deg, #100e14 0%, #0a0810 100%);
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .section {
    padding: 40px 0;
  }

  .drama-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .card-grid,
  .artist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
