/* Fancy gradient background */
body {
    background: linear-gradient(135deg, #ff6f61, #ffcc00, #00b4d8, #0077b6);
    background-size: 400% 400%; /* For animation */
    animation: gradientBG 15s ease infinite; /* Animate the gradient */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

/* Gradient animation */
@keyframes gradientBG {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

/* Ensure the mobile container stands out */
.mobile-container {
    max-width: 375px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    min-height: 100vh;
    backdrop-filter: blur(10px); /* Add a blur effect for a modern look */
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Ensure content stays within the container */
}

/* Full width on mobile */
@media (max-width: 375px) {
    .mobile-container {
        max-width: 100%;
    }
}

.leaderboard {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff; /* White text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a shadow for better visibility */
    margin-bottom: 2rem;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

.leaderboard-item {
    text-align: left;
    margin: 2px 0; /* Reduced margin */
    display: flex;
    align-items: center;
}

.leaderboard-name {
    width: 250px; /* Adjust width as needed */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}