.profile-preview {
    text-align: center;
    padding: 1rem;
}

.profile-preview .banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.profile-preview .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: -40px auto 1rem;
    border: 4px solid var(--bs-body-bg);
    position: relative;
    z-index: 1;
}

/* Player Profile Modal - Modern Design */
.player-profile-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-profile-header-modern {
    position: relative;
    padding: 1.36rem;
    display: flex;
    align-items: center;
    gap: 1.02rem;
    min-height: 136px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-profile-header-modern.has-banner {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: white;
}

.player-profile-header-modern.no-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text-primary);
}

.player-profile-banner-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.player-profile-avatar-modern {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.player-profile-avatar-modern img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.player-profile-info-modern {
    position: relative;
    z-index: 2;
    flex: 1;
}

.player-profile-name-modern {
    font-size: 1.36rem;
    font-weight: 700;
    margin: 0 0 0.34rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.player-profile-role-modern,
.player-profile-primary-role-modern,
.player-profile-rank-modern {
    font-size: 1rem;
    margin: 0.25rem 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.player-profile-content-modern {
    padding: 1.36rem;
}

.player-profile-details-modern {
    display: flex;
    flex-direction: column;
    gap: 1.36rem;
}

.detail-section-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.02rem;
    backdrop-filter: blur(10px);
}

.detail-section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.detail-section-title-modern {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.detail-grid-modern {
    display: grid;
    gap: 1rem;
}

.detail-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item-modern:last-child {
    border-bottom: none;
}

.detail-label-modern {
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.detail-value-modern {
    font-weight: 400;
    color: var(--text-primary);
    text-align: right;
}

.social-link-modern {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link-modern:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .player-profile-header-modern {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .player-profile-avatar-modern img {
        width: 100px;
        height: 100px;
    }
    
    .player-profile-name-modern {
        font-size: 1.5rem;
    }
    
    .player-profile-content-modern {
        padding: 1.5rem;
    }
    
    .detail-item-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-value-modern {
        text-align: left;
    }
    
    .detail-section-header-modern {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}




