/* aipivot.cn — Coming Soon */

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

:root {
  --paper: #fdebd8;
  --cream: #fdebd8;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.92);
  --ink-mute: rgba(255, 255, 255, 0.72);
  --rule: rgba(255, 255, 255, 0.45);
  --serif: "Cormorant Garamond", "Times New Roman", "Songti SC", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- Artwork stage ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #fdebd8;
}

.bg-poster {
  position: absolute;
  inset: 0;
  background-color: #fdebd8;
  background-image: url("202383001.jpg");
  background-size: cover;
  background-position: center;
  animation: bg-in 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/*
 * Soft cream paper wash (#fdebd8) — not kraft orange.
 * soft-light keeps art visible while pulling toward parchment.
 */
.bg-cream {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* main cream paper tone */
    linear-gradient(
      180deg,
      rgba(253, 235, 216, 0.42) 0%,
      rgba(253, 235, 216, 0.28) 45%,
      rgba(253, 235, 216, 0.38) 100%
    ),
    /* soft center for text, still cream-tinted */
    radial-gradient(
      ellipse 52% 44% at 50% 48%,
      rgba(253, 235, 216, 0.22) 0%,
      rgba(40, 28, 20, 0.12) 70%,
      rgba(30, 22, 16, 0.18) 100%
    ),
    /* gentle edge vignette */
    radial-gradient(
      ellipse 90% 80% at 50% 50%,
      transparent 50%,
      rgba(60, 42, 30, 0.14) 100%
    );
  mix-blend-mode: soft-light;
  animation: cream-in 2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/*
 * Global background mask — full-viewport dim so white type stays clear.
 * Adjust --overlay-strength if you want heavier / lighter.
 */
.bg-overlay {
  --overlay-strength: 0.42;
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* full-screen base veil */
  background-color: rgba(12, 10, 8, var(--overlay-strength));
  /* slightly deeper toward edges */
  background-image: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    transparent 30%,
    rgba(0, 0, 0, 0.18) 100%
  );
  animation: veil-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* Soft warm cursor trail (canvas) */
#wet-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* Minimal warm core — rings drawn on canvas */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: rgba(255, 248, 235, 0.9);
  box-shadow: 0 0 6px rgba(255, 236, 210, 0.45);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform, opacity;
}

#cursor.is-on {
  opacity: 1;
  transform: translate3d(var(--x), var(--y), 0);
}

/* ---------- Content ---------- */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.75rem;
  max-width: 38rem;
  pointer-events: none;
  background: none;
  border: none;
  /* Soft ambient shadow under whole text block (no card) */
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

/* Staggered load-in */
.content .eyebrow,
.content .brand,
.content .divider,
.content .message,
.content .message-zh {
  opacity: 0;
  animation: rise-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.content .eyebrow {
  animation-delay: 0.35s;
}

.content .brand {
  animation-delay: 0.5s;
}

.content .divider {
  animation-delay: 0.75s;
}

.content .message {
  animation-delay: 0.9s;
}

.content .message-zh {
  animation-delay: 1.05s;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.logo {
  display: block;
  width: clamp(88px, 16vw, 128px);
  height: auto;
  /* black canvas drops out; silver star stays */
  mix-blend-mode: screen;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 4px 18px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(0, 0, 0, 0.4);
}

.domain {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 8vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
  font-variant-ligatures: common-ligatures;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.75),
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(0, 0, 0, 0.35);
}

.divider {
  width: 2.5rem;
  height: 1px;
  margin: 1.5rem auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.message {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 4px 20px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(0, 0, 0, 0.35);
}

.message-zh {
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.14em;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.75),
    0 4px 18px rgba(0, 0, 0, 0.5);
}

/* ---------- Footer ---------- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 14px rgba(0, 0, 0, 0.55);
  animation: rise-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
  pointer-events: none;
}

@keyframes bg-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cream-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes veil-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }

  #cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-poster,
  .bg-cream,
  .bg-overlay,
  .content .eyebrow,
  .content .brand,
  .content .divider,
  .content .message,
  .content .message-zh,
  .footer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    cursor: auto;
  }

  #cursor {
    display: none;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 1.5rem 1.25rem;
  }

  .divider {
    margin: 1.2rem auto;
  }

  .message br {
    display: none;
  }
}
