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

:root {
  --haze-ink: #17202a;
  --haze-soft: #3d4a57;
  --haze-peach: #fff6f0;
  --haze-blush: #ffd4c2;
  --haze-coral: #e25a45;
  --haze-coral-deep: #c94330;
  --haze-teal: #127a78;
  --haze-teal-soft: #d8f0ee;
  --haze-cream: #fffaf6;
  --haze-line: rgba(23, 32, 42, 0.1);
  --haze-glass: rgba(255, 250, 246, 0.72);
  --haze-shadow: 0 18px 40px rgba(23, 32, 42, 0.1);
  --haze-radius: 22px;
  --haze-max: 1080px;
  --haze-nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--haze-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #ffd9cb 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 5%, #c9ebe8 0%, transparent 50%),
    linear-gradient(180deg, #fff8f3 0%, var(--haze-cream) 40%, #f3faf9 100%);
  line-height: 1.85;
  font-size: 16px;
  padding-bottom: 120px;
}

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

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

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

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

.haze-display {
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  letter-spacing: 0.02em;
}

/* Top promo rail */
.haze-promo {
  background: linear-gradient(90deg, #fff0e8, #e8f7f6);
  border-bottom: 1px solid var(--haze-line);
  padding: 10px 0 6px;
}

.haze-promo-label {
  text-align: center;
  font-size: 12px;
  color: var(--haze-soft);
  margin: 0 0 6px;
}

.haze-ads {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 6px;
  padding: 4px 8px 8px;
}

.haze-ads figure {
  margin: 0;
  width: 70px;
  text-align: center;
}

.haze-ads img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(23, 32, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-inline: auto;
}

.haze-ads a:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 22px rgba(23, 32, 42, 0.16);
}

.haze-ads .haze-cap {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #667280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav */
.haze-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--haze-nav-h);
  backdrop-filter: blur(16px);
  background: var(--haze-glass);
  border-bottom: 1px solid var(--haze-line);
}

.haze-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.haze-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.haze-brand span {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.35rem;
}

.haze-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.haze-menu a {
  text-decoration: none;
  color: var(--haze-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.haze-menu a:hover,
.haze-menu a.is-on {
  color: var(--haze-coral);
}

.haze-tog {
  display: none;
  border: 1px solid var(--haze-line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.haze-tog span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--haze-ink);
}

/* Sticky download strip */
.haze-stick {
  position: sticky;
  top: var(--haze-nav-h);
  z-index: 70;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.28s ease, opacity 0.28s ease;
  background: rgba(255, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 0 solid var(--haze-line);
  box-shadow: none;
}

.haze-stick.is-show {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
  border-bottom-width: 1px;
  box-shadow: 0 8px 24px rgba(23, 32, 42, 0.08);
}

.haze-stick-inner {
  padding: 8px 10px 10px;
}

.haze-stick-title {
  text-align: center;
  font-size: 12px;
  color: var(--haze-soft);
  margin: 0 0 6px;
}

.haze-stick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  justify-items: center;
  max-width: var(--haze-max);
  margin: 0 auto;
}

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

.haze-stick-grid a {
  text-decoration: none;
  width: 100%;
  max-width: 72px;
  text-align: center;
}

.haze-stick-grid img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 4px;
  box-shadow: 0 6px 14px rgba(23, 32, 42, 0.12);
}

.haze-stick-grid span {
  display: block;
  font-size: 10px;
  color: #667280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero */
.haze-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 36px;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}

.haze-hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(226, 90, 69, 0.22), transparent 68%);
  animation: haze-float 9s ease-in-out infinite;
}

.haze-hero::after {
  content: "";
  position: absolute;
  inset: auto auto 5% -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(18, 122, 120, 0.2), transparent 70%);
  animation: haze-float 11s ease-in-out infinite reverse;
}

@keyframes haze-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

.haze-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.haze-kicker {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--haze-teal);
  background: var(--haze-teal-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.haze-hero h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 400;
}

.haze-hero-lead {
  font-size: 1.05rem;
  color: var(--haze-soft);
  margin: 0;
  max-width: 36em;
}

.haze-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--haze-shadow);
  transform: rotate(-1.5deg);
  animation: haze-rise 1.1s ease both;
}

@keyframes haze-rise {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1.5deg);
  }
}

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

