@import url("https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --ink: #16141f;
  --ink-soft: #2a2738;
  --paper: #fff6f0;
  --paper-deep: #ffe8dc;
  --sakura: #ff6b8a;
  --sakura-deep: #e84a6a;
  --seafoam: #3dcfb6;
  --seafoam-deep: #2aa992;
  --moon: #f3d9a4;
  --line: rgba(22, 20, 31, 0.08);
  --glass: rgba(255, 246, 240, 0.72);
  --shadow: 0 18px 48px rgba(22, 20, 31, 0.12);
  --radius: 22px;
  --max: 1080px;
  --nav-h: 64px;
  --sticky-h: auto;
  --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(255, 107, 138, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(61, 207, 182, 0.14), transparent 55%),
    linear-gradient(180deg, #fff9f5 0%, var(--paper) 40%, #fff1e8 100%);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sakura-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--seafoam-deep);
}

.yoru-wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* top download ads (index / about / 404) */
.yoru-top-dl {
  background:
    linear-gradient(180deg, rgba(255, 246, 240, 0.96), rgba(255, 232, 220, 0.9)),
    radial-gradient(600px 120px at 20% 0%, rgba(255, 107, 138, 0.12), transparent 70%);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 10px;
  position: relative;
  z-index: 40;
}

.yoru-top-dl-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.yoru-ad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  justify-items: center;
}

@media (min-width: 900px) {
  .yoru-ad-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.yoru-ad-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 72px;
  text-decoration: none !important;
  color: var(--ink-soft);
  font-size: 11px;
}

.yoru-ad-chip img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(22, 20, 31, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.yoru-ad-chip:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 24px rgba(22, 20, 31, 0.16);
}

.yoru-ad-chip span {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* navigation */
.yoru-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}

.yoru-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.yoru-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.yoru-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 107, 138, 0.25);
}

.yoru-brand strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--ink), var(--sakura-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.yoru-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.yoru-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.yoru-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.yoru-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.yoru-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.yoru-menu {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.yoru-menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.yoru-menu a:hover,
.yoru-menu a.is-active {
  background: rgba(255, 107, 138, 0.12);
  color: var(--sakura-deep);
}

@media (max-width: 860px) {
  .yoru-menu-toggle {
    display: inline-flex;
  }

  .yoru-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 200px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 246, 240, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 60;
  }

  .yoru-menu.is-open {
    display: flex;
  }

  .yoru-menu a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .yoru-brand strong {
    font-size: 18px;
  }
}

/* sticky download dock */
.yoru-sticky-dl {
  position: sticky;
  top: var(--nav-h);
  z-index: 45;
  background: rgba(255, 246, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
  padding: 0;
}

.yoru-sticky-dl.is-visible {
  max-height: 240px;
  opacity: 1;
  padding: 10px 0;
}

.yoru-sticky-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  justify-items: center;
}

@media (min-width: 900px) {
  .yoru-sticky-rail {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* hero */
.yoru-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 48px 0 56px;
  overflow: hidden;
}

.yoru-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 20, 31, 0.15) 0%, rgba(22, 20, 31, 0.72) 100%),
    url("screen-comic-serial.jpg") center/cover no-repeat;
  transform: scale(1.04);
  animation: yoru-kenburns 18s ease-in-out infinite alternate;
  filter: saturate(1.05);
}

@keyframes yoru-kenburns {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-12px);
  }
}

.yoru-hero-veil {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(22, 20, 31, 0.85));
  pointer-events: none;
}

.yoru-hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  animation: yoru-rise 0.9s ease both;
}

@keyframes yoru-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yoru-hero-brand {
  font-family: var(--font-display);
  font-size: clamp(42px, 10vw, 72px);
  line-height: 1.05;
  margin: 0 0 12px;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.yoru-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4.6vw, 34px);
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.35;
}

.yoru-hero-lead {
  margin: 0;
  font-size: 15px;
  opacity: 0.92;
  max-width: 34em;
}

/* crumb */
.yoru-crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.yoru-crumb a {
  color: inherit;
  text-decoration: none;
}

.yoru-crumb a:hover {
  color: var(--sakura-deep);
}

.yoru-crumb span {
  opacity: 0.45;
  margin: 0 6px;
}

