:root {
  --bg: #06070c;
  --bg-elevated: #12161f;
  --text: #eef0f5;
  --text-muted: #949aa3;
  --accent: #82bfff;
  --border: rgba(255, 255, 255, 0.09);
  --step-bg: rgba(255, 255, 255, 0.045);
  --logo-stroke: rgba(255, 255, 255, 0.26);
  --corner-arrow: rgba(255, 255, 255, 0.55);
  --corner-hint-text: rgba(255, 255, 255, 0.72);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(
      ellipse 130% 90% at 50% -25%,
      rgba(100, 165, 255, 0.16),
      transparent 58%
    ),
    radial-gradient(
      ellipse 85% 55% at 100% 0%,
      rgba(120, 85, 200, 0.07),
      transparent 52%
    ),
    radial-gradient(
      ellipse 70% 45% at 0% 100%,
      rgba(55, 130, 190, 0.06),
      transparent 48%
    ),
    linear-gradient(168deg, #0a0c12 0%, #06070c 42%, #080a10 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: clamp(1rem, 5vw, 2rem);
  padding-right: clamp(1rem, 5vw, 2rem);
  padding-top: max(
    clamp(1.25rem, 4vw, 2rem),
    env(safe-area-inset-top, 0px)
  );
  padding-bottom: max(
    clamp(1.25rem, 4vw, 2rem),
    env(safe-area-inset-bottom, 0px)
  );
}

.corner-hint {
  position: fixed;
  z-index: 20;
  top: max(0.65rem, calc(env(safe-area-inset-top, 0px) + 0.35rem));
  right: max(0.65rem, calc(env(safe-area-inset-right, 0px) + 0.35rem));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  max-width: min(46vw, 11.5rem);
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  animation: corner-hint-bob 1.35s ease-in-out infinite;
}

.corner-hint__arrow {
  color: var(--corner-arrow);
}

.corner-hint__label {
  margin: 0;
  font-size: clamp(0.7rem, 2.9vw, 0.8125rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--corner-hint-text);
  text-align: right;
}

@keyframes corner-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .corner-hint {
    animation: none;
  }
}

main {
  width: 100%;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  margin: 0 0 clamp(1.25rem, 4vw, 1.75rem);
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.logo-wrap {
  margin: 0 0 clamp(0.875rem, 2.8vw, 1.25rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: block;
  width: clamp(9rem, 40vw, 13rem);
  max-width: min(100%, 13rem);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--logo-stroke);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.42);
}

.intro {
  margin: 0 0 clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  color: var(--text-muted);
  font-weight: 500;
}

.steps {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 3vw, 1.125rem);
}

.step {
  background: var(--step-bg);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: clamp(1rem, 3.5vw, 1.25rem) clamp(1rem, 3vw, 1.25rem);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--text);
}
