/* ==========================================================================
   ZIBEL FX ENGINE STYLES (Sound & Visual FX, Celebrations, XP & Badges)
   ========================================================================== */

/* 1. GLOBAL FX CANVAS (Confetti & Particles) */
#zibel-fx-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
}

/* 2. NOTIFICATION RADAR PULSE & BADGE BOUNCE */
.z-notif-pulse {
  position: relative;
}

.z-notif-pulse::before,
.z-notif-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-sizing: border-box;
}

.z-notif-pulse::before {
  border: 2px solid rgba(251, 191, 36, 0.8);
  animation: zibelRadarWave 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.z-notif-pulse::after {
  border: 2px solid rgba(99, 102, 241, 0.6);
  animation: zibelRadarWave 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite 0.75s;
}

@keyframes zibelRadarWave {
  0% {
    width: 60%;
    height: 60%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    width: 170%;
    height: 170%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

.z-notif-badge-bounce {
  animation: zibelBadgePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate;
}

@keyframes zibelBadgePop {
  0% { transform: scale(1); }
  100% { transform: scale(1.22); box-shadow: 0 0 12px rgba(239, 68, 68, 0.8); }
}

/* 3. XP PROGRESS BAR ENHANCEMENTS */
.z-progress-bar-bg {
  position: relative;
  overflow: hidden;
}

.z-progress-bar-fill {
  position: relative;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}

/* Animated Light Beam & Electric Shimmer across the XP progress bar */
.z-progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: zibelProgressShimmer 2.2s infinite linear;
  border-radius: inherit;
}

/* Glowing Spark Head at the front tip of the progress bar */
.z-progress-bar-fill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px 3px #ffffff, 0 0 20px 6px #818cf8;
  opacity: 0.9;
}

@keyframes zibelProgressShimmer {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* XP Card Pulse Glow on XP Gain */
.z-level-card.z-xp-glowing {
  animation: zibelXpCardPulse 1.2s ease-out;
}

@keyframes zibelXpCardPulse {
  0% {
    box-shadow: 0 0 0 rgba(99, 102, 241, 0);
    border-color: rgba(99, 102, 241, 0.3);
  }
  30% {
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6), 0 0 15px rgba(251, 191, 36, 0.5);
    border-color: rgba(251, 191, 36, 0.9);
    transform: scale(1.015);
  }
  100% {
    box-shadow: 0 0 0 rgba(99, 102, 241, 0);
    border-color: rgba(255, 255, 255, 0.08);
    transform: scale(1);
  }
}

/* 4. FLOATING REWARD CHIPS (+XP / +Coin) */
.z-floating-chip {
  position: fixed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 1000000;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: zibelFloatingReward 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

.z-floating-chip.xp {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.z-floating-chip.coin {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1e1b4b;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.7);
}

@keyframes zibelFloatingReward {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -10px) scale(1.15);
  }
  40% {
    transform: translate(-50%, -25px) scale(1);
  }
  80% {
    opacity: 0.95;
    transform: translate(-50%, -60px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -90px) scale(0.8);
  }
}

/* 5. EPIC LEVEL-UP CELEBRATION MODAL (FUTURISTIC GLASSMORPHISM) */
.zibel-levelup-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 22, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  animation: zibelFadeIn 0.35s ease-out;
  direction: rtl;
  font-family: inherit;
}

.zibel-levelup-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

/* Rotating Sunburst Rays in the background */
.zibel-sunburst-rays {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 540px;
  height: 540px;
  margin-top: -270px;
  margin-left: -270px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(236, 72, 153, 0.15) 45%, transparent 70%);
  background-image: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.08) 0deg 15deg,
    transparent 15deg 30deg
  );
  border-radius: 50%;
  pointer-events: none;
  animation: zibelSpinRays 25s linear infinite;
  z-index: 0;
}

