.learn-welcome {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.learn-welcome.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.learn-welcome__box {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  background: linear-gradient(145deg, #f7f5ea 0%, #fff 100%);
  border: 1px solid rgba(108, 71, 255, 0.22);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 20px 60px rgba(108, 71, 255, 0.16);
  transform: translateY(16px);
  transition: transform 0.35s ease;
}

.learn-welcome.is-visible .learn-welcome__box {
  transform: translateY(0);
}

.learn-welcome__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(108, 71, 255, 0.08);
  border: 1px solid rgba(108, 71, 255, 0.18);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-welcome__tag {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.learn-welcome__box h3 {
  margin: 0 0 14px;
  padding-right: 28px;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--text);
}

.learn-welcome__text {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text2);
}

.learn-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.learn-welcome__later {
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(108, 71, 255, 0.2);
  color: var(--text2);
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .learn-welcome {
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
  }

  .learn-welcome__box {
    width: 100%;
  }

  .learn-welcome__actions .btn {
    width: 100%;
  }
}
