.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-container {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    margin-bottom: 20px;
    text-align: center;
}

.modal-title {
    color: #7ED200;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-message {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.socials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #1a1a1a;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-item:hover {
    background: #222;
    border-color: #7ED200;
}

.social-item.visited {
    background: rgba(126, 210, 0, 0.1);
    border-color: #7ED200;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-name {
    color: white;
    font-weight: 500;
    flex-grow: 1;
    text-align: left;
}

.social-status {
    color: #7ED200;
    font-size: 12px;
    font-weight: bold;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.modal-button {
    background-color: #7ED200;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-button:hover {
    background-color: #6EB800;
}

.social-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.pt-3 {
    padding-top: 3%;
}

#leaderboardModal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10%
}

@media (max-width: 640px) {
    .truncat_ {
        display: inline-block;
        max-width: 12ch;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
}
