/* bicac.pics — 哔咔漫画官网 · 青波珊瑚视觉体系 */
@import url("https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&family=Noto+Sans+SC:wght@400;500;700&family=Outfit:wght@500;700&display=swap");

:root {
  --pixs-ink: #13212b;
  --pixs-ink-soft: #2a3d4a;
  --pixs-aqua: #2eb8c9;
  --pixs-aqua-deep: #1a8f9e;
  --pixs-coral: #ff5f6d;
  --pixs-coral-soft: #ff8a94;
  --pixs-gold: #e8a23a;
  --pixs-mist: #f2f8fa;
  --pixs-foam: #e4f3f6;
  --pixs-paper: #fafcfd;
  --pixs-line: rgba(19, 33, 43, 0.08);
  --pixs-glass: rgba(255, 255, 255, 0.55);
  --pixs-shadow: 0 18px 40px rgba(19, 33, 43, 0.1);
  --pixs-radius: 22px;
  --pixs-max: 1120px;
  --pixs-font-display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  --pixs-font-body: "Noto Sans SC", "PingFang SC", sans-serif;
  --pixs-font-en: "Outfit", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--pixs-ink);
  font-family: var(--pixs-font-body);
  font-size: 16px;
  line-height: 1.85;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 184, 201, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 95, 109, 0.12), transparent 50%),
    linear-gradient(180deg, #eef7f9 0%, var(--pixs-mist) 38%, var(--pixs-paper) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pixs-aqua-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pixs-coral);
}

.pixs-wrap {
  width: min(100% - 32px, var(--pixs-max));
  margin-inline: auto;
}

/* —— 顶部推广（DY 广告位） —— */
.pixs-promo {
  background: #fff;
  padding: 8px 8px 4px;
  border-bottom: 1px solid var(--pixs-line);
}

/* 与孵化项目DY.html 一致的广告栅格：移动 4 / PC 8，自动换行 */
.pixs-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background: transparent;
  margin: 6px auto;
  max-width: 960px;
}

.pixs-ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  flex: 0 0 25%;
  max-width: 25%;
  padding: 4px 2px 8px;
}

@media (min-width: 768px) {
  .pixs-ads > div {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
}

.pixs-ads figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

.pixs-ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

.pixs-ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
  color: inherit;
}

.pixs-ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.pixs-ads figcaption,
.pixs-ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

/* —— 导航 —— */
.pixs-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(242, 248, 250, 0.78);
  border-bottom: 1px solid var(--pixs-line);
}

.pixs-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.pixs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pixs-ink);
}

.pixs-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.pixs-brand-text {
  font-family: var(--pixs-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.pixs-brand-en {
  display: block;
  font-family: var(--pixs-font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--pixs-aqua-deep);
  text-transform: uppercase;
  margin-top: -2px;
}

.pixs-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.pixs-menu a {
  text-decoration: none;
  color: var(--pixs-ink-soft);
  font-weight: 500;
}

.pixs-menu a:hover,
.pixs-menu a.is-on {
  color: var(--pixs-coral);
}

.pixs-menu-toggle {
  display: none;
  border: 0;
  background: var(--pixs-foam);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .pixs-menu-toggle {
    display: grid;
    place-items: center;
    gap: 4px;
  }

  .pixs-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--pixs-ink);
  }

  .pixs-menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px;
    border-radius: 16px;
    box-shadow: var(--pixs-shadow);
  }

  .pixs-menu.is-open {
    display: flex;
  }
}

/* —— 滚动后导航下方漂浮下载区 —— */
.pixs-dock {
  position: fixed;
  left: 0;
  right: 0;
  top: 64px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pixs-line);
  box-shadow: 0 8px 24px rgba(19, 33, 43, 0.08);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  padding: 4px 8px 2px;
}

.pixs-dock.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#float-dock-spacer {
  height: 0;
  transition: height 0.28s ease;
}

/* —— Hero —— */
.pixs-hero {
  position: relative;
  isolation: isolate;
  padding: 42px 0 28px;
  overflow: hidden;
}

.pixs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(46, 184, 201, 0.22), transparent 42%),
    linear-gradient(300deg, rgba(255, 95, 109, 0.16), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%13212b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}

.pixs-hero-stage {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 880px) {
  .pixs-hero-stage {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100vh - 140px);
  }
}

