/* 🔄 Iconița rotativă din colțul dreapta jos */
#swb-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  cursor: pointer;
}
#swb-icon img {
  width: 60px;
  height: 60px;
  animation: spin 3s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 🪩 Fundalul pop-upului */
#swb-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* 🎯 Containerul roții + conținutul */
.swb-popup-content {
  font-family: "Poppins";
  background: radial-gradient(circle at center, #1e1e1e, #111);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  text-align: center;
  color: #101C31;
  position: relative;
}

/* Wrapper elegant cu efect radial */
#wheelOfFortune {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 30px;
  padding: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #2c3e50, #000);
  box-shadow:
    inset 0 0 25px rgba(255,255,255,0.1),
    0 0 40px rgba(205,0,171,0.2);
}
#wheel {
      color: #101C31;
  font-family: "Poppins";
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 6px solid #101C31;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),
    0 0 25px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.5);
  animation: glowpulse 2.2s infinite ease-in-out;
}

@keyframes glowpulse {
  0%   { box-shadow: 0 0 10px #fff; }
  50%  { box-shadow: 0 0 30px #8EEC25, 0 0 50px #8EEC25; }
  100% { box-shadow: 0 0 10px #fff; }
}

/* 🟡 Butonul central + săgeata */
#spin {
  font-family: "Poppins";
  background: #6a0f7b;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: transform 0.2s ease;
  animation: floaty 2.5s infinite ease-in-out;
}

#spin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Săgeata elegantă deasupra mingii */
#spin::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 26px solid #101C31; /* culoarea acului */
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
  z-index: -1;
}



/* ✅ Zona rezultat + butonul de revendicare */
#swb-result {
  margin-top: 20px;
}
#swb-claim-btn {
  font-family: "Poppins";
  display: inline-block;
  margin-top: 10px;
  background: #8EEC25;
  color: #101C31;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
#swb-claim-btn:hover {
  background: #fff;
}

/* ❌ Buton de închidere (X) */
#swb-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  opacity: 0.6;
  transition: opacity 0.3s;
}
#swb-close:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  #spin {
    width: 70px;
    height: 70px;
  }
  #swb-icon img {
    width: 40px;
    height: 40px;
  }
  #swb-icon {
    right: 20px; 
  }
}