/* StarLion login welcome / reward announcement modal */
.sl-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing: border-box;
  animation: slWelcomeFade 0.28s ease;
}
@keyframes slWelcomeFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.sl-welcome-modal {
  position: relative;
  width: min(420px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(168, 85, 247, 0.55), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(236, 72, 153, 0.18), transparent 50%),
    linear-gradient(165deg, #1a0b2e 0%, #0d0221 45%, #12082a 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(168, 85, 247, 0.15);
  animation: slWelcomeUp 0.32s ease;
}
@keyframes slWelcomeUp {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sl-welcome-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-welcome-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.sl-welcome-hero {
  position: relative;
  padding: 28px 22px 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.35), transparent 70%),
    radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.35), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.4), transparent 42%);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.sl-welcome-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 140%;
  background: conic-gradient(from 200deg, transparent, rgba(236, 72, 153, 0.25), transparent 40%, rgba(139, 92, 246, 0.3), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.sl-welcome-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sl-welcome-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.65));
}
.sl-welcome-brand span {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}
.sl-welcome-headline {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.sl-welcome-prize {
  position: relative;
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #fff, #e9d5ff, #fbcfe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.sl-welcome-body {
  padding: 8px 18px 20px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.sl-welcome-body .dear {
  font-weight: 700;
  margin-bottom: 6px;
}
.sl-welcome-body .intro {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.85);
}
.sl-welcome-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.sl-welcome-col h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #e9d5ff;
}
.sl-welcome-col ul {
  margin: 0;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.82);
}
.sl-welcome-col li {
  margin-bottom: 6px;
}
.sl-welcome-highlight {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f0abfc;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sl-welcome-gifts {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin: 4px 0 10px;
  font-size: 22px;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.5));
}
.sl-welcome-footer {
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid rgba(168, 85, 247, 0.25);
}
.sl-welcome-footer p {
  margin: 8px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}
.sl-welcome-footer .brand {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.sl-welcome-footer .cta {
  font-weight: 600;
}
.sl-welcome-footer .legal {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
}
.sl-welcome-cta-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: #1a0b2e;
  background: linear-gradient(90deg, #daff45, #c4f03a);
  box-shadow: 0 8px 24px rgba(218, 255, 69, 0.35);
}
.sl-welcome-cta-btn:active {
  transform: scale(0.98);
}
@media (max-width: 420px) {
  .sl-welcome-cols {
    grid-template-columns: 1fr;
  }
  .sl-welcome-prize {
    font-size: 24px;
  }
  .sl-welcome-brand span {
    font-size: 22px;
  }
}
