.player-wrapper {
    max-width: 1240px;
    margin: 40px auto;
    color: #fff;
    font-family: 'Jost', sans-serif;
}

.player-profile-card {
    background: #332b57;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.player-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8c6bf3;
}

.player-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-name-large {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.player-team-large {
    font-size: 18px;
    color: #c4bddb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-team-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.p-stat-box {
    background: #302c54;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.p-stat-val {
    font-size: 32px;
    font-weight: 800;
    color: #8c6bf3;
}

.p-stat-label {
    font-size: 14px;
    color: #c4bddb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .player-profile-card { flex-direction: column; text-align: center; }
    .player-stats-grid { grid-template-columns: 1fr 1fr; }
}
