@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --pcs-ink: #14212b;
  --pcs-ink-soft: #3a4a57;
  --pcs-rose: #ff4f7b;
  --pcs-rose-deep: #e0275a;
  --pcs-cyan: #12c2c9;
  --pcs-cyan-deep: #0a9aa0;
  --pcs-sand: #fff4ec;
  --pcs-mist: #eef7f8;
  --pcs-panel: rgba(255, 255, 255, 0.72);
  --pcs-line: rgba(20, 33, 43, 0.08);
  --pcs-shadow: 0 18px 40px rgba(20, 33, 43, 0.1);
  --pcs-radius: 22px;
  --pcs-max: 1080px;
  --pcs-nav-h: 64px;
  --pcs-sticky-h: auto;
  --pcs-font-display: "M PLUS Rounded 1c", "Noto Sans SC", sans-serif;
  --pcs-font-body: "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pcs-font-body);
  color: var(--pcs-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(18, 194, 201, 0.18), transparent 55%),
    radial-gradient(900px 480px at 95% 5%, rgba(255, 79, 123, 0.16), transparent 50%),
    linear-gradient(180deg, var(--pcs-mist) 0%, var(--pcs-sand) 48%, #fff 100%);
  line-height: 1.75;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--pcs-rose-deep);
}

.pcs-wrap {
  width: min(100% - 32px, var(--pcs-max));
  margin-inline: auto;
}

.pcs-promo {
  background: linear-gradient(90deg, rgba(18, 194, 201, 0.12), rgba(255, 79, 123, 0.12));
  border-bottom: 1px solid var(--pcs-line);
  padding: 10px 0 6px;
}

.pcs-promo-label {
  font-size: 12px;
  color: var(--pcs-ink-soft);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.pcs-promo-grid,
.pcs-sticky-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  justify-items: center;
}

@media (min-width: 900px) {
  .pcs-promo-grid,
  .pcs-sticky-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.pcs-dl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 70px;
  text-decoration: none;
  color: var(--pcs-ink-soft);
  font-size: 11px;
}

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

.pcs-dl-item:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 22px rgba(20, 33, 43, 0.16);
}

.pcs-dl-item span {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.pcs-dl-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--pcs-rose);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.pcs-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--pcs-line);
}

.pcs-nav {
  height: var(--pcs-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pcs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pcs-ink);
}

.pcs-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.pcs-brand-name {
  font-family: var(--pcs-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.pcs-brand-name em {
  font-style: normal;
  background: linear-gradient(120deg, var(--pcs-rose), var(--pcs-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pcs-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcs-nav-links a {
  text-decoration: none;
  color: var(--pcs-ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.pcs-nav-links a:hover,
.pcs-nav-links a.is-active {
  color: var(--pcs-rose-deep);
}

.pcs-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pcs-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.pcs-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--pcs-ink);
  transition: 0.2s ease;
}

@media (max-width: 820px) {
  .pcs-nav-toggle {
    display: inline-block;
  }

  .pcs-nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--pcs-nav-h) + 8px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--pcs-shadow);
  }

  .pcs-nav-links.is-open {
    display: flex;
  }
}

.pcs-sticky-dl {
  position: sticky;
  top: var(--pcs-nav-h);
  z-index: 35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
}

.pcs-sticky-dl.is-visible {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
  padding: 10px 0 8px;
  border-bottom-color: var(--pcs-line);
}

.pcs-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.pcs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(20, 33, 43, 0.15) 0%, rgba(20, 33, 43, 0.62) 70%, rgba(20, 33, 43, 0.82) 100%),
    url("screen-comic-serial.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: pcs- ken 18s ease-in-out infinite alternate;
}

@keyframes pcs-ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.pcs-hero-glow {
  position: absolute;
  inset: auto 10% 18% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 194, 201, 0.45), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  animation: pcs-pulse 4.5s ease-in-out infinite;
}

@keyframes pcs-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.pcs-hero-inner {
  padding: 72px 0 56px;
  color: #fff;
  max-width: 720px;
}

