.players-wrapper {
    padding-top: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 80px;
}

.players-hero {
    text-align: center;
    margin-bottom: 50px;
}

.players-title {
    font-size: 40px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.players-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF50;
}

.players-columns {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.players-col {
    flex: 1;
    min-width: 0;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
}

.players-section {
    background-color: #FFFFFF10;
    border: 2px solid #FFFFFF20;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    max-height: 75vh;
}

.players-section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.players-section-icon {
    width: 40px;
    height: 40px;
    background-color: #D4722A25;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #D4722A;
}

.players-section-icon.discord-icon {
    background-color: #5865F225;
    color: #5865F2;
}

.players-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    flex: 1;
}

.players-section-count {
    font-size: 16px;
    font-weight: 600;
    color: #D4722A;
    background-color: #D4722A15;
    padding: 5px 15px;
    border-radius: 8px;
}

.players-status-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF60;
}

.players-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-online {
    background-color: #43b581;
    box-shadow: 0 0 8px #43b581;
}

.status-offline {
    background-color: #f04747;
    box-shadow: 0 0 8px #f04747;
}

.status-maintenance {
    background-color: #faa61a;
    box-shadow: 0 0 8px #faa61a;
}

.players-list {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.players-list::-webkit-scrollbar {
    width: 5px;
}

.players-list::-webkit-scrollbar-track {
    background-color: transparent;
}

.players-list::-webkit-scrollbar-thumb {
    background-color: #FFFFFF30;
    border-radius: 10px;
}

.players-loading, .players-empty {
    text-align: center;
    color: #FFFFFF40;
    font-size: 15px;
    padding: 30px;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
}

.players-table thead {
    color: #FFFFFF50;
    font-size: 14px;
    font-weight: 600;
}

.players-table thead tr {
    border-bottom: 1px solid #FFFFFF15;
}

.players-table thead th {
    padding: 10px 15px;
    text-align: right;
}

.players-table tbody {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
}

.players-table tbody tr {
    border-bottom: 1px solid #FFFFFF08;
    transition: background-color 0.2s;
}

.players-table tbody tr:hover {
    background-color: #FFFFFF08;
}

.players-table tbody td {
    padding: 10px 15px;
}

.players-table tbody td:first-child {
    color: #D4722A;
    font-weight: 700;
    width: 50px;
}

.players-table tbody td:last-child {
    color: #FFFFFF50;
    text-align: left;
}

.discord-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.discord-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background-color: #FFFFFF08;
    border: 1px solid #FFFFFF10;
    border-radius: 12px;
    transition: background-color 0.2s;
}

.discord-member-card:hover {
    background-color: #FFFFFF15;
}

.discord-member-avatar-wrap {
    position: relative;
    width: 55px;
    height: 55px;
}

.discord-member-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-member-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #1a1108;
}

.member-status-online {
    background-color: #43b581;
}

.member-status-idle {
    background-color: #faa61a;
}

.member-status-dnd {
    background-color: #f04747;
}

.member-status-offline, .member-status-invisible {
    background-color: #747f8d;
}

.discord-member-name {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 840px) {
    .players-title {
        font-size: 28px;
    }

    .players-columns {
        flex-direction: column;
    }

    .players-col {
        max-height: none;
    }

    .players-section {
        max-height: 60vh;
    }

    .players-section {
        padding: 20px 15px;
    }

    .discord-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }

    .discord-member-avatar-wrap, .discord-member-avatar {
        width: 45px;
        height: 45px;
    }

    .discord-member-name {
        font-size: 11px;
    }
}
