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

:root {
  --ink: #101820;
  --ink-soft: #3a4a57;
  --coral: #ff5e7a;
  --coral-deep: #e34562;
  --mint: #1db8a6;
  --mint-deep: #0f8f81;
  --sky: #dceef5;
  --paper: #f7fbfc;
  --fog: rgba(255, 255, 255, 0.72);
  --line: rgba(16, 24, 32, 0.08);
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1080px;
  --nav-h: 64px;
  --promo-gap: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 94, 122, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(29, 184, 166, 0.14), transparent 55%),
    linear-gradient(180deg, #eef7fa 0%, var(--paper) 38%, #ffffff 100%);
  line-height: 1.75;
  min-height: 100vh;
}

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

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

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

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

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

/* Top promo strip */
.qc-promo {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

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

.qc-ads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  justify-items: center;
  background: transparent;
}

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

.qc-ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 72px;
}

.qc-ads figure {
  margin: 0;
  width: 100%;
  text-align: center;
}

.qc-ads img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
  transition: transform 180ms ease;
  background: #fff;
  display: block;
}

.qc-ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 50%;
}

.qc-ads a:hover img {
  transform: translateY(-3px) scale(1.05);
}

.qc-ads .qc-cap {
  display: block;
  height: auto;
  font-size: 10px;
  color: #666;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

/* Navigation */
.qc-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(247, 251, 252, 0.82);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}

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

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

.qc-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(255, 94, 122, 0.25);
}

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

.qc-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.qc-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
}

.qc-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--mint));
  transition: width 220ms ease;
}

.qc-menu a:hover {
  color: var(--ink);
}

.qc-menu a:hover::after,
.qc-menu a.qc-on::after {
  width: 100%;
}

.qc-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.qc-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* Sticky download dock */
.qc-dock {
  position: sticky;
  top: var(--nav-h);
  z-index: 35;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
}

.qc-dock.qc-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.qc-dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  justify-items: center;
}

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

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

.qc-dock-grid img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
  transition: transform 180ms ease;
}

.qc-dock-grid a:hover img {
  transform: translateY(-3px) scale(1.05);
}

.qc-dock-grid span {
  display: block;
  font-size: 10px;
  color: #666;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero */
.qc-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 760px) {
  .qc-hero {
    min-height: min(42vh, 340px);
    align-items: end;
  }

  .qc-hero-copy {
    padding: 24px 0 28px;
  }

  .qc-hero-copy h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: 10px;
  }

  .qc-hero-copy p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

.qc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.18) 0%, rgba(16, 24, 32, 0.55) 100%),
    url("home-atmosphere-banner.webp") center / cover no-repeat;
}

.qc-hero-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 94, 122, 0.35), transparent 70%);
  filter: blur(8px);
  animation: qcPulse 6s ease-in-out infinite;
}

@keyframes qcPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

.qc-hero-copy {
  color: #fff;
  padding: 48px 0 56px;
  max-width: 720px;
}

.qc-hero-copy h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.25;
  margin: 0 0 14px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.qc-hero-copy p {
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 36em;
}

.qc-petal {
  position: absolute;
  width: 14px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--coral));
  border-radius: 70% 10% 70% 10%;
  opacity: 0.55;
  animation: qcFall linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes qcFall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  15% { opacity: 0.6; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

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

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

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

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

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

/* Sections */
.qc-section {
  padding: 56px 0;
}

.qc-section h2 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 12px;
  line-height: 1.35;
}

.qc-section h3 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--ink);
}

.qc-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 28px;
  max-width: 46em;
}

.qc-prose p {
  margin: 0 0 1.05em;
  color: #24323d;
  font-size: 1.02rem;
}

.qc-prose strong {
  color: var(--ink);
  font-weight: 700;
}

/* Zigzag media rows */
.qc-zig {
  display: grid;
  gap: 28px;
  margin: 36px 0;
}

.qc-zig-item {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--fog);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

@media (min-width: 820px) {
  .qc-zig-item {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 22px;
  }
  .qc-zig-item.qc-flip {
    direction: rtl;
  }
  .qc-zig-item.qc-flip > * {
    direction: ltr;
  }
}

.qc-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #e8f5f8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.qc-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 480ms ease;
}

.qc-zig-item:hover .qc-frame img {
  transform: scale(1.04);
}

.qc-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 24, 32, 0.28));
  pointer-events: none;
}

