<turbo-stream action="replace" target="global_modal"><template><!-- app/views/shared/_login_modal.html.erb -->

<div class="fixed inset-0 bg-black/70 backdrop-blur flex items-center justify-center z-50">

  <div class="bg-[#0E1B2E] p-6 rounded-2xl w-[350px] text-white text-center shadow-xl">

    <h2 class="text-xl font-semibold mb-2">Continue to Spillr</h2>
    <p class="text-sm text-gray-400 mb-4">
      Actions require login
    </p>

    <a href="/otp" class="block w-full bg-blue-600 py-2 rounded-lg mb-3 hover:bg-blue-700">
      Continue with OTP
    </a>

    <button onclick="this.closest('.fixed').remove()" class="text-gray-400 text-sm">
      Continue as Guest
    </button>

  </div>

</div></template></turbo-stream>