@keyframes zibelSpinRays {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.zibel-levelup-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(155deg, rgba(28, 20, 68, 0.96) 0%, rgba(14, 12, 42, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 28px;
  padding: 24px 20px 20px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 40px rgba(168, 85, 247, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  animation: zibelCardPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zibel-levelup-card::-webkit-scrollbar {
  width: 4px;
}
.zibel-levelup-card::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 8px;
}

.zibel-modal-close-corner {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.zibel-modal-close-corner:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.08);
}

@keyframes zibelCardPopIn {
  0% { transform: scale(0.65) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.zibel-levelup-badge-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 4px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zibel-levelup-badge-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(217, 70, 239, 0.6);
  animation: zibelSpinRays 14s linear infinite;
}

.zibel-levelup-badge-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, rgba(236, 72, 153, 0.3) 70%);
  filter: blur(14px);
  opacity: 0.8;
  animation: zibelPulseGlow 2s ease-in-out infinite alternate;
}

.zibel-levelup-badge-icon {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.85), rgba(30, 27, 75, 0.95));
  border: 2px solid rgba(217, 70, 239, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  animation: zibelBadgeJump 1.6s ease-in-out infinite alternate;
}

.zibel-levelup-badge-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

@keyframes zibelBadgeJump {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.04); }
}

.zibel-levelup-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 6px;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

.zibel-levelup-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0 6px;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.4);
}

.zibel-levelup-subtitle {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.55;
}

.zibel-levelup-rewards-box {
  background: rgba(10, 8, 30, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.zibel-levelup-reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 4px;
  transition: all 0.2s ease;
}

.zibel-levelup-reward-item:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

.zibel-levelup-reward-val {
  font-size: 1.08rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: -0.3px;
}

.zibel-levelup-reward-lbl {
  font-size: 0.70rem;
  color: #94a3b8;
  font-weight: 600;
}

.zibel-levelup-btn {
  width: 100%;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 16px;
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.45);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.zibel-levelup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.65);
  filter: brightness(1.1);
}

.zibel-levelup-btn:active {
  transform: scale(0.97);
}

/* 6. SITE CREATION CELEBRATION HIGHLIGHT */
.zibel-site-created-glow {
  position: relative;
  animation: zibelSiteBorderGlow 3s ease-in-out infinite alternate;
}

@keyframes zibelSiteBorderGlow {
  0% {
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.4), 0 0 30px rgba(99, 102, 241, 0.2);
    border-color: rgba(52, 211, 153, 0.8);
  }
  100% {
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.6), 0 0 50px rgba(52, 211, 153, 0.4);
    border-color: rgba(251, 191, 36, 0.9);
  }
}

/* 7. MODERN GLASSMORPHISM TOASTS */
.zibel-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1000002;
  pointer-events: none;
  width: 90%;
  max-width: 420px;
}

.zibel-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  animation: zibelToastEnter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.3s ease;
  width: 100%;
}

.zibel-toast.hide {
  animation: zibelToastExit 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

.zibel-toast.success {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(52, 211, 153, 0.2);
}

.zibel-toast.danger,
.zibel-toast.error {
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 113, 113, 0.2);
}

.zibel-toast.warning {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(251, 191, 36, 0.2);
}

.zibel-toast.info {
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(129, 140, 248, 0.2);
}

.zibel-toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zibel-toast-text {
  flex: 1;
  line-height: 1.4;
  word-break: break-word;
}

@keyframes zibelToastEnter {
  0% { opacity: 0; transform: translateY(20px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes zibelToastExit {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(20px) scale(0.9); }
}

@keyframes zibelFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 8. SOUND FX MUTE BUTTON IN FOOTER/HEADER (OPTIONAL TOGGLE) */
.zibel-fx-mute-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zibel-fx-mute-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

/* 9. LEVEL REWARDS MODAL & COIN SHOWER ANIMATION (RESPONSIVE & MOBILE-SAFE) */
.zibel-rewards-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 22, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  animation: zibelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  font-family: inherit;
}

.zibel-rewards-container {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 92vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.zibel-rewards-card {
  position: relative;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(28, 20, 68, 0.96) 0%, rgba(14, 12, 42, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.38);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 35px rgba(168, 85, 247, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: zibelCardPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zibel-rewards-header {
  padding: 22px 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.zibel-rewards-header-badge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(236, 72, 153, 0.18) 60%, transparent 80%);
  border: 2px solid rgba(217, 70, 239, 0.6);
  margin: 4px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.6), inset 0 0 16px rgba(236, 72, 153, 0.3);
  animation: zibelBadgePulse 2.4s infinite ease-in-out;
}

.zibel-rewards-header-badge img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65));
  animation: zibelFloat 3s ease-in-out infinite alternate;
}

