<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@100..900&family=Oswald:wght@200..700&family=Sixtyfour&display=swap"
      rel="stylesheet"
      media="print"
      onload="this.media = 'all'"
    />
    <noscript>
      <link
        href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@100..900&family=Oswald:wght@200..700&family=Sixtyfour&display=swap"
        rel="stylesheet"
      />
    </noscript>
    <title>TurboStakes</title>
    <meta
      name="description"
      content="TurboStakes Social Casino - free daily Gold Coins, bonus Sweep Coins,
    jackpots, events, and fresh rewards every day. Play for fun with no
    purchase required!"
    />
    <meta name="theme-color" content="#050b1e" />
    <meta name="color-scheme" content="dark" />

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://app.turbostakes.com/" />
    <meta property="og:title" content="TurboStakes" />
    <meta
      property="og:description"
      content="TurboStakes Social Casino - free daily Gold Coins, bonus Sweep Coins, jackpots, events, and fresh rewards every day. Play for fun with no purchase required!"
    />
    <meta property="og:image" content="https://app.turbostakes.com/og-image.webp" />
    <meta property="og:image:width" content="2400" />
    <meta property="og:image:height" content="1260" />
    <meta property="og:site_name" content="TurboStakes" />

    <!-- Twitter Card -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="TurboStakes" />
    <meta
      name="twitter:description"
      content="TurboStakes Social Casino - free daily Gold Coins, bonus Sweep Coins, jackpots, events, and fresh rewards every day. Play for fun with no purchase required!"
    />
    <meta name="twitter:image" content="https://app.turbostakes.com/og-image.webp" />

    <!-- Download app banners -->
    <!-- <meta name="apple-itunes-app" content="6752989307" /> -->
    <!-- <meta name="google-play-app" content="com.milkywayapps.turbostakes" /> -->
    <script>
      (function () {
        var BTAG_COOKIE_KEY = "btag";

        function getCookie(name) {
          var match = document.cookie.match(new RegExp("(^| )" + name + "=([^;]+)"));
          return match ? decodeURIComponent(match[2]) : null;
        }

        function setCookie(name, value, days) {
          var expires = "";
          if (days) {
            var date = new Date();
            date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
            expires = "; expires=" + date.toUTCString();
          }
          document.cookie =
            name + "=" + encodeURIComponent(value) + expires + "; path=/; SameSite=Lax";
        }

        function getBtag() {
          var params = new URLSearchParams(window.location.search);
          var paramsBtag = params.get(BTAG_COOKIE_KEY);

          if (!paramsBtag) {
            return getCookie(BTAG_COOKIE_KEY);
          }

          setCookie(BTAG_COOKIE_KEY, paramsBtag, 1);
          return paramsBtag;
        }

        var btag = getBtag();

        // Capture the TrafficJunky click id (aclid) from the landing URL into a cookie
        // so it survives navigation and can be sent at registration (read in common.ts).
        var aclidParam = new URLSearchParams(window.location.search).get("aclid");
        if (aclidParam) {
          setCookie("tj_aclid", aclidParam, 30);
        }

        // Capture the GlobScaer click id (click_id) from the landing URL into a cookie
        // so it survives navigation and can be sent at registration (read in common.ts).
        var clickIdParam = new URLSearchParams(window.location.search).get("click_id");
        if (clickIdParam) {
          setCookie("gs_click_id", clickIdParam, 30);
        }

        // Capture the Reddit click id (rdt_cid) from the landing URL into a cookie
        // so it survives navigation and can be sent at registration (read in common.ts).
        var rdtCidParam = new URLSearchParams(window.location.search).get("rdt_cid");
        if (rdtCidParam) {
          setCookie("rdt_cid", rdtCidParam, 30);
        }

        // Capture the Roi click id (roiAdsClickId) from the landing URL into a cookie
        // so it survives navigation and can be sent at registration (read in common.ts).
        var roiAdsClickIdParam = new URLSearchParams(window.location.search).get("roiAdsClickId");
        if (roiAdsClickIdParam) {
          setCookie("roi_ads_click_id", roiAdsClickIdParam, 30);
        }

        // Generic ad-attribution capture (new-network standard): whichever known network's click
        // id is on the landing URL is stored as { ad_click_id, ad_network, ad_source_url } cookies,
        // so one shape covers every future network and is sent at registration (read in common.ts).
        // Legacy per-network click ids above keep their own cookies. Add a network by extending this list.
        var AD_NETWORKS = [{ param: "oppref", network: "openai" }];
        var adSearch = new URLSearchParams(window.location.search);
        for (var i = 0; i < AD_NETWORKS.length; i++) {
          var adClickId = adSearch.get(AD_NETWORKS[i].param);
          if (adClickId) {
            setCookie("ad_click_id", adClickId, 30);
            setCookie("ad_network", AD_NETWORKS[i].network, 30);
            setCookie("ad_source_url", encodeURIComponent(window.location.href), 30);
            break;
          }
        }

        var baseOneLink =
          "https://turbostakes.onelink.me/HSqB?af_web_dp=https%3A%2F%2Fapp.turbostakes.com&af_xp=custom&pid=afilka";
        var oneLinkUrl = btag ? baseOneLink + "&btag=" + encodeURIComponent(btag) : baseOneLink;
        // Read by the in-app download banner so GET THE APP opens this same URL.
        window.__TS_APP_ONELINK__ = oneLinkUrl;

        // --- iOS meta ---
        var iosMeta = document.createElement("meta");
        iosMeta.name = "apple-itunes-app";
        iosMeta.content = "app-id=6752989307, app-argument=" + oneLinkUrl;
        document.head.appendChild(iosMeta);

        // --- Android meta ---
        // var androidMeta = document.createElement("meta");
        // androidMeta.name = "google-play-app";
        // androidMeta.content = "app-id=com.milkywayapps.turbostakes, app-argument=" + oneLinkUrl;
        // document.head.appendChild(androidMeta);
      })();
    </script>

    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/apple-touch-icon-57x57.png" />
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114.png" />
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72.png" />
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144.png" />
    <link rel="apple-touch-icon-precomposed" sizes="60x60" href="/apple-touch-icon-60x60.png" />
    <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-120x120.png" />
    <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/apple-touch-icon-76x76.png" />
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152.png" />
    <link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196" />
    <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
    <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
    <link rel="icon" type="image/png" href="/favicon-128.png" sizes="128x128" />
    <meta name="application-name" content="&nbsp;" />
    <meta name="msapplication-TileColor" content="#FFFFFF" />
    <meta name="msapplication-TileImage" content="/mstile-144x144.png" />
    <meta name="msapplication-square70x70logo" content="/mstile-70x70.png" />
    <meta name="msapplication-square150x150logo" content="/mstile-150x150.png" />
    <meta name="msapplication-wide310x150logo" content="/mstile-310x150.png" />
    <meta name="msapplication-square310x310logo" content="/mstile-310x310.png" />

    <!-- Marketing tags. Stubs run immediately so events fired during boot are queued.
         The network scripts start after window load, on idle, so they don't compete
         with the app module. -->
    <script>
      (function () {
        var fbq = (window.fbq = function () {
          fbq.callMethod ? fbq.callMethod.apply(fbq, arguments) : fbq.queue.push(arguments);
        });
        if (!window._fbq) window._fbq = fbq;
        fbq.push = fbq;
        fbq.loaded = true;
        fbq.version = "2.0";
        fbq.queue = [];
        fbq("init", 912190838172226);
        fbq("track", "PageView");

        var rdt = (window.rdt = function () {
          rdt.sendEvent ? rdt.sendEvent.apply(rdt, arguments) : rdt.callQueue.push(arguments);
        });
        rdt.callQueue = [];
        rdt("init", "a2_j7f0g5w7uzq1");
        rdt("track", "PageVisit");

        window.dataLayer = window.dataLayer || [];
        window.gtag = function () {
          window.dataLayer.push(arguments);
        };
        window.gtag("js", new Date());
        window.gtag("config", "G-375W9HVJQ0");

        var started = false;
        function loadMarketingScripts() {
          if (started) return;
          started = true;

          function appendAsyncScript(src) {
            var script = document.createElement("script");
            script.async = true;
            script.src = src;
            var first = document.getElementsByTagName("script")[0];
            first.parentNode.insertBefore(script, first);
          }

          appendAsyncScript("https://connect.facebook.net/en_US/fbevents.js");
          appendAsyncScript(
            "https://www.redditstatic.com/ads/pixel.js?pixel_id=a2_j7f0g5w7uzq1"
          );
          appendAsyncScript("https://www.googletagmanager.com/gtag/js?id=G-375W9HVJQ0");

          (function (w, d, s, l, i) {
            w[l] = w[l] || [];
            w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
            var f = d.getElementsByTagName(s)[0],
              j = d.createElement(s),
              dl = l != "dataLayer" ? "&l=" + l : "";
            j.async = true;
            j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
            f.parentNode.insertBefore(j, f);
          })(window, document, "script", "dataLayer", "GTM-PCVC7RSS");
        }

        function scheduleMarketingScripts() {
          if (window.requestIdleCallback) {
            window.requestIdleCallback(loadMarketingScripts, { timeout: 3000 });
          } else {
            window.setTimeout(loadMarketingScripts, 1);
          }
        }

        if (document.readyState === "complete") scheduleMarketingScripts();
        else window.addEventListener("load", scheduleMarketingScripts, { once: true });
      })();
    </script>

    <!-- finix.js is injected when the card form mounts (loadFinixSdk), not on first load.
         Apple Pay JS SDK is injected on demand from loadApplePaySdk (PayWithCard). -->
    <script type="module" crossorigin src="/static/js/index.GezISktV.js"></script>
    <link rel="modulepreload" crossorigin href="/static/js/vendor.Bhhf9zYS.js">
    <link rel="modulepreload" crossorigin href="/static/js/vendor-customerio._bQulISh.js">
    <link rel="modulepreload" crossorigin href="/static/js/vendor-mui.BC6W-pFG.js">
    <link rel="modulepreload" crossorigin href="/static/js/vendor-firebase.o09D2e6q.js">
    <link rel="modulepreload" crossorigin href="/static/js/vendor-sumsub.B4feTNLL.js">
    <link rel="modulepreload" crossorigin href="/static/js/vendor-sentry.DsUQDHcJ.js">
    <link rel="stylesheet" crossorigin href="/static/css/index.CWqIJrx-.css">
  </head>
  <body>
    <!-- Google Tag Manager (noscript) -->
    <noscript
      ><iframe
        src="https://www.googletagmanager.com/ns.html?id=GTM-PCVC7RSS"
        height="0"
        width="0"
        style="display: none; visibility: hidden"
      ></iframe
    ></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <div id="root"></div>
    <div id="tutorial-portal"></div>
  <!-- Cloudflare Pages Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "4e536096f71b4766bfab1d9273c37012"}'></script><!-- Cloudflare Pages Analytics --></body>
</html>
