:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --bg-soft: #1a1a1e;
  --surface: #1f1f24;
  --text: #f5f5f7;
  --text-muted: #a8a8b3;
  --text-dim: #7a7a85;
  --accent: #ff2d6f;
  --accent-2: #ff7a3d;
  --accent-grad: linear-gradient(135deg, #ffb347 0%, #ff5c39 45%, #ff2d6f 100%);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --max: 1080px;
  --nav-h: 58px;
  --sticky-h: 96px;
  --font-sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 45, 111, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255, 122, 61, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  margin: 0 0 0.75em;
  font-weight: 700;
}

h1 { font-size: clamp(1.55rem, 4vw, 2.15rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: min(100% - 28px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 45, 111, 0.12);
  text-decoration: none;
}

/* Sticky ads bar under nav */
.sticky-ads {
  position: sticky;
  top: var(--nav-h);
  z-index: 999;
  background: rgba(14, 14, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-height: 0;
  overflow: hidden;
}

.sticky-ads.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  max-height: 140px;
}

.sticky-ads-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 12px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sticky-ads-inner::-webkit-scrollbar { display: none; }

.sticky-ads .ad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-dim);
}

.sticky-ads .ad-item img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.sticky-ads .ad-item span {
  margin-top: 4px;
  font-size: 11px;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Inline ads (myads style) */
#applist,
.site-ads {
  margin: 16px 0 8px;
}

.applist-title {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: 600;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 6px;
  background: transparent;
  margin: 10px 0;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: #fff;
}

#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.4);
}

#ads figcaption,
#ads .caption {
  height: 15px;
  font-size: 11px;
  color: #999;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

figure { margin: 0; }

/* Hero: image fully visible, copy below (no overlay crop) */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  border-bottom: 1px solid var(--line);
  background: #0a0a0b;
}

.hero-media {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #111;
}

.hero-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.hero-media::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 18px 0 24px;
  width: min(100% - 28px, var(--max));
  margin-inline: auto;
  background: transparent;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 10px;
  max-width: 20em;
}

.hero-lead {
  max-width: 36em;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 22px;
}

.section-head .eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-head p {
  max-width: 42em;
}

/* 3:7 media-text blocks */
.media-row {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 22px;
  align-items: start;
  margin: 28px 0;
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-row.reverse {
  grid-template-columns: 7fr 3fr;
}

.media-row.reverse .media-col { order: 2; }
.media-row.reverse .text-col { order: 1; }

.media-col img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--surface);
}

.media-col.shot img {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  margin-inline: auto;
  width: auto;
  max-width: 100%;
}

.text-col h2,
.text-col h3 {
  color: var(--text);
}

.text-col p {
  font-size: 0.98rem;
}

/* Cards grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.video-card,
.artist-card,
.drama-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover,
.artist-card:hover,
.drama-card:hover {
  border-color: rgba(255, 45, 111, 0.35);
  transform: translateY(-2px);
}

.video-card img,
.drama-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.artist-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.card-body {
  padding: 12px 12px 14px;
}

.card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}

.card-body .meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
}

/* Prose for long SEO content */
.prose {
  max-width: 720px;
}

.prose p,
.article-body p {
  color: var(--text-muted);
  margin-bottom: 1.05em;
}

.prose strong,
.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body {
  font-size: 1rem;
}

.article-body h2 {
  margin-top: 1.6em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
}

.article-body h3 {
  margin-top: 1.2em;
  color: #fff;
}

.article-body ul,
.article-body ol {
  color: var(--text-muted);
  padding-left: 1.2em;
  margin: 0 0 1.2em;
}

.article-body li { margin-bottom: 0.45em; }

.keyword-links a {
  margin-right: 0.35em;
}

.cta-strip {
  margin: 28px 0;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 45, 111, 0.16), rgba(255, 122, 61, 0.1));
  border: 1px solid rgba(255, 45, 111, 0.25);
}

.cta-strip h2 {
  margin-bottom: 8px;
}

.cta-strip p { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 40px 0 28px;
  background: #070708;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 48px 0;
}

.error-page .code {
  font-size: clamp(4rem, 16vw, 7rem);
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.error-page h1 { margin-bottom: 12px; }

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.error-links a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  background: var(--bg-elevated);
}

.error-links a:hover {
  border-color: var(--accent);
}

/* Page title block */
.page-hero {
  padding: 28px 0 8px;
}

.page-hero h1 { margin-bottom: 10px; }

.page-hero .lead {
  max-width: 40em;
  color: var(--text-muted);
}

/* Feature list */
.feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

/* Related links */
.related {
  margin-top: 36px;
  padding: 18px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.related h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.related ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-muted);
}

.related li { margin-bottom: 6px; }

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12, 12, 14, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 14px 14px;
    gap: 2px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 14px;
  }

  .media-row,
  .media-row.reverse {
    grid-template-columns: 1fr;
  }

  .media-row.reverse .media-col,
  .media-row.reverse .text-col {
    order: initial;
  }

  .media-row {
    gap: 14px;
    padding: 14px;
  }

  /* Keep visual ~3:7 feel on mobile: image first, shorter */
  .media-col {
    max-width: 42%;
  }

  .media-row {
    display: flex;
    flex-direction: column;
  }

  .media-col {
    max-width: 100%;
  }

  .media-col img {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    width: 100%;
  }

  .media-col.shot img {
    max-height: 280px;
    aspect-ratio: 9 / 16;
    width: min(46%, 180px);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content {
    padding: 16px 0 20px;
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .section { padding: 28px 0; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .video-card img {
    aspect-ratio: 16 / 9;
  }

  .brand-text { font-size: 0.92rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-ads,
  .video-card,
  .artist-card,
  #ads img {
    transition: none;
  }
}
