/* ================================================================= */
/* ================================================================= */

:root {
  --ddice-dark: #263147;       /* ব্যাকগ্রাউন্ড ও টেক্সটের জন্য */
  --ddice-accent: #00BFAF;     /* হাইলাইট ও প্রাইমারী বাটনের জন্য */
  --ddice-border: #E2E8F0;     /* বর্ডার ও লাইট শেডের জন্য */
}

/* ফুল স্ক্রিন ব্লার এবং ডার্ক ওভারলে (Centered display) */
.wb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999999; /* যেন সবকিছুর উপরে থাকে */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* আধুনিক এবং রেসপনসিভ পপআপ কার্ড */
.wb-card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--ddice-border);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* সফলতার কার্ডে স্পেশাল বর্ডার */
.wb-success-card {
  border: 2px solid var(--ddice-accent);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

/* অ্যানিমেশন ট্র্রিগার ক্লাস */
.wb-overlay.wb-show {
  opacity: 1;
}
.wb-overlay.wb-show .wb-card {
  transform: scale(1);
}

/* বড় আইকন বক্স */
.wb-icon-box {
  font-size: 60px;
  margin-bottom: 15px;
}

/* টাইটেল স্টাইল */
.wb-card h2 {
  color: var(--ddice-dark);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: sans-serif;
}

/* বিবরণী টেক্সট */
.wb-card p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* $0.20 এমাউন্ট হাইলাইটার */
.wb-highlight {
  color: var(--ddice-dark) !important;
  background-color: var(--ddice-accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: bold;
}

/* ট্রানজেকশন ছোট হিন্ট টেক্সট */
.wb-txn-hint {
  font-size: 13px !important;
  color: #718096 !important;
  font-style: italic;
}

/* ডার্ক বাটন স্টাইল */
.wb-btn-primary {
  background: var(--ddice-dark);
  color: #ffffff;
  border: 2px solid var(--ddice-dark);
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wb-btn-primary:hover {
  background: transparent;
  color: var(--ddice-dark);
  transform: translateY(-2px);
}

/* সায়ান (Cyan) বাটন স্টাইল */
.wb-btn-accent {
  background: var(--ddice-accent);
  color: var(--ddice-dark);
  border: 2px solid var(--ddice-accent);
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wb-btn-accent:hover {
  box-shadow: 0 0 15px rgba(0, 191, 175, 0.6);
  transform: translateY(-2px);
}

/* স্মুথ আইকন অ্যানিমেশন ইফেক্টস */
.animate-bounce {
  animation: bounce 2s infinite;
}
.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}


/* পপআপ ক্লোজ বাটন স্টাইল */
.wb-close-btn {
  position: absolute;
  top: -6px;
  right: 1px;
  background: transparent;
  border: none;
  font-size: 55px;
  color: #a0aec0;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.wb-close-btn:hover {
  color: #e53e3e; /* হোভার করলে লাল রঙের হবে */
}

