@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --ip-ink: #142028;
  --ip-ink-soft: #2a3a46;
  --ip-coral: #e4574c;
  --ip-coral-deep: #c43b32;
  --ip-mint: #2fad95;
  --ip-mint-soft: #7fd4c3;
  --ip-sand: #fff7f2;
  --ip-cloud: #eef5f3;
  --ip-line: rgba(20, 32, 40, 0.08);
  --ip-glass: rgba(255, 255, 255, 0.62);
  --ip-shadow: 0 18px 40px rgba(20, 32, 40, 0.12);
  --ip-radius: 22px;
  --ip-max: 1080px;
  --ip-font-display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  --ip-font-body: "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ip-font-body);
  color: var(--ip-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(228, 87, 76, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(47, 173, 149, 0.16), transparent 55%),
    linear-gradient(180deg, #fff9f6 0%, var(--ip-cloud) 42%, #f7fbfa 100%);
  line-height: 1.75;
  min-height: 100vh;
}

body.ip-dock-on {
  padding-bottom: 118px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ip-coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ip-mint);
}

.ip-wrap {
  width: min(100% - 28px, var(--ip-max));
  margin-inline: auto;
}

.ip-promo {
  background: linear-gradient(90deg, rgba(228, 87, 76, 0.12), rgba(47, 173, 149, 0.12));
  border-bottom: 1px solid var(--ip-line);
  padding: 10px 0 6px;
}

.ip-promo-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ip-ink-soft);
  text-align: center;
  margin: 0 0 8px;
}

.ip-promo-grid,
.ip-dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  justify-items: center;
}

@media (min-width: 900px) {
  .ip-promo-grid,
  .ip-dock-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.ip-dock-item {
  width: 70px;
  text-decoration: none;
  color: var(--ip-ink-soft);
  text-align: center;
  font-size: 11px;
}

.ip-dock-item img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(20, 32, 40, 0.14);
  margin: 0 auto 4px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-dock-item:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 22px rgba(20, 32, 40, 0.18);
}

.ip-dock-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ip-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 249, 246, 0.82);
  border-bottom: 1px solid var(--ip-line);
}

.ip-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.ip-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ip-ink);
}

.ip-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.ip-brand strong {
  font-family: var(--ip-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.ip-nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.ip-nav-links a {
  text-decoration: none;
  color: var(--ip-ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.ip-nav-links a:hover,
.ip-nav-links a.is-current {
  color: var(--ip-coral);
}

.ip-menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ip-line);
  border-radius: 12px;
  background: var(--ip-glass);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ip-menu-btn span,
.ip-menu-btn span::before,
.ip-menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ip-ink);
  border-radius: 2px;
  position: relative;
  transition: 0.2s ease;
}

.ip-menu-btn span::before,
.ip-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.ip-menu-btn span::before {
  top: -6px;
}

.ip-menu-btn span::after {
  top: 6px;
}

.ip-menu-panel {
  display: none;
  padding: 8px 0 16px;
}

.ip-menu-panel.is-open {
  display: grid;
  gap: 10px;
}

.ip-menu-panel a {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ip-ink);
  border: 1px solid var(--ip-line);
}

@media (min-width: 860px) {
  .ip-nav-links {
    display: flex;
  }
  .ip-menu-btn,
  .ip-menu-panel {
    display: none !important;
  }
}

.ip-sticky-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  transform: translateY(110%);
  transition: transform 0.28s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--ip-line);
  box-shadow: 0 -10px 30px rgba(20, 32, 40, 0.08);
  padding: 10px 12px 12px;
}

.ip-sticky-dock.is-visible {
  transform: translateY(0);
}

.ip-sticky-dock .ip-dock-title {
  font-size: 12px;
  text-align: center;
  color: var(--ip-ink-soft);
  margin: 0 0 8px;
}

.ip-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
}

.ip-hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 87, 76, 0.28), transparent 68%);
  animation: ip-float 7s ease-in-out infinite;
}

.ip-hero::after {
  content: "";
  position: absolute;
  inset: auto auto 0 -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 173, 149, 0.25), transparent 70%);
  animation: ip-float 9s ease-in-out infinite reverse;
}

