@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=ZCOOL+XiaoWei&display=swap");

:root {
  --ink: #14231f;
  --ink-soft: #3d524c;
  --mist: #f4fbf8;
  --foam: #e6f7f1;
  --petal: #fff4f6;
  --lagoon: #0f766e;
  --lagoon-bright: #14b8a6;
  --coral: #e11d48;
  --coral-soft: #fb7185;
  --gold: #d4a017;
  --glass: rgba(255, 255, 255, 0.62);
  --line: rgba(15, 118, 110, 0.14);
  --shadow: 0 18px 40px rgba(20, 35, 31, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-display: "ZCOOL XiaoWei", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(251, 113, 133, 0.16), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, #ffffff 42%, var(--petal) 100%);
  line-height: 1.85;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lagoon);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

.inkwell-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(244, 251, 248, 0.78);
  border-bottom: 1px solid var(--line);
}

.inkwell-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inkwell-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.inkwell-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.inkwell-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.inkwell-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.inkwell-links {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.35rem);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.inkwell-links.is-open {
  display: flex;
}

.inkwell-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-weight: 500;
}

.inkwell-links a:hover,
.inkwell-links a[aria-current="page"] {
  background: var(--foam);
  color: var(--lagoon);
}

.cascade-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 3.5rem;
}

.promo-ribbon {
  margin: 0.85rem 0 1.4rem;
  padding: 0.95rem 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(251, 113, 133, 0.12));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.promo-ribbon h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
}

.docklane-grid,
[data-promo-grid] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem 0.4rem;
  justify-items: center;
}

.docklane-item {
  width: 100%;
  max-width: 72px;
  text-decoration: none;
  color: var(--ink-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.docklane-item img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(20, 35, 31, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docklane-item:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 22px rgba(20, 35, 31, 0.16);
}

.docklane-caption {
  font-size: 0.68rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#docklane-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 35;
  transform: translateY(-120%);
  transition: transform 0.28s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.75rem 0.7rem;
}

#docklane-bar.is-visible {
  transform: translateY(0);
}

#docklane-bar .docklane-label {
  max-width: 1120px;
  margin: 0 auto 0.35rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

#docklane-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.4rem 0 1.2rem;
}

.breadcrumb-trail a {
  text-decoration: none;
}

.breadcrumb-trail span[aria-hidden="true"] {
  opacity: 0.45;
}

.aurora-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 1.6rem;
  background:
    linear-gradient(160deg, rgba(15, 118, 110, 0.55), rgba(225, 29, 72, 0.35)),
    url("screen-manga-serial.jpg") center/cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.aurora-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(10, 24, 22, 0.72) 100%);
  pointer-events: none;
}

.aurora-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: riseIn 0.9s ease both;
}

.aurora-hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.55rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.aurora-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.aurora-hero p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.95;
}

.folio-block {
  margin: 2.2rem 0;
  padding: 1.35rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: fadeLift 0.7s ease both;
}

.folio-block h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--lagoon);
}

.folio-block h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.12rem;
  color: var(--ink);
}

.folio-block p {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
}

.folio-block p:last-child {
  margin-bottom: 0;
}

.split-stage {
  display: grid;
  gap: 1.1rem;
  align-items: center;
}

.split-stage.is-reverse .frame-shot {
  order: -1;
}

.frame-shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.frame-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 520px;
}

.mosaic-rail {
  display: grid;
  gap: 0.9rem;
}

.mosaic-tile {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #ffffff, var(--foam));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mosaic-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mosaic-tile h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--coral);
}

.mosaic-tile p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.pulse-chip {
  display: inline-block;
  margin: 0 0.2rem 0.35rem 0;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--lagoon);
  font-size: 0.82rem;
}

.legal-prose h2 {
  margin-top: 1.8rem;
}

.legal-prose ul {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.legal-prose li {
  margin-bottom: 0.45rem;
}

.status-panel {
  text-align: center;
  padding: 3rem 1.2rem;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(20, 184, 166, 0.14), rgba(225, 29, 72, 0.1));
  border: 1px solid var(--line);
}

.status-panel .code-glow {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 16vw, 5.5rem);
  color: var(--lagoon);
  margin: 0;
  animation: softPulse 2.4s ease-in-out infinite;
}

.status-panel h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: 1.45rem;
}

.status-panel p {
  max-width: 28rem;
  margin: 0 auto 1.2rem;
  color: var(--ink-soft);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--lagoon);
  color: var(--lagoon);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.ghost-link:hover {
  background: var(--lagoon);
  color: #fff;
}

.site-foot {
  margin-top: 2.5rem;
  padding: 1.6rem 1.1rem 2.2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.site-foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.site-foot a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-foot p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .inkwell-toggle {
    display: none;
  }

  .inkwell-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 0.2rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .aurora-hero {
    min-height: 78vh;
    padding: 2.4rem;
    align-items: center;
  }

  .split-stage {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.6rem;
  }

  .split-stage.is-reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .split-stage.is-reverse .frame-shot {
    order: 0;
  }

  .mosaic-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .docklane-grid,
  [data-promo-grid] {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .folio-block {
    padding: 1.7rem 1.6rem;
  }
}

@media (min-width: 1024px) {
  .cascade-shell {
    padding-top: 1.6rem;
  }

  .mosaic-rail.is-quad {
    grid-template-columns: repeat(4, 1fr);
  }
}
