:root {
  --bg: #0c0c10;
  --bg-elevated: #14141c;
  --surface: #1b1b26;
  --surface-2: #22222f;
  --text: #f4f2f7;
  --muted: #a7a3b3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff2d6f;
  --accent-2: #ff8a1a;
  --accent-soft: rgba(255, 45, 111, 0.14);
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --header-h: 56px;
  --ads-h: 0px;
  --max: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 45, 111, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 138, 26, 0.12), transparent 50%),
    linear-gradient(180deg, #101018 0%, var(--bg) 40%, #09090d 100%);
  line-height: 1.8;
  min-height: 100vh;
  padding-top: var(--header-h);
}

body.has-fixed-ads {
  padding-top: calc(var(--header-h) + var(--ads-h));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ff7aa8;
  text-decoration: none;
}

a:hover {
  color: #ffd0e0;
}

.container {
  width: min(100% - 28px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand img {
  width: auto;
  height: 32px;
  max-width: 96px;
  object-fit: contain;
}

.brand-text {
  display: none;
}

.nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: 0.2s ease;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(14, 14, 20, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 18px;
}

.mobile-nav.open { display: grid; gap: 6px; }

.mobile-nav a {
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: visible;
  border-bottom: 1px solid var(--line);
  background: #0a0a0e;
}

.hero-link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.hero-link:hover .hero-media {
  opacity: 0.94;
}

.hero-media {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: opacity 0.2s ease;
}

.hero-overlay {
  position: relative;
  inset: auto;
  padding: 14px 0 8px;
  background: transparent;
}

.hero h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(20px, 5vw, 36px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0;
  max-width: 720px;
  color: #e8e4ef;
  font-size: 13px;
  line-height: 1.7;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  font-family: var(--display);
}

.section-head .en {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-family: var(--font);
  font-weight: 500;
}

.section-head a {
  color: var(--accent);
  font-size: 14px;
  white-space: nowrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 111, 0.45);
}

.media-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  background: #000;
}

.media-card.video-card img,
.card-grid.videos .media-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

.media-card .body {
  padding: 12px 12px 14px;
}

.media-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.artist-item {
  text-align: center;
}

.artist-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 45, 111, 0.35);
  margin-bottom: 8px;
  background: #111;
}

.artist-item span {
  display: block;
  font-size: 13px;
  color: #efeaf4;
}

.feature-row {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 18px;
}

.feature-row.reverse {
  grid-template-columns: 7fr 3fr;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: var(--display);
}

.feature-copy p {
  margin: 0 0 12px;
  color: #d9d4e2;
  font-size: 15px;
}

.prose {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  line-height: 1.35;
}

.prose h2 { font-size: 24px; margin: 0 0 14px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p { margin: 0 0 14px; color: #ddd7e6; }
.prose ul { margin: 0 0 14px; padding-left: 1.2em; color: #ddd7e6; }
.prose li { margin-bottom: 8px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 8px;
}

.breadcrumb a { color: #ff9ebd; }
.breadcrumb span { opacity: 0.55; }

.page-title {
  margin: 8px 0 18px;
  font-family: var(--display);
  font-size: clamp(26px, 5vw, 36px);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.news-item img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
}

.news-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  margin-top: 40px;
  padding: 34px 0 28px;
  border-top: 1px solid var(--line);
  background: #09090d;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.footer-grid a,
.footer-grid p {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #7f7a8c;
  font-size: 12px;
}

/* Ads from myads.html: fixed under header, space reserved via body padding */
#site-ads-slot {
  margin: 0;
  height: 0;
  overflow: visible;
}

body #applist {
  margin: 0;
  padding: 8px 10px 10px;
  background: rgba(10, 10, 14, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

body #applist.is-fixed {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 980;
}

body #applist .applist-title {
  text-align: center;
  color: #f0eaf5 !important;
  font-size: 13px;
  margin-bottom: 6px;
}

body #ads {
  display: flex !important;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 12px;
  background: transparent;
  margin: 0 auto;
  padding: 2px 4px 4px;
  width: max-content;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

body #ads > div {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  flex: 0 0 70px !important;
  box-sizing: border-box;
}

body #ads figure {
  margin: 0;
  width: 70px;
}

body #ads img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block !important;
  border: none;
  background: #fff;
  flex-shrink: 0;
}

body #ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
  flex-shrink: 0;
}

body #ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

body #ads figcaption,
body #ads .caption {
  height: 15px;
  font-size: 11px !important;
  color: #cfc8da !important;
  text-align: center;
  width: 70px;
  max-width: 70px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

.error-box {
  text-align: center;
  padding: 70px 16px 90px;
}

.error-box h1 {
  font-family: var(--display);
  font-size: 56px;
  margin: 0 0 10px;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-box p { color: var(--muted); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.tag-list span {
  font-size: 12px;
  color: #ffd0e0;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 45, 111, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
}

@media (min-width: 768px) {
  :root { --header-h: 70px; }

  .brand img {
    height: 38px;
    max-width: 120px;
  }

  .brand-text {
    display: block;
    font-size: 13px;
    color: var(--muted);
  }

  .nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }

  .hero-media {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-overlay {
    position: relative;
    padding: 22px 0 10px;
    background: transparent;
  }

  .hero h1 {
    font-size: clamp(28px, 4vw, 40px);
  }

  .hero p {
    font-size: 15px;
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .artist-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .feature-row {
    gap: 28px;
    padding: 22px;
  }

  .news-item {
    grid-template-columns: 180px 1fr;
  }

  .news-item img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    background: #000;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  body #ads img {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px !important;
    min-height: 65px !important;
  }

  body #ads > div,
  body #ads figure {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    flex-basis: 74px !important;
  }

  body #ads .caption {
    width: 74px;
    max-width: 74px !important;
  }
}

@media (max-width: 640px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .feature-media img {
    aspect-ratio: 3 / 4;
    max-height: 420px;
    margin-inline: auto;
    object-fit: contain;
  }

  .artist-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .media-card img {
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }

  .media-card.video-card img,
  .card-grid.videos .media-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-overlay,
.feature-row,
.media-card,
.artist-item {
  animation: riseIn 0.7s ease both;
}
