<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Rebate Ratio</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
        body { background: #f1f2f5; font-family: 'Inter', sans-serif; margin: 0 auto; max-width: 480px; color: #333; }
        .header { background: #fff; height: 50px; display: flex; justify-content: center; align-items: center; position: relative; font-size: 16px; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,0.02);}
        .btn-back { position: absolute; left: 15px; font-size: 18px; cursor: pointer; color: #555;}
        
        .cat-nav { display: flex; gap: 10px; padding: 15px; overflow-x: auto; background: #fff;}
        .cat-nav::-webkit-scrollbar { display: none; }
        .cat-btn { padding: 10px 20px; border-radius: 8px; background: #f5f5f5; color: #888; font-size: 12px; font-weight: 700; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 5px;}
        .cat-btn.active { background: #ff4a4a; color: #fff; box-shadow: 0 4px 10px rgba(255, 74, 74, 0.3);}
        .cat-btn i { font-size: 16px; }

        .rebate-card { background: #fff; margin: 15px; border-radius: 12px; padding: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.03);}
        .r-title { font-size: 15px; font-weight: 800; color: #333; margin-bottom: 15px;}
        .r-title span { color: #ff4a4a;}
        
        .r-row { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 10px; align-items: center;}
        .r-row i { color: #ff4a4a; font-size: 8px; margin-right: 8px;}
        .r-val { font-weight: 700; color: #333;}
    </style>
</head>
<body>
    <div class="header">
        <i class="fas fa-chevron-left btn-back" onclick="history.back()"></i>
        Rebate ratio
    </div>

    <div class="cat-nav">
        <div class="cat-btn active"><i class="fas fa-bullseye"></i> Lottery</div>
        <div class="cat-btn"><i class="fas fa-dice"></i> Casino</div>
        <div class="cat-btn"><i class="fas fa-spade"></i> Rummy</div>
        <div class="cat-btn"><i class="fas fa-gamepad"></i> Slots</div>
    </div>

    <div class="rebate-card">
        <div class="r-title">Rebate level <span>L0</span></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 1 level lower level commission rebate</div><div class="r-val">0.6%</div></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 2 level lower level commission rebate</div><div class="r-val">0.18%</div></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 3 level lower level commission rebate</div><div class="r-val">0.054%</div></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 4 level lower level commission rebate</div><div class="r-val">0.0162%</div></div>
    </div>

    <div class="rebate-card">
        <div class="r-title">Rebate level <span>L1</span></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 1 level lower level commission rebate</div><div class="r-val">0.7%</div></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 2 level lower level commission rebate</div><div class="r-val">0.245%</div></div>
        <div class="r-row"><div><i class="fas fa-circle"></i> 3 level lower level commission rebate</div><div class="r-val">0.085%</div></div>
    </div>
</body>
</html>