@keyframes ip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.ip-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .ip-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.ip-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--ip-mint);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ip-hero h1 {
  font-family: var(--ip-font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 400;
}

.ip-hero-lead {
  font-size: 1.05rem;
  color: var(--ip-ink-soft);
  margin: 0 0 18px;
  max-width: 36em;
}

.ip-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--ip-shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #fff;
  transform: rotate(-1.5deg);
  animation: ip-rise 1s ease both;
}

@keyframes ip-rise {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1.5deg);
  }
}

.ip-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.ip-crumb {
  padding: 18px 0 0;
  font-size: 0.9rem;
  color: var(--ip-ink-soft);
}

.ip-crumb a {
  text-decoration: none;
  color: var(--ip-ink-soft);
}

.ip-crumb span {
  opacity: 0.45;
  margin: 0 6px;
}

.ip-section {
  padding: 34px 0;
}

.ip-section h2 {
  font-family: var(--ip-font-display);
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  margin: 0 0 12px;
  font-weight: 400;
}

.ip-section h3 {
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: var(--ip-ink);
}

.ip-section p {
  margin: 0 0 14px;
  color: var(--ip-ink-soft);
}

.ip-panel {
  background: var(--ip-glass);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(20, 32, 40, 0.05);
  backdrop-filter: blur(10px);
}

.ip-split {
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 820px) {
  .ip-split {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .ip-split.is-flip .ip-split-media {
    order: 2;
  }
}

.ip-phone {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--ip-line);
  box-shadow: var(--ip-shadow);
  background: #111;
}

.ip-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.ip-card-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .ip-card-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ip-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 243, 0.88));
  border: 1px solid var(--ip-line);
  border-radius: 20px;
  padding: 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ip-shadow);
}

.ip-card h3 {
  margin-top: 0;
  font-family: var(--ip-font-display);
  font-weight: 400;
}

.ip-chip {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 173, 149, 0.12);
  color: var(--ip-mint);
  margin-bottom: 8px;
}

.ip-mosaic {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .ip-mosaic {
    grid-template-columns: 1.2fr 1fr;
  }
}

.ip-mosaic article {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  border: 1px solid var(--ip-line);
  overflow: hidden;
}

.ip-mosaic article img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top;
}

.ip-mosaic article .ip-mosaic-body {
  padding: 16px;
}

.ip-cta-band {
  margin: 20px 0;
  padding: 22px 18px;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(228, 87, 76, 0.92), rgba(196, 59, 50, 0.88)),
    url("screen-comic-serial.jpg") center/cover;
  background-blend-mode: multiply;
  color: #fff;
  text-align: center;
}

.ip-cta-band h2,
.ip-cta-band p {
  color: #fff;
}

.ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ip-coral-deep);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.ip-btn:hover {
  transform: translateY(-2px);
  color: var(--ip-ink);
}

.ip-text-block p {
  text-align: justify;
}

.ip-quote {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--ip-coral);
  background: rgba(228, 87, 76, 0.06);
  border-radius: 0 16px 16px 0;
  color: var(--ip-ink);
  font-family: var(--ip-font-display);
  font-size: 1.1rem;
}

.ip-footer {
  margin-top: 40px;
  padding: 34px 0 28px;
  background: #142028;
  color: rgba(255, 255, 255, 0.78);
}

.ip-footer a {
  color: #9fe3d4;
  text-decoration: none;
}

.ip-footer-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .ip-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.ip-footer h3 {
  color: #fff;
  font-family: var(--ip-font-display);
  font-weight: 400;
  margin: 0 0 10px;
}

.ip-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ip-footer li {
  margin: 0 0 8px;
}

.ip-copy {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  text-align: center;
}

.ip-error {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.ip-error h1 {
  font-family: var(--ip-font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  margin: 0 0 8px;
  color: var(--ip-coral);
}

.ip-legal .ip-section h2 {
  scroll-margin-top: 80px;
}

.ip-legal .ip-panel + .ip-panel {
  margin-top: 16px;
}

.ip-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.ip-tagline span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 32, 40, 0.05);
  color: var(--ip-ink-soft);
}

.ip-glow-line {
  height: 3px;
  width: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ip-coral), var(--ip-mint));
  margin: 0 0 16px;
}