.pixs-hero-copy h1 {
  font-family: var(--pixs-font-display);
  font-size: clamp(1.9rem, 5vw, 2.85rem);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.pixs-hero-brand {
  font-family: var(--pixs-font-display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1;
  margin: 0 0 10px;
  background: linear-gradient(115deg, var(--pixs-aqua-deep), var(--pixs-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pixs-rise 0.9s ease both;
}

.pixs-hero-lead {
  margin: 0;
  color: var(--pixs-ink-soft);
  font-size: 1.05rem;
  max-width: 34em;
  animation: pixs-rise 1s ease 0.12s both;
}

.pixs-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--pixs-shadow);
  animation: pixs-float 5.5s ease-in-out infinite;
}

.pixs-hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
}

.pixs-hero-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(circle, rgba(46, 184, 201, 0.45), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

@keyframes pixs-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pixs-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pixs-shine {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

/* —— 面包屑 —— */
.pixs-crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--pixs-ink-soft);
}

.pixs-crumb a {
  text-decoration: none;
}

.pixs-crumb span {
  margin: 0 6px;
  opacity: 0.45;
}

/* —— 通用区块 —— */
.pixs-section {
  padding: 48px 0;
}

.pixs-section h2 {
  font-family: var(--pixs-font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  margin: 0 0 12px;
  line-height: 1.35;
}

.pixs-section h3 {
  font-family: var(--pixs-font-display);
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: var(--pixs-ink);
}

.pixs-section p {
  margin: 0 0 16px;
  color: var(--pixs-ink-soft);
}

.pixs-kicker {
  display: inline-block;
  font-family: var(--pixs-font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pixs-aqua-deep);
  margin-bottom: 8px;
}

/* 图文交错 */
.pixs-split {
  display: grid;
  gap: 24px;
  align-items: center;
  margin: 28px 0;
}

@media (min-width: 820px) {
  .pixs-split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .pixs-split.is-flip .pixs-split-media {
    order: 2;
  }
}

.pixs-split-media {
  position: relative;
  border-radius: var(--pixs-radius);
  overflow: hidden;
  box-shadow: var(--pixs-shadow);
  background: var(--pixs-foam);
}

.pixs-split-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.pixs-glass-panel {
  background: var(--pixs-glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--pixs-radius);
  padding: 22px 22px 8px;
  box-shadow: var(--pixs-shadow);
}

/* 卡片栅格 */
.pixs-card-rail {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

@media (min-width: 700px) {
  .pixs-card-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pixs-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--pixs-line);
  box-shadow: 0 10px 28px rgba(19, 33, 43, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pixs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(19, 33, 43, 0.1);
}

.pixs-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.pixs-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.pixs-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  margin-bottom: 12px;
}

/* 纯文本长文 */
.pixs-prose {
  max-width: 48rem;
}

.pixs-prose p {
  text-align: justify;
}

.pixs-band {
  background: linear-gradient(135deg, rgba(46, 184, 201, 0.12), rgba(255, 95, 109, 0.08));
  border-radius: 28px;
  padding: 28px 22px;
  margin: 18px 0;
  border: 1px solid rgba(46, 184, 201, 0.18);
}

.pixs-mosaic {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 760px) {
  .pixs-mosaic {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .pixs-mosaic .pixs-mosaic-tall {
    grid-row: span 2;
  }
}

.pixs-mosaic figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--pixs-shadow);
}

.pixs-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: top;
}

.pixs-mosaic figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--pixs-ink-soft);
}

.pixs-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pixs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pixs-btn:hover {
  transform: translateY(-2px);
}

.pixs-btn-coral {
  background: linear-gradient(120deg, var(--pixs-coral), #ff7d6a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 95, 109, 0.35);
}

.pixs-btn-coral:hover {
  color: #fff;
}

.pixs-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--pixs-ink);
  border: 1px solid var(--pixs-line);
}

.pixs-btn-ghost:hover {
  color: var(--pixs-aqua-deep);
}

.pixs-quote {
  border-left: 4px solid var(--pixs-aqua);
  padding: 8px 0 8px 18px;
  margin: 22px 0;
  color: var(--pixs-ink);
  font-family: var(--pixs-font-display);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* 法律页 */
.pixs-legal {
  padding: 24px 0 60px;
}

.pixs-legal h1 {
  font-family: var(--pixs-font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 10px 0 18px;
}

.pixs-legal h2 {
  font-family: var(--pixs-font-display);
  font-size: 1.35rem;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pixs-line);
}

.pixs-legal p,
.pixs-legal li {
  color: var(--pixs-ink-soft);
}

.pixs-legal ul {
  padding-left: 1.2em;
}

/* 错误页 */
.pixs-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.pixs-error-code {
  font-family: var(--pixs-font-en);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--pixs-aqua), var(--pixs-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  animation: pixs-shine 3s linear infinite alternate;
  background-size: 200% 200%;
}

.pixs-error h1 {
  font-family: var(--pixs-font-display);
  margin: 8px 0 12px;
}

/* 页脚 */
.pixs-foot {
  margin-top: 40px;
  background: #102029;
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 0 28px;
}

.pixs-foot a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.pixs-foot a:hover {
  color: var(--pixs-coral-soft);
}

.pixs-foot-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 760px) {
  .pixs-foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.pixs-foot h3 {
  margin: 0 0 12px;
  font-family: var(--pixs-font-display);
  color: #fff;
  font-size: 1.1rem;
}

.pixs-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pixs-foot li {
  margin-bottom: 8px;
}

.pixs-foot-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.pixs-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pixs-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