/* Sections */
.haze-sec {
  padding: 52px 0;
}

.haze-sec + .haze-sec {
  border-top: 1px dashed var(--haze-line);
}

.haze-sec h2 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  margin: 0 0 12px;
  font-weight: 400;
}

.haze-sec h3 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.2rem;
  margin: 28px 0 10px;
  font-weight: 400;
  color: var(--haze-teal);
}

.haze-sec p {
  margin: 0 0 1em;
  color: var(--haze-ink);
}

.haze-lead {
  color: var(--haze-soft);
  font-size: 1.02rem;
  margin-bottom: 1.4em;
}

/* Split layouts */
.haze-split {
  display: grid;
  gap: 24px;
  align-items: center;
}

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

.haze-media {
  border-radius: var(--haze-radius);
  overflow: hidden;
  box-shadow: var(--haze-shadow);
  background: #fff;
}

.haze-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

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

.haze-glassbox {
  background: var(--haze-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--haze-radius);
  padding: 22px 20px;
  box-shadow: var(--haze-shadow);
}

/* Cards */
.haze-cards {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.haze-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid var(--haze-line);
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.haze-card h3 {
  margin-top: 0;
  color: var(--haze-ink);
}

.haze-card p:last-child {
  margin-bottom: 0;
}

.haze-mosaic {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.haze-mosaic .haze-media {
  margin: 0;
}

.haze-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}

.haze-chip {
  background: linear-gradient(135deg, #ffe4d8, #dff3f1);
  color: var(--haze-ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* CTA buttons (not in hero/nav) */
.haze-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
}

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

.haze-btn-main {
  background: linear-gradient(135deg, var(--haze-coral), var(--haze-coral-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(226, 90, 69, 0.28);
}

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

.haze-btn-soft {
  background: #fff;
  color: var(--haze-teal);
  border: 1px solid rgba(18, 122, 120, 0.35);
}

.haze-btn-soft:hover {
  color: var(--haze-coral);
}

/* Breadcrumb */
.haze-crumbs {
  padding: 18px 0 0;
  font-size: 0.9rem;
  color: var(--haze-soft);
}

.haze-crumbs a {
  text-decoration: none;
}

.haze-crumbs span {
  margin: 0 6px;
  opacity: 0.5;
}

/* Legal pages */
.haze-legal {
  padding: 24px 0 60px;
}

.haze-legal article {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--haze-line);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--haze-shadow);
}

.haze-legal h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 16px;
  font-weight: 400;
}

/* Error pages */
.haze-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.haze-error h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 10px;
  background: linear-gradient(120deg, var(--haze-coral), var(--haze-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.haze-footer {
  margin-top: 40px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--haze-line);
  background: linear-gradient(180deg, transparent, rgba(18, 122, 120, 0.06));
}

.haze-footer-grid {
  display: grid;
  gap: 20px;
}

.haze-footer h2 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.2rem;
  margin: 0 0 10px;
  font-weight: 400;
}

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

.haze-footer li {
  margin-bottom: 8px;
}

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

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

.haze-copy {
  margin-top: 22px;
  font-size: 0.85rem;
  color: #7a8794;
  text-align: center;
}

.haze-timeline {
  border-left: 3px solid var(--haze-blush);
  padding-left: 16px;
  margin: 18px 0;
}

.haze-timeline li {
  margin-bottom: 14px;
}

.haze-quote {
  margin: 20px 0;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff1ea, #e7f6f4);
  border-left: 4px solid var(--haze-coral);
  color: var(--haze-soft);
}

@media (max-width: 860px) {
  .haze-tog {
    display: inline-block;
  }

  .haze-menu {
    display: none;
    position: absolute;
    top: var(--haze-nav-h);
    left: 0;
    right: 0;
    background: #fffaf7;
    border-bottom: 1px solid var(--haze-line);
    padding: 12px 16px 16px;
    flex-direction: column;
  }

  .haze-menu.is-open {
    display: flex;
  }

  .haze-nav-inner {
    position: relative;
  }
}

@media (min-width: 860px) {
  .haze-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .haze-split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .haze-split.is-flip .haze-media {
    order: 0;
  }

  .haze-split.is-flip .haze-copyblock {
    order: -1;
  }

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

  .haze-cards.is-two {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .haze-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .haze-hero-visual img {
    aspect-ratio: 3 / 4;
  }
}
