/* Rewards "coming soon" teaser, SumLink page only.
   Static card: no data, no scripts. Every selector and keyframe name starts
   with rwt- so nothing else on the site can be affected.
   Only transform and opacity are animated. */

.rwt-card {
  --rwt-ink: #f1eeff;
  --rwt-mut: #9f9bc8;
  --rwt-line: #2a2656;
  --rwt-card: #15132f;
  --rwt-a: #7c4dff;
  --rwt-b: #00c2e0;
  --rwt-gold: #ffb300;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 22px 18px;
  text-align: center;
  color: var(--rwt-ink);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(124, 77, 255, 0.45), transparent 60%),
    var(--rwt-card);
  border: 1px solid var(--rwt-line);
  border-radius: 22px;
  overflow: hidden;
}

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

.rwt-box {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 4px;
  animation: rwt-bob 3s ease-in-out infinite;
}

.rwt-lid {
  transform-box: fill-box;
  transform-origin: 0 100%;
  animation: rwt-lid 4s ease-in-out infinite;
}

.rwt-badge {
  position: relative;
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1b1840;
  background: linear-gradient(90deg, var(--rwt-gold), #ffd54f);
  border-radius: 99px;
}

.rwt-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 99px;
  border: 2px solid var(--rwt-gold);
  opacity: 0;
  animation: rwt-ring 1.9s ease-out infinite;
}

.rwt-title {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--rwt-a), var(--rwt-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rwt-text {
  max-width: 26ch;
  margin: 6px auto 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--rwt-mut);
}

.rwt-spark {
  position: absolute;
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  color: var(--rwt-gold);
  opacity: 0;
  pointer-events: none;
  animation: rwt-twinkle 2.4s ease-in-out infinite;
}

.rwt-spark--1 { left: 16%; top: 18%; }
.rwt-spark--2 { right: 14%; top: 28%; color: var(--rwt-b); animation-delay: 1s; }

@keyframes rwt-bob {
  50% { transform: translateY(-7px); }
}

@keyframes rwt-lid {
  0%, 70%, 100% { transform: rotate(0); }
  76% { transform: rotate(-14deg); }
  82% { transform: rotate(3deg); }
  88% { transform: rotate(-8deg); }
}

@keyframes rwt-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35, 1.9); opacity: 0; }
}

@keyframes rwt-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.2) rotate(20deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rwt-box,
  .rwt-lid,
  .rwt-badge::after,
  .rwt-spark {
    animation: none;
  }
  .rwt-spark { opacity: 0.8; transform: none; }
}
