/* Members Only VIP overlay for /rewards/ — matches Lounge gate + blurs the SPA. */
body.rewards-gated {
  overflow: hidden;
}

body.rewards-gated #root {
  filter: blur(14px);
  pointer-events: none !important;
  user-select: none !important;
}

.rewards-vip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 18, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rewards-vip-overlay.hidden {
  display: none;
}

.rewards-vip-content {
  text-align: center;
  max-width: 420px;
  padding: 0 20px;
}

.rewards-vip-icons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
  line-height: 1;
}

.rewards-vip-icons span {
  display: inline-block;
  animation: rewardsVipBounce 1.5s ease infinite;
}

.rewards-vip-sack {
  font-size: 64px;
}

.rewards-vip-castle {
  font-size: 72px;
}

.rewards-vip-dove {
  font-size: 56px;
}

.rewards-vip-icons span:nth-child(2) {
  animation-delay: 0.12s;
}

.rewards-vip-icons span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes rewardsVipBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.rewards-vip-content h2 {
  color: #2ecc71;
  font-size: 32px;
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
  margin: 0;
}

.rewards-vip-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 18px 0 10px;
}

.rewards-vip-kicker {
  color: #f8f9fa;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

.rewards-vip-copy {
  color: rgba(236, 240, 241, 0.88);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.rewards-vip-status {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(231, 76, 60, 0.18);
  border: 1px solid rgba(231, 76, 60, 0.45);
  color: #fadbd8;
}

.rewards-vip-status.hidden {
  display: none;
}

.rewards-vip-wallets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.rewards-vip-wallets.hidden {
  display: none;
}

.rewards-vip-wallet {
  width: min(280px, 100%);
}

.rewards-vip-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.rewards-vip-btn.hidden {
  display: none;
}

.rewards-vip-btn {
  min-width: 120px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}

.rewards-vip-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.rewards-vip-btn-connect {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.rewards-vip-btn-exit {
  background: transparent;
  color: #ecf0f1;
  border-color: rgba(236, 240, 241, 0.45);
}

.rewards-vip-quota {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 400000;
  background: rgba(20, 40, 36, 0.95);
  border: 1px solid rgba(241, 196, 15, 0.55);
  color: #f8f3dc;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.rewards-vip-quota.hidden {
  display: none;
}

.rewards-vip-quota.is-empty {
  border-color: rgba(231, 76, 60, 0.7);
  color: #fadbd8;
  background: rgba(70, 22, 18, 0.95);
}

.rewards-vip-oops {
  position: fixed;
  inset: 0;
  z-index: 500100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 18, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}

.rewards-vip-oops.hidden {
  display: none;
}

.rewards-vip-oops-card {
  text-align: center;
  max-width: 360px;
  background: #142824;
  border: 1px solid rgba(241, 196, 15, 0.45);
  border-radius: 16px;
  padding: 28px 22px 22px;
  color: #e8f2ec;
}

.rewards-vip-oops-emoji {
  font-size: 42px;
  margin: 0 0 8px;
}

.rewards-vip-oops-card h2 {
  color: #f1c40f;
  font-size: 26px;
  margin: 0 0 10px;
  text-shadow: none;
}

.rewards-vip-oops-copy {
  color: rgba(236, 240, 241, 0.9);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 18px;
}

body.rewards-vip-ready #rewards-helius,
body.rewards-vip-ready #profile-helius,
body.rewards-vip-ready label[for="rewards-helius"],
body.rewards-vip-ready label[for="profile-helius"],
body.rewards-vip-ready .profile-key-row,
body.rewards-vip-ready .profile-key-status,
body.rewards-vip-ready .profile-actions {
  display: none !important;
}
