body .shadow8bp-card {
  background: #111;
  border: 2px solid #00e6ff;
  border-radius: 14px;
  padding: 30px 25px;
  max-width: 420px;
  margin: auto;
  box-shadow: 0 0 15px rgba(0,230,255,0.6), 0 0 30px rgba(255,0,255,0.4);
  transition: 0.35s;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}
.shadow8bp-card h2 { font-size: 20px; margin-bottom: 18px; text-shadow: 0 0 8px rgba(0,230,255,0.9); }
.shadow8bp-card input { padding:12px; border-radius:8px; border:2px solid #00e6ff; width:100%; margin-bottom:12px; background:#000; color:#fff; text-align:center; }
.button-group { display:flex; justify-content:center; gap:8px; }
button { padding:10px 18px; border-radius:8px; border:none; font-weight:600; cursor:pointer; background:linear-gradient(90deg,#ff00ff,#00e6ff); color:#fff; }
#shadow8bp-loading { display:none; margin-top:12px; align-items:center; justify-content:center; gap:8px; color:#00e6ff; }
.spinner { width:18px; height:18px; border:3px solid #00e6ff; border-top:3px solid transparent; border-radius:50%; animation: spin 1s linear infinite; }
@keyframes spin { 0%{transform:rotate(0);}100%{transform:rotate(360deg);} }

#shadow8bp-error { display:none; margin-top:12px; padding:10px; border-radius:8px; background:#111; border:2px solid #ff4d4d; color:#ff4d4d; font-weight:700; box-shadow:0 0 18px rgba(255,77,77,0.8); }
#shadow8bp-result { display:none; margin-top:12px; padding:12px; border-radius:10px; background:#111; border:2px solid #00e6ff; box-shadow:0 0 18px rgba(0,230,255,0.7); font-weight:600; }

/* Neon pulsing animation */
@keyframes subtleNeonPulse {
  0%,100% { text-shadow: 0 0 8px currentColor, 0 0 16px currentColor, 0 0 24px rgba(255,255,255,0.1); }
  50% { text-shadow: 0 0 14px currentColor, 0 0 28px currentColor, 0 0 40px rgba(255,255,255,0.2); }
}
.vip-bronze { color:#cd7f32; animation: subtleNeonPulse 2.2s infinite ease-in-out; }
.vip-silver { color:#c0c0c0; animation: subtleNeonPulse 2.2s infinite ease-in-out; }
.vip-gold { color:#ffd700; animation: subtleNeonPulse 2.2s infinite ease-in-out; }
.vip-emerald { color:#50c878; animation: subtleNeonPulse 2.2s infinite ease-in-out; }
.vip-diamond { color:#00e6ff; animation: subtleNeonPulse 2.2s infinite ease-in-out; }
.vip-blackdiamond { color:#fff; font-weight:700; animation: subtleNeonPulse 2.2s infinite ease-in-out; text-shadow: 0 0 16px #00e6ff, 0 0 32px #ff00ff, 0 0 48px #00e6ff; }

/* cash/vip/boxes classes to use same color */
.cash-amount, .vip-points, .legendary-boxes, .epic-boxes, .rare-boxes { font-weight:700; }

/* Modal Styles */
.shadow8bp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.shadow8bp-modal-content {
    position: relative;
    background: #111;
    margin: 5% auto;
    padding: 0;
    border: 2px solid #00e6ff;
    border-radius: 14px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 230, 255, 0.6), 0 0 60px rgba(255, 0, 255, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shadow8bp-modal-body {
    padding: 30px 25px;
}

.shadow8bp-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(255, 0, 0, 0.7);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shadow8bp-close:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

/* Prevent body scroll when modal is open */
body.shadow8bp-modal-open {
    overflow: hidden;
    height: 100%;
}

/* Ensure modal content is scrollable */
.shadow8bp-modal-content {
    overflow-y: auto;
}

/* Hover effect for trigger button */
.shadow8bp-modal-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.5);
}

/* mobile improvements: ensure glow visible */
@media (max-width: 600px){
  .vip-blackdiamond { text-shadow: 0 0 14px #00e6ff, 0 0 28px #ff00ff, 0 0 40px #00e6ff; }
  .shadow8bp-modal-content {
      margin: 10% auto;
      width: 95%;
  }
}