.mc-elements-container {
    color: #fff;
    font-family: Gilroy-Light, sans-serif;
    margin-top: 30px;

    margin-left: clamp(10px, 5vw, 100px);

    opacity: 1;
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(.175,.885,.32,1.275);
}

.mc-element-title {
    font-size: 36px;
    font-family: Gilroy-Bold, sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    text-align: left;
    margin-bottom: 20px;
}

.mc-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 50px;
}

.mc-element {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    width: calc(50% - 20px);
    max-width: 400px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-element:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.skin {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.mc-element:hover .skin {
    transform: scale(1.1);
}

.data-container {
    text-align: left;
    flex: 1;
}

.group {
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 0 8px currentColor, 0 0 15px rgba(0,0,0,0.5);
    margin-bottom: 5px;
    text-align: right;
}

.nick {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-align: right;
}


/* 📱 TELEFONY */
@media (max-width: 768px) {

    .mc-elements-container {
        margin-left: 10px;
        margin-right: 10px;
    }

    .mc-elements {
        flex-direction: column;
        gap: 15px;
    }

    .mc-element {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .skin {
        width: 70px;
        height: 70px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .data-container {
        width: 100%;
        text-align: center;
    }

    .group {
        font-size: 16px;
        text-align: center;
    }

    .nick {
        font-size: 20px;
        text-align: center;
        word-break: break-word; /* 🔥 żeby długie nicki się łamały */
    }
}
