
/*------------------------------------------------------------------------------------------------*/

 /* Spin Wheel Modal */
#hezire-spin-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}




#hezire-spin-modal.active {
    opacity: 1;
    pointer-events: all;
}



#hezire-spin-modal h3 {
    font-size: 30px;
    color: #ffffff !important;
    padding: 15px 0 5px;
    margin-left:-5px;
}



.hezire-reward-title {
    font-size: 30px;
    margin-bottom: 12px;
    color: #000;
    font-weight: 700;
    
}

.hezire-reward-description  {
    font-size: 17px;
    margin: 6px 0;
    line-height: 1.5;
    color: #111;
}



/* ----------------------------------------main parent popup div -------------------------------------*/


.hezire-spin-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;  
    align-items: center;         
    padding: 25px;
    border-radius: 15px;
    position: relative;
    /*width: 750px;*/
    /*height: 450px;*/
     width: 800px;
    height: 455px;
    max-width: 90%;
    background: url(/wp-content/plugins/hezire-spin-wheel/assets/images/banner.png) left / cover no-repeat;
   
}


/* Overlay */
.hezire-spin-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #3d2f2842; /* adjust darkness */
  z-index: 0;
}

/*  inner content above overlay */
.hezire-spin-box > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------*/

.wheel-wrap {
    width: 420px;
    height: 420px;
    position: relative;
    display: block;
    margin: 15px auto 0;
    background: transparent;
    padding: 0;
    margin-left: 42%;
}



/* ------------------------- hezire bulb canvas ----------------------   */

#hezire-bulbs-canvas {
    position: absolute;
    top: 53%;
    left: 53.3%;
     width: 465px;
    height: 465px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 6;
}

#hezire-wheel-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    border: 15px solid transparent;
    border-radius: 100%;
    background: linear-gradient(#ffb940, #403614) padding-box, linear-gradient(270deg, #fff3c4, #fbf8ed, #ffe16a, #fff6c5, #fff1a8, #f9efba, #ffffff, #fff4c6, #f7d944) border-box;
    background-size: 350% 350%;
    animation: goldGlow 4s linear infinite;
    box-shadow: 1px 7px 19px #5c0f0bc9;
}


canvas {
  overflow: visible !important;
  overflow-clip-margin: 0 !important;
}

/* Center Spin Button */
#hezire-spin-btn {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-weight: bold;
    border: 7px solid #fbdcaf;
    cursor: pointer;
    font-size: 12px;
    z-index: 5;
    box-shadow: 1px 2px 10px #242424;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /*background: url(/wp-content/plugins/hezire-spin-wheel/assets/spin_center_btn.png) center / cover no-repeat;*/
    background-size: 400% 400%;

}

#hezire-spin-btn:hover{
    color: #fff;
    background-color: #000;
}

#hezire-spin-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}



.hezire-pointer {
  position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 80px;
    filter: drop-shadow(0 4px 4px #141414);
    z-index: 30;
    /*transform: rotate(90deg);*/
     background: url(/wp-content/plugins/hezire-spin-wheel/assets/spin_ticker.png) center / cover no-repeat;
   
}


/* Close Button */
#hezire-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 18px;
    color: #ffd600;
    cursor: pointer;
}



/* Glow effect on winning slice */

.hezire-wheel-glow {
    filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.9))
            drop-shadow(0 0 28px rgba(255, 193, 7, 0.7));
}



/* Reward Message */
#hezire-spin-msg {
    color: #000 !important;
    
}




/*  Reward Box (slides up over wheel) */
.hezire-reward-box {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%) translateY(40px);
     width: 80%;
    height: auto;
    padding: 35px 25px;
    text-align: center;
    z-index: 999; 
    background: linear-gradient(270deg, #f7d036, #e8c327, #fdf0ba, #ffd700, #fff1a8, #ffd700, #f7c603, #ffeda1, #c6a008);
    background-size: 400% 400%;
    border: 3px solid transparent;
    border-radius: 16px;
    opacity: 0;
    transition: all .9s ease;
    animation: goldBorder 15s linear infinite;
}




/* When shown */
.hezire-reward-box.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10%);
}


/*  sticky button*/
#hezire-reward-sticky {
  position: fixed;
  top: 90px;
  right: 20px;
  width: auto;
  height: 48px;
  color: #ffffff;
  border-radius: 5px;
  font-size: 12px;
  padding: 2px 10px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2147483647;
  transition: transform 0.3s ease;
  border: 1px solid transparent;
  background: linear-gradient(#100a0a, #070507) padding-box, linear-gradient(270deg, #3b2f00, #6a5600, #b38f00, #ffd700, #fff1a8, #ffd700, #b38f00, #6a5600, #3b2f00) border-box;
  background-size: 300% 300%;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
  animation: goldGlow 4s linear infinite;
}

#hezire-reward-sticky:hover {
  transform: scale(1.1);
}



/* Sticky reward text */
/*#hezire-reward-sticky .sticky-text {*/
/*  font-size: 13px;*/
/*  font-weight: 600;*/
/*  color: #fff;*/
/*  white-space: nowrap;*/
/*  display: flex;*/
/*  gap: 4px;*/
/*  align-items: center;*/
/*}*/

/* Glowing dynamic reward */
#hezire-reward-sticky {
  color: #ffd700;
  font-weight: 700;
  text-shadow:
    0 0 6px rgba(255,215,0,0.8),
    0 0 12px rgba(255,215,0,0.6),
    0 0 18px rgba(255,180,50,0.5);
  animation: rewardGlow 2s ease-in-out infinite alternate;
}

@keyframes rewardGlow {
  from {
    text-shadow:
      0 0 6px rgba(255,215,0,0.6),
      0 0 12px rgba(255,180,50,0.4);
  }
  to {
    text-shadow:
      0 0 10px rgba(255,215,0,1),
      0 0 20px rgba(255,180,50,0.8),
      0 0 30px rgba(255,160,0,0.6);
  }
}





/* Reward action wrapper */
.hezire-reward-action {
  margin-top: 16px;
  text-align: center;
}

/* Shop Now button */
.hezire-reward-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #000000, #40361e);
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}


/* Hover */
.hezire-reward-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px #FFEB3B;
   color:#FFEB3B;
}

/* Active click */
.hezire-reward-btn:active {
  transform: scale(0.96);
}




/* ================================================================================*/



/* Mobile View Adjustments */
@media (max-width: 800px) {
  .hezire-spin-box {
    width: 450px;
    height: 600px;
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;

    /* Background image control */
     background-image: url(/wp-content/plugins/hezire-spin-wheel/assets/images/banner-mob.png);
    background-repeat: no-repeat;
    background-position: top;     /* Align image vertically */
    background-size: cover;            /* Fit image inside height/width */
  }
  
  
  .hezire-wheel-wrap{
    margin-left: 0;
    margin-top: 35%;
}



}


@media (max-width: 500px) {
    
    
    .hezire-spin-box {
        width: 370px;
        height: 530px;
    }
    
  #hezire-wheel-canvas {
    width: 330px;
    height: 330px;
}


#hezire-bulbs-canvas {
    width: 400px;
    height: 400px;

}


  
  .wheel-wrap {
    margin-left: -37px !important;
}


.hezire-reward-box.show {
    width:93%;
    opacity: 1;
    transform: translateX(-50%) translateY(15%);
}

.hezire-reward-title {
    font-size: 23px;
    
}

.hezire-reward-description  {
    font-size: 15px;
}

.hezire-reward-box p{
font-size: 15px !important;
}

}










