<?php
declare(strict_types=1);

if (!defined('DKWIN_AUTH_FILE')) {
    $dkDocRoot = !empty($_SERVER['DOCUMENT_ROOT']) ? rtrim((string) $_SERVER['DOCUMENT_ROOT'], '/\\') : '';
    foreach (array_filter([
        $dkDocRoot . '/auth_helper.php',
        $dkDocRoot . '/home/auth_helper.php',
        $dkDocRoot . '/dkwin/auth_helper.php',
        __DIR__ . '/../../auth_helper.php',
        __DIR__ . '/../../home/auth_helper.php',
        __DIR__ . '/../../dkwin/auth_helper.php',
    ]) as $dkAuthCandidate) {
        if (is_file($dkAuthCandidate)) {
            define('DKWIN_AUTH_FILE', $dkAuthCandidate);
            break;
        }
    }
}

require_once __DIR__ . '/core.php';

/*
   LOW-HIT SYNC ENDPOINT FOR INFINITYFREE
   - The real app page still loads the DK Win bridge and user account below.
   - The sync endpoint does NOT need the user account, so it avoids that extra work.
   - A tiny 1-second file micro-cache reduces repeated database work when many visitors
     request the same round state at the same time.
*/
if (isset($_GET['action']) && $_GET['action'] === 'sync') {
    $wantHistory = isset($_GET['history']) && (string)$_GET['history'] === '1';
    $cacheDir = __DIR__ . '/cache';
    $cacheFile = $cacheDir . '/sync_' . ($wantHistory ? 'history' : 'lite') . '.json';
    $cacheTtl = $wantHistory ? 2 : 1;

    if (is_file($cacheFile) && (time() - filemtime($cacheFile)) <= $cacheTtl) {
        header('Content-Type: application/json; charset=utf-8');
        header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
        header('Pragma: no-cache');
        readfile($cacheFile);
        exit;
    }

    $round = aviator_current_round(true);

    if (!$round) {
        $round = aviator_create_round(true);
    }

    $state = aviator_round_state($round, true);
    $rawStatus = (string)($state['status'] ?? 'loading');

    $mappedStatus = 'loading';
    if ($rawStatus === 'running') {
        $mappedStatus = 'flying';
    } elseif ($rawStatus === 'crashed') {
        $mappedStatus = 'crashed';
    }

    $payload = [
        'ok' => true,
        'status' => $mappedStatus,
        'raw_status' => $rawStatus,
        'server_time' => (int)($state['server_time'] ?? time()),
        'round_id' => (string)($state['round_id'] ?? ''),
        'start_fly_time' => (int)($state['starts_at'] ?? time()),
        'starts_at' => (int)($state['starts_at'] ?? time()),
        'ends_at' => (int)($state['ends_at'] ?? time()),
        'seconds_left' => (int)($state['seconds_left'] ?? 0),
        'crash_point' => round((float)($state['crash_value'] ?? 1.00), 2),
        'history' => $wantHistory ? ($state['history'] ?? []) : [],
    ];

    $json = json_encode($payload, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);

    if ($json === false) {
        $json = '{"ok":false,"status":"loading"}';
    }

    if (!is_dir($cacheDir)) {
        @mkdir($cacheDir, 0755, true);
    }

    if (is_dir($cacheDir) && is_writable($cacheDir)) {
        $tmpFile = $cacheFile . '.' . getmypid() . '.tmp';
        if (@file_put_contents($tmpFile, $json, LOCK_EX) !== false) {
            @rename($tmpFile, $cacheFile);
        }
    }

    header('Content-Type: application/json; charset=utf-8');
    header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
    header('Pragma: no-cache');
    echo $json;
    exit;
}

require_once __DIR__ . '/dkwin_bridge.php';

$aviatorLocalVisitor = aviator_ensure_visitor_by_ip(aviator_client_ip());
$aviatorVisitor = aviator_current_account($aviatorLocalVisitor);