@keyframes zibelBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(168, 85, 247, 0.5); }
  50% { transform: scale(1.06); box-shadow: 0 0 40px rgba(236, 72, 153, 0.75); }
}

.zibel-rewards-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.16);
  color: #f5d0fe;
  border: 1px solid rgba(217, 70, 239, 0.45);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.80rem;
  font-weight: 800;
  margin: 0 auto 8px;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
  width: fit-content;
}

.zibel-rewards-title {
  color: #ffffff;
  font-size: 1.40rem;
  font-weight: 900;
  margin: 4px 0 6px;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.4);
  text-align: center;
  width: 100%;
  line-height: 1.35;
}

.zibel-rewards-subtitle {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 330px;
  text-align: center;
}

/* Scrollable middle list with custom sleek scrollbar */
.zibel-rewards-grid {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: 44vh;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  text-align: right;
}

.zibel-rewards-grid::-webkit-scrollbar {
  width: 4px;
}
.zibel-rewards-grid::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.5);
  border-radius: 8px;
}

.zibel-reward-row {
  background: rgba(12, 10, 36, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}

.zibel-reward-row:hover {
  background: rgba(24, 18, 58, 0.92);
  border-color: rgba(217, 70, 239, 0.5);
  transform: translateX(-2px);
}

.zibel-reward-row.highlight {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16) 0%, rgba(236, 72, 153, 0.10) 100%);
  border-color: rgba(217, 70, 239, 0.45);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

.zibel-reward-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(168, 85, 247, 0.28);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zibel-reward-icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.zibel-reward-info {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.zibel-reward-main {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zibel-reward-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zibel-reward-badge-val {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Always-pinned, accessible action footer */
.zibel-rewards-footer {
  padding: 12px 18px 16px;
  background: rgba(10, 8, 30, 0.95);
  border-top: 1px solid rgba(168, 85, 247, 0.22);
  flex-shrink: 0;
}

.zibel-reward-claim-btn {
  width: 100%;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 16px;
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.zibel-reward-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.65);
  filter: brightness(1.1);
}

.zibel-reward-claim-btn:active {
  transform: scale(0.97);
}

/* Flying Coin Animation */
.zibel-flying-coin-el {
  position: fixed;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a, #eab308 60%, #ca8a04 100%);
  border: 2px solid #fde047;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.9), inset 0 0 6px rgba(254, 240, 138, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease;
}

/* 10. LOCKED FEATURE STYLES */
.z-feature-locked {
  position: relative !important;
  opacity: 0.82;
  transition: all 0.2s ease;
}

.z-feature-locked:hover {
  opacity: 1;
}

.z-feature-locked .z-quick-icon-wrap {
  filter: grayscale(0.3) brightness(0.9);
}

.z-lock-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(14, 11, 38, 0.94);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.55);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 5;
}

.z-lock-pill {
  margin-right: auto;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.site-btn.locked {
  opacity: 0.65;
  background: rgba(30, 41, 59, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  cursor: pointer;
}

/* 11. FUTURISTIC NEON & GLASS FX UTILITIES */
.neon-glow-purple {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), inset 0 0 10px rgba(168, 85, 247, 0.2);
}

.neon-glow-magenta {
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.55), inset 0 0 10px rgba(236, 72, 153, 0.25);
}

.neon-glow-cyan {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5), inset 0 0 10px rgba(56, 189, 248, 0.2);
}

.hero-glow-backlight {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.glass-hover-lift {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-hover-lift:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 239, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.3) !important;
}

@keyframes neonBorderPulse {
  0% { border-color: rgba(168, 85, 247, 0.3); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
  50% { border-color: rgba(236, 72, 153, 0.6); box-shadow: 0 0 28px rgba(236, 72, 153, 0.4); }
  100% { border-color: rgba(168, 85, 247, 0.3); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
}

.neon-pulse-border {
  animation: neonBorderPulse 3s infinite ease-in-out;
}

@keyframes zibelFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(0.8deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes zibelPulseGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 28px rgba(236, 72, 153, 0.7);
  }
}

.z-pressable {
  transition: transform 0.15s ease, filter 0.15s ease;
}

.z-pressable:active {
  transform: scale(0.96);
  filter: brightness(1.15);
}


