    .container3 {
      text-align: center;
      position: relative; /* make pointers absolute inside */
      width: 350px;
    }

    #wheel {
      width: 350px;
      height: 350px;
      border-radius: 50%;
      border: 8px solid #333;
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 15px rgba(0,0,0,0.2);
      display: block;
    }

    #spinBtn {
      margin-top: 50px;
      padding: 10px 25px;
      font-size: 18px;
      border: none;
      background: #ff9800;
      color: white;
      border-radius: 5px;
      cursor: pointer;
    }

    #stopBtn {
      margin-top: 20px;
      padding: 10px 25px;
      font-size: 18px;
      border: none;
      background: #ff7300;
      color: white;
      border-radius: 5px;
      cursor: pointer;
    }

    #pointer {
      width: 0;
      height: 0;
      border-left: 25px solid transparent;
      border-right: 25px solid transparent;
      border-top: 45px solid red;
      position: absolute;
      top: -55px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }

    #bottomPointer {
        width: 0;
        height: 0;
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-bottom: 45px solid red; /* points upward into wheel */
        position: absolute;
        bottom: -45px; /* pull it up closer */
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

#winnerPopup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(135deg, #ff5722, #ff9800);
  border-radius: 20px;
  padding: 25px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  font-family: 'Arial Black', Arial, sans-serif;
}

#winnerContent {
  color: #fff;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

#winnerPopup.show {
  animation: popup 0.8s ease forwards;
}

@keyframes popup {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

#confettiCanvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 15;
}

#fingerGuide {
  position: absolute;
  bottom: 185px; /* slightly above STOP button */
  left: 50%;
  transform: translateX(-50%);
  text-align: right;
  font-size: 24px;
  font-weight: bold;
  pointer-events: none;
  animation: bounce 1s infinite;
  z-index: 20;
  color: #ff5722;
  display: none; /* hidden by default */
}

#fingerGuide span {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #333;
  margin-top: 5px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

#buySpinBtn {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 18px;
  border: none;
  background: linear-gradient(135deg, #23a6d5, #23d5ab);
  color: white;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}

#buySpinBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* CLAIM POPUP */
#claimPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: #ffffff;
  padding: 30px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 300px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

#claimPopup.show {
  animation: claimPop 0.8s forwards ease;
}

@keyframes claimPop {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Box Animation */
.box {
  position: relative;
  width: 200px;
  margin: auto;
}

.closedBox, .openBox {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.openBox { 
  display: none;
  animation: bounce 1s ease infinite;
}

/* FULL SCREEN OVERLAY */
.spin-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255, 255, 255, 0.15);  /* lighter / more transparent */
  backdrop-filter: blur(8px);             /* stronger blur */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* GLASS EFFECT SPIN BOX */
.spin-modal .container2 {
  background: rgba(255, 255, 255, 0.3);   /* transparent */
  backdrop-filter: blur(12px);            /* blur box itself too */
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 380px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  animation: popupIn 0.9s ease;
}

@keyframes popupIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff5555;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  background: #cc0000;
}

.open-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #db7a7a;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

/* NOTIFICATION AREA (top right) */
#liveNotifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* SINGLE NOTIFICATION */
.notify-item {
  background: rgba(30, 136, 229, 0.9);;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(50px);
  /* Run animation per notification */
  animation: slideIn 0.5s forwards, fadeOut 0.5s 4s forwards;
}

/* ANIMATIONS */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
