/* Reward claimed modal */
.reward-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-modal {
  width: 820px;
  max-width: 92vw;
  max-height: 90vh;
  background: #1a1b1e;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.reward-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: background 0.15s, color 0.15s;
}

.reward-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

/* ======== LEFT COLUMN ======== */
.reward-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: radial-gradient(ellipse at 10% 10%, rgba(120, 80, 200, 0.2) 0%, rgba(88, 101, 242, 0.08) 40%, transparent 70%);
}

.reward-left-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 0;
  position: relative;
  overflow: hidden;
}

/* Single pill with divider */
.reward-tags {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  width: fit-content;
}

.reward-tag {
  color: #b5bac1;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
}

.reward-tag-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

/* Orb area */
.reward-orb-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;
}

/* Purple glow behind orb */
.reward-orb-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, rgba(88, 101, 242, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

/* Mini orb sparkles */
.reward-mini-orb {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0.08) 60%, transparent 100%);
  border: 1px solid rgba(88, 101, 242, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: miniOrbFloat 4s ease-in-out infinite;
}

.reward-mini-orb span {
  color: rgba(180, 170, 220, 0.5);
  font-size: 16px;
}

.reward-mini-orb-1 {
  top: 22%;
  left: 15%;
  width: 48px;
  height: 48px;
  animation-delay: 0s;
}
.reward-mini-orb-1 span { font-size: 18px; color: rgba(200, 140, 180, 0.45); }

.reward-mini-orb-2 {
  top: 18%;
  left: 45%;
  width: 32px;
  height: 32px;
  animation-delay: 1s;
}
.reward-mini-orb-2 span { font-size: 12px; }

.reward-mini-orb-3 {
  top: 20%;
  right: 20%;
  width: 36px;
  height: 36px;
  animation-delay: 1.8s;
}
.reward-mini-orb-3 span { font-size: 14px; }

.reward-mini-orb-4 {
  bottom: 18%;
  right: 15%;
  width: 50px;
  height: 50px;
  animation-delay: 2.5s;
}
.reward-mini-orb-4 span { font-size: 18px; color: rgba(160, 150, 200, 0.4); }

@keyframes miniOrbFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-5px) scale(1.05); opacity: 1; }
}

/* Main orb */
.reward-orb {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 50%;
  mix-blend-mode: screen;
  z-index: 2;
}

.reward-orb-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Left bottom */
.reward-left-bottom {
  padding: 20px 28px 24px;
}

.reward-amount {
  font-size: 38px;
  font-weight: 800;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.reward-amount-icon {
  color: #f2f3f5;
  font-size: 22px;
}

.reward-balance {
  font-size: 14px;
  color: #949ba4;
  margin-bottom: 18px;
  line-height: 1.4;
}

.reward-balance strong {
  color: #f2f3f5;
}

.reward-shop-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f2f3f5;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}

.reward-shop-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ======== RIGHT COLUMN ======== */
.reward-right {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #1e1f22;
}

/* Hero image */
.reward-promo-hero {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.reward-promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-promo-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, #1e1f22, transparent);
}

/* Centered brand logo */
.reward-promo-logo-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
}

.reward-promo-logo-img {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Bottom section of right column */
.reward-promo-bottom {
  padding: 0 24px 24px;
}

.reward-quest-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.reward-quest-info {
  flex: 1;
  min-width: 0;
}

.reward-promo-quest-title {
  font-size: 16px;
  font-weight: 700;
  color: #f2f3f5;
  margin-bottom: 2px;
}

.reward-promo-quest-desc {
  font-size: 13px;
  color: #949ba4;
}

.reward-promo-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.reward-promo-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-promo-buttons {
  display: flex;
  gap: 10px;
}

.reward-link-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b5bac1;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s;
}

.reward-link-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.reward-learn-btn {
  flex: 1;
  background: #5865f2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.reward-learn-btn:hover {
  background: #4752c4;
}