.pcs-hero-brand {
  font-family: var(--pcs-font-display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 14px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  animation: pcs-rise 0.9s ease both;
}

.pcs-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
  animation: pcs-rise 0.9s ease 0.12s both;
}

.pcs-hero-lead {
  margin: 0;
  font-size: 1rem;
  opacity: 0.92;
  max-width: 34em;
  animation: pcs-rise 0.9s ease 0.22s both;
}

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

.pcs-crumb {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--pcs-ink-soft);
}

.pcs-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcs-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #9aa7b2;
}

.pcs-crumb a {
  text-decoration: none;
}

.pcs-main {
  padding: 36px 0 72px;
}

.pcs-section {
  margin: 0 0 42px;
  padding: 28px 22px;
  border-radius: var(--pcs-radius);
  background: var(--pcs-panel);
  border: 1px solid var(--pcs-line);
  box-shadow: var(--pcs-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pcs-section h2 {
  margin: 0 0 14px;
  font-family: var(--pcs-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.35;
}

.pcs-section h3 {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  color: var(--pcs-ink);
}

.pcs-section p {
  margin: 0 0 14px;
  color: var(--pcs-ink-soft);
}

.pcs-section p:last-child {
  margin-bottom: 0;
}

.pcs-split {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .pcs-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .pcs-split.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .pcs-split.is-flip .pcs-media {
    order: -1;
  }
}

.pcs-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(20, 33, 43, 0.14);
  background: #0f1a22;
}

.pcs-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 520px;
  transition: transform 0.5s ease;
}

.pcs-media:hover img {
  transform: scale(1.03);
}

.pcs-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(15, 26, 34, 0.45));
  pointer-events: none;
}

.pcs-card-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .pcs-card-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pcs-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(238, 247, 248, 0.9));
  border: 1px solid var(--pcs-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pcs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(20, 33, 43, 0.1);
}

.pcs-card h3 {
  margin-top: 0;
}

.pcs-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.pcs-chip {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--pcs-cyan-deep);
  background: rgba(18, 194, 201, 0.12);
}

.pcs-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pcs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcs-btn-primary {
  background: linear-gradient(120deg, var(--pcs-rose), #ff7a59);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 79, 123, 0.28);
}

.pcs-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
}

.pcs-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--pcs-ink);
  border: 1px solid var(--pcs-line);
}

.pcs-btn-ghost:hover {
  color: var(--pcs-rose-deep);
}

.pcs-legal .pcs-section {
  padding: 30px 24px;
}

.pcs-legal h1 {
  margin: 10px 0 18px;
  font-family: var(--pcs-font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.pcs-error {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.pcs-error-code {
  font-family: var(--pcs-font-display);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--pcs-rose), var(--pcs-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.pcs-footer {
  border-top: 1px solid var(--pcs-line);
  background: rgba(255, 255, 255, 0.65);
  padding: 36px 0 28px;
}

.pcs-footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .pcs-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.pcs-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.pcs-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcs-footer li {
  margin: 0 0 8px;
}

.pcs-footer a {
  text-decoration: none;
  color: var(--pcs-ink-soft);
}

.pcs-footer a:hover {
  color: var(--pcs-rose-deep);
}

.pcs-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--pcs-line);
  font-size: 0.86rem;
  color: #7a8792;
}

.pcs-note {
  font-size: 0.9rem;
  color: #6b7884;
}

.pcs-quote {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--pcs-cyan);
  background: rgba(18, 194, 201, 0.08);
  border-radius: 0 14px 14px 0;
  color: var(--pcs-ink);
}

.pcs-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1fr;
}

.pcs-mosaic .pcs-media:first-child {
  grid-row: span 2;
}

.pcs-mosaic .pcs-media img {
  max-height: none;
  aspect-ratio: auto;
  min-height: 160px;
  height: 100%;
}

@media (max-width: 700px) {
  .pcs-mosaic {
    grid-template-columns: 1fr;
  }

  .pcs-mosaic .pcs-media:first-child {
    grid-row: auto;
  }
}

body.pcs-sticky-on .pcs-main {
  scroll-margin-top: 120px;
}