/* Pillar cards */
.qc-pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

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

.qc-pillar {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(220, 238, 245, 0.75));
  border: 1px solid var(--line);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

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

.qc-pillar::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 122, 0.22), transparent 70%);
}

.qc-pillar h3 {
  margin-top: 0;
  position: relative;
}

.qc-pillar p {
  margin: 0;
  color: var(--ink-soft);
  position: relative;
  font-size: 0.98rem;
}

/* Mosaic */
.qc-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 860px) {
  .qc-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
  }
  .qc-mosaic .qc-tall {
    grid-row: span 2;
  }
  .qc-mosaic .qc-wide {
    grid-column: span 2;
  }
}

.qc-mosaic figure {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 140px;
}

.qc-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 140px;
  transition: transform 500ms ease;
}

.qc-mosaic figure:hover img {
  transform: scale(1.06);
}

.qc-mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.88rem;
  background: linear-gradient(transparent, rgba(16, 24, 32, 0.72));
}

/* Timeline */
.qc-timeline {
  position: relative;
  margin: 30px 0 10px;
  padding-left: 22px;
}

.qc-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--coral), var(--mint));
  border-radius: 2px;
}

.qc-time-item {
  position: relative;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.qc-time-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 94, 122, 0.15);
}

.qc-time-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.qc-time-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* Quote band */
.qc-quote {
  margin: 40px 0;
  padding: 34px 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(29, 184, 166, 0.16), rgba(255, 94, 122, 0.16)),
    #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.qc-quote p {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  margin: 0;
  line-height: 1.5;
}

/* FAQ */
.qc-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.qc-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.qc-faq summary::-webkit-details-marker {
  display: none;
}

.qc-faq details[open] summary {
  color: var(--coral-deep);
  margin-bottom: 8px;
}

.qc-faq p {
  margin: 0;
  color: var(--ink-soft);
}

/* CTA strip (not in hero/nav) */
.qc-cta {
  margin: 48px 0 8px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #12263a, #1a3d4a 48%, #23485a);
  color: #fff;
  display: grid;
  gap: 16px;
  align-items: center;
}

@media (min-width: 760px) {
  .qc-cta {
    grid-template-columns: 1.4fr auto;
    padding: 34px 36px;
  }
}

.qc-cta h2 {
  margin: 0 0 8px;
  color: #fff;
}

.qc-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, var(--coral), #ff8aa0);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 94, 122, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.qc-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 94, 122, 0.42);
}

.qc-btn-mint {
  background: linear-gradient(90deg, var(--mint), #49d3c3);
  box-shadow: 0 12px 28px rgba(29, 184, 166, 0.35);
}

/* Legal / subpage shell */
.qc-page-head {
  padding: 28px 0 8px;
}

.qc-page-head h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin: 8px 0 12px;
  line-height: 1.3;
}

.qc-page-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42em;
}

.qc-legal {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.qc-legal h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.qc-legal h2:first-child {
  margin-top: 0;
}

.qc-legal p,
.qc-legal li {
  color: #2a3945;
}

.qc-legal ul {
  padding-left: 1.2em;
}

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

.qc-error-code {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--coral), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  animation: qcPulse 4s ease-in-out infinite;
}

.qc-error h1 {
  font-size: 1.6rem;
  margin: 8px 0 12px;
}

.qc-error p {
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.qc-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.qc-link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.qc-link-btn:hover {
  border-color: var(--mint);
  color: var(--mint-deep);
}

/* Footer */
.qc-footer {
  margin-top: 40px;
  padding: 36px 0 28px;
  background: #0f1a22;
  color: rgba(255, 255, 255, 0.82);
}

.qc-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.qc-footer a:hover {
  color: #7fe0d4;
}

.qc-footer-grid {
  display: grid;
  gap: 24px;
}

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

.qc-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #fff;
}

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

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

.qc-copy {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Mobile menu */
@media (max-width: 760px) {
  .qc-toggle {
    display: inline-block;
  }

  .qc-menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--nav-h) + 8px);
    flex-direction: column;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .qc-menu.qc-open {
    display: flex;
  }

  .qc-nav {
    position: sticky;
  }

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

/* Reveal animation */
.qc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.qc-reveal.qc-in {
  opacity: 1;
  transform: translateY(0);
}

body.qc-dock-on {
  --promo-gap: 0;
}
