JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Top 10 Leaderboards</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f6f8;
            margin: 0;
            padding: 20px;
        }

        h2 {
            text-align: center;
            margin-top: 40px;
        }

        .tables-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background-color: #ffffff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        thead {
            background-color: #2c3e50;
            color: #ffffff;
        }

        th, td {
            padding: 10px 12px;
            border-bottom: 1px solid #dddddd;
        }

        th {
            text-align: left;
        }

        td.name {
            text-align: left;
        }

        td.points {
            text-align: right;
            font-weight: bold;
        }

        tbody tr:nth-child(even) {
            background-color: #f2f2f2;
        }

        caption {
            caption-side: top;
            font-weight: bold;
            font-size: 1.2em;
            padding: 10px;
        }
    </style>
</head>
<body>

<div class="tables-container">

    <table>
        <caption>Daily Top 3</caption>
        <thead>
            <tr>
                <th>Name</th>
                <th>Points</th>
            </tr>
        </thead>
        <tbody>
            <!-- Repeat rows as needed -->
            <tr><td class="name">Player 1</td><td class="points">120</td></tr>
            <tr><td class="name">Player 2</td><td class="points">110</td></tr>
            <tr><td class="name">Player...