main {
    display: grid;
    justify-content: center; 
    justify-items: center;   
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.leaderboard {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

table {
    border-collapse: collapse;
    margin: 0 auto; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background-color: white;
    width: 100%; 
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px auto;
    text-align: center;
    max-width: 800px;
    width: 90%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 1.5em;
    box-sizing: border-box;
}

tr, td, th {
    border: 2px solid black;
}

th { 
    padding: 10px 20px; 
}

td { 
    padding: 5px 10px; 
}

html, body {
    overflow-x: hidden;
}