/* Container für die Liste (in memberlist Template um den Loop legen) */
.memberlist-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

/* Die einzelne Karte */
.cp-member-card {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid #3de3ff;
    box-shadow: 0 0 10px rgba(61, 227, 255, 0.2);
    width: calc(22.5% - 20px);
    min-width: 200px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 90% 100%, 0% 100%);
}

.cp-member-card:hover {
    border-color: #fcee0a; /* Cyberpunk Gelb beim Hover */
    box-shadow: 0 0 15px rgba(252, 238, 10, 0.3);
    transform: translateY(-5px);
}

/* Name */
.cp-member-name {
    font-family: 'Blender Pro';
    color: #fcee0a;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(252, 238, 10, 0.3);
    padding-bottom: 5px;
    font-size: 17px;
}

/* Avatar */
.cp-member-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 0; /* Eckig passt besser zum Board */
    border: 2px solid #3de3ff;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
}

/* Statistiken */
.cp-member-stats {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
    font-size: 0.9rem;
    font-family: 'Blender Pro';
    color: #9b9b9b;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    color: #fff;
    font-weight: bold;
}

/* Footer / Online-Status */
.cp-member-footer {
    font-size: 0.8rem;
    color: #888;
    border-top: 1px dashed #333;
    padding-top: 10px;
    font-family: 'Blender Pro';
}

.last-online {
    color: #3de3ff;
}

/* Responsive: 2 pro Zeile auf Tablets, 1 auf Handys */
@media (max-width: 900px) {
    .cp-member-card { width: calc(50% - 20px); }
}
@media (max-width: 500px) {
    .cp-member-card { width: 100%; }
}