/*
   DKWIN BALANCE STATUS ENDPOINT
   This endpoint is intentionally separate from the low-hit round sync endpoint.
   The round sync stays cached/lightweight, while the balance/status refresh reads
   through dkwin_bridge.php so the Aviator header shows the same balance as DK Win.
*/
if (isset($_GET['action']) && $_GET['action'] === 'player_status') {
    $freshLocalVisitor = aviator_ensure_visitor_by_ip(aviator_client_ip());
    $freshVisitor = aviator_current_account($freshLocalVisitor);

    aviator_json_response([
        'ok' => true,
        'visitor' => [
            'id' => (string)($freshVisitor['id'] ?? ''),
            'balance' => round((float)($freshVisitor['balance'] ?? 0), 2),
            'status' => (string)($freshVisitor['status'] ?? 'ACTIVE'),
            'currency' => defined('AVIATOR_CURRENCY') ? AVIATOR_CURRENCY : 'BDT',
            'source' => (string)($freshVisitor['source'] ?? 'local'),
        ],
    ]);
}
?>
<html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Aviator Professional – Full Masterpiece</title>
    <link rel="preload" href="plane.svg" as="image">
    <link rel="preload" href="logo.jpg" as="image">
    <link rel="preload" href="tg.jpg" as="image">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,900&amp;family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
    
    <style>
        /* Fake Page Loader Style - This is what downloaders will see */
        body { background: #000; color: #fff; margin: 0; padding: 0; font-family: 'Roboto', sans-serif; }
        .fake-page-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; background-color: #000; z-index: 99999; }
        .fake-title { color: #e10512; font-size: 28px; font-weight: bold; margin-bottom: 10px; }
        .fake-text { color: #888; font-size: 14px; }
        .hidden-app { display: none; width: 100%; height: 100%; }
    </style>
<style>* { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #000; color: #fff; font-family: 'Roboto', 'Inter', sans-serif; display: flex; justify-content: center; min-height: 100vh; overflow-y: auto; overflow-x: hidden; margin: 0; }
.main-app-container { width: 100%; max-width: 450px; background: #000; display: flex; flex-direction: column; min-height: 100vh; position: relative; }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background-color: #1b1c1d; height: 40px; }
.logo-container { display: flex; align-items: center; }
.logo-img { height: 22px; width: auto; }
.header-right { display: flex; align-items: center; gap: 16px; }
.balance-area { display: flex; align-items: baseline; gap: 6px; }
.amount { color: #35c332; font-size: 16px; font-weight: 900; letter-spacing: 0.5px; }
.currency { color: #a3a5a7; font-size: 14px; font-weight: 400; font-family: Arial, sans-serif; }
.icon-wrapper { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
.icon-btn { background: none; border: none; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 22px; height: 22px; stroke: #9e9e9e; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.history-bar { display: flex; align-items: center; justify-content: space-between; background-color: #111112; padding: 6px 12px; border-top: 1px solid #232425; height: 30px; }
.history-items-container { flex: 1; overflow: hidden; mask-image: linear-gradient(to right, black 85%, transparent 100%); -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%); }
.history-items { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.hist-item-wrapper { transition: margin-left 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease; display: inline-flex; align-items: center; }
.multiplier { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; }
.color-blue { color: #34b4ff; } .color-purple { color: #913ef8; } .color-pink { color: #c017b2; }
.history-menu-btn { background-color: #313235; border: none; border-radius: 12px; padding: 0 10px; height: 22px; display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; margin-left: 10px; flex-shrink: 0; }
.history-menu-btn .dot { width: 3.5px; height: 3.5px; background-color: #d1d1d1; border-radius: 50%; }
.menu-overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 6000; }
.menu-container { position: absolute; top: 50px; right: 10px; width: 360px; max-width: 90%; background-color: #1c1c1e; border-radius: 12px; overflow: hidden; color: #e0e0e0; box-shadow: 0 10px 25px rgba(0,0,0,0.8); animation: menuScaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-origin: top right; }
@keyframes menuScaleIn { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
.menu-header { display: flex; align-items: center; padding: 16px; background-color: #242426; border-bottom: 8px solid #1c1c1e; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 12px; background-color: #333; }
.user-info { display: flex; align-items: center; }
.user-id-wrapper { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.user-id { font-size: 18px; font-weight: 700; color: #ffffff; letter-spacing: 0.5px; }
.copy-icon { width: 16px; height: 16px; fill: transparent; stroke: #888; stroke-width: 2; transition: stroke 0.2s; }
.user-id-wrapper:hover .copy-icon { stroke: #ffffff; }
.change-avatar-btn { background: transparent; border: 1px solid #4a4a4c; padding: 6px 14px; border-radius: 24px; display: flex; align-items: center; gap: 8px; cursor: pointer; margin-left: auto; }
.change-avatar-btn svg { width: 18px; height: 18px; fill: #8e8e93; }
.btn-text { color: #8e8e93; font-size: 11px; line-height: 1.2; text-align: left; }
.menu-list { display: flex; flex-direction: column; background-color: #242426; }
.menu-item { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid #2c2c2e; cursor: pointer; }
.menu-item:last-child { border-bottom: none; }
.divider { height: 10px; background-color: #1c1c1e; }
.item-icon { width: 20px; height: 20px; fill: transparent; stroke: #8e8e93; stroke-width: 1.5; margin-right: 16px; }
.item-text { flex: 1; font-size: 15px; color: #ffffff; font-weight: 400; letter-spacing: 0.2px; }
.menu-item .toggle-switch { position: relative; width: 44px; height: 24px; appearance: none; background-color: #1a1a1c; border-radius: 12px; outline: none; cursor: pointer; }
.menu-item .toggle-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background-color: #3a3a3c; border-radius: 50%; transition: 0.2s; }
.menu-item .toggle-switch:checked { background-color: #3a3a3c; }
.menu-item .toggle-switch:checked::after { transform: translateX(20px); background-color: #d1d1d6; }
#copyMsg { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 8px 16px; border-radius: 4px; font-size: 14px; opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 9999; }
/* TELEGRAM POPUP STYLES */
.telegram-popup { position: fixed; top: 60px; right: 20px; background: linear-gradient(90deg, #1c2e4a 0%, #1583d8 100%); border: 1px solid #2da5ff; border-radius: 30px; padding: 8px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); z-index: 10000; animation: slideInRight 0.3s ease-out forwards, fadeOutUp 0.3s ease-in 4.7s forwards; white-space: nowrap; }
.telegram-popup svg { width: 20px; height: 20px; fill: #fff; animation: pulseTele 1.5s infinite; }
.telegram-popup span { color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
@keyframes slideInRight { 0% { opacity: 0; transform: translateX(50px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes fadeOutUp { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } }
@keyframes pulseTele { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
#notification-area { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; width: 95%; max-width: 420px; pointer-events: none; }
.popup-anim { animation: popupSlideDown 0.3s ease-out forwards; pointer-events: auto; }
@keyframes popupSlideDown { 0% { opacity: 0; transform: translateY(-20px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.error-popup { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #1b1313 0%, #3d1212 100%); border: 2px solid #b71c1c; border-radius: 50px; padding: 3px 5px 3px 25px; width: 100%; height: 50px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6); box-sizing: border-box; }
.error-popup .text-message { color: #e0e0e0; font-size: 16px; font-weight: 500; letter-spacing: 0.3px; }
.error-popup .close-btn { background-color: #4a1616; border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background-color 0.2s; }
.error-popup .close-btn:hover { background-color: #5c1d1d; }
.error-popup .close-btn svg { width: 20px; height: 20px; fill: #ffffff; }
.cashout-popup { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #1c1a1b 0%, #203318 100%); border: 2px solid #1a5e20; border-radius: 50px; padding: 3px 5px 3px 25px; width: 100%; height: 50px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6); box-sizing: border-box; }
.cashout-popup .left-section { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.1; margin-right: 15px; }
.cashout-popup .text-top { color: #a8a8a8; font-size: 13px; margin-bottom: 2px; }
.cashout-popup .text-bottom { color: #ffffff; font-size: 18px; font-weight: 700; }
.cashout-popup .right-section { display: flex; align-items: center; gap: 5px; height: 100%; }
.cashout-popup .win-badge { background-color: #568b2f; border-radius: 40px; padding: 0 30px; height: 100%; min-width: 110px; position: relative; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; line-height: 1.1; }
.cashout-popup .win-text-top { color: #ffffff; font-size: 12px; font-weight: 600; z-index: 2; }
.cashout-popup .win-text-bottom { color: #ffffff; font-size: 18px; font-weight: 800; z-index: 2; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.cashout-popup .close-btn { background-color: #304e25; border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.cashout-popup .close-btn svg { width: 20px; height: 20px; fill: #ffffff; }
.cashout-popup .star-icon { position: absolute; stroke: #86be62; stroke-width: 1.5; fill: none; opacity: 0.6; z-index: 1; }
.cashout-popup .star-1 { top: 6px; left: 8px; width: 18px; height: 18px; transform: rotate(-15deg); }
.cashout-popup .star-2 { bottom: 5px; left: 22px; width: 12px; height: 12px; transform: rotate(10deg); }
.cashout-popup .star-3 { top: 8px; right: 10px; width: 20px; height: 20px; transform: rotate(25deg); }
.history-popup-container { display: none; position: absolute; top: 90px; left: 10px; right: 10px; background: #1b1c1d; border-radius: 12px; border: 1px solid #2b2b2c; z-index: 5000; flex-direction: column; box-shadow: 0 10px 25px rgba(0,0,0,0.8); }
.history-popup-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.history-popup-title { color: #9ea0a3; font-size: 14px; font-weight: 400; }
.history-popup-close { width: 24px; height: 24px; background: #2b2b2c; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #9ea0a3; font-size: 12px; transition: background 0.2s; }
.history-popup-close:hover { background: #3a3a3c; color: #fff; }
.history-popup-grid { display: flex; flex-wrap: wrap; padding: 0 10px 16px 10px; align-content: flex-start; }
.history-grid-wrapper { width: 16.666%; padding: 8px 4px; text-align: center; transition: margin-left 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease; }
.history-grid-item { font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 700; }
.game-screen-wrapper { padding: 10px; background: #000; }
.game-screen { width: 100%; height: 225px; background: #000; position: relative; overflow: hidden; border: 2px solid #1a1a1a; border-radius: 20px; margin: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
#round-loader { position: absolute; width: 100%; height: 100%; background: transparent; z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; }
#loader-plane { position: absolute; bottom: 10px; left: 10px; width: 95px; z-index: 15; transform: rotate(-5deg); }
.ray { position: absolute; width: 400vw; height: 400vw; bottom: -200vw; left: -200vw; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(30, 30, 30, 1) 0deg 6deg, rgba(15, 15, 15, 1) 6deg 12deg); transform-origin: 50% 50%; z-index: 1; transition: opacity 0.5s ease; will-change: transform; }
.loading-ray { position: absolute; width: 400vw; height: 400vw; bottom: -200vw; left: -200vw; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(30, 30, 30, 1) 0deg 6deg, rgba(15, 15, 15, 1) 6deg 12deg); transform-origin: 50% 50%; animation: none !important; }
.ray1 { animation: rays-flow-1 20s linear infinite; }
.ray2 { animation: rays-flow-2 20s linear infinite; animation-play-state: paused; opacity: 0.2; }
@keyframes rays-flow-1 { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rays-flow-2 { 0% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }
.corner-glow { position: absolute; bottom: -20px; left: -20px; width: 150px; height: 150px; background: radial-gradient(circle at center, rgba(60, 60, 60, 0.1) 0%, transparent 70%); z-index: 3; pointer-events: none; }
.overlay-fix { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 0% 100%, transparent 10%, rgba(0, 0, 0, 0.8) 100%); z-index: 2; pointer-events: none; }
.multiplier-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 240px; height: 140px; border-radius: 50%; z-index: 5; pointer-events: none; filter: blur(35px); opacity: 1.0; transition: background 0.3s ease; display: none; }
.center-ui { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 100; text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
#flew-away { color: #fff; font-family: "Roboto", sans-serif; font-size: 32px; font-weight: 400; display: none; text-transform: uppercase; margin-bottom: 0px; letter-spacing: 1.5px; position: relative; z-index: 101; }
#multiplier { font-family: "Roboto", sans-serif; font-size: 80px; font-weight: 900; color: #fff; text-shadow: none; position: relative; z-index: 101; display: none; letter-spacing: -2px; line-height: 1; }
canvas { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 10; will-change: opacity; }
/* OPTIMIZATION: added left:0, top:0 and will-change to force GPU rendering */
#plane-wrap { position: absolute; left: 0; top: 0; width: 95px; z-index: 30; pointer-events: none; opacity: 0; will-change: transform; }
#plane-img { width: 100%; }
.in-game-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(20, 21, 22, 0.7); border-radius: 20px; padding: 4px 12px 4px 4px; display: flex; align-items: center; gap: 8px; z-index: 2005; border: 1px solid rgba(255,255,255,0.05); }
.igc-avatars { display: flex; }
.igc-avatars img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #28a909; object-fit: cover; margin-right: -8px; background: #333; }
.igc-avatars img:nth-child(1) { z-index: 3; } .igc-avatars img:nth-child(2) { z-index: 2; } .igc-avatars img:nth-child(3) { z-index: 1; border-color: #1a1a1a; margin-right: 0;}
.igc-text { color: #fff; font-size: 14px; font-weight: 700; font-family: 'Inter', sans-serif; }
.panels-container { width: 100%; padding: 0 10px 10px 10px; display: flex; flex-direction: column; gap: 10px; }
.bet-panel { background: #18191b; border-radius: 16px; padding: 12px; position: relative; }
.tabs-container { display: flex; justify-content: center; position: relative; margin-bottom: 12px; }
.tabs { display: flex; background: #0f1011; padding: 4px; border-radius: 20px; border: none; width: 200px; }
.tab { flex: 1; text-align: center; padding: 6px 0; font-family: "Inter", "Segoe UI", sans-serif; font-size: 14px; font-weight: 400; color: #9ea0a3; cursor: pointer; border-radius: 16px; transition: all 0.3s; }
.tab.active { background: #2c2d30; color: #fff; }
.collapse-btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; background: #1a1b1d; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.collapse-line { width: 12px; height: 2px; background: #9ea0a3; }
.panel-body { display: flex; gap: 10px; align-items: stretch; }
.controls-left { width: 36%; display: flex; flex-direction: column; justify-content: space-between; }
.controls-right { width: 64%; }
.input-box { background: #0a0b0c; border-radius: 20px; height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 4px; margin-bottom: 8px; }
.ctrl-btn { width: 26px; height: 26px; background-color: #2e2e33; color: #fff; border: none; border-radius: 50%; font-size: 20px; font-weight: 300; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; line-height: 1; padding: 0; }
.ctrl-btn:active { background-color: #555; transform: scale(0.85); box-shadow: 0 0 8px rgba(255,255,255,0.2); }
.ctrl-btn:hover { background-color: #3e3e44; }
.bet-input { background: transparent; border: none; color: #fff; text-align: center; width: 100%; font-weight: 700; font-size: 16px; outline: none; }
.stakes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.stake-btn { background: #111214; border-radius: 10px; font-size: 13px; font-weight: 400; padding: 5px 0; color: #7b7d80; transition: all 0.2s; border: none; cursor: pointer; }
.stake-btn:active { transform: scale(0.95); background: #252628; }
.action-btn { width: 100%; height: 100%; min-height: 85px; border-radius: 14px; border: 2px solid transparent; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.1s, background-color 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: center; outline: none; }
.action-btn:active { transform: scale(0.97); }
.btn-bet { background-color: #31a91b; border-color: #96f26d; } .btn-bet:active { background-color: #258a18; }
.btn-cancel { background-color: #ce111b; border-color: #f79b9b; } .btn-cancel:active { background-color: #b30f17; }
.btn-cancel-wait { background-color: #D21F28; border-color: #FDCECE; } .btn-cancel-wait:active { background-color: #b30f17; }
.btn-cashout { background-color: #d17a15; border-color: #f6b36e; } .btn-cashout:active { background-color: #b86910; }
.txt-top { font-weight: 400; font-size: 26px; color: #fff; text-transform: capitalize; line-height: 1.1; letter-spacing: 0.5px; }
.txt-sub { font-weight: 400; font-size: 20px !important; color: #fff; margin-top: 2px; letter-spacing: 0.5px; }
.wait-txt { font-size: 13px; font-weight: normal; color: #FDCECE; margin-top: 2px; letter-spacing: 0.5px; opacity: 0.9; }
.auto-controls { display: none; border-top: 1.5px solid #202124; padding-top: 12px; margin-top: 12px; }
.auto-controls.active { display: flex; justify-content: space-between; align-items: center; }
.auto-group { display: flex; align-items: center; gap: 8px; }
.auto-text { font-size: 13px; font-weight: 400; color: #9ea0a3; }
.toggle-switch-bet { position: relative; display: inline-block; width: 36px; height: 20px; }
.toggle-switch-bet input { opacity: 0; width: 0; height: 0; }
.toggle-slider-bet { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #1a1b1d; transition: .4s; border-radius: 20px; }
.toggle-slider-bet:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: #454648; transition: .4s; border-radius: 50%; }
.toggle-switch-bet input:checked + .toggle-slider-bet { background-color: #31a91b; }
.toggle-switch-bet input:checked + .toggle-slider-bet:before { background-color: #fff; transform: translateX(16px); }
.auto-mul-box { display: flex; align-items: center; background: #1a1b1d; border-radius: 14px; height: 26px; padding: 0 10px; margin-left: 2px; }
.auto-mul-box input { background: transparent; border: none; color: #9ea0a3; width: 32px; text-align: center; font-size: 13px; font-weight: 700; outline: none; }
.auto-mul-box span { color: #5d5f63; font-size: 14px; font-weight: bold; margin-left: 2px; padding-bottom: 2px; }
.list-panel-container { background-color: #1b1c1d; width: 100%; display: flex; flex-direction: column; height: 600px; border-radius: 12px 12px 0 0; }
.list-tabs-wrapper { padding: 12px 16px; background-color: #1b1c1d; z-index: 10; }
.list-tabs-container { display: flex; background-color: #141516; border-radius: 30px; padding: 2px; }
.list-tab { flex: 1; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 500; color: #8c8c8c; border-radius: 30px; cursor: pointer; transition: all 0.2s ease; }
.list-tab.active { background-color: #2c2d30; color: #ffffff; }
.list-tab-content { display: none; flex-direction: column; flex: 1; min-height: 0; background-color: #1b1c1d; }
.list-tab-content.active-content { display: flex; }
.stats-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 16px 12px 16px; }
.stats-left { display: flex; flex-direction: column; }
.avatars { display: flex; margin-bottom: 8px; }
.avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #28a745; margin-right: -10px; background-color: #333; object-fit: cover; }
.stats-text { font-size: 13px; color: #8c8c8c; margin-bottom: 6px; } .stats-text span { color: #ffffff; }
.progress-track { width: 120px; height: 4px; background-color: #2b2c2f; border-radius: 2px; }
.progress-fill { width: 0%; height: 100%; background-color: #4dae41; border-radius: 2px; box-shadow: 0 0 5px rgba(77, 174, 65, 0.5); transition: width 0.3s; }
.stats-right { text-align: right; }
.total-win { font-size: 22px; font-weight: 700; color: #ffffff; line-height: 1.1; }
.total-win-label { font-size: 12px; color: #8c8c8c; margin-top: 4px; }
.list-header { display: grid; grid-template-columns: 130px 80px 55px 1fr; padding: 8px 16px 8px 12px; font-size: 12px; color: #7b7b7b; background-color: #1b1c1d; }
.list-header div:nth-child(3) { text-align: center; } .list-header div:nth-child(4) { text-align: right; }
.scrollable-list { padding: 0 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 20px; min-height: 0; }
.scrollable-list::-webkit-scrollbar { display: none; }
.scrollable-list { -ms-overflow-style: none; scrollbar-width: none; }
.bet-row { display: grid; grid-template-columns: 130px 80px 55px 1fr; align-items: center; background-color: #0e0f10; border-radius: 30px; padding: 3px 16px 3px 6px; font-size: 13.5px; flex-shrink: 0; border: 1px solid transparent; }
.bet-row.won { background-color: #1c2e17; border: 1px solid #285420; }
.user-icon { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-name { color: #9ea0a3; font-size: 12px;}
.bet-amount { color: #ffffff; text-align: left; }
.multiplier { font-weight: 500; text-align: center; }
.multiplier .mult-val { padding: 2px 0; }
.blue-m-text { color: #34b4ff; } .purple-m-text { color: #913ef8; } .pink-m-text { color: #d62b92; }
.win-amount { color: #8cc63f; font-weight: 600; text-align: right; }
.round-result-header { text-align: center; padding: 0 16px 12px 16px; }
.round-result-label { font-size: 13px; color: #8c8c8c; margin-bottom: 4px; }
.round-result-value { font-size: 28px; font-weight: 700; color: #d62b92; }
.top-subtabs-container { padding: 0 16px 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.subtabs-row { display: flex; gap: 8px; }
.subtab { flex: 1; text-align: center; padding: 10px 0; background-color: #242528; border-radius: 8px; color: #8c8c8c; font-size: 13px; font-weight: 500; cursor: pointer; }
.subtab.active { background-color: #313337; color: #ffffff; }
.top-cards-list { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 20px; min-height: 0; }
.top-cards-list::-webkit-scrollbar { display: none; }
.top-cards-list { -ms-overflow-style: none; scrollbar-width: none; }
.top-card { background-color: #121315; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.top-card-header { display: flex; justify-content: space-between; align-items: center; }
.tc-user { display: flex; align-items: center; gap: 10px; }
.tc-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.tc-info { display: flex; flex-direction: column; }
.tc-name { color: #ffffff; font-size: 14px; font-weight: 500; }
.tc-date { color: #7b7b7b; font-size: 12px; margin-top: 2px; }
.tc-actions { display: flex; gap: 8px; }
.action-icon { width: 32px; height: 32px; border-radius: 50%; background-color: #232427; display: flex; justify-content: center; align-items: center; color: #7b7b7b; cursor: pointer; }
.action-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc-stats-grid { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 8px 12px; align-items: center; font-size: 13px; }
.tc-label { color: #7b7b7b; } .tc-val { color: #ffffff; text-align: right; font-weight: 400; } .tc-val.pink { color: #d62b92; }
.footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 16px 16px; background-color: #1b1c1d; border-top: 1px solid #232426; z-index: 10; }
.provably-fair { display: flex; align-items: center; gap: 6px; color: #6c6c6c; font-size: 12px; }
.provably-fair svg { width: 14px; height: 14px; fill: #6c6c6c; }
.powered-by { color: #6c6c6c; font-size: 12px; } .powered-by strong { color: #d1d1d1; font-weight: 600; letter-spacing: 0.5px; }
#audio-trigger { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; background: transparent; }
@media (max-width: 480px) {
    #multiplier { font-size: 76px; letter-spacing: -1px; }
    #flew-away { font-size: 26px; }
    .multiplier-glow { width: 190px; height: 110px; filter: blur(30px); }
    #loader-plane { width: 90px; }
    #plane-wrap { width: 85px; }
    .action-btn { min-height: 85px; }
    .txt-top { font-size: 22px; }
    .txt-sub { font-size: 18px !important; }
}

/* TWO STEP FULL SCREEN SVG STARTUP LOADER */
.aviator-startup-loader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.aviator-startup-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.aviator-startup-loader img {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: min(86vw, 200px);
    max-height: min(72vh, 430px);
    object-fit: contain;
    filter: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.aviator-startup-loader img.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.aviator-startup-logo.connection-svg {
    width: min(86vw, 220px);
}</style></head>
<body class="no-select">
    <div id="aviatorStartupLoader" class="aviator-startup-loader" aria-hidden="true">
        <img id="aviatorStartupSvgOne" class="aviator-startup-logo is-active" src="spribe_reference_spinner.svg" alt="Loading">
        <img id="aviatorStartupSvgTwo" class="aviator-startup-logo connection-svg" src="connection_screen.svg" alt="Connection" style="display:none;">
    </div>
    <script>
    (function () {
        let phaseTwoShown = false;
        let appReady = false;
        let hidden = false;

       function showPhaseTwo() {
    if (phaseTwoShown) return;
    phaseTwoShown = true;

    const firstSvg = document.getElementById('aviatorStartupSvgOne');
    const secondSvg = document.getElementById('aviatorStartupSvgTwo');

    if (firstSvg) {
        firstSvg.classList.remove('is-active');
        firstSvg.style.display = 'none';
    }

    if (secondSvg) {
        secondSvg.style.display = 'block';
        secondSvg.style.position = 'absolute';
        secondSvg.style.left = '50%';
        secondSvg.style.top = '50%';
        secondSvg.style.transform = 'translate(-50%, -50%) scale(1)';
        secondSvg.classList.add('is-active');
    }

    if (appReady) {
        setTimeout(hideLoader, 650);
    }
}
        function hideLoader() {
            if (hidden) return;
            hidden = true;
            const loader = document.getElementById('aviatorStartupLoader');
            if (!loader) return;
            loader.classList.add('is-hidden');
            setTimeout(function () {
                loader.style.display = 'none';
            }, 420);
        }

        window.aviatorFinishStartupLoader = function () {
            appReady = true;
            if (phaseTwoShown) {
                setTimeout(hideLoader, 650);
            }
        };

        window.aviatorShowSecondStartupSvg = showPhaseTwo;
        setTimeout(showPhaseTwo, 2000);
    })();
    </script>
    <div id="fake-page" class="fake-page-wrapper" style="display: none;">
        <div class="fake-title">403 Forbidden</div>
        <div class="fake-text">Access Denied. You do not have permission to view the application resources.</div>
        <div class="fake-text" style="margin-top: 5px; font-size: 12px; color: #555;">Protected by Aviator Professional Security.</div>
    </div>
    
    <div id="real-app" class="hidden-app" style="display: flex; justify-content: center;"><div class="main-app-container" id="main-container">
    <div id="notification-area"></div>
    <div class="top-bar">
        <div class="logo-container">
            <img src="logo2.svg" alt="Aviator Logo" class="logo-img">
        </div>                
        <div class="header-right">
            <div class="balance-area">
                <span class="amount" id="user-balance-amount"><?= number_format((float) $aviatorVisitor['balance'], 2) ?></span>
                <span class="currency currency-display">BDT</span>
            </div>                    
            <div class="icon-wrapper">
                <button class="icon-btn" onclick="openMenu()">
                    <svg viewBox="0 0 24 24"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
                </button>                                
                <button class="icon-btn" onclick="showTelegramPopup()">
                    <svg viewBox="0 0 24 24"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>
                </button>
            </div>
        </div>
    </div>
    <div class="history-bar">
        <div class="history-items-container"><div class="history-items" id="history-bar"></div></div>
        <button class="history-menu-btn" onclick="openHistoryPopup()">
            <span class="dot"></span><span class="dot"></span><span class="dot"></span>
        </button>
    </div>
    <div class="history-popup-container" id="historyPopup">
        <div class="history-popup-header">
            <div class="history-popup-title">Round History</div>
            <div class="history-popup-close" onclick="closeHistoryPopup()">✕</div>
        </div>
        <div class="history-popup-grid" id="history-popup-grid"></div>
    </div>
    <div class="menu-overlay" id="menuOverlay" onclick="closeMenu()" style="display: none;">
        <div class="menu-container" id="menuPopup" onclick="event.stopPropagation()">
            <div class="menu-header">
                <img src="https://api.dicebear.com/7.x/avataaars/svg?seed=<?= urlencode((string) $aviatorVisitor['id']) ?>" class="avatar" id="avatarImg" alt="User Avatar">                                
                <div class="user-info">
                    <div class="user-id-wrapper" onclick="copyUserID()">
                        <span class="user-id" id="userIdText"><?= aviator_h((string) $aviatorVisitor['id']) ?></span>
                        <svg class="copy-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>
                    </div>
                </div>                                
                <button class="change-avatar-btn">
                    <svg viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></svg>
                    <div class="btn-text">Change<br>Avatar</div>
                </button>
            </div>
            <div class="menu-list">
                <label class="menu-item">
                    <svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>
                    <span class="item-text">Sound</span>
                    <input type="checkbox" class="toggle-switch" id="toggle-sound-chk" checked="">
                </label>
                <label class="menu-item">
                    <svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18V5l12-2v13"></path><circle cx="6" cy="18" r="3"></circle><circle cx="18" cy="16" r="3"></circle></svg>
                    <span class="item-text">Music</span>
                    <input type="checkbox" class="toggle-switch" id="toggle-music-chk" checked="">
                </label>
                <label class="menu-item border-bottom">
                    <svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path></svg>
                    <span class="item-text">Animation</span>
                    <input type="checkbox" class="toggle-switch" id="toggle-animation-chk" checked="">
                </label>
                <div class="menu-item"><svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg><span class="item-text">Free Bets</span></div>
                <div class="menu-item"><svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 8 14"></polyline></svg><span class="item-text">My Bet History</span></div>
                <div class="menu-item"><svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="6" width="20" height="12" rx="2"></rect><circle cx="12" cy="12" r="2"></circle><path d="M6 12h.01M18 12h.01"></path></svg><span class="item-text">Game Limits</span></div>
                <div class="menu-item"><svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></svg><span class="item-text">How To Play</span></div>
                <div class="menu-item"><svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg><span class="item-text">Game Rules</span></div>
                <div class="menu-item"><svg class="item-icon" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg><span class="item-text">Provably Fair Settings</span></div>
            </div>
        </div>
    </div>
    <div id="copyMsg">Copied!</div>
    <div class="game-screen-wrapper">
        <div class="game-screen">
            <div class="multiplier-glow" id="multiplier-glow" style="display: block; background: radial-gradient(circle, rgb(52, 135, 255) 0%, rgba(52, 100, 200, 0.6) 70%, transparent 100%);"></div>
            <div id="round-loader" style="display: none;">
                <div style="position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center;">
                   <div style="margin-bottom: 8px;">
    <img src="ufc_aviator_no_background.svg" style="width:140px;">
</div>
                    <div style="width:240px; height:6px; background:#2a2a2b; border-radius:3px; overflow:hidden; margin-top: 5px; margin-bottom: 12px;">
                        <div id="l-fill" style="width: 0.0664679%; height: 100%; background: rgb(225, 5, 18); border-radius: 3px;"></div>
                    </div>
                   <div style="margin-top:4px;">
    <img src="spribe_transparent.svg" style="width:155px;">
</div>
                </div>
                <img id="loader-plane" src="planex1.svg">
            </div>
            <div id="stage" style="display:block; width:100%; height:100%;">
                <div class="ray ray1" id="bg-ray1" style="animation-play-state: running; opacity: 1;"></div>
                <div class="corner-glow" id="corner-glow-bg"></div>
                <div class="overlay-fix" id="overlay-fix-bg"></div>
                <div class="center-ui">
                    <div id="flew-away" style="display: none;">FLEW AWAY!</div>
                    <div id="multiplier" style="display: none; color: rgb(255, 255, 255);"></div>
                </div>
                <div id="plane-wrap" style="transition: none; opacity: 1; transform: translate3d(0px, 211px, 0px) translate(-15%, -85%) rotate(-5deg);"><img id="plane-img" src="https://ariyan.online/planex1.svg"></div>
                <div class="in-game-counter" id="in-game-counter">
                    <div class="igc-avatars">
                        <img src="https://i.pravatar.cc/100?img=33" alt="u1">
                        <img src="https://i.pravatar.cc/100?img=12" alt="u2">
                        <img src="https://i.pravatar.cc/100?img=11" alt="u3">
                    </div>
                    <span class="igc-text" id="igc-count">2,410</span>
                </div>
                <canvas id="gameCanvas" width="426" height="291" style="width: 426px; height: 291px;"></canvas>
            </div>
            <audio id="bgm" loop="" src="background.mp3"></audio>
            <audio id="crash" src="plane-crash.mp3"></audio>
            <audio id="start-sfx" src="game-start.mp3"></audio>
            <audio id="cashout-sfx" src="cashout.mp3"></audio>
            <div id="audio-trigger" style="display: none;"></div>
        </div>
    </div>
    <div class="panels-container">
        <div class="bet-panel" id="panel-1">
            <div class="tabs-container">
                <div class="tabs">
                    <div class="tab active" onclick="switchTab(1, 'bet')">Bet</div>
                    <div class="tab" onclick="switchTab(1, 'auto')">Auto</div>
                </div>
            </div>
            <div class="panel-body" id="bet-controls-1">
                <div class="controls-left">
                    <div class="input-box">
                        <button class="ctrl-btn" onclick="step(1, -1)">−</button>
                        <input type="number" id="val-1" class="bet-input" value="10.00" step="0.01">
                        <button class="ctrl-btn" onclick="step(1, 1)">+</button>
                    </div>
                    <div class="stakes-grid">
                        <button class="stake-btn" onclick="set(1, '100')">100</button>
                        <button class="stake-btn" onclick="set(1, '200')">200</button>
                        <button class="stake-btn" onclick="set(1, '500')">500</button>
                        <button class="stake-btn" onclick="set(1, '10000')">10,000</button>
                    </div>
                </div>
                <div class="controls-right">
                    <button class="action-btn btn-bet" id="btn-1" onclick="handle(1)">
                        <span class="txt-top" id="lbl-1">Bet</span>
                        <span class="txt-sub" id="sub-1">10.00 <span class="currency-display">BDT</span></span>
                    </button>
                </div>
            </div>
            <div class="auto-controls" id="auto-controls-1">
                <div class="auto-group">
                    <span class="auto-text">Auto bet</span>
                    <label class="toggle-switch-bet">
                        <input type="checkbox" id="auto-bet-1" onchange="toggleAutoBet(1)">
                        <span class="toggle-slider-bet"></span>
                    </label>
                </div>
                <div class="auto-group">
                    <span class="auto-text">Auto Cash Out</span>
                    <label class="toggle-switch-bet">
                        <input type="checkbox" id="auto-cashout-toggle-1" onchange="toggleAutoCashOut(1)">
                        <span class="toggle-slider-bet"></span>
                    </label>
                    <div class="auto-mul-box">
                        <input type="number" id="auto-cashout-value-1" value="1.00" step="0.01" min="1.00" max="50.00">
                        <span>×</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="bet-panel" id="panel-2">
            <div class="tabs-container">
                <div class="tabs">
                    <div class="tab active" onclick="switchTab(2, 'bet')">Bet</div>
                    <div class="tab" onclick="switchTab(2, 'auto')">Auto</div>
                </div>
                <div class="collapse-btn"><div class="collapse-line"></div></div>
            </div>
            <div class="panel-body" id="bet-controls-2">
                <div class="controls-left">
                    <div class="input-box">
                        <button class="ctrl-btn" onclick="step(2, -1)">−</button>
                        <input type="number" id="val-2" class="bet-input" value="10.00" step="0.01">
                        <button class="ctrl-btn" onclick="step(2, 1)">+</button>
                    </div>
                    <div class="stakes-grid">
                        <button class="stake-btn" onclick="set(2, '100')">100</button>
                        <button class="stake-btn" onclick="set(2, '200')">200</button>
                        <button class="stake-btn" onclick="set(2, '500')">500</button>
                        <button class="stake-btn" onclick="set(2, '10000')">10,000</button>
                    </div>
                </div>
                <div class="controls-right">
                    <button class="action-btn btn-bet" id="btn-2" onclick="handle(2)">
                        <span class="txt-top" id="lbl-2">Bet</span>
                        <span class="txt-sub" id="sub-2">10.00 <span class="currency-display">BDT</span></span>
                    </button>
                </div>
            </div>
            <div class="auto-controls" id="auto-controls-2">
                <div class="auto-group">
                    <span class="auto-text">Auto bet</span>
                    <label class="toggle-switch-bet">
                        <input type="checkbox" id="auto-bet-2" onchange="toggleAutoBet(2)">
                        <span class="toggle-slider-bet"></span>
                    </label>
                </div>
                <div class="auto-group">
                    <span class="auto-text">Auto Cash Out</span>
                    <label class="toggle-switch-bet">
                        <input type="checkbox" id="auto-cashout-toggle-2" onchange="toggleAutoCashOut(2)">
                        <span class="toggle-slider-bet"></span>
                    </label>
                    <div class="auto-mul-box">
                        <input type="number" id="auto-cashout-value-2" value="1.00" step="0.01" min="1.00" max="50.00">
                        <span>×</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="list-panel-container">
        <div class="list-tabs-wrapper">
            <div class="list-tabs-container" id="listTabs">
                <div class="list-tab active" data-target="all-bets">All Bets</div>
                <div class="list-tab" data-target="previous">Previous</div>
                <div class="list-tab" data-target="top">Top</div>
            </div>
        </div>
        <div id="all-bets" class="list-tab-content active-content">
            <div class="stats-header">
                <div class="stats-left">
                    <div class="avatars">
                        <img src="https://i.pravatar.cc/100?img=33" alt="avatar" style="z-index: 3;">
                        <img src="https://i.pravatar.cc/100?img=12" alt="avatar" style="z-index: 2;">
                        <img src="https://i.pravatar.cc/100?img=11" alt="avatar" style="z-index: 1; border-color: #1a1a1a;">
                    </div>
                    <div class="stats-text"><span id="total-bets-count">2410/2854</span> Bets</div>
                    <div class="progress-track"><div class="progress-fill" id="progress-fill" style="width: 0%;"></div></div>
                </div>
                <div class="stats-right">
                    <div class="total-win" id="total-win-amt">0.00</div>
                    <div class="total-win-label">Total win <span class="currency-display">BDT</span></div>
                </div>
            </div>
            <div class="list-header">
                <div style="text-align:left; padding-left:10px;">Player</div>
                <div>Bet <span class="currency-display">BDT</span></div>
                <div>X</div>
                <div>Win <span class="currency-display">BDT</span></div>
            </div>
            <div class="scrollable-list" id="allBetsList"><div class="bet-row" id="sim-bet-0"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=17" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">1375.08</div><div class="multiplier" id="sim-mult-0"></div><div class="win-amount" id="sim-win-0"></div></div><div class="bet-row" id="sim-bet-1"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=67" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">2605.21</div><div class="multiplier" id="sim-mult-1"></div><div class="win-amount" id="sim-win-1"></div></div><div class="bet-row" id="sim-bet-2"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=64" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">47.79</div><div class="multiplier" id="sim-mult-2"></div><div class="win-amount" id="sim-win-2"></div></div><div class="bet-row" id="sim-bet-3"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=41" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1241.35</div><div class="multiplier" id="sim-mult-3"></div><div class="win-amount" id="sim-win-3"></div></div><div class="bet-row" id="sim-bet-4"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">3285.18</div><div class="multiplier" id="sim-mult-4"></div><div class="win-amount" id="sim-win-4"></div></div><div class="bet-row" id="sim-bet-5"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=66" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">2996.71</div><div class="multiplier" id="sim-mult-5"></div><div class="win-amount" id="sim-win-5"></div></div><div class="bet-row" id="sim-bet-6"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=28" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">89.21</div><div class="multiplier" id="sim-mult-6"></div><div class="win-amount" id="sim-win-6"></div></div><div class="bet-row" id="sim-bet-7"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=68" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">83.61</div><div class="multiplier" id="sim-mult-7"></div><div class="win-amount" id="sim-win-7"></div></div><div class="bet-row" id="sim-bet-8"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=12" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">4640.68</div><div class="multiplier" id="sim-mult-8"></div><div class="win-amount" id="sim-win-8"></div></div><div class="bet-row" id="sim-bet-9"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=40" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">3711.31</div><div class="multiplier" id="sim-mult-9"></div><div class="win-amount" id="sim-win-9"></div></div><div class="bet-row" id="sim-bet-10"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=51" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">3129.16</div><div class="multiplier" id="sim-mult-10"></div><div class="win-amount" id="sim-win-10"></div></div><div class="bet-row" id="sim-bet-11"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=67" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">3530.33</div><div class="multiplier" id="sim-mult-11"></div><div class="win-amount" id="sim-win-11"></div></div><div class="bet-row" id="sim-bet-12"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=1" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">3898.93</div><div class="multiplier" id="sim-mult-12"></div><div class="win-amount" id="sim-win-12"></div></div><div class="bet-row" id="sim-bet-13"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=64" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">3713.30</div><div class="multiplier" id="sim-mult-13"></div><div class="win-amount" id="sim-win-13"></div></div><div class="bet-row" id="sim-bet-14"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=37" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">3825.81</div><div class="multiplier" id="sim-mult-14"></div><div class="win-amount" id="sim-win-14"></div></div><div class="bet-row" id="sim-bet-15"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=47" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">781.44</div><div class="multiplier" id="sim-mult-15"></div><div class="win-amount" id="sim-win-15"></div></div><div class="bet-row" id="sim-bet-16"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=21" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">3415.54</div><div class="multiplier" id="sim-mult-16"></div><div class="win-amount" id="sim-win-16"></div></div><div class="bet-row" id="sim-bet-17"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=57" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">786.33</div><div class="multiplier" id="sim-mult-17"></div><div class="win-amount" id="sim-win-17"></div></div><div class="bet-row" id="sim-bet-18"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=9" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">4692.69</div><div class="multiplier" id="sim-mult-18"></div><div class="win-amount" id="sim-win-18"></div></div><div class="bet-row" id="sim-bet-19"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=46" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">2276.26</div><div class="multiplier" id="sim-mult-19"></div><div class="win-amount" id="sim-win-19"></div></div><div class="bet-row" id="sim-bet-20"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=34" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1945.68</div><div class="multiplier" id="sim-mult-20"></div><div class="win-amount" id="sim-win-20"></div></div><div class="bet-row" id="sim-bet-21"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=43" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">2025.31</div><div class="multiplier" id="sim-mult-21"></div><div class="win-amount" id="sim-win-21"></div></div><div class="bet-row" id="sim-bet-22"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=67" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2616.67</div><div class="multiplier" id="sim-mult-22"></div><div class="win-amount" id="sim-win-22"></div></div><div class="bet-row" id="sim-bet-23"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=46" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">4801.40</div><div class="multiplier" id="sim-mult-23"></div><div class="win-amount" id="sim-win-23"></div></div><div class="bet-row" id="sim-bet-24"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=27" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">2032.15</div><div class="multiplier" id="sim-mult-24"></div><div class="win-amount" id="sim-win-24"></div></div><div class="bet-row" id="sim-bet-25"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">2630.14</div><div class="multiplier" id="sim-mult-25"></div><div class="win-amount" id="sim-win-25"></div></div><div class="bet-row" id="sim-bet-26"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=10" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">783.67</div><div class="multiplier" id="sim-mult-26"></div><div class="win-amount" id="sim-win-26"></div></div><div class="bet-row" id="sim-bet-27"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=24" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">1695.63</div><div class="multiplier" id="sim-mult-27"></div><div class="win-amount" id="sim-win-27"></div></div><div class="bet-row" id="sim-bet-28"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=40" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">2005.12</div><div class="multiplier" id="sim-mult-28"></div><div class="win-amount" id="sim-win-28"></div></div><div class="bet-row" id="sim-bet-29"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=49" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">4830.27</div><div class="multiplier" id="sim-mult-29"></div><div class="win-amount" id="sim-win-29"></div></div><div class="bet-row" id="sim-bet-30"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=30" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">574.84</div><div class="multiplier" id="sim-mult-30"></div><div class="win-amount" id="sim-win-30"></div></div><div class="bet-row" id="sim-bet-31"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=25" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">1425.47</div><div class="multiplier" id="sim-mult-31"></div><div class="win-amount" id="sim-win-31"></div></div><div class="bet-row" id="sim-bet-32"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=47" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">3385.96</div><div class="multiplier" id="sim-mult-32"></div><div class="win-amount" id="sim-win-32"></div></div><div class="bet-row" id="sim-bet-33"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=54" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1884.85</div><div class="multiplier" id="sim-mult-33"></div><div class="win-amount" id="sim-win-33"></div></div><div class="bet-row" id="sim-bet-34"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=12" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">3446.39</div><div class="multiplier" id="sim-mult-34"></div><div class="win-amount" id="sim-win-34"></div></div><div class="bet-row" id="sim-bet-35"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=18" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">2352.55</div><div class="multiplier" id="sim-mult-35"></div><div class="win-amount" id="sim-win-35"></div></div><div class="bet-row" id="sim-bet-36"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=2" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">2184.80</div><div class="multiplier" id="sim-mult-36"></div><div class="win-amount" id="sim-win-36"></div></div><div class="bet-row" id="sim-bet-37"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=20" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">721.38</div><div class="multiplier" id="sim-mult-37"></div><div class="win-amount" id="sim-win-37"></div></div><div class="bet-row" id="sim-bet-38"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=32" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">652.21</div><div class="multiplier" id="sim-mult-38"></div><div class="win-amount" id="sim-win-38"></div></div><div class="bet-row" id="sim-bet-39"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=36" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">1552.72</div><div class="multiplier" id="sim-mult-39"></div><div class="win-amount" id="sim-win-39"></div></div><div class="bet-row" id="sim-bet-40"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=41" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2716.45</div><div class="multiplier" id="sim-mult-40"></div><div class="win-amount" id="sim-win-40"></div></div><div class="bet-row" id="sim-bet-41"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=25" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">4477.68</div><div class="multiplier" id="sim-mult-41"></div><div class="win-amount" id="sim-win-41"></div></div><div class="bet-row" id="sim-bet-42"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=19" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">1440.14</div><div class="multiplier" id="sim-mult-42"></div><div class="win-amount" id="sim-win-42"></div></div><div class="bet-row" id="sim-bet-43"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=19" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2177.86</div><div class="multiplier" id="sim-mult-43"></div><div class="win-amount" id="sim-win-43"></div></div><div class="bet-row" id="sim-bet-44"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=70" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2982.73</div><div class="multiplier" id="sim-mult-44"></div><div class="win-amount" id="sim-win-44"></div></div><div class="bet-row" id="sim-bet-45"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=34" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">1891.29</div><div class="multiplier" id="sim-mult-45"></div><div class="win-amount" id="sim-win-45"></div></div><div class="bet-row" id="sim-bet-46"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1964.75</div><div class="multiplier" id="sim-mult-46"></div><div class="win-amount" id="sim-win-46"></div></div><div class="bet-row" id="sim-bet-47"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=64" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">2649.29</div><div class="multiplier" id="sim-mult-47"></div><div class="win-amount" id="sim-win-47"></div></div><div class="bet-row" id="sim-bet-48"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=19" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">2725.08</div><div class="multiplier" id="sim-mult-48"></div><div class="win-amount" id="sim-win-48"></div></div><div class="bet-row" id="sim-bet-49"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=33" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">828.77</div><div class="multiplier" id="sim-mult-49"></div><div class="win-amount" id="sim-win-49"></div></div><div class="bet-row" id="sim-bet-50"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=15" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">4148.63</div><div class="multiplier" id="sim-mult-50"></div><div class="win-amount" id="sim-win-50"></div></div><div class="bet-row" id="sim-bet-51"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=15" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">109.85</div><div class="multiplier" id="sim-mult-51"></div><div class="win-amount" id="sim-win-51"></div></div><div class="bet-row" id="sim-bet-52"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=24" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1935.50</div><div class="multiplier" id="sim-mult-52"></div><div class="win-amount" id="sim-win-52"></div></div><div class="bet-row" id="sim-bet-53"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=26" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">2389.99</div><div class="multiplier" id="sim-mult-53"></div><div class="win-amount" id="sim-win-53"></div></div><div class="bet-row" id="sim-bet-54"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=27" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">2695.46</div><div class="multiplier" id="sim-mult-54"></div><div class="win-amount" id="sim-win-54"></div></div><div class="bet-row" id="sim-bet-55"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=46" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">709.09</div><div class="multiplier" id="sim-mult-55"></div><div class="win-amount" id="sim-win-55"></div></div><div class="bet-row" id="sim-bet-56"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">2476.56</div><div class="multiplier" id="sim-mult-56"></div><div class="win-amount" id="sim-win-56"></div></div><div class="bet-row" id="sim-bet-57"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=14" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">1109.50</div><div class="multiplier" id="sim-mult-57"></div><div class="win-amount" id="sim-win-57"></div></div><div class="bet-row" id="sim-bet-58"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=4" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">125.27</div><div class="multiplier" id="sim-mult-58"></div><div class="win-amount" id="sim-win-58"></div></div><div class="bet-row" id="sim-bet-59"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=50" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">2448.29</div><div class="multiplier" id="sim-mult-59"></div><div class="win-amount" id="sim-win-59"></div></div><div class="bet-row" id="sim-bet-60"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=16" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">3341.92</div><div class="multiplier" id="sim-mult-60"></div><div class="win-amount" id="sim-win-60"></div></div><div class="bet-row" id="sim-bet-61"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=6" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">3602.65</div><div class="multiplier" id="sim-mult-61"></div><div class="win-amount" id="sim-win-61"></div></div><div class="bet-row" id="sim-bet-62"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=54" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">228.14</div><div class="multiplier" id="sim-mult-62"></div><div class="win-amount" id="sim-win-62"></div></div><div class="bet-row" id="sim-bet-63"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=37" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">4392.19</div><div class="multiplier" id="sim-mult-63"></div><div class="win-amount" id="sim-win-63"></div></div><div class="bet-row" id="sim-bet-64"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=10" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">489.76</div><div class="multiplier" id="sim-mult-64"></div><div class="win-amount" id="sim-win-64"></div></div><div class="bet-row" id="sim-bet-65"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=3" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1043.85</div><div class="multiplier" id="sim-mult-65"></div><div class="win-amount" id="sim-win-65"></div></div><div class="bet-row" id="sim-bet-66"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=36" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">4308.05</div><div class="multiplier" id="sim-mult-66"></div><div class="win-amount" id="sim-win-66"></div></div><div class="bet-row" id="sim-bet-67"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=44" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">99.43</div><div class="multiplier" id="sim-mult-67"></div><div class="win-amount" id="sim-win-67"></div></div><div class="bet-row" id="sim-bet-68"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=2" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">173.11</div><div class="multiplier" id="sim-mult-68"></div><div class="win-amount" id="sim-win-68"></div></div><div class="bet-row" id="sim-bet-69"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=22" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">2720.89</div><div class="multiplier" id="sim-mult-69"></div><div class="win-amount" id="sim-win-69"></div></div><div class="bet-row" id="sim-bet-70"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=34" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1242.68</div><div class="multiplier" id="sim-mult-70"></div><div class="win-amount" id="sim-win-70"></div></div><div class="bet-row" id="sim-bet-71"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=43" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">2773.47</div><div class="multiplier" id="sim-mult-71"></div><div class="win-amount" id="sim-win-71"></div></div><div class="bet-row" id="sim-bet-72"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=42" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1994.75</div><div class="multiplier" id="sim-mult-72"></div><div class="win-amount" id="sim-win-72"></div></div><div class="bet-row" id="sim-bet-73"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=49" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">661.69</div><div class="multiplier" id="sim-mult-73"></div><div class="win-amount" id="sim-win-73"></div></div><div class="bet-row" id="sim-bet-74"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=45" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">4914.10</div><div class="multiplier" id="sim-mult-74"></div><div class="win-amount" id="sim-win-74"></div></div><div class="bet-row" id="sim-bet-75"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=13" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">40.92</div><div class="multiplier" id="sim-mult-75"></div><div class="win-amount" id="sim-win-75"></div></div><div class="bet-row" id="sim-bet-76"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=20" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">321.83</div><div class="multiplier" id="sim-mult-76"></div><div class="win-amount" id="sim-win-76"></div></div><div class="bet-row" id="sim-bet-77"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=40" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">3020.06</div><div class="multiplier" id="sim-mult-77"></div><div class="win-amount" id="sim-win-77"></div></div><div class="bet-row" id="sim-bet-78"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=47" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">2106.79</div><div class="multiplier" id="sim-mult-78"></div><div class="win-amount" id="sim-win-78"></div></div><div class="bet-row" id="sim-bet-79"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=41" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">4517.88</div><div class="multiplier" id="sim-mult-79"></div><div class="win-amount" id="sim-win-79"></div></div><div class="bet-row" id="sim-bet-80"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=67" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">1538.93</div><div class="multiplier" id="sim-mult-80"></div><div class="win-amount" id="sim-win-80"></div></div><div class="bet-row" id="sim-bet-81"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=7" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">2481.67</div><div class="multiplier" id="sim-mult-81"></div><div class="win-amount" id="sim-win-81"></div></div><div class="bet-row" id="sim-bet-82"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=11" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">3690.80</div><div class="multiplier" id="sim-mult-82"></div><div class="win-amount" id="sim-win-82"></div></div><div class="bet-row" id="sim-bet-83"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=43" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1847.43</div><div class="multiplier" id="sim-mult-83"></div><div class="win-amount" id="sim-win-83"></div></div><div class="bet-row" id="sim-bet-84"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=33" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">1707.76</div><div class="multiplier" id="sim-mult-84"></div><div class="win-amount" id="sim-win-84"></div></div><div class="bet-row" id="sim-bet-85"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=62" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">3233.28</div><div class="multiplier" id="sim-mult-85"></div><div class="win-amount" id="sim-win-85"></div></div><div class="bet-row" id="sim-bet-86"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=12" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">1423.77</div><div class="multiplier" id="sim-mult-86"></div><div class="win-amount" id="sim-win-86"></div></div><div class="bet-row" id="sim-bet-87"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=9" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">3044.40</div><div class="multiplier" id="sim-mult-87"></div><div class="win-amount" id="sim-win-87"></div></div><div class="bet-row" id="sim-bet-88"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=44" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2949.34</div><div class="multiplier" id="sim-mult-88"></div><div class="win-amount" id="sim-win-88"></div></div><div class="bet-row" id="sim-bet-89"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=19" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2255.05</div><div class="multiplier" id="sim-mult-89"></div><div class="win-amount" id="sim-win-89"></div></div><div class="bet-row" id="sim-bet-90"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=20" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1849.68</div><div class="multiplier" id="sim-mult-90"></div><div class="win-amount" id="sim-win-90"></div></div><div class="bet-row" id="sim-bet-91"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=21" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">2162.43</div><div class="multiplier" id="sim-mult-91"></div><div class="win-amount" id="sim-win-91"></div></div><div class="bet-row" id="sim-bet-92"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=22" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">141.72</div><div class="multiplier" id="sim-mult-92"></div><div class="win-amount" id="sim-win-92"></div></div><div class="bet-row" id="sim-bet-93"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=48" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">3598.59</div><div class="multiplier" id="sim-mult-93"></div><div class="win-amount" id="sim-win-93"></div></div><div class="bet-row" id="sim-bet-94"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=22" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">32.45</div><div class="multiplier" id="sim-mult-94"></div><div class="win-amount" id="sim-win-94"></div></div><div class="bet-row" id="sim-bet-95"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=21" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1703.40</div><div class="multiplier" id="sim-mult-95"></div><div class="win-amount" id="sim-win-95"></div></div><div class="bet-row" id="sim-bet-96"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=16" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">463.14</div><div class="multiplier" id="sim-mult-96"></div><div class="win-amount" id="sim-win-96"></div></div><div class="bet-row" id="sim-bet-97"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=16" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">56.04</div><div class="multiplier" id="sim-mult-97"></div><div class="win-amount" id="sim-win-97"></div></div><div class="bet-row" id="sim-bet-98"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1456.72</div><div class="multiplier" id="sim-mult-98"></div><div class="win-amount" id="sim-win-98"></div></div><div class="bet-row" id="sim-bet-99"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">11.71</div><div class="multiplier" id="sim-mult-99"></div><div class="win-amount" id="sim-win-99"></div></div><div class="bet-row" id="sim-bet-100"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=53" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">507.33</div><div class="multiplier" id="sim-mult-100"></div><div class="win-amount" id="sim-win-100"></div></div><div class="bet-row" id="sim-bet-101"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=23" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">3147.89</div><div class="multiplier" id="sim-mult-101"></div><div class="win-amount" id="sim-win-101"></div></div><div class="bet-row" id="sim-bet-102"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=51" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">2451.76</div><div class="multiplier" id="sim-mult-102"></div><div class="win-amount" id="sim-win-102"></div></div><div class="bet-row" id="sim-bet-103"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=68" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">4959.74</div><div class="multiplier" id="sim-mult-103"></div><div class="win-amount" id="sim-win-103"></div></div><div class="bet-row" id="sim-bet-104"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=6" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">1390.16</div><div class="multiplier" id="sim-mult-104"></div><div class="win-amount" id="sim-win-104"></div></div><div class="bet-row" id="sim-bet-105"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=53" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">3764.06</div><div class="multiplier" id="sim-mult-105"></div><div class="win-amount" id="sim-win-105"></div></div><div class="bet-row" id="sim-bet-106"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=8" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">2691.44</div><div class="multiplier" id="sim-mult-106"></div><div class="win-amount" id="sim-win-106"></div></div><div class="bet-row" id="sim-bet-107"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=21" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">696.45</div><div class="multiplier" id="sim-mult-107"></div><div class="win-amount" id="sim-win-107"></div></div><div class="bet-row" id="sim-bet-108"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=57" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">4955.78</div><div class="multiplier" id="sim-mult-108"></div><div class="win-amount" id="sim-win-108"></div></div><div class="bet-row" id="sim-bet-109"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=3" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">2610.44</div><div class="multiplier" id="sim-mult-109"></div><div class="win-amount" id="sim-win-109"></div></div><div class="bet-row" id="sim-bet-110"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=44" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">2755.56</div><div class="multiplier" id="sim-mult-110"></div><div class="win-amount" id="sim-win-110"></div></div><div class="bet-row" id="sim-bet-111"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=16" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">1524.13</div><div class="multiplier" id="sim-mult-111"></div><div class="win-amount" id="sim-win-111"></div></div><div class="bet-row" id="sim-bet-112"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=6" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">3967.66</div><div class="multiplier" id="sim-mult-112"></div><div class="win-amount" id="sim-win-112"></div></div><div class="bet-row" id="sim-bet-113"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=60" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2797.44</div><div class="multiplier" id="sim-mult-113"></div><div class="win-amount" id="sim-win-113"></div></div><div class="bet-row" id="sim-bet-114"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=1" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">121.12</div><div class="multiplier" id="sim-mult-114"></div><div class="win-amount" id="sim-win-114"></div></div><div class="bet-row" id="sim-bet-115"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=1" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">2087.91</div><div class="multiplier" id="sim-mult-115"></div><div class="win-amount" id="sim-win-115"></div></div><div class="bet-row" id="sim-bet-116"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=56" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">4359.15</div><div class="multiplier" id="sim-mult-116"></div><div class="win-amount" id="sim-win-116"></div></div><div class="bet-row" id="sim-bet-117"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=60" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">3863.98</div><div class="multiplier" id="sim-mult-117"></div><div class="win-amount" id="sim-win-117"></div></div><div class="bet-row" id="sim-bet-118"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=51" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">286.49</div><div class="multiplier" id="sim-mult-118"></div><div class="win-amount" id="sim-win-118"></div></div><div class="bet-row" id="sim-bet-119"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=22" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">1464.00</div><div class="multiplier" id="sim-mult-119"></div><div class="win-amount" id="sim-win-119"></div></div><div class="bet-row" id="sim-bet-120"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=2" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">3279.32</div><div class="multiplier" id="sim-mult-120"></div><div class="win-amount" id="sim-win-120"></div></div><div class="bet-row" id="sim-bet-121"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=27" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">1931.00</div><div class="multiplier" id="sim-mult-121"></div><div class="win-amount" id="sim-win-121"></div></div><div class="bet-row" id="sim-bet-122"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=33" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">1563.00</div><div class="multiplier" id="sim-mult-122"></div><div class="win-amount" id="sim-win-122"></div></div><div class="bet-row" id="sim-bet-123"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=62" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">3618.97</div><div class="multiplier" id="sim-mult-123"></div><div class="win-amount" id="sim-win-123"></div></div><div class="bet-row" id="sim-bet-124"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=14" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">3885.44</div><div class="multiplier" id="sim-mult-124"></div><div class="win-amount" id="sim-win-124"></div></div><div class="bet-row" id="sim-bet-125"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=60" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">1361.34</div><div class="multiplier" id="sim-mult-125"></div><div class="win-amount" id="sim-win-125"></div></div><div class="bet-row" id="sim-bet-126"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=16" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">2420.07</div><div class="multiplier" id="sim-mult-126"></div><div class="win-amount" id="sim-win-126"></div></div><div class="bet-row" id="sim-bet-127"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=57" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">3048.65</div><div class="multiplier" id="sim-mult-127"></div><div class="win-amount" id="sim-win-127"></div></div><div class="bet-row" id="sim-bet-128"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=35" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">4975.05</div><div class="multiplier" id="sim-mult-128"></div><div class="win-amount" id="sim-win-128"></div></div><div class="bet-row" id="sim-bet-129"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=38" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">415.51</div><div class="multiplier" id="sim-mult-129"></div><div class="win-amount" id="sim-win-129"></div></div><div class="bet-row" id="sim-bet-130"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=57" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">1468.44</div><div class="multiplier" id="sim-mult-130"></div><div class="win-amount" id="sim-win-130"></div></div><div class="bet-row" id="sim-bet-131"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=45" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">3889.88</div><div class="multiplier" id="sim-mult-131"></div><div class="win-amount" id="sim-win-131"></div></div><div class="bet-row" id="sim-bet-132"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=43" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">4174.47</div><div class="multiplier" id="sim-mult-132"></div><div class="win-amount" id="sim-win-132"></div></div><div class="bet-row" id="sim-bet-133"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=70" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">544.98</div><div class="multiplier" id="sim-mult-133"></div><div class="win-amount" id="sim-win-133"></div></div><div class="bet-row" id="sim-bet-134"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=54" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">513.32</div><div class="multiplier" id="sim-mult-134"></div><div class="win-amount" id="sim-win-134"></div></div><div class="bet-row" id="sim-bet-135"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=70" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">3858.39</div><div class="multiplier" id="sim-mult-135"></div><div class="win-amount" id="sim-win-135"></div></div><div class="bet-row" id="sim-bet-136"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=5" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">2356.77</div><div class="multiplier" id="sim-mult-136"></div><div class="win-amount" id="sim-win-136"></div></div><div class="bet-row" id="sim-bet-137"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=20" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">2498.73</div><div class="multiplier" id="sim-mult-137"></div><div class="win-amount" id="sim-win-137"></div></div><div class="bet-row" id="sim-bet-138"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=70" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">1626.26</div><div class="multiplier" id="sim-mult-138"></div><div class="win-amount" id="sim-win-138"></div></div><div class="bet-row" id="sim-bet-139"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=14" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">2507.58</div><div class="multiplier" id="sim-mult-139"></div><div class="win-amount" id="sim-win-139"></div></div><div class="bet-row" id="sim-bet-140"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=12" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">1832.31</div><div class="multiplier" id="sim-mult-140"></div><div class="win-amount" id="sim-win-140"></div></div><div class="bet-row" id="sim-bet-141"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=39" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">3238.97</div><div class="multiplier" id="sim-mult-141"></div><div class="win-amount" id="sim-win-141"></div></div><div class="bet-row" id="sim-bet-142"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=19" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">1143.31</div><div class="multiplier" id="sim-mult-142"></div><div class="win-amount" id="sim-win-142"></div></div><div class="bet-row" id="sim-bet-143"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=11" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">1967.36</div><div class="multiplier" id="sim-mult-143"></div><div class="win-amount" id="sim-win-143"></div></div><div class="bet-row" id="sim-bet-144"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=58" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">1331.37</div><div class="multiplier" id="sim-mult-144"></div><div class="win-amount" id="sim-win-144"></div></div><div class="bet-row" id="sim-bet-145"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=59" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">3183.57</div><div class="multiplier" id="sim-mult-145"></div><div class="win-amount" id="sim-win-145"></div></div><div class="bet-row" id="sim-bet-146"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=48" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">1140.09</div><div class="multiplier" id="sim-mult-146"></div><div class="win-amount" id="sim-win-146"></div></div><div class="bet-row" id="sim-bet-147"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=44" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">381.52</div><div class="multiplier" id="sim-mult-147"></div><div class="win-amount" id="sim-win-147"></div></div><div class="bet-row" id="sim-bet-148"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=57" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">734.17</div><div class="multiplier" id="sim-mult-148"></div><div class="win-amount" id="sim-win-148"></div></div><div class="bet-row" id="sim-bet-149"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=36" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">2924.29</div><div class="multiplier" id="sim-mult-149"></div><div class="win-amount" id="sim-win-149"></div></div></div>
        </div>
        <div id="previous" class="list-tab-content">
            <div class="round-result-header">
                <div class="round-result-label">Round Result</div>
                <div class="round-result-value blue-m-text" id="prev-round-result">--</div>
            </div>
            <div class="list-header">
                <div style="text-align:left; padding-left:10px;">Player</div>
                <div>Bet <span class="currency-display">BDT</span></div>
                <div>X</div>
                <div>Win <span class="currency-display">BDT</span></div>
            </div>
            <div class="scrollable-list" id="previousList"><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=15" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=16" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=17" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=18" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=19" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=20" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=21" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=22" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=23" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=24" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=25" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=26" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=27" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=28" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=29" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=30" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=31" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=32" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=33" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=34" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=35" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=36" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=37" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=38" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=39" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=40" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=41" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=42" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=43" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=44" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=45" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=46" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=47" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=48" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=49" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=50" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=51" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=52" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=53" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=54" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=55" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=56" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=57" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=58" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=59" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=60" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=61" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=62" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=63" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=64" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=65" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=66" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=67" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=68" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=69" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=70" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=71" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=72" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=73" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=74" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=75" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=76" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=77" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=78" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=79" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=80" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=81" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=82" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=83" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=84" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=85" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=86" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=87" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=88" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=89" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=90" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=91" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=92" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=93" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=94" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=95" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=96" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=97" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=98" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=99" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=100" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=101" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=102" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=103" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=104" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=105" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=106" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=107" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=108" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=109" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=110" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=111" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=112" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=113" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=114" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=115" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=116" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=117" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=118" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=119" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=120" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=121" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=122" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=123" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=124" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=125" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=126" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=127" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=128" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=129" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=130" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=131" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=132" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=133" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=134" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=135" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=136" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=137" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=138" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=139" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=140" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=141" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=142" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=143" class="user-icon" alt="u"><span class="user-name">u***3</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=144" class="user-icon" alt="u"><span class="user-name">u***1</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=145" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=146" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=147" class="user-icon" alt="u"><span class="user-name">u***2</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=148" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=149" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=150" class="user-icon" alt="u"><span class="user-name">u***5</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=151" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=152" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=153" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=154" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=155" class="user-icon" alt="u"><span class="user-name">u***7</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=156" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=157" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=158" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=159" class="user-icon" alt="u"><span class="user-name">u***4</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">12.06x</span></div><div class="win-amount">1,206.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=160" class="user-icon" alt="u"><span class="user-name">u***8</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">10.82x</span></div><div class="win-amount">1,082.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=161" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">11.38x</span></div><div class="win-amount">1,138.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=162" class="user-icon" alt="u"><span class="user-name">u***6</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val  pink-m-text">3.27x</span></div><div class="win-amount">327.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=163" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.13x</span></div><div class="win-amount">113.00</div></div><div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=164" class="user-icon" alt="u"><span class="user-name">u***0</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ">1.72x</span></div><div class="win-amount">172.00</div></div></div>
        </div>
        <div id="top" class="list-tab-content">
            <div class="top-subtabs-container">
                <div class="subtabs-row">
                    <div class="subtab active">X</div><div class="subtab">Win</div><div class="subtab">Rounds</div>
                </div>
                <div class="subtabs-row">
                    <div class="subtab active">Day</div><div class="subtab">Month</div><div class="subtab">Year</div>
                </div>
            </div>
            <div class="top-cards-list" id="topCardsList"><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=30" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">163.50</span><span class="tc-label">Result</span><span class="tc-val pink">241.33x</span><span class="tc-label">Win BDT</span><span class="tc-val">39,457.46</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=31" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">283.46</span><span class="tc-label">Result</span><span class="tc-val pink">215.81x</span><span class="tc-label">Win BDT</span><span class="tc-val">61,173.5</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=32" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">214.92</span><span class="tc-label">Result</span><span class="tc-val pink">152.11x</span><span class="tc-label">Win BDT</span><span class="tc-val">32,691.48</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=33" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">141.84</span><span class="tc-label">Result</span><span class="tc-val pink">168.82x</span><span class="tc-label">Win BDT</span><span class="tc-val">23,945.43</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=34" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">108.74</span><span class="tc-label">Result</span><span class="tc-val pink">201.95x</span><span class="tc-label">Win BDT</span><span class="tc-val">21,960.04</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=35" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">134.53</span><span class="tc-label">Result</span><span class="tc-val pink">242.41x</span><span class="tc-label">Win BDT</span><span class="tc-val">32,611.42</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=36" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">203.31</span><span class="tc-label">Result</span><span class="tc-val pink">193.36x</span><span class="tc-label">Win BDT</span><span class="tc-val">39,312.02</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=37" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">224.18</span><span class="tc-label">Result</span><span class="tc-val pink">211.43x</span><span class="tc-label">Win BDT</span><span class="tc-val">47,398.38</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=38" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">29.66</span><span class="tc-label">Result</span><span class="tc-val pink">193.25x</span><span class="tc-label">Win BDT</span><span class="tc-val">5,731.8</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=39" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">109.17</span><span class="tc-label">Result</span><span class="tc-val pink">216.69x</span><span class="tc-label">Win BDT</span><span class="tc-val">23,656.05</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=40" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">82.99</span><span class="tc-label">Result</span><span class="tc-val pink">159.84x</span><span class="tc-label">Win BDT</span><span class="tc-val">13,265.12</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=41" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">291.56</span><span class="tc-label">Result</span><span class="tc-val pink">213.21x</span><span class="tc-label">Win BDT</span><span class="tc-val">62,163.51</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=42" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">183.22</span><span class="tc-label">Result</span><span class="tc-val pink">198.60x</span><span class="tc-label">Win BDT</span><span class="tc-val">36,387.49</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=43" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">72.63</span><span class="tc-label">Result</span><span class="tc-val pink">221.85x</span><span class="tc-label">Win BDT</span><span class="tc-val">16,112.97</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=44" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">56.34</span><span class="tc-label">Result</span><span class="tc-val pink">207.99x</span><span class="tc-label">Win BDT</span><span class="tc-val">11,718.16</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=45" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">19.09</span><span class="tc-label">Result</span><span class="tc-val pink">169.73x</span><span class="tc-label">Win BDT</span><span class="tc-val">3,240.15</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=46" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">223.68</span><span class="tc-label">Result</span><span class="tc-val pink">221.82x</span><span class="tc-label">Win BDT</span><span class="tc-val">49,616.7</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=47" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">107.57</span><span class="tc-label">Result</span><span class="tc-val pink">230.91x</span><span class="tc-label">Win BDT</span><span class="tc-val">24,838.99</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=48" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">156.25</span><span class="tc-label">Result</span><span class="tc-val pink">206.04x</span><span class="tc-label">Win BDT</span><span class="tc-val">32,193.75</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=49" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">85.85</span><span class="tc-label">Result</span><span class="tc-val pink">245.19x</span><span class="tc-label">Win BDT</span><span class="tc-val">21,049.56</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=50" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">192.58</span><span class="tc-label">Result</span><span class="tc-val pink">248.44x</span><span class="tc-label">Win BDT</span><span class="tc-val">47,844.58</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=51" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">178.36</span><span class="tc-label">Result</span><span class="tc-val pink">195.59x</span><span class="tc-label">Win BDT</span><span class="tc-val">34,885.43</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=52" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">261.82</span><span class="tc-label">Result</span><span class="tc-val pink">166.38x</span><span class="tc-label">Win BDT</span><span class="tc-val">43,561.61</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=53" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">197.78</span><span class="tc-label">Result</span><span class="tc-val pink">165.72x</span><span class="tc-label">Win BDT</span><span class="tc-val">32,776.1</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=54" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">101.36</span><span class="tc-label">Result</span><span class="tc-val pink">170.48x</span><span class="tc-label">Win BDT</span><span class="tc-val">17,279.85</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=55" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">105.48</span><span class="tc-label">Result</span><span class="tc-val pink">240.05x</span><span class="tc-label">Win BDT</span><span class="tc-val">25,320.47</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=56" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">51.36</span><span class="tc-label">Result</span><span class="tc-val pink">202.98x</span><span class="tc-label">Win BDT</span><span class="tc-val">10,425.05</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=57" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">22.08</span><span class="tc-label">Result</span><span class="tc-val pink">161.29x</span><span class="tc-label">Win BDT</span><span class="tc-val">3,561.28</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=58" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">46.90</span><span class="tc-label">Result</span><span class="tc-val pink">194.85x</span><span class="tc-label">Win BDT</span><span class="tc-val">9,138.47</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=59" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">156.59</span><span class="tc-label">Result</span><span class="tc-val pink">190.98x</span><span class="tc-label">Win BDT</span><span class="tc-val">29,905.56</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=60" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">127.88</span><span class="tc-label">Result</span><span class="tc-val pink">237.27x</span><span class="tc-label">Win BDT</span><span class="tc-val">30,342.09</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=61" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">117.08</span><span class="tc-label">Result</span><span class="tc-val pink">211.01x</span><span class="tc-label">Win BDT</span><span class="tc-val">24,705.05</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=62" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">256.97</span><span class="tc-label">Result</span><span class="tc-val pink">216.18x</span><span class="tc-label">Win BDT</span><span class="tc-val">55,551.77</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=63" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">90.14</span><span class="tc-label">Result</span><span class="tc-val pink">195.75x</span><span class="tc-label">Win BDT</span><span class="tc-val">17,644.9</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=64" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">260.78</span><span class="tc-label">Result</span><span class="tc-val pink">187.55x</span><span class="tc-label">Win BDT</span><span class="tc-val">48,909.29</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=65" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">189.85</span><span class="tc-label">Result</span><span class="tc-val pink">205.08x</span><span class="tc-label">Win BDT</span><span class="tc-val">38,934.44</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=66" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">189.75</span><span class="tc-label">Result</span><span class="tc-val pink">223.50x</span><span class="tc-label">Win BDT</span><span class="tc-val">42,409.13</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=67" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">267.30</span><span class="tc-label">Result</span><span class="tc-val pink">171.91x</span><span class="tc-label">Win BDT</span><span class="tc-val">45,951.54</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=68" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">40.23</span><span class="tc-label">Result</span><span class="tc-val pink">213.10x</span><span class="tc-label">Win BDT</span><span class="tc-val">8,573.01</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=69" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">94.55</span><span class="tc-label">Result</span><span class="tc-val pink">177.26x</span><span class="tc-label">Win BDT</span><span class="tc-val">16,759.93</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=70" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">275.02</span><span class="tc-label">Result</span><span class="tc-val pink">226.00x</span><span class="tc-label">Win BDT</span><span class="tc-val">62,154.52</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=71" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">176.94</span><span class="tc-label">Result</span><span class="tc-val pink">150.64x</span><span class="tc-label">Win BDT</span><span class="tc-val">26,654.24</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=72" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">226.65</span><span class="tc-label">Result</span><span class="tc-val pink">195.02x</span><span class="tc-label">Win BDT</span><span class="tc-val">44,201.28</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=73" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">j***8</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">56.97</span><span class="tc-label">Result</span><span class="tc-val pink">166.32x</span><span class="tc-label">Win BDT</span><span class="tc-val">9,475.25</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=74" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">i***l</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">6.05</span><span class="tc-label">Result</span><span class="tc-val pink">169.09x</span><span class="tc-label">Win BDT</span><span class="tc-val">1,022.99</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=75" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">r***s</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">19.14</span><span class="tc-label">Result</span><span class="tc-val pink">185.28x</span><span class="tc-label">Win BDT</span><span class="tc-val">3,546.26</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=76" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">a***k</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">29.68</span><span class="tc-label">Result</span><span class="tc-val pink">204.29x</span><span class="tc-label">Win BDT</span><span class="tc-val">6,063.33</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=77" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">p***9</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">26.20</span><span class="tc-label">Result</span><span class="tc-val pink">205.76x</span><span class="tc-label">Win BDT</span><span class="tc-val">5,390.91</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=78" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">z***1</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">226.82</span><span class="tc-label">Result</span><span class="tc-val pink">165.88x</span><span class="tc-label">Win BDT</span><span class="tc-val">37,624.9</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div><div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=79" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">m***n</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet BDT</span><span class="tc-val">222.11</span><span class="tc-label">Result</span><span class="tc-val pink">160.15x</span><span class="tc-label">Win BDT</span><span class="tc-val">35,570.92</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div></div>
        </div>
        <div class="footer">
            <div class="provably-fair">
                <svg viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></svg>
                Provably Fair Game
            </div>
            <div class="powered-by">Powered by <strong>SPRIBE</strong></div>
        </div>
    </div>
</div></div>

    <script>
        window.AVIATOR_USER_ID = <?= json_encode((string) $aviatorVisitor['id']) ?>;
        window.AVIATOR_CURRENCY = <?= json_encode(AVIATOR_CURRENCY) ?>;
        window.AVIATOR_INITIAL_BALANCE = <?= json_encode(round((float) $aviatorVisitor['balance'], 2)) ?>;
        window.AVIATOR_INITIAL_STATUS = <?= json_encode((string) $aviatorVisitor['status']) ?>;
    </script><script>const CURR_CONFIG = {
    'BDT': { min: 10.00, step: 1.00, stakes: [100, 200, 500, 10000] },
    'USD': { min: 1.00, step: 1.00, stakes: [1, 2, 5, 10] },
    'EUR': { min: 0.10, step: 0.10, stakes: [1, 2, 5, 10] },
    'SGD': { min: 0.20, step: 0.10, stakes: [1, 2, 5, 10] },
    'MYR': { min: 0.50, step: 0.10, stakes: [2, 5, 10, 50] },
    'SAR': { min: 30.00, step: 1.00, stakes: [100, 200, 500, 10000] },
    'PKR': { min: 16.00, step: 1.00, stakes: [64, 160, 320, 1600] }
};
const USER_ID = window.AVIATOR_USER_ID;
const CURRENCY = window.AVIATOR_CURRENCY || 'BDT';
const LOCAL_API_URL = 'api.php';
const DKWIN_STATUS_URL = `${window.location.pathname}?action=player_status`;
let isBanned = false;
let currentApiStatus = window.AVIATOR_INITIAL_STATUS || 'ACTIVE';
let balance = Number(window.AVIATOR_INITIAL_BALANCE || 0);
let lastLocalBalanceChangeAt = 0; 

function renderVisitorId() {
    const userIdText = document.getElementById('userIdText');
    if (userIdText) userIdText.innerText = USER_ID;

    const avatarImg = document.getElementById('avatarImg');
    if (avatarImg) {
        avatarImg.src = `https://api.dicebear.com/7.x/avataaars/svg?seed=${USER_ID}`;
    }
}

document.querySelectorAll('.currency-display').forEach(el => { el.innerText = CURRENCY; });
renderVisitorId();
const currSettings = CURR_CONFIG[CURRENCY] || CURR_CONFIG['BDT'];
document.getElementById('val-1').value = currSettings.min.toFixed(2);
document.getElementById('val-2').value = currSettings.min.toFixed(2);
document.getElementById('sub-1').innerHTML = currSettings.min.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`;
document.getElementById('sub-2').innerHTML = currSettings.min.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`;
const p1Stakes = document.querySelectorAll('#panel-1 .stake-btn');
const p2Stakes = document.querySelectorAll('#panel-2 .stake-btn');
currSettings.stakes.forEach((val, i) => {
    let displayVal = val >= 1000 ? val.toLocaleString() : val;
    if(p1Stakes[i]) { p1Stakes[i].innerText = displayVal; p1Stakes[i].setAttribute('onclick', `set(1, '${val}')`); }
    if(p2Stakes[i]) { p2Stakes[i].innerText = displayVal; p2Stakes[i].setAttribute('onclick', `set(2, '${val}')`); }
});
let restrictedPopupShown = false;
function initUser() {
    syncUserData(true);
}
function syncUserData(force = false) {
    fetch(`${DKWIN_STATUS_URL}&t=${Date.now()}`, {cache:'no-store', credentials:'same-origin'})
        .then(res => res.json())
        .then(data => {
            const v = data.visitor || data;
            if (v.status) currentApiStatus = v.status;

            /*
               IMPORTANT FIX:
               Use dkwin_bridge balance for display, but do not let a delayed
               status refresh instantly undo the local visual change right after
               Bet / Cancel / Cash Out. This prevents balance flicker while still
               keeping DK Win as the source of truth.
            */
            const justChangedBalance = (Date.now() - lastLocalBalanceChangeAt) < 1600;
            if (v.balance !== undefined && (force || !justChangedBalance)) {
                balance = parseFloat(v.balance) || 0;
                updateBalanceDisplay();
            }

            if (v.id) {
                window.AVIATOR_USER_ID = v.id;
                renderVisitorId();
            }
            if (v.currency) {
                window.AVIATOR_CURRENCY = v.currency;
            }
            if (currentApiStatus === 'RESTRICTED' && !restrictedPopupShown) {
                restrictedPopupShown = true;
                showRestrictedPopup();
            }
        }).catch(e => {});
}
function localBalanceAction(action, amount) {
    lastLocalBalanceChangeAt = Date.now();
    const body = new URLSearchParams();
    body.set('action', action);
    body.set('amount', String(amount || 0));

    /*
       Keep existing api.php balance logic for bet/cancel/cashout, but do not
       overwrite the header balance from api.php because api.php may return the
       local Aviator visitor balance instead of the DK Win account balance.
       After the action completes, refresh from the DKWin bridge endpoint.
    */
    fetch(LOCAL_API_URL, {method:'POST', body, cache:'no-store', credentials:'same-origin'})
        .then(res => res.json())
        .then(data => {
            const v = data.visitor || data;
            if (v.status) currentApiStatus = v.status;
            if (currentApiStatus === 'RESTRICTED') {
                restrictedPopupShown = true;
                showRestrictedPopup();
            }
            setTimeout(() => syncUserData(true), 900);
        }).catch(e => {
            setTimeout(() => syncUserData(true), 900);
        });
}
function apiSub(amount) { localBalanceAction('balance_sub', amount); }
function apiAdd(amount) { localBalanceAction('balance_add', amount); }
function updateBalanceDisplay() {
    const balanceEl = document.getElementById('user-balance-amount');
    if (balanceEl) balanceEl.innerText = balance.toFixed(2);
}
setInterval(() => syncUserData(false), 5000);
let soundEnabled = true; let musicEnabled = true; let animEnabled = true;
document.body.addEventListener('click', function initAudio() {
    if (musicEnabled) { const bgmAudio = document.getElementById('bgm'); bgmAudio.volume = 0.3; bgmAudio.play().catch(()=>{}); }
    document.getElementById('audio-trigger').style.display = 'none';
    document.body.removeEventListener('click', initAudio);
}, { once: true });
function openMenu() { renderVisitorId(); document.getElementById('menuOverlay').style.display = 'block'; }
function closeMenu() { document.getElementById('menuOverlay').style.display = 'none'; }
function openHistoryPopup() { document.getElementById('historyPopup').style.display = 'flex'; }
function closeHistoryPopup() { document.getElementById('historyPopup').style.display = 'none'; }
function copyUserID() {
    const userId = document.getElementById('userIdText').innerText;
    navigator.clipboard.writeText(userId).then(() => {
        const msg = document.getElementById('copyMsg'); msg.style.opacity = '1';
        setTimeout(() => { msg.style.opacity = '0'; }, 2000);
    }).catch(err => {});
}
function showTelegramPopup() {
    let existing = document.getElementById('tele-popup');
    if(existing) existing.remove();
    const popup = document.createElement('div');
    popup.id = 'tele-popup';
    popup.className = 'telegram-popup';
    popup.innerHTML = `<svg viewBox="0 0 24 24"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg><span>t.me/Spribe_online_bot</span>`;
    document.body.appendChild(popup);
    setTimeout(() => { if(popup.parentElement) popup.remove(); }, 5000);
}
function showBalanceError() {
    const notifArea = document.getElementById('notification-area');
    const popup = document.createElement('div'); popup.className = 'popup-anim';
    popup.innerHTML = `<div class="error-popup"><div class="text-message">Not enough balance</div><button class="close-btn" onclick="this.closest('.popup-anim').remove()"><svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>`;
    notifArea.appendChild(popup); setTimeout(() => { if(popup.parentElement) popup.remove(); }, 3000);
}
function showBannedPopup() {
    const notifArea = document.getElementById('notification-area');
    const popup = document.createElement('div'); popup.className = 'popup-anim';
    popup.innerHTML = `<div class="error-popup"><div class="text-message" style="font-size:15px;">Account Banned. Contact Support.</div><button class="close-btn" onclick="this.closest('.popup-anim').remove()"><svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>`;
    notifArea.appendChild(popup); setTimeout(() => { if(popup.parentElement) popup.remove(); }, 3000);
}
function showRestrictedPopup() {
    const notifArea = document.getElementById('notification-area');
    const popup = document.createElement('div'); popup.className = 'popup-anim';
    popup.innerHTML = `<div class="error-popup"><div class="text-message" style="font-size:15px;">Account Restricted. Contact admin.</div><button class="close-btn" onclick="this.closest('.popup-anim').remove()"><svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>`;
    notifArea.appendChild(popup); setTimeout(() => { if(popup.parentElement) popup.remove(); }, 3000);
}
function showExpiredPopup() {
    const notifArea = document.getElementById('notification-area');
    const popup = document.createElement('div'); popup.className = 'popup-anim';
    popup.innerHTML = `<div class="error-popup"><div class="text-message" style="font-size:14px;">Deposit expired. Please deposit again.</div><button class="close-btn" onclick="this.closest('.popup-anim').remove()"><svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>`;
    notifArea.appendChild(popup); setTimeout(() => { if(popup.parentElement) popup.remove(); }, 3000);
}
function showVpnPopup() {
    const notifArea = document.getElementById('notification-area');
    const popup = document.createElement('div'); popup.className = 'popup-anim';
    popup.innerHTML = `<div class="error-popup"><div class="text-message" style="font-size:14px;">IP detected. Use premium VPN.</div><button class="close-btn" onclick="this.closest('.popup-anim').remove()"><svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>`;
    notifArea.appendChild(popup); setTimeout(() => { if(popup.parentElement) popup.remove(); }, 3000);
}
function showCashoutPopup(multiplier, amount) {
    const notifArea = document.getElementById('notification-area');
    const popup = document.createElement('div'); popup.className = 'popup-anim';
    popup.innerHTML = `<div class="cashout-popup"><div class="left-section"><div class="text-top">You have cashed out!</div><div class="text-bottom">${multiplier.toFixed(2)}x</div></div><div class="right-section"><div class="win-badge"><svg class="star-icon star-1" viewBox="0 0 24 24"><path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z"/></svg><svg class="star-icon star-2" viewBox="0 0 24 24"><path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z"/></svg><svg class="star-icon star-3" viewBox="0 0 24 24"><path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z"/></svg><div class="win-text-top">Win ${CURRENCY}</div><div class="win-text-bottom">${amount.toFixed(2)}</div></div><button class="close-btn" onclick="this.closest('.popup-anim').remove()"><svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div></div>`;
    notifArea.appendChild(popup); setTimeout(() => { if(popup.parentElement) popup.remove(); }, 3000);
}
document.getElementById('toggle-sound-chk').addEventListener('change', function(e) { soundEnabled = e.target.checked; });
document.getElementById('toggle-music-chk').addEventListener('change', function(e) {
    musicEnabled = e.target.checked; const bgmAudio = document.getElementById('bgm');
    if (musicEnabled) { bgmAudio.volume = 0.3; bgmAudio.play().catch(()=>{}); } else { bgmAudio.pause(); }
});
document.getElementById('toggle-animation-chk').addEventListener('change', function(e) {
    animEnabled = e.target.checked; const planeWr = document.getElementById('plane-wrap');
    const cvs = document.getElementById('gameCanvas'); const cxx = cvs.getContext('2d');
    if (!animEnabled) { planeWr.style.display = 'none'; cxx.clearRect(0, 0, cvs.width, cvs.height); } else { planeWr.style.display = 'block'; }
});
const listTabs = document.querySelectorAll('#listTabs .list-tab');
const listContents = document.querySelectorAll('.list-tab-content');
listTabs.forEach(tab => {
    tab.addEventListener('click', () => {
        listTabs.forEach(t => t.classList.remove('active')); tab.classList.add('active');
        const target = tab.getAttribute('data-target');
        listContents.forEach(c => { if(c.id === target) c.classList.add('active-content'); else c.classList.remove('active-content'); });
    });
});
const subTabs = document.querySelectorAll('.subtab');
subTabs.forEach(st => {
    st.addEventListener('click', function() {
        const parentRow = this.parentElement;
        parentRow.querySelectorAll('.subtab').forEach(t => t.classList.remove('active'));
        this.classList.add('active');
    });
});
let simulatedBets = []; let totalWinBDT = 0; let activePlayersCount = 0; let totalPlayersCount = 0; let targetActivePlayers = 0;
function generateRoundData() {
    totalWinBDT = 0; totalPlayersCount = Math.floor(Math.random() * 1500) + 1500; activePlayersCount = Math.floor(totalPlayersCount * 0.05); targetActivePlayers = totalPlayersCount; simulatedBets = [];
    const list = document.getElementById('allBetsList'); let html = '';
    for(let i=0; i<150; i++) {
        let betAmt = (Math.random() * 4990 + 10).toFixed(2); let willCashout = Math.random() < 0.75;
        let cashoutAt = willCashout ? (Math.random() * 4 + 1.05).toFixed(2) : 999.00;
        let name = 'u***' + Math.floor(Math.random() * 9); let avatar = Math.floor(Math.random() * 70) + 1;
        simulatedBets.push({ id: i, avatar: avatar, name: name, bet: parseFloat(betAmt), cashoutAt: parseFloat(cashoutAt), cashedOut: false, winAmt: 0 });
        html += `<div class="bet-row" id="sim-bet-${i}"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=${avatar}" class="user-icon" alt="u"><span class="user-name">${name}</span></div><div class="bet-amount">${betAmt}</div><div class="multiplier" id="sim-mult-${i}"></div><div class="win-amount" id="sim-win-${i}"></div></div>`;
    }
    list.innerHTML = html; document.getElementById('total-win-amt').innerText = "0.00"; document.getElementById('progress-fill').style.width = "0%";
}
function generatePreviousBets() {
    const list = document.getElementById('previousList');
    const multipliers = [ {m: '12.06x', c: 'pink', win: '1,206.00'}, {m: '10.82x', c: 'pink', win: '1,082.00'}, {m: '11.38x', c: 'pink', win: '1,138.00'}, {m: '3.27x', c: 'pink', win: '327.00'}, {m: '1.13x', c: '', win: '113.00'}, {m: '1.72x', c: '', win: '172.00'} ];
    let html = '';
    for(let i=0; i<150; i++) {
        let data = multipliers[i % multipliers.length]; let mClass = data.c ? ' pink-m-text' : '';
        html += `<div class="bet-row won"><div class="user-box" style="display:flex; align-items:center; gap: 8px;"><img src="https://i.pravatar.cc/100?img=${i+15}" class="user-icon" alt="u"><span class="user-name">u***${Math.floor(Math.random()*9)}</span></div><div class="bet-amount">100.00</div><div class="multiplier"><span class="mult-val ${mClass}">${data.m}</span></div><div class="win-amount">${data.win}</div></div>`;
    }
    list.innerHTML = html;
}
function generateTopCards() {
    const list = document.getElementById('topCardsList'); let html = '';
    const names = ['m***n', 'j***8', 'i***l', 'r***s', 'a***k', 'p***9', 'z***1'];
    for(let i=0; i<50; i++) {
        let name = names[i % names.length]; let bet = (Math.random() * 300).toFixed(2); let result = (150 + Math.random() * 100).toFixed(2); let win = (bet * result).toFixed(2);
        html += `<div class="top-card"><div class="top-card-header"><div class="tc-user"><img src="https://i.pravatar.cc/100?img=${i+30}" class="tc-avatar" alt="User"><div class="tc-info"><span class="tc-name">${name}</span><span class="tc-date">09.03.26</span></div></div><div class="tc-actions"><div class="action-icon"><svg><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg></div><div class="action-icon"><svg><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><polyline points="9 12 11 14 15 10"></polyline></svg></div></div></div><div class="tc-stats-grid"><span class="tc-label">Bet ${CURRENCY}</span><span class="tc-val">${bet}</span><span class="tc-label">Result</span><span class="tc-val pink">${result}x</span><span class="tc-label">Win ${CURRENCY}</span><span class="tc-val">${parseFloat(win).toLocaleString()}</span><span class="tc-label">Round max.</span><span class="tc-val pink">204.58x</span></div></div>`;
    }
    list.innerHTML = html;
}
const gameAPI_URL = window.location.href.split('?')[0];
const planeUrls = [ "planex0.svg", "planex1.svg", "planex2.svg", "planex3.svg" ];
let preloadedImages = []; planeUrls.forEach(url => { let img = new Image(); img.src = url; preloadedImages.push(img); });
let planeFrameIndex = 0; let lastPlaneFrameTime = 0; const planeFrameDuration = 80;
const canvas = document.getElementById('gameCanvas'); const ctx = canvas.getContext('2d');
const plane = document.getElementById('plane-wrap'); const multTxt = document.getElementById('multiplier');
const flewTxt = document.getElementById('flew-away'); const loader = document.getElementById('round-loader');
const lFill = document.getElementById('l-fill'); const crashSfx = document.getElementById('crash');
const startSfx = document.getElementById('start-sfx'); const multiplierGlow = document.getElementById('multiplier-glow');
let cw = 0, ch = 0;
let serverOffset = 0, state = 'loading', roundStart = 0, crashAt = 1.00;
let serverRoundId = '';
let activeRoundId = '';
let lastAcceptedRoundId = '';
let crashHoldUntil = 0;
let pendingServerRound = null;
window.__aviatorVisualCrashSentFor = '';
let soundPlayed = false, crashSoundPlayed = false, currentVal = 1.00; let previousState = '';
let localLoadingStartMs = 0, initialLoadingProgress = 0, localFlightStartTime = 0;
let visualFlightStartRoundId = '';
let lastDisplayedMultiplier = 1.00;
let lastVisualNow = 0;
let reachedTopTime = 0, lastProgressBarWidth = 100; const totalLoadingTime = 6.0; let lastCounterUpdateMs = 0;
let extendedHistory = [];
let p = { 1: { status: 'IDLE', bet: 10.00, locked: 0, autoMode: false, autoBetEnabled: false, autoCashOutEnabled: false, autoCashOutValue: 1.00 }, 2: { status: 'IDLE', bet: 10.00, locked: 0, autoMode: false, autoBetEnabled: false, autoCashOutEnabled: false, autoCashOutValue: 1.00 } };

// OPTIMIZATION: Global tracker for hardware-accelerated transforms
let lastTx = 0, lastTy = 0;

function validate(id) {
    let el = document.getElementById('val-'+id); let v = parseFloat(el.value);
    const currSettings = CURR_CONFIG[CURRENCY] || CURR_CONFIG['BDT'];
    if(isNaN(v)) v = currSettings.min; if(v < currSettings.min) v = currSettings.min;
    el.value = v.toFixed(2); p[id].bet = v;
    if(p[id].status === 'IDLE') document.getElementById('sub-'+id).innerHTML = v.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`;
}
function step(id, delta) {
    let el = document.getElementById('val-'+id); const currSettings = CURR_CONFIG[CURRENCY] || CURR_CONFIG['BDT'];
    let stepSize = currSettings.step || 1.00; let newVal = (parseFloat(el.value) || currSettings.min) + (delta * stepSize);
    el.value = newVal.toFixed(2); validate(id);
}
function set(id, value) { document.getElementById('val-'+id).value = parseFloat(value).toFixed(2); validate(id); }
function switchTab(panelId, mode) {
    const panel = document.getElementById(`panel-${panelId}`); const currentTabs = panel.querySelectorAll('.tab'); const autoControls = document.getElementById(`auto-controls-${panelId}`);
    currentTabs.forEach(tab => tab.classList.remove('active'));
    if (mode === 'bet') { currentTabs[0].classList.add('active'); p[panelId].autoMode = false; autoControls.classList.remove('active'); } else { currentTabs[1].classList.add('active'); p[panelId].autoMode = true; autoControls.classList.add('active'); }
}
function toggleAutoBet(panelId) { p[panelId].autoBetEnabled = document.getElementById(`auto-bet-${panelId}`).checked; }
function toggleAutoCashOut(panelId) { const checked = document.getElementById(`auto-cashout-toggle-${panelId}`).checked; p[panelId].autoCashOutEnabled = checked; document.getElementById(`auto-cashout-value-${panelId}`).disabled = !checked; }
function handle(id) {
    validate(id); const betAmount = parseFloat(document.getElementById('val-' + id).value);
    let s = p[id]; let btn = document.getElementById('btn-'+id); let lbl = document.getElementById('lbl-'+id); let sub = document.getElementById('sub-'+id);
    if (s.status === 'IDLE') {
        if (balance < betAmount) { showBalanceError(); return; }
        if (currentApiStatus === 'RESTRICTED') { showRestrictedPopup(); return; } else if (currentApiStatus === 'BAN' || currentApiStatus === 'BANNED') { showBannedPopup(); return; } else if (currentApiStatus === 'EXPRIED' || currentApiStatus === 'EXPIRED') { showExpiredPopup(); return; } else if (currentApiStatus === 'VPN') { showVpnPopup(); return; }
        balance -= betAmount; updateBalanceDisplay(); apiSub(betAmount);
        let isCurrentlyLoading = state === 'loading' || state === 'crashed' || (Date.now() / 1000 - serverOffset < roundStart);
        if (isCurrentlyLoading) { s.status = 'READY'; s.locked = betAmount; btn.className = "action-btn btn-cancel"; lbl.innerText = "Cancel"; sub.innerHTML = betAmount.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`; } else { s.status = 'WAIT'; s.locked = betAmount; btn.className = "action-btn btn-cancel-wait"; lbl.innerText = "Cancel"; sub.innerHTML = '<span class="wait-txt">Waiting for next round</span>'; }
    } else if (s.status === 'READY' || s.status === 'WAIT') {
        balance += s.locked; updateBalanceDisplay(); apiAdd(s.locked); s.status = 'IDLE'; s.locked = 0; btn.className = "action-btn btn-bet"; lbl.innerText = "Bet"; sub.innerHTML = p[id].bet.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`;
    } else if (s.status === 'ACTIVE') {
        let winAmount = s.locked * currentVal; balance += winAmount; updateBalanceDisplay(); apiAdd(winAmount); s.status = 'IDLE'; s.locked = 0;
        if (soundEnabled) { const cashSfx = document.getElementById('cashout-sfx'); if(cashSfx) { cashSfx.volume = 0.5; cashSfx.currentTime = 0; cashSfx.play().catch(()=>{}); } }
        btn.className = "action-btn btn-bet"; lbl.innerText = "Bet"; sub.innerHTML = p[id].bet.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`; showCashoutPopup(currentVal, winAmount);
    }
}
function checkCashouts() {
    for(let id in p) {
        if (state === 'flying' && p[id].status === 'READY') { p[id].status = 'ACTIVE'; let btn = document.getElementById('btn-'+id); btn.className = "action-btn btn-cashout"; document.getElementById('lbl-'+id).innerText = "Cash Out"; }
        if (p[id].status === 'ACTIVE') {
            let win = p[id].locked * currentVal; document.getElementById('sub-'+id).innerHTML = win.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`;
            if (p[id].autoCashOutEnabled) { let autoVal = parseFloat(document.getElementById(`auto-cashout-value-${id}`).value); if (currentVal >= autoVal) handle(id); }
        }
    }
}
function resetBets() {
    for(let id in p) {
        if (p[id].status === 'ACTIVE') { p[id].status = 'IDLE'; p[id].locked = 0; let btn = document.getElementById('btn-'+id); btn.className = "action-btn btn-bet"; document.getElementById('lbl-'+id).innerText = "Bet"; document.getElementById('sub-'+id).innerHTML = p[id].bet.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`; }
        else if (p[id].status === 'WAIT') { p[id].status = 'READY'; let btn = document.getElementById('btn-'+id); btn.className = "action-btn btn-cancel"; document.getElementById('lbl-'+id).innerText = "Cancel"; document.getElementById('sub-'+id).innerHTML = p[id].locked.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`; }
    }
}
function initHistory() {
    const hBar = document.getElementById('history-bar'); const grid = document.getElementById('history-popup-grid'); hBar.innerHTML = ''; grid.innerHTML = '';
    const showCount = Math.min(extendedHistory.length, 18);
    for(let i=0; i < showCount; i++) {
        let v = extendedHistory[i]; let colorClass = v < 2 ? 'color-blue' : (v < 10 ? 'color-purple' : 'color-pink');
        const span = document.createElement('span'); span.className = `hist-item ${colorClass}`; span.textContent = v.toFixed(2) + 'x'; hBar.appendChild(span);
        const wrapper = document.createElement('div'); wrapper.className = 'history-grid-wrapper'; wrapper.style.marginLeft = '0'; wrapper.style.opacity = '1';
        const item = document.createElement('div'); item.className = `history-grid-item ${colorClass}`; item.textContent = v.toFixed(2) + 'x';
        wrapper.appendChild(item); grid.appendChild(wrapper);
    }
}
function pushNewHistory(v) {
    extendedHistory.unshift(v); if(extendedHistory.length > 50) extendedHistory.pop();
    let colorClass = v < 2 ? 'color-blue' : (v < 10 ? 'color-purple' : 'color-pink');
    const hBar = document.getElementById('history-bar'); const barWrapper = document.createElement('div'); barWrapper.className = 'hist-item-wrapper'; barWrapper.style.marginLeft = '-45px'; barWrapper.style.opacity = '0';
    const span = document.createElement('span'); span.className = `hist-item ${colorClass}`; span.textContent = v.toFixed(2) + 'x'; barWrapper.appendChild(span); hBar.insertBefore(barWrapper, hBar.firstChild);
    const grid = document.getElementById('history-popup-grid'); const gridWrapper = document.createElement('div'); gridWrapper.className = 'history-grid-wrapper'; gridWrapper.style.marginLeft = '-16.666%'; gridWrapper.style.opacity = '0';
    const gItem = document.createElement('div'); gItem.className = `history-grid-item ${colorClass}`; gItem.textContent = v.toFixed(2) + 'x'; gridWrapper.appendChild(gItem); grid.insertBefore(gridWrapper, grid.firstChild);
    void barWrapper.offsetWidth; void gridWrapper.offsetWidth; barWrapper.style.marginLeft = '0'; barWrapper.style.opacity = '1'; gridWrapper.style.marginLeft = '0'; gridWrapper.style.opacity = '1';
    setTimeout(() => { while(hBar.children.length > 20) { hBar.removeChild(hBar.lastChild); } while(grid.children.length > 18) { grid.removeChild(grid.lastChild); } }, 400); 
}

function notifyGeneratorAfterVisualCrash(finalCrashValue) {
    const rid = activeRoundId || serverRoundId || '';
    if (!rid) return;

    if (window.__aviatorVisualCrashSentFor === rid) {
        return;
    }

    window.__aviatorVisualCrashSentFor = rid;

    setTimeout(() => {
        fetch(
            'generator.php?json=1'
            + '&front_crash=1'
            + '&round_id=' + encodeURIComponent(rid)
            + '&crash_point=' + encodeURIComponent(Number(finalCrashValue || crashAt || 1).toFixed(2))
            + '&_=' + Date.now(),
            { cache: 'no-store' }
        ).catch(() => {});
    }, 950);
}


/*
   MINOR FIX 2026-05-14:
   - monotonic flight clock, no multiplier/plane rewind after sync
   - 1.00x start/crash support

   INFINITYFREE HIT-LIMIT PROTECTION
   Old version synced every 300ms. That can create 288,000+ PHP requests/day per open tab.
   This version keeps the plane/multiplier local and syncs adaptively only when needed.
*/
const SYNC_DELAY_LOADING = 1100;
const SYNC_DELAY_FLYING = 4500;
const SYNC_DELAY_CRASHED = 1300;
const SYNC_DELAY_IDLE = 1800;
const SYNC_DELAY_HIDDEN = 12000;
const SYNC_DELAY_ERROR = 3500;
const HISTORY_SYNC_GAP = 15000;

let syncTimer = null;
let syncInFlight = false;
let syncErrorCount = 0;
let lastHistorySyncMs = 0;

function getNextSyncDelay() {
    if (document.hidden) return SYNC_DELAY_HIDDEN;
    if (state === 'flying') return SYNC_DELAY_FLYING;
    if (state === 'loading') return SYNC_DELAY_LOADING;
    if (state === 'crashed') return SYNC_DELAY_CRASHED;
    return SYNC_DELAY_IDLE;
}

function scheduleSync(delayMs) {
    const delay = Math.max(250, Number(delayMs || getNextSyncDelay()) || SYNC_DELAY_IDLE);
    if (syncTimer) clearTimeout(syncTimer);
    syncTimer = setTimeout(syncGame, delay);
}

function shouldRequestHistory(nowMs) {
    if (!extendedHistory.length) return true;
    if (state !== 'flying' && (nowMs - lastHistorySyncMs) > 5000) return true;
    return (nowMs - lastHistorySyncMs) > HISTORY_SYNC_GAP;
}

function buildSyncUrl(requestHistory) {
    /* Second-based cache buster is enough; Date.now() on every request destroys all caching. */
    return gameAPI_URL
        + '?action=sync'
        + '&history=' + (requestHistory ? '1' : '0')
        + '&t=' + Math.floor(Date.now() / 1000);
}

document.addEventListener('visibilitychange', function () {
    if (!document.hidden) {
        scheduleSync(80);
    }
});

function getVisualServerNow() {
    return (Date.now() / 1000) - serverOffset;
}

function acceptServerClock(serverTime, requestStartedMs) {
    const rawServerTime = Number(serverTime || 0);
    const currentEstimate = getVisualServerNow();

    if (!rawServerTime || isNaN(rawServerTime)) {
        lastVisualNow = Math.max(lastVisualNow, currentEstimate);
        return lastVisualNow;
    }

    /*
      PHP time() returns whole seconds. If we replace the browser clock with that
      exact integer during flight, the multiplier can jump backward from 1.20x
      to 1.10x. So we add elapsed request time and never allow the visual clock
      to move backward while a round is visible.
    */
    const elapsedSinceRequest = Math.max(0, (Date.now() - requestStartedMs) / 1000);
    let proposedNow = rawServerTime + elapsedSinceRequest;

    if (state === 'flying' || state === 'loading') {
        proposedNow = Math.max(proposedNow, currentEstimate - 0.03, lastVisualNow);
    }

    serverOffset = (Date.now() / 1000) - proposedNow;
    lastVisualNow = proposedNow;
    return proposedNow;
}

function lockFlightStart(roundId, serverStart, now) {
    const rid = String(roundId || activeRoundId || serverRoundId || '');
    let safeStart = Number(serverStart || 0);

    if (!safeStart || isNaN(safeStart) || safeStart > now) {
        safeStart = now;
    }

    /*
      Once a round starts flying, keep its visual start locked. This prevents
      later low-hit/adaptive sync responses from pulling the plane and number
      back to an earlier multiplier.
    */
    if (!localFlightStartTime || visualFlightStartRoundId !== rid) {
        visualFlightStartRoundId = rid;
        localFlightStartTime = safeStart;
    }

    return localFlightStartTime;
}

async function syncGame() {
    if (syncInFlight) {
        scheduleSync(600);
        return;
    }

    syncInFlight = true;
    const requestStartedMs = Date.now();
    const requestHistory = shouldRequestHistory(requestStartedMs);

    try {
        const response = await fetch(buildSyncUrl(requestHistory), {
            cache: 'no-store'
        });

        if (!response.ok) {
            throw new Error('sync HTTP ' + response.status);
        }

        const data = await response.json();
        if (!data || !data.ok) {
            throw new Error('sync bad payload');
        }

        syncErrorCount = 0;
        if (requestHistory) {
            lastHistorySyncMs = requestStartedMs;
        }

        let now = acceptServerClock(data.server_time, requestStartedMs);

        if (Array.isArray(data.history) && data.history.length) {
            const freshHistory = data.history
                .map(h => Number(h.value || h))
                .filter(v => !isNaN(v) && v > 0);

            if (freshHistory.length && freshHistory.join(',') !== extendedHistory.join(',')) {
                extendedHistory = freshHistory;
                initHistory();
            }
        }

        const incomingStatus = data.status || 'loading';
        const incomingRoundId = String(data.round_id || '');
        const incomingRoundStart = Number(data.start_fly_time || data.starts_at || 0);
        const incomingCrashAt = parseFloat(data.crash_point || 1.00);

        /*
          FULL GLITCH FIX:
          When the current plane is visually flying, never accept a new server round,
          a server "loading" state, or an early server "crashed" state. The visual
          plane must reach crashAt first, then gameLoop triggers the crash animation.
        */
        if (state === 'flying') {
            if (!activeRoundId && incomingRoundId) {
                activeRoundId = incomingRoundId;
                serverRoundId = incomingRoundId;
            }

            if (incomingRoundId && activeRoundId && incomingRoundId !== activeRoundId) {
                pendingServerRound = data;
                return;
            }

            if (incomingStatus === 'crashed' && currentVal < crashAt) {
                return;
            }

            if (!incomingRoundId || incomingRoundId === activeRoundId) {
                serverRoundId = incomingRoundId || serverRoundId;
                if (incomingCrashAt && incomingCrashAt >= 1) {
                    crashAt = incomingCrashAt;
                }
            }

            return;
        }

        /*
          Hold the crash result on screen for a moment before accepting the next
          loading round. This stops the instant jump from crash -> loading.
        */
        if (state === 'crashed') {
            if (!crashHoldUntil) {
                crashHoldUntil = Date.now() + 2700;
            }

            if (Date.now() < crashHoldUntil) {
                return;
            }
        }

        serverRoundId = incomingRoundId;

        if (incomingCrashAt && incomingCrashAt >= 1) {
            crashAt = incomingCrashAt;
        } else {
            crashAt = 1.00;
        }

        if (incomingRoundId && incomingRoundId !== lastAcceptedRoundId) {
            lastAcceptedRoundId = incomingRoundId;
            activeRoundId = incomingRoundId;
            crashHoldUntil = 0;
            pendingServerRound = null;
            localFlightStartTime = 0;
            visualFlightStartRoundId = '';
            lastDisplayedMultiplier = 1.00;
            currentVal = 1.00;
            reachedTopTime = 0;
            window.__aviatorVisualCrashSentFor = '';
        }

        if (incomingStatus === 'loading') {
            roundStart = incomingRoundStart;
            if (now < roundStart) {
                state = 'loading';
            } else {
                state = 'flying';
                lockFlightStart(incomingRoundId, roundStart, now);
            }
        } else if (incomingStatus === 'flying') {
            state = 'flying';
            roundStart = incomingRoundStart;
            lockFlightStart(incomingRoundId, roundStart, now);
        } else if (incomingStatus === 'crashed') {
            state = 'crashed';
            crashHoldUntil = Date.now() + 1400;
        }
    } catch (e) {
        syncErrorCount += 1;
        console.log('syncGame error:', e);
    } finally {
        syncInFlight = false;
        if (syncErrorCount > 0) {
            scheduleSync(Math.min(SYNC_DELAY_ERROR * syncErrorCount, 15000));
        } else {
            scheduleSync();
        }
    }
}
function updateMultiplierGlow() {
    if (state === 'crashed') { multiplierGlow.style.display = 'none'; return; }
    multiplierGlow.style.display = 'block';
    if (currentVal < 2.0) multiplierGlow.style.background = 'radial-gradient(circle at center, rgba(52, 135, 255, 1) 0%, rgba(52, 100, 200, 0.6) 70%, transparent 100%)';
    else if (currentVal < 10.0) multiplierGlow.style.background = 'radial-gradient(circle at center, rgba(145, 62, 248, 1) 0%, rgba(100, 40, 180, 0.6) 70%, transparent 100%)';
    else multiplierGlow.style.background = 'radial-gradient(circle at center, rgba(192, 23, 178, 1) 0%, rgba(150, 20, 140, 0.6) 70%, transparent 100%)';
}

// OPTIMIZATION: Updated Crash Animation to use translate3d to avoid DOM lag
function triggerCrashAnimation(v) {
    loader.style.display = 'none'; multTxt.innerText = v.toFixed(2) + 'x'; multTxt.style.color = '#e10512'; multTxt.style.display = 'block'; flewTxt.style.display = 'block';
    if (animEnabled) { 
        plane.style.opacity = '1'; 
        plane.style.transition = 'transform 0.65s ease-in, opacity 0.65s ease-in'; 
        plane.style.transform = `translate3d(${lastTx + 550}px, ${lastTy - 550}px, 0) translate(-15%, -85%) rotate(-22deg)`; 
        plane.style.opacity = '0'; 
    }
    multiplierGlow.style.display = 'none'; multiplierGlow.style.background = 'transparent';
    document.getElementById('prev-round-result').innerText = v.toFixed(2) + 'x'; let mClass = v < 2 ? 'blue-m-text' : (v < 10 ? 'purple-m-text' : 'pink-m-text'); document.getElementById('prev-round-result').className = `round-result-value ${mClass}`;
    pushNewHistory(v); resetBets();
}
function showStaticCrash(v) {
    loader.style.display = 'none'; multTxt.innerText = v.toFixed(2) + 'x'; multTxt.style.color = '#e10512'; multTxt.style.display = 'block'; flewTxt.style.display = 'block'; plane.style.opacity = '0';
    multiplierGlow.style.display = 'none'; multiplierGlow.style.background = 'transparent';
}
function gameLoop() {
    let nowMs = Date.now();
    if (animEnabled && nowMs - lastPlaneFrameTime >= planeFrameDuration) { planeFrameIndex = (planeFrameIndex + 1) % planeUrls.length; const nextPlaneFrame = planeUrls[planeFrameIndex]; const planeImgEl = document.getElementById('plane-img'); const loaderPlaneEl = document.getElementById('loader-plane'); if (planeImgEl && planeImgEl.getAttribute('src') !== nextPlaneFrame) planeImgEl.src = nextPlaneFrame; if (loaderPlaneEl && loaderPlaneEl.getAttribute('src') !== nextPlaneFrame) loaderPlaneEl.src = nextPlaneFrame; lastPlaneFrameTime = nowMs; }
    const rayEls = document.querySelectorAll('.ray');
    if (state === 'flying') { rayEls.forEach(r => { r.style.animationPlayState = 'running'; r.style.opacity = '1'; }); } else { rayEls.forEach(r => { r.style.animationPlayState = 'paused'; r.style.opacity = '0.5'; }); }
    let now = (nowMs / 1000) - serverOffset;
    if (state === 'loading' && roundStart > 0 && now >= roundStart) { state = 'flying'; lockFlightStart(activeRoundId || serverRoundId, roundStart, now); }
    
    if (state === 'loading') {
        if (previousState !== 'loading') {
            generateRoundData(); localLoadingStartMs = nowMs;
            let timeElapsedOnServer = 0; if (roundStart > 0) { timeElapsedOnServer = totalLoadingTime - Math.max(0, roundStart - now); }
            initialLoadingProgress = (Math.max(0, timeElapsedOnServer) / totalLoadingTime) * 100; localFlightStartTime = 0; lastProgressBarWidth = 100; 
        }
        if (initialLoadingProgress === 0 && roundStart > 0) { let timeElapsedOnServer = totalLoadingTime - Math.max(0, roundStart - now); initialLoadingProgress = (Math.max(0, timeElapsedOnServer) / totalLoadingTime) * 100; localLoadingStartMs = nowMs; }
        if (nowMs - lastCounterUpdateMs > 60) {
            if (activePlayersCount < targetActivePlayers) { activePlayersCount += Math.floor(Math.random() * 45) + 5; if (activePlayersCount > targetActivePlayers) activePlayersCount = targetActivePlayers; document.getElementById('igc-count').innerText = activePlayersCount.toLocaleString(); document.getElementById('total-bets-count').innerText = `${activePlayersCount}/${totalPlayersCount}`; }
            lastCounterUpdateMs = nowMs;
        }
    } else if (state === 'flying') {
        if (previousState !== 'flying') {
            if (!localFlightStartTime) {
                lockFlightStart(activeRoundId || serverRoundId, roundStart, now);
            }
            currentVal = 1.00;
            lastDisplayedMultiplier = 1.00;
            reachedTopTime = 0;
            soundPlayed = false;
            crashSoundPlayed = false;
        }
        if (nowMs - lastCounterUpdateMs > 100) {
            if (activePlayersCount > 50) {
                let dropRate = 0.005 + (currentVal * 0.001);
                if (Math.random() < 0.4) { let drop = Math.floor(activePlayersCount * dropRate); activePlayersCount -= drop; if (activePlayersCount < 0) activePlayersCount = 0; document.getElementById('igc-count').innerText = activePlayersCount.toLocaleString(); document.getElementById('total-bets-count').innerText = `${activePlayersCount}/${totalPlayersCount}`; }
            }
            let needsWinRender = false;
            
            // DOM OPTIMIZATION
            simulatedBets.forEach(bet => {
                if (!bet.cashedOut && currentVal >= bet.cashoutAt) {
                    bet.cashedOut = true; bet.winAmt = bet.bet * bet.cashoutAt; totalWinBDT += bet.winAmt; needsWinRender = true;
                    let row = document.getElementById('sim-bet-' + bet.id);
                    if (row) { 
                        row.classList.add('won'); 
                        let mClass = bet.cashoutAt < 2 ? 'blue-m-text' : (bet.cashoutAt < 10 ? 'purple-m-text' : 'pink-m-text'); 
                        document.getElementById('sim-mult-' + bet.id).innerHTML = `<span class="mult-val ${mClass}">${bet.cashoutAt.toFixed(2)}x</span>`; 
                        document.getElementById('sim-win-' + bet.id).innerText = bet.winAmt.toFixed(2); 
                    }
                }
            });
            if (needsWinRender) { document.getElementById('total-win-amt').innerText = totalWinBDT.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}); let pct = ((totalPlayersCount - activePlayersCount) / totalPlayersCount) * 100; document.getElementById('progress-fill').style.width = `${pct}%`; }
            lastCounterUpdateMs = nowMs;
        }
    }
    previousState = state;
    if (animEnabled) { ctx.clearRect(0, 0, cw, ch); }
    if (state === 'loading') {
        soundPlayed = false; crashSoundPlayed = false; plane.style.transition = 'none'; plane.style.opacity = '0'; loader.style.display = 'flex'; multTxt.style.display = 'none'; flewTxt.style.display = 'none'; multiplierGlow.style.display = 'none'; 
        let localElapsedSec = (nowMs - localLoadingStartMs) / 1000; let currentProgress = initialLoadingProgress + (localElapsedSec / totalLoadingTime) * 100; let currentWidth = 100 - Math.min(100, currentProgress);
        if (currentWidth <= lastProgressBarWidth) lastProgressBarWidth = currentWidth; lFill.style.width = Math.max(0, lastProgressBarWidth) + '%';
    } else if (state === 'flying') {
        loader.style.display = 'none'; multTxt.style.display = 'block'; flewTxt.style.display = 'none'; if(animEnabled) plane.style.opacity = '1';
let t = 0;

if (localFlightStartTime > 0) {
    t = Math.max(0, now - localFlightStartTime);
}

const START_MULTIPLIER = 1.00;

/*
  Speed control:
  60 = old speed
  48 = little slower
  42 = more slower
*/
const MULTIPLIER_SPEED = 48;

if (t > 0) {
    let elapsedFrames = t * MULTIPLIER_SPEED;
    let tempVal = START_MULTIPLIER;

    const increments = [0.0022, 0.0028, 0.0052, 0.0065, 0.0085, 0.012, 0.015, 0.018];
    const thresholds = [2, 5, 10, 15, 20, 30, 40, 50];

    for (let i = 0; i < elapsedFrames; i++) {
        for (let j = 0; j < thresholds.length; j++) {
            if (tempVal < thresholds[j]) {
                tempVal += increments[j];
                break;
            }
        }

        if (tempVal > 50) {
            tempVal = 50;
        }
    }

    currentVal = Math.max(tempVal, lastDisplayedMultiplier);
} else {
    currentVal = Math.max(START_MULTIPLIER, lastDisplayedMultiplier);
}
lastDisplayedMultiplier = currentVal;
        multTxt.innerText = currentVal.toFixed(2) + 'x'; multTxt.style.color = '#fff'; 
        if (animEnabled) updateMultiplierGlow(); else { multiplierGlow.style.display = 'none'; multiplierGlow.style.background = 'transparent'; }
        checkCashouts();
        if (currentVal >= crashAt) {
            if (!crashSoundPlayed) { if (soundEnabled) { crashSfx.volume = 0.7; crashSfx.currentTime = 0; crashSfx.play().catch(() => {}); } crashSoundPlayed = true; }
            renderFlight(crashAt);
            void plane.offsetWidth;
            triggerCrashAnimation(crashAt);
            state = 'crashed';
            crashHoldUntil = Date.now() + 2700;
            notifyGeneratorAfterVisualCrash(crashAt);
        } else {
            if (t < 0.2 && !soundPlayed) { if (soundEnabled) { startSfx.volume = 0.5; startSfx.play().catch(() => {}); } soundPlayed = true; }
            renderFlight(currentVal);
        }
    } else if (state === 'crashed') { if (previousState !== 'crashed' && previousState === 'loading') { showStaticCrash(crashAt); } }
    requestAnimationFrame(gameLoop);
}

// OPTIMIZATION: Switched to transform translate3d instead of style.left/top
function renderFlight(val) {
    if (!animEnabled) return; 
    let progress = Math.min(1, (val - 1.00) / 1.20); let startTx = 0; let startTy = ch; let tx; let ty; let angle = -5; let maxTx = cw * 0.65; let centerPoint = ch * 0.50;
    if (progress < 1) { let easeOut = progress; tx = startTx + easeOut * (maxTx - startTx); ty = startTy - easeOut * (startTy - centerPoint); reachedTopTime = 0; } else {
        if (reachedTopTime === 0) reachedTopTime = Date.now(); let oscTime = (Date.now() - reachedTopTime) / 1600; 
        let amplitudeY = ch * 0.26; let amplitudeX = 25; let wavePhase = Math.sin(oscTime * 1.1); tx = maxTx - wavePhase * amplitudeX; ty = centerPoint - wavePhase * amplitudeY; 
    }
    tx = Math.max(0, Math.min(cw - 50, tx)); ty = Math.max(-5, Math.min(ch - 10, ty));
    
    ctx.beginPath(); ctx.moveTo(0, ch); ctx.quadraticCurveTo(tx * 0.4, ch, tx, ty); ctx.strokeStyle = '#e10512'; ctx.lineWidth = 4.0; ctx.lineJoin = 'round'; ctx.lineCap = 'round'; ctx.stroke(); ctx.lineTo(tx, ch); ctx.lineTo(0, ch); ctx.closePath();
    let gradient = ctx.createLinearGradient(0, ty, 0, ch); gradient.addColorStop(0, 'rgba(225, 5, 18, 0.55)'); gradient.addColorStop(1, 'rgba(225, 5, 18, 0.05)'); ctx.fillStyle = gradient; ctx.fill();
    
    // Smooth transform instead of layout recalculation
    lastTx = tx; lastTy = ty; 
    plane.style.transition = 'none'; 
    plane.style.transform = `translate3d(${tx}px, ${ty}px, 0) translate(-15%, -85%) rotate(${angle}deg)`;
}

function resize() {
    const stageArea = document.querySelector('.game-screen'); if (!stageArea) return;
    cw = stageArea.clientWidth; ch = stageArea.clientHeight; const dpi = window.devicePixelRatio || 1;
    canvas.style.width = cw + 'px'; canvas.style.height = ch + 'px'; canvas.width = cw * dpi; canvas.height = ch * dpi;
    ctx.setTransform(1, 0, 0, 1, 0, 0); ctx.scale(dpi, dpi);
}
window.onload = () => {
    const currSettings = CURR_CONFIG[CURRENCY] || CURR_CONFIG['BDT'];
    document.getElementById('val-1').value = currSettings.min.toFixed(2); document.getElementById('val-2').value = currSettings.min.toFixed(2);
    document.getElementById('sub-1').innerHTML = currSettings.min.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`; document.getElementById('sub-2').innerHTML = currSettings.min.toFixed(2) + ` <span class="currency-display">${CURRENCY}</span>`;
    p[1].bet = currSettings.min; p[2].bet = currSettings.min;
    const p1Stakes = document.querySelectorAll('#panel-1 .stake-btn'); const p2Stakes = document.querySelectorAll('#panel-2 .stake-btn');
    currSettings.stakes.forEach((val, i) => {
        let displayVal = val >= 1000 ? val.toLocaleString() : val;
        if(p1Stakes[i]) { p1Stakes[i].innerText = displayVal; p1Stakes[i].setAttribute('onclick', `set(1, '${val}')`); }
        if(p2Stakes[i]) { p2Stakes[i].innerText = displayVal; p2Stakes[i].setAttribute('onclick', `set(2, '${val}')`); }
    });
    renderVisitorId();
    initUser(); resize(); initHistory(); syncGame(); requestAnimationFrame(gameLoop); generatePreviousBets(); generateTopCards();
    if (typeof aviatorFinishStartupLoader === 'function') aviatorFinishStartupLoader();
};
window.onresize = resize;</script>

</body></html>