/* sections */
.yoru-section {
  padding: 42px 0;
}

.yoru-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 36px);
  margin: 0 0 12px;
  line-height: 1.3;
}

.yoru-section h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 28px 0 10px;
}

.yoru-lead {
  color: var(--ink-soft);
  margin: 0 0 22px;
  font-size: 15px;
}

.yoru-prose p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

.yoru-prose p strong {
  color: var(--ink);
  font-weight: 700;
}

/* split media */
.yoru-split {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .yoru-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
  .yoru-split.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .yoru-split.is-flip .yoru-shot {
    order: -1;
  }
}

.yoru-shot {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
  isolation: isolate;
}

.yoru-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.18), transparent 40%, rgba(61, 207, 182, 0.12));
  pointer-events: none;
}

.yoru-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 560px;
}

@media (min-width: 860px) {
  .yoru-shot img {
    aspect-ratio: 3 / 4;
  }
}

/* mosaic cards */
.yoru-mosaic {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .yoru-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

.yoru-tile {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(22, 20, 31, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yoru-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.yoru-tile h3 {
  margin-top: 0;
}

.yoru-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.yoru-tile-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.18), rgba(61, 207, 182, 0.18));
  font-size: 18px;
}

/* gallery rail */
.yoru-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.yoru-rail figure {
  margin: 0;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 20, 31, 0.06);
}

.yoru-rail img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.yoru-rail figcaption {
  padding: 10px 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ribbon band */
.yoru-ribbon {
  margin: 20px 0;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(22, 20, 31, 0.92), rgba(42, 39, 56, 0.88)),
    url("screen-anime-home.jpg") center/cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.yoru-ribbon::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 138, 0.45), transparent 70%);
  top: -60px;
  right: -40px;
  animation: yoru-float 6s ease-in-out infinite;
}

@keyframes yoru-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

.yoru-ribbon h2,
.yoru-ribbon p {
  position: relative;
  z-index: 1;
}

.yoru-ribbon p {
  opacity: 0.9;
  max-width: 48em;
}

/* quote / highlight */
.yoru-quote {
  border-left: 4px solid var(--seafoam);
  padding: 8px 0 8px 18px;
  margin: 24px 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

/* legal pages */
.yoru-legal {
  padding: 28px 0 64px;
}

.yoru-legal h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 40px);
  margin: 8px 0 18px;
}

.yoru-legal h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 32px 0 12px;
}

.yoru-legal p,
.yoru-legal li {
  color: var(--ink-soft);
  font-size: 15px;
}

.yoru-legal ul {
  padding-left: 1.2em;
}

/* error pages */
.yoru-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.yoru-error-code {
  font-family: var(--font-display);
  font-size: clamp(72px, 18vw, 128px);
  line-height: 1;
  background: linear-gradient(135deg, var(--sakura), var(--seafoam));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.yoru-error h1 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 8px 0 12px;
}

.yoru-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  margin-top: 18px;
}

.yoru-btn-soft {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  margin-left: 8px;
}

/* footer */
.yoru-foot {
  margin-top: 40px;
  padding: 36px 0 48px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.yoru-foot a {
  color: #fff;
  text-decoration: none;
}

.yoru-foot-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 720px) {
  .yoru-foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.yoru-foot h3 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 12px;
  font-size: 18px;
}

.yoru-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yoru-foot li {
  margin-bottom: 8px;
}

.yoru-foot-meta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  opacity: 0.7;
}

/* timeline */
.yoru-timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.yoru-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--sakura), var(--seafoam));
}

.yoru-step {
  padding-left: 36px;
  position: relative;
}

.yoru-step::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sakura);
  box-shadow: 0 0 0 4px rgba(255, 107, 138, 0.15);
}

.yoru-step h3 {
  margin: 0 0 6px;
}

.yoru-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* dual shot */
.yoru-duo {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .yoru-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.yoru-duo .yoru-shot img {
  max-height: 420px;
}

/* faq */
.yoru-faq details {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.yoru-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.yoru-faq summary::-webkit-details-marker {
  display: none;
}

.yoru-faq p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* utility */
.yoru-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(61, 207, 182, 0.15);
  color: var(--seafoam-deep);
  margin-bottom: 10px;
}

.yoru-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.yoru-ghost-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
}

