/* 苏州奶龙大学 splash — white stage, animated Nailong seal */

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

:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --text: #1a1a1a;
  --muted: rgba(26, 26, 26, 0.55);
  --bar-track: rgba(26, 26, 26, 0.12);
  --bar-fill: #8b1515;
  --accent: #8b1515;
}

html, body {
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 28%, #ffffff 0%, var(--bg-soft) 70%, #efe8dc 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.stage {
  width: min(100%, 420px);
  padding: 2.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  min-height: min(100dvh, 720px);
  justify-content: center;
}

.hint {
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  animation: hint-pulse 1.6s ease-in-out infinite;
  user-select: none;
}
.hint.gone {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  animation: none;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.seal-wrap {
  /* sticker is ~3:4 — don't force 1:1 or feet get cropped */
  width: min(68vw, 240px);
  aspect-ratio: 3 / 4;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
  animation: seal-in 0.7s ease-out both;
}

.seal {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

@keyframes seal-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.status {
  width: 100%;
  animation: fade-up 0.6s ease-out 0.15s both;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
  gap: 0.75rem;
}

.status-text {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--text);
}

.status-pct {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  flex-shrink: 0;
}

.bar {
  height: 3px;
  width: 100%;
  background: var(--bar-track);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: var(--bar-fill);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(139, 21, 21, 0.35);
  transition: width 0.05s linear;
}

.skip {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.skip:hover,
.skip:focus-visible {
  color: var(--accent);
  outline: none;
}

.foot {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 280px;
  animation: fade-up 0.6s ease-out 0.3s both;
}

.foot p + p {
  margin-top: 0.15rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .hint {
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  animation: hint-pulse 1.6s ease-in-out infinite;
  user-select: none;
}
.hint.gone {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  animation: none;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.seal-wrap {
    width: 260px;
  }
  .status-text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seal-wrap,
  .status,
  .foot {
    animation: none;
  }
  .bar-fill {
    transition: none;
  }
}
