/* —— Hero visual (right column — step check + earn animation) —— */
.hero-visual {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}

.hero-visual__kicker {
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.hero-visual__flow {
  list-style: none;
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero-visual__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  padding: 0.8rem 0;
  position: relative;
  opacity: 0.38;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual__item.is-pending {
  opacity: 0.38;
}

.hero-visual__item.is-active {
  opacity: 1;
  transform: translateX(4px);
}

.hero-visual__item.is-done {
  opacity: 0.88;
  transform: none;
}

.hero-visual__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 2.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(var(--hero-accent-rgb), 0.35) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  transition: background 0.45s ease;
}

.hero-visual__item.is-done:not(:last-child)::after {
  background: linear-gradient(
    180deg,
    rgba(var(--hero-accent-rgb), 0.75) 0%,
    rgba(var(--hero-accent-rgb), 0.2) 100%
  );
}

.hero-visual__marker {
  display: flex;
  align-items: flex-start;
  padding-top: 0.2rem;
}

.hero-visual__status {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero-visual__dot,
.hero-visual__check {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    background 0.35s ease;
}

.hero-visual__dot {
  margin: auto;
  width: 9px;
  height: 9px;
  inset: auto;
  background: var(--hero-accent);
  box-shadow: 0 0 10px var(--hero-glow);
  opacity: 1;
  transform: scale(1);
}

.hero-visual__check {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  background: rgba(var(--hero-accent-rgb), 0.18);
  border: 1.5px solid rgba(var(--hero-accent-rgb), 0.55);
}

.hero-visual__check::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border-right: 2px solid var(--hero-accent);
  border-bottom: 2px solid var(--hero-accent);
  transform: rotate(45deg) scale(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.hero-visual__item.is-active .hero-visual__dot {
  animation: heroVisualDotPulse 1.6s ease-in-out infinite;
}

@keyframes heroVisualDotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px var(--hero-glow);
  }
  50% {
    transform: scale(1.35);
    box-shadow: 0 0 18px var(--hero-glow), 0 0 28px rgba(var(--hero-accent-rgb), 0.25);
  }
}

.hero-visual__item.is-done .hero-visual__dot {
  opacity: 0;
  transform: scale(0.4);
  animation: none;
}

.hero-visual__item.is-done .hero-visual__check {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 16px rgba(var(--hero-accent-rgb), 0.35);
}

.hero-visual__item.is-done .hero-visual__check::after {
  transform: rotate(45deg) scale(1);
}

.hero-visual__copy strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-art);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.4s ease;
}

.hero-visual__item.is-done .hero-visual__copy strong {
  color: rgba(var(--hero-accent-rgb), 0.95);
}

.hero-visual__copy p {
  margin: 0;
  font-family: var(--font-serif-display);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.45s ease;
}

.hero-visual__item.is-active .hero-visual__copy p {
  color: rgba(255, 255, 255, 0.78);
}

.hero-visual__item.is-done .hero-visual__copy p {
  color: rgba(255, 255, 255, 0.55);
}

.hero-visual__reward {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--hero-accent-rgb), 0.35);
  background: linear-gradient(
    135deg,
    rgba(var(--hero-accent-rgb), 0.14) 0%,
    rgba(var(--hero-accent-rgb), 0.04) 100%
  );
  box-shadow: 0 0 32px rgba(var(--hero-accent-rgb), 0.12);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border-width: 0;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.55s ease,
    padding 0.55s ease,
    margin 0.55s ease,
    border-width 0.35s ease;
}

.hero-visual__reward.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 120px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
  border-width: 1px;
}

.hero-visual__reward-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--hero-accent-rgb), 0.9);
}

.hero-visual__reward-amount {
  display: block;
  font-family: var(--font-art);
  font-size: clamp(1.5rem, 3.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 24px rgba(var(--hero-accent-rgb), 0.45);
}

.hero-visual__reward-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
}

.hero-visual__pulse {
  position: relative;
  height: 52px;
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  opacity: 0.75;
}

.hero-visual__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  max-width: 280px;
  height: 100%;
}

.hero-visual__bar {
  flex: 1;
  max-width: 5px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(var(--hero-accent-rgb), 0.95) 0%,
    rgba(var(--hero-accent-rgb), 0.12) 100%
  );
  transform-origin: bottom center;
  animation: heroVisualBar 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.06s);
}

@keyframes heroVisualBar {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.35;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.hero-visual__foot {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-family: var(--font-tight);
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.48);
}

.hero-visual__stat-wrap {
  display: inline-flex;
  align-items: baseline;
}

.hero-visual__stat {
  font-family: var(--font-art);
  font-size: clamp(1.1rem, 2.3vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  transition: color 0.25s ease;
}

.hero-visual__stat.is-tick {
  animation: heroVisualStatTick 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroVisualStatTick {
  0% {
    transform: translateY(0);
    color: #fff;
  }
  40% {
    transform: translateY(-3px);
    color: var(--hero-accent);
  }
  100% {
    transform: translateY(0);
    color: #fff;
  }
}

.hero-visual__stat-plus {
  font-family: var(--font-art);
  font-size: clamp(1.1rem, 2.3vw, 1.3rem);
  font-weight: 800;
  color: var(--hero-accent);
}

.hero-visual__stat-label {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.35s ease;
}

.hero-visual__stat-label.is-earned {
  color: rgba(var(--hero-accent-rgb), 0.85);
}

@media (max-width: 900px) {
  .hero-visual {
    max-width: 420px;
    padding-top: 0.5rem;
  }

  .hero-visual__item.is-active {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__bar,
  .hero-visual__item.is-active .hero-visual__dot {
    animation: none !important;
  }

  .hero-visual__bar {
    transform: scaleY(0.55);
    opacity: 0.6;
  }

  .hero-visual__item {
    transition: none;
  }

  .hero-visual__item.is-active {
    transform: none;
  }

  .hero-visual__stat.is-tick {
    animation: none;
  }